/* Self-hosted fonts (SIL Open Font License; see /assets/fonts/LICENSE-*.txt). Latin subset. */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/playfair-display-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/playfair-display-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }

/* TIP · Territory Intelligence Platform
   Elevare palette: ink + navy surfaces, gold as the single accent on dark.
   Rule: gold is NEVER text on a light surface (2.1:1). On light, the accent role is navy.
   Anything sitting ON gold is navy, never white. */

:root {
  --night: #0E1720;
  --night-2: #1A2B3D;
  --night-3: #24394F;
  --night-line: #2E4055;
  --steel: #8496A8;
  --on-dark: #C6D0DA;
  --gold: #D4A574;
  --gold-glow: #E2BC93;

  --paper: #F5F7FA;
  --paper-2: #EAEFF4;
  --card: #FFFFFF;
  --ink: #1A2B3D;
  --ink-2: #445A6E;
  --ink-3: #53677A;
  --line: #D6DEE7;
  --accent-ink: #1A2B3D;
  --navy-soft: #E3EAF2;

  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 14px;
  --wrap: 1160px;
  --gutter: 24px;
  --shadow: 0 1px 0 rgba(14, 23, 32, .04), 0 12px 32px -12px rgba(14, 23, 32, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.14; font-weight: 600; }
h1, h2 { font-family: var(--f-display); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
em.hl { font-style: italic; color: var(--accent-ink); }
.on-dark em.hl, .dark em.hl, .cta-band em.hl { color: var(--gold); }
::selection { background: var(--gold); color: var(--night-2); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } body { font-size: 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night-2); padding: 8px 12px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--night-2); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .ticker :focus-visible { outline-color: var(--gold); }

/* ---------- Header (dark) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 23, 32, .94); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--night-line); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-logo { height: 40px; width: auto; display: block; }
.site-footer .brand-logo { height: 46px; }
.brand-sub { font: 500 .72rem/1.15 var(--f-body); color: var(--steel); letter-spacing: .02em; border-left: 1px solid var(--night-line); padding-left: 10px; max-width: 12.5em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .95rem; color: var(--on-dark); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--night-line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: #fff; }
.nav-toggle svg { margin: auto; }
@media (max-width: 940px) {
  .brand-sub { display: none; }
  .nav-toggle { display: block; }
  .nav .nav-cta-mobile { display: inline-flex; margin-left: auto; margin-right: -12px; color: var(--night-2); }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px var(--gutter) 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--night-line); }
  .nav-links li:last-child a { border: 0; margin-top: 12px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer; padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; transition: transform .15s, background .15s, border-color .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--night-2); }
.btn-primary:hover { background: var(--gold-glow); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.on-dark .btn-ghost, .dark .btn-ghost { border-color: var(--on-dark); color: #fff; }
.on-dark .btn-ghost:hover, .dark .btn-ghost:hover { background: #fff; color: var(--night-2); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.nav-links .btn { color: var(--night-2); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Eyebrows / labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 .76rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .18em; color: var(--ink-3); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 165, 116, .25); flex: none; }
.on-dark .eyebrow, .dark .eyebrow, .cta-band .eyebrow { color: var(--steel); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.on-dark .lede, .dark .lede { color: var(--on-dark); }
.muted { color: var(--ink-3); }
.on-dark .muted, .dark .muted { color: var(--steel); }
.mono { font-family: var(--f-mono); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.alt { background: var(--paper-2); }
.dark, .on-dark { background: var(--night); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.dark p, .on-dark p { color: var(--on-dark); }

.contours { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.contours img { position: absolute; width: 1400px; max-width: none; height: auto; opacity: .45; }
.hero .contours img { right: -380px; top: -120px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line2 { display: block; color: var(--gold); font-style: italic; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-note { font-size: .88rem; color: var(--steel); display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.hero-note li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 6px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Phone + TIP cards ---------- */
.phone { position: relative; width: min(380px, 100%); margin: 0 auto; background: #05090d; border-radius: 40px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--night-line); transform: rotate(1.5deg); }
.phone-screen { background: var(--paper); border-radius: 30px; overflow: hidden; color: var(--ink); }
.phone-top { padding: 18px 18px 12px; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--line); background: var(--card); }
.phone-top .day { font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.phone-top .ph-title { font: 600 1.35rem/1.1 var(--f-display); margin: 6px 0 0; color: var(--ink); }
.phone-top .count { font: 600 .72rem/1 var(--f-mono); background: var(--gold); color: var(--night-2); padding: 6px 8px; border-radius: 999px; white-space: nowrap; }
.phone-list { padding: 12px; display: grid; gap: 10px; }
.sample-flag { text-align: center; font: 500 .75rem/1.3 var(--f-mono); color: var(--ink-3); padding: 2px 0 14px; letter-spacing: .06em; }

.tip { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.45; color: var(--ink); }
.tip-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tip-exp { font: 500 .75rem/1 var(--f-mono); color: var(--ink-3); }
.tip-acct { font-weight: 700; font-size: .92rem; margin: 8px 0 3px; }
.tip-why { color: var(--ink-2); margin: 0 0 8px; }
.tip-who { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.tip-who .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--navy-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='5.2' r='3' fill='%231A2B3D'/%3E%3Cpath d='M2.5 15c0-3.2 2.5-5 5.5-5s5.5 1.8 5.5 5z' fill='%231A2B3D'/%3E%3C/svg%3E") center / 11px no-repeat; flex: none; display: grid; place-items: center; color: var(--night-2); font-size: .65rem; }
.tip-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font: 500 .68rem/1.3 var(--f-mono); color: var(--ink-3); }
.tip-meta .rcpt { color: var(--night-2); font-weight: 600; }

/* ---------- Pain strip ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pain { background: var(--card); padding: 28px; }
.pain .num { font: 500 .78rem/1 var(--f-mono); color: var(--ink-3); margin-bottom: 14px; display: block; letter-spacing: .1em; }
.pain .num::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 8px; }
.pain p { color: var(--ink-2); margin: 0; font-size: .98rem; }
@media (max-width: 800px) { .pains { grid-template-columns: 1fr; } }

/* ---------- Anatomy ---------- */
.anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.anatomy-card { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.anatomy-card .tip { font-size: .95rem; padding: 20px 22px; }
.anatomy-card .tip-acct { font-size: 1.1rem; }
.anatomy-card .tip-meta { font-size: .74rem; }
.anatomy-card .tip-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip { font: 500 .72rem/1 var(--f-mono); border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: var(--paper); color: var(--ink-2); }
.chip.on { background: var(--night-2); color: #fff; border-color: var(--night-2); }
.callouts { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: c; }
.callouts li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: c; }
.callouts li::before { content: counter(c); width: 32px; height: 32px; border-radius: 50%; background: var(--night-2); color: var(--gold); display: grid; place-items: center; font: 600 .85rem/1 var(--f-mono); }
.callouts h3 { margin-bottom: 4px; }
.callouts p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .anatomy { grid-template-columns: 1fr; } }

/* ---------- Steps (dark) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.step { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 30px 28px; }
.step .k { font: 500 .75rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.step h3 { font: 600 1.65rem/1.15 var(--f-display); margin: 14px 0 10px; }
.step p { font-size: .96rem; margin: 0; }
.step ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.step li { font: 500 .7rem/1 var(--f-mono); padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--on-dark); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--night-2); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }
.card.quote-card { background: var(--night-2); color: #fff; border-color: var(--night-2); }
.card.quote-card h3 { color: #fff; }
.card.quote-card p { color: var(--on-dark); }
.card.quote-card .eyebrow { color: var(--steel); }

/* ---------- Signals ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); background: var(--night-2); padding: 18px 0; }
.ticker-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sig { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 500 .85rem/1 var(--f-mono); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--card); }
.sig::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.ticker .sig { background: transparent; border-color: var(--night-line); color: var(--on-dark); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Use-case tiles ---------- */
.uc { display: flex; flex-direction: column; text-decoration: none; }
.uc .tag { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.uc .ex { margin-top: auto; padding-top: 18px; }
.uc .ex .why { font-size: .88rem; color: var(--ink); background: var(--paper); border-left: 3px solid var(--gold); padding: 10px 12px; border-radius: 0 8px 8px 0; margin: 0; }
a.more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .92rem; color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- CTA band (navy) ---------- */
.cta-band { background: var(--night-2); color: #fff; border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; border: 1px solid var(--night-line); }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(212,165,116,.35); box-shadow: 0 0 0 30px rgba(212,165,116,.06), 0 0 0 60px rgba(212,165,116,.04); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: var(--on-dark); margin: 0; font-size: 1.08rem; }
.cta-band .btn { background: var(--gold); color: var(--night-2); position: relative; z-index: 1; }
.cta-band .btn:hover { background: var(--gold-glow); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page hero (dark) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 16em; }
.page-hero .contours img { right: -420px; top: -200px; }

/* ---------- Long-form blocks ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split .sticky { position: sticky; top: 96px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .sticky { position: static; } }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { position: relative; padding-left: 30px; color: var(--ink-2); }
.list-check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--night-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23D4A574' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-check li strong { color: var(--ink); }
.on-dark .list-check li { color: var(--on-dark); }
.on-dark .list-check li strong { color: #fff; }
.list-x li::before { background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231A2B3D' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l8 8M14 6l-8 8'/%3E%3C/svg%3E") center/11px no-repeat; border: 1px solid var(--line); }


.chain { list-style: none; padding: 0; margin: 0; position: relative; }
.chain::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 10px); }
.chain li { position: relative; padding: 0 0 18px 40px; }
.chain li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--night-3); }
.chain li:first-child::before { border-color: var(--gold); background: var(--gold); }
.chain .lbl { font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 4px; }
.chain .val { font-size: .95rem; }


.vert { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.vert:first-of-type { border-top: 0; }
.vert h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.vert .sigs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.vert .sigs .sig { font-size: .76rem; padding: 7px 11px; }
.vert .reads { margin-top: 18px; font-size: .92rem; }
.vert .reads a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 860px) { .vert { grid-template-columns: 1fr; } }

/* ---------- Film ---------- */

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); color: var(--ink); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .9rem; }
.field .hint { font-size: .8rem; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid #7B8FA3; border-radius: 10px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--night-2); background: #fff; box-shadow: 0 0 0 3px rgba(212,165,116,.4); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-foot { font-size: .8rem; color: var(--ink-3); margin: 14px 0 0; }
.form-card .form-foot a { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.6rem/1 var(--f-body); color: var(--ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--steel); padding: 64px 0 36px; font-size: .92rem; border-top: 1px solid var(--night-line); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid .foot-h { color: #fff; font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-tag { margin-top: 14px; max-width: 26em; }
.foot-endorse { margin-top: 14px; font-size: .84rem; }
.foot-endorse a { color: var(--gold); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.foot-base .mono { color: var(--gold); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Articles ---------- */
.crumbs { font: 500 .78rem/1.4 var(--f-mono); color: var(--steel); margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--steel); }
.article-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font: 500 .8rem/1 var(--f-mono); color: var(--steel); margin-top: 22px; }
.article-meta .cat { color: var(--night-2); background: var(--gold); padding: 5px 8px; border-radius: 5px; text-decoration: none; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.article-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } .article-aside .toc { display: none; } }
.toc { border-left: 2px solid var(--line); padding-left: 16px; font-size: .88rem; }
.toc .toc-h { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.aside-cta { background: var(--night-2); color: var(--on-dark); border-radius: var(--radius); padding: 22px; }
.aside-cta .aside-h { color: #fff; font: 600 1.15rem/1.25 var(--f-display); margin: 0 0 8px; }
.aside-cta p { font-size: .88rem; margin-bottom: 14px; }

.takeaways { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px; max-width: 44em; }
.takeaways h2 { font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.takeaways ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.takeaways li { color: var(--ink); }

.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); max-width: 44em; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0 0 1.1em; }
.prose > p + p { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--ink); margin: 2em 0 .5em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; color: var(--ink); margin: 1.6em 0 0; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font: italic 500 1.25rem/1.5 var(--f-display); color: var(--ink); }
.prose .sources { font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 .74rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--paper-2); }
.prose .callout { background: var(--paper-2); border-radius: 12px; padding: 18px 20px; }
.prose .callout > strong:first-child { display: block; font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.prose .tip { max-width: 460px; line-height: 1.45; }
.prose .tip p { margin: 0 0 8px; }
.prose .faq { margin-top: 2.4em; }
.prose .faq h2 { margin-top: 0; padding-top: 1.2em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { font: 500 .82rem/1 var(--f-body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--night-2); color: #fff; border-color: var(--night-2); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.post:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #C3CFDB; }
.post[hidden] { display: none; }
.post .cat { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.post h3 { font: 600 1.28rem/1.25 var(--f-display); color: var(--ink); margin-bottom: 10px; }
.post p { font-size: .93rem; color: var(--ink-2); margin: 0 0 18px; }
.post .meta { margin-top: auto; font: 500 .74rem/1 var(--f-mono); color: var(--ink-3); display: flex; justify-content: space-between; }
.post .meta .go { color: var(--ink); }
.post.featured { grid-column: span 2; background: var(--night-2); border-color: var(--night-2); }
.post.featured .cat { color: var(--steel); }
.post.featured h3 { color: #fff; font-size: 1.7rem; }
.post.featured p { color: var(--on-dark); font-size: 1rem; }
.post.featured .meta, .post.featured .meta .go { color: var(--gold); }
@media (max-width: 640px) { .post.featured { grid-column: auto; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero .contours img, .page-hero .contours img { right: -760px; top: 280px; opacity: .25; }
  .phone { transform: none; }
}

/* Light components nested inside dark sections keep light-surface colors */
.on-dark .tip p, .dark .tip p, .on-dark .tip-why, .dark .tip-why { color: var(--ink-2); }
.on-dark .card:not(.quote-card) p, .dark .card:not(.quote-card) p { color: var(--ink-2); }
.on-dark .card:not(.quote-card) h3, .dark .card:not(.quote-card) h3 { color: var(--ink); }
.on-dark .form-card p, .on-dark .form-card .form-foot { color: var(--ink-3); }
.on-dark .form-card label { color: var(--ink); }

/* ---------- Product showcase (account brief + territory view) ---------- */
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.app { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--night-2); color: var(--on-dark); font: 500 .74rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.app-dots { display: inline-flex; gap: 5px; }
.app-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--night-line); display: block; }
.app-dots i:first-child { background: var(--gold); }
.app-body { padding: 20px 22px; }
.app figcaption { font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 22px 16px; }
.ab-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ab-name { font: 600 1.35rem/1.2 var(--f-display); color: var(--ink); }
.ab-sub { font-size: .84rem; color: var(--ink-3); margin-top: 4px; }
.ab-sec { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ab-sec:last-child { border-bottom: 0; padding-bottom: 0; }
.ab-sec .ab-h { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.ab-sec p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.ab-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 8px; }
.tl li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.tl li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid var(--night-3); }
.tl li:first-child::before { background: var(--gold); border-color: var(--gold); }
.tl b { font: 600 .74rem/1.6 var(--f-mono); color: var(--ink); }
.tv-map { width: 100%; height: auto; border-radius: 10px; }
.tv-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.tv-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--paper); border-left: 3px solid var(--gold); font-size: .88rem; color: var(--ink-2); }
.tv-list li b { color: var(--ink); font-size: .95rem; }
.tv-list li.quiet { border-left-color: var(--line); }

/* Glossary */
.glossary { margin: 0; }
.glossary dt { font: 600 1.25rem/1.25 var(--f-display); color: var(--ink); margin: 34px 0 8px; scroll-margin-top: 96px; }
.glossary dt:first-child { margin-top: 0; }
.glossary dd { margin: 0; color: var(--ink-2); padding-bottom: 22px; border-bottom: 1px solid var(--line); }

/* Dark cards for dark sections (after the light-component overrides above) */
.dark .card.card-dark { background: var(--night-2); border-color: var(--night-line); }
.dark .card.card-dark h3 { color: #fff; }
.dark .card.card-dark p { color: var(--on-dark); }
