/* Shared style for PriceGate content pages (landing guides, Arabic page). Matches the scrollcraft home: Hanken Grotesk, warm canvas, orange accent. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/hanken.woff2) format("woff2"); }
:root {
  --canvas: #FBFAF8; --surface: #F2EFEB; --ink: #17120E; --ink-soft: #5C534C;
  --accent: #E8661C; --orange-soft: #FFE8D4; --hair: rgba(23,18,14,.1);
  --good: #0E7A4F; --good-bg: #E6F6EE;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #15110E; --surface: #221C17; --ink: #F5F1EC; --ink-soft: #B9AFA6; --orange-soft: #3A2414; --hair: rgba(255,255,255,.12); --good-bg: #12301F; --good: #5FD49A; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-weight: 450; font-size: 18px; line-height: 1.7; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
a { color: inherit; }
.wrap { width: 100%; max-width: calc(68ch + 32px); margin-inline: auto; padding-inline: 16px; }
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in oklab, var(--canvas) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.nav .wrap { max-width: 76rem; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.cta { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; background: var(--ink); color: var(--canvas); font-weight: 650; border-radius: 999px; height: 52px; padding: 0 26px; font-size: 17px; }
.cta:hover { opacity: .9; }
.cta--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.crumbs { margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 750; margin: 12px 0 0; }
.lede { font-size: 1.25rem; color: var(--ink-soft); margin: 20px 0 28px; line-height: 1.45; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 750; margin: 56px 0 14px; }
h3 { font-size: 1.15rem; margin: 28px 0 6px; font-weight: 700; }
p, li { color: var(--ink); }
.soft { color: var(--ink-soft); }
ol, ul { padding-inline-start: 1.3em; }
li { margin: 6px 0; }
figure { margin: 32px 0; }
figure img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 20px 50px -24px rgba(90,40,10,.45); background: #fff; }
figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.note { background: var(--orange-soft); border-radius: 18px; padding: 18px 22px; margin: 28px 0; }
.note p { margin: 0; }
details { border-bottom: 1px solid var(--hair); }
summary { cursor: pointer; padding: 18px 0; font-weight: 650; font-size: 1.1rem; }
details p { margin: 0 0 18px; color: var(--ink-soft); }
.close { margin: 64px 0 24px; padding: 32px; border-radius: 28px; background: linear-gradient(135deg, #FFB273, #E8661C); color: #17120E; }
.close h2 { margin-top: 0; color: #17120E; }
.close p { color: #17120E; }
.close .cta { background: #fff; color: #17120E; }
footer { border-top: 1px solid var(--hair); margin-top: 48px; padding: 32px 0 56px; font-size: 14px; color: var(--ink-soft); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
[dir="rtl"] body, body[dir="rtl"] { font-family: "Hanken Grotesk", Tahoma, "Segoe UI", "Geeza Pro", sans-serif; }
@media (max-width: 600px) { body { font-size: 17px; line-height: 1.65; } .close { padding: 24px 20px; } .hide-sm { display: none; } }

/* Readability layer: hero photos, takeaways, TOC, callouts, tables, related cards */
:root { --card: #FFFFFF; --shadow: 0 1px 2px rgba(23,18,14,.06), 0 12px 32px -18px rgba(90,40,10,.35); }
@media (prefers-color-scheme: dark) { :root { --card: #1D1814; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -18px rgba(0,0,0,.7); } }
.wrap--wide { max-width: 76rem; }
main p { margin: 0 0 1.1em; }
main h2 { margin: 2.4em 0 .55em; scroll-margin-top: 84px; }
main h3 { margin: 1.8em 0 .4em; }
h1 { text-wrap: balance; } h2, h3 { text-wrap: balance; }
.lede { text-wrap: pretty; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 15px; color: var(--ink-soft); margin: -8px 0 24px; }
figure.hero { margin: 8px 0 28px; }
figure.hero img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
figure img { display: block; max-width: 100%; height: auto; }
figure:not(.shot) img { background: var(--surface); }
figcaption { line-height: 1.45; }
.credit { display: inline-block; font-size: 12.5px; opacity: .85; }
figcaption .credit:not(:first-child) { margin-inline-start: 4px; }
.credit a { text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 2px; }
.tldr { background: var(--card); border: 1px solid var(--hair); border-inline-start: 4px solid var(--accent); border-radius: 16px; padding: 18px 22px 8px; margin: 0 0 24px; box-shadow: var(--shadow); }
.tldr-h, .toc-h { margin: 0 0 6px !important; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
[dir="rtl"] .tldr-h, [dir="rtl"] .toc-h { letter-spacing: 0; font-size: 15px; }
.tldr ul { margin: 0 0 10px; padding-inline-start: 1.1em; }
.tldr li { margin: 6px 0; line-height: 1.55; }
.tldr li::marker { color: var(--accent); }
.toc { border-radius: 16px; background: var(--surface); padding: 16px 22px 10px; margin: 0 0 8px; font-size: 16px; }
.toc ol { margin: 0 0 8px; padding-inline-start: 1.4em; }
.toc li { margin: 4px 0; line-height: 1.45; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
main a:not(.cta):not(.card):not(.brand) { text-decoration-color: color-mix(in oklab, var(--accent) 55%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
main ul:not(.cards), main ol { margin: 0 0 1.2em; }
main li { margin: .45em 0; padding-inline-start: .2em; }
main ul li::marker { color: var(--accent); }
main ol > li::marker { color: var(--accent); font-weight: 750; }
.note { border-inline-start: 4px solid var(--accent); border-radius: 14px; padding: 16px 20px 16px 20px; line-height: 1.6; }
.note p + p { margin-top: .6em; }
.note strong:first-child { color: var(--ink); }
.tip { background: var(--good-bg); border-inline-start: 4px solid var(--good); border-radius: 14px; padding: 16px 20px; margin: 28px 0; }
.tip p { margin: 0; }
main table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.45; margin: 24px 0; background: var(--card); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; }
main th, main td { padding: 10px 12px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--hair); }
main thead th { background: var(--surface); font-weight: 700; font-size: 14px; }
main tbody tr:last-child td, main tbody tr:last-child th { border-bottom: 0; }
main tbody tr:nth-child(even) { background: color-mix(in oklab, var(--surface) 45%, transparent); }
.tablewrap, .table-scroll, main div:has(> table) { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
details { padding: 0 4px; }
summary { line-height: 1.4; }
.related { margin-top: 56px; }
.related h2 { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards--grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 8px 0 12px; }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--surface); }
.card span { display: block; padding: 12px 14px 14px; font-weight: 700; font-size: 15.5px; line-height: 1.35; letter-spacing: -0.01em; }
.card--lg span { font-size: 17px; padding-bottom: 4px; }
.card small { display: block; padding: 0 14px 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.close { box-shadow: 0 24px 60px -30px rgba(232,102,28,.8); }
.close h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.close .cta { box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } .related .card { flex-direction: row; } .related .card img { width: 38%; aspect-ratio: 4 / 3; flex: none; } .related .card span { padding: 10px 12px; font-size: 15px; } }
@media (max-width: 600px) { .tldr, .toc { padding-inline: 16px; } figure.hero img { border-radius: 14px; } .meta { margin-top: -12px; } main table { font-size: 14px; } main th, main td { padding: 8px; } }
@media (prefers-color-scheme: dark) { figure.shot img { box-shadow: 0 0 0 1px var(--hair); } .close { box-shadow: none; } }
