/* ReelASage landing page
   Layout concept: a night-shoot cost report. Navy ground from the ScriptASage family,
   one gold accent (the "A"), figures set in mono like a printed cost report,
   and a clapperboard slate that starts every take. Single dark look by design. */

:root {
  /* Color (ScriptASage navy + gold, tuned for a dark-first page) */
  --ink: #0D131A;          /* page ground (scriptasage.com) */
  --ink-2: #111A24;        /* alternate band */
  --panel: #16212C;        /* mock UI surface */
  --panel-2: #1A2A3A;      /* raised surface (scriptasage.com) */
  --rule: #26384A;         /* hairlines */
  --fg: #ECE9E2;           /* primary text, warm paper */
  --fg-2: #B8C0CC;         /* secondary text (scriptasage.com) */
  --fg-3: #8B97A6;         /* muted labels */
  --gold: #FFD700;         /* brand accent (scriptasage.com) */
  --gold-soft: rgba(255, 215, 0, 0.12);

  /* Chart series (validated: dark mode, surface #131C26) */
  --c-actual: #BC8A0C;
  --c-committed: #4B8BDA;
  --c-planned: #8B97A6;
  --c-fav: #3FA98A;        /* under budget */
  --c-unfav: #D2654B;      /* over budget */

  /* Type */
  --f-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --f-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-mark: "Roboto Slab", "Rockwell", Georgia, serif;

  /* Scale */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-md: 1rem;
  --t-lg: 1.1875rem;
  --t-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --t-2xl: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --t-3xl: clamp(2.4rem, 1.4rem + 4.2vw, 4.5rem);

  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img, svg { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; }
h1, h2 { font-family: var(--f-display); letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-family: var(--f-body); font-size: var(--t-xl); line-height: 1.25; font-weight: 600; }
p { margin: 0; }
.lead { font-size: var(--t-lg); color: var(--fg-2); max-width: 60ch; }
.eyebrow {
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
em.gold { font-style: italic; color: var(--gold); }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- Wordmark ---------- */
.mark {
  font-family: var(--f-mark); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em;
  text-decoration: none; color: var(--fg); line-height: 1; display: inline-flex; align-items: baseline;
}
.mark .a { color: var(--gold); }
.mark .sage { color: var(--fg-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 var(--t-md)/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); background: #FFE23D; }
.btn-ghost { border-color: var(--rule); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg-2); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--t-sm); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 19, 26, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.nav { display: none; gap: 28px; font-size: var(--t-sm); }
.nav a { text-decoration: none; color: var(--fg-2); transition: color .2s; }
.nav a:hover { color: var(--fg); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 56px 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto 30%; height: 90%;
  background: radial-gradient(closest-side, rgba(255, 215, 0, 0.09), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 0.92fr 1.08fr; gap: 56px; } .hero { padding-block: 88px 104px; } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.family { font-size: var(--t-sm); color: var(--fg-3); }
.family a { color: var(--fg-2); text-underline-offset: 3px; }
.family a:hover { color: var(--gold); }

/* ---------- Mock UI shell ---------- */
.mock {
  position: relative; min-width: 0;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  font-size: var(--t-sm);
}
.mock-pad { padding: 16px; }
@media (min-width: 560px) { .mock-pad { padding: 20px 22px; } }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.mock-kicker { display: block; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.mock-title { display: block; font-weight: 600; font-size: var(--t-md); color: var(--fg); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--rule); color: var(--fg-2); background: var(--ink);
}
.chip svg { width: 12px; height: 12px; }
.chip-gold { border-color: rgba(255, 215, 0, 0.4); color: var(--gold); background: var(--gold-soft); }
.example-tag { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }

/* Clapperboard slate */
.slate { position: relative; height: 30px; border-radius: var(--radius) var(--radius) 0 0; overflow: visible; }
.slate-bar {
  position: absolute; left: 0; right: 0; height: 13px;
  background: repeating-linear-gradient(-55deg, var(--fg) 0 14px, var(--ink) 14px 28px);
  opacity: 0.92;
}
.slate-base { bottom: 0; }
.slate-arm { top: 2px; transform-origin: 0% 100%; border-radius: var(--radius) var(--radius) 0 0; }
.slate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 13px; height: 4px; background: var(--panel); }

/* Phase strip */
.phase-strip { margin-top: 16px; }
.phase-track { position: relative; display: flex; gap: 2px; height: 28px; }
.phase-seg {
  flex: var(--m) 1 0; min-width: 0; background: var(--panel-2); border-radius: 3px;
  font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.04em; color: var(--fg-3);
  display: flex; align-items: center; padding-inline: 6px; overflow: hidden; white-space: nowrap;
}
.phase-seg.done { color: var(--fg-2); }
.phase-seg.now { color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.35); }
.phase-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 54.8%; background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.10)); pointer-events: none; transform-origin: 0 50%; border-radius: 3px; }
.playhead { position: absolute; top: -5px; bottom: -5px; left: 54.8%; width: 2px; background: var(--gold); border-radius: 2px; }
.playhead::before { content: ""; position: absolute; top: -3px; left: -4px; width: 10px; height: 6px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.phase-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--fg-3); }
.phase-meta b { color: var(--fg); font-weight: 500; }
.short { display: none; }
@media (max-width: 559px) { .long { display: none; } .short { display: inline; } }

/* Cost report table */
.cr-scroll { overflow-x: auto; margin-top: 16px; }
.cr { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 0.75rem; }
.cr caption { text-align: left; font-family: var(--f-body); font-size: 0.6875rem; color: var(--fg-3); padding-bottom: 8px; }
.cr th, .cr td { padding: 9px 6px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--rule); }
.cr th:first-child, .cr td:first-child { text-align: left; padding-left: 0; font-family: var(--f-body); }
.cr td:first-child { color: var(--fg); }
.cr thead th { font-weight: 500; color: var(--fg-3); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: bottom; }
.cr thead th.efc { color: var(--gold); }
.cr td { color: var(--fg-2); }
.cr td.efc { color: var(--fg); }
.cr tr.unb td:first-child { color: var(--fg); }
.cr tr.unb td:first-child::after { content: "New"; margin-left: 6px; font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.4); border-radius: 3px; padding: 1px 4px; vertical-align: 1px; }
.cr tfoot td { border-bottom: 0; color: var(--fg); font-weight: 500; padding-top: 11px; }
.cr .var { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.vbar { position: relative; width: 44px; height: 10px; flex: none; }
.vbar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--fg-3); }
.vbar i { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.vbar i.fav { left: calc(50% + 1px); width: calc(var(--v) * 0.5%); background: var(--c-fav); transform-origin: 0 50%; }
.vbar i.unfav { right: calc(50% + 1px); width: calc(var(--v) * 0.5%); background: var(--c-unfav); transform-origin: 100% 50%; }
.vnum { min-width: 3.4em; text-align: right; }
@media (min-width: 560px) { .vbar { width: 72px; } .cr { font-size: 0.8125rem; } .cr th, .cr td { padding-inline: 8px; } }
@media (max-width: 559px) {
  .cr .opt { display: none; }
  .cr th, .cr td { padding-inline: 4px; }
  .vbar { width: 30px; }
  .cr .var { gap: 5px; }
  .vnum { min-width: 2.6em; }
  .cr tr.unb td:first-child::after { display: none; }
}

.mock-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--fg); }
.status svg { width: 16px; height: 16px; flex: none; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.6875rem; color: var(--fg-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.sw-line { width: 16px; height: 0; border-top: 2px solid; border-radius: 0; }
.sw-dash { width: 16px; height: 0; border-top: 2px dashed; border-radius: 0; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
@media (min-width: 900px) { .section { padding-block: 120px; } }
.band { background: var(--ink-2); border-block: 1px solid var(--rule); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 48px; }

/* Roles */
.tabs {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 0;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--ink); max-width: 100%;
}
.tab {
  position: relative; z-index: 1; appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 600 var(--t-sm)/1.2 var(--f-body); color: var(--fg-2); padding: 12px 18px; border-radius: 999px;
  transition: color .3s; white-space: nowrap;
}
.tab[aria-selected="true"] { color: var(--ink); }
.tab-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--gold); transition: transform .5s var(--ease-out); }
.tabs[data-active="lp"] .tab-ind { transform: translateX(100%); }
@media (max-width: 400px) { .tab { padding: 11px 12px; font-size: 0.8125rem; } }

.role-panel { margin-top: 40px; display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .role-panel { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.role-copy { display: grid; gap: 20px; min-width: 0; }
.role-who { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--fg-3); letter-spacing: 0.06em; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--fg-2); }
.ticks li::before {
  content: ""; width: 14px; height: 14px; margin-top: 5px; border: 1.5px solid var(--gold); border-radius: 3px;
  background: linear-gradient(var(--gold), var(--gold)) center / 6px 6px no-repeat;
}
.ticks strong { color: var(--fg); font-weight: 600; }

/* Exec mock */
.prod-list { margin-top: 14px; display: grid; }
.prod {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.prod-name { font-weight: 600; color: var(--fg); }
.prod-sub { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--fg-3); }
.prod-sub b { color: var(--fg-2); font-weight: 400; }
.prod .var { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--fg); }
.prod .vbar { width: 72px; }
.activity { margin-top: 14px; display: grid; gap: 8px; font-size: var(--t-xs); color: var(--fg-2); }
.activity li { display: flex; gap: 10px; align-items: baseline; }
.activity time { font-family: var(--f-mono); color: var(--fg-3); flex: none; width: 3.8em; }
.activity ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* LP mock */
.lp-mock { display: grid; gap: 16px; }
.form-mock { display: grid; gap: 10px; margin-top: 14px; }
.field { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--ink); }
.field span:first-child { font-size: 0.6875rem; color: var(--fg-3); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.field span:last-child { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--fg-2); }
.toggle i { width: 28px; height: 16px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--rule); position: relative; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--fg-3); }
.fake-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: var(--t-xs); }
.toast { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--fg); padding: 8px 10px; border-radius: 6px; background: rgba(63, 169, 138, 0.12); border: 1px solid rgba(63, 169, 138, 0.4); }
.toast svg { width: 14px; height: 14px; flex: none; }
.milestones { display: flex; gap: 2px; margin-top: 12px; height: 10px; }
.milestones i { border-radius: 2px; }
.ms-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; font-size: 0.6875rem; color: var(--fg-3); font-family: var(--f-mono); }
.ms-list b { display: block; color: var(--fg); font-weight: 500; }

/* ---------- Production cycle ---------- */
.cycle-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .cycle-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
  .cycle-chart { position: sticky; top: 104px; }
}
.cycle-chart { min-width: 0; }
.cf-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cf-svg text { font-family: var(--f-mono); font-size: 11px; fill: var(--fg-3); }
.cf-svg .lbl-strong { fill: var(--fg); font-weight: 500; }
.cf-wrap { position: relative; margin-top: 12px; }
.cf-tip {
  position: absolute; pointer-events: none; z-index: 2; min-width: 150px;
  background: var(--ink); border: 1px solid var(--rule); border-radius: 6px; padding: 8px 10px;
  font-family: var(--f-mono); font-size: 0.6875rem; color: var(--fg-2); line-height: 1.5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.cf-tip b { color: var(--fg); font-weight: 500; }
.cf-tip .row { display: flex; justify-content: space-between; gap: 12px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 22px 0;
  border-top: 1px solid var(--rule); transition: opacity .4s; align-content: start;
}
@media (min-width: 1000px) { .step { padding-block: 40px 56px; min-height: 46vh; } }
.step-n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--gold); padding-top: 6px; }
.step h3 { font-family: var(--f-display); font-size: var(--t-xl); font-weight: 600; }
.step .when { grid-column: 2; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.step p { grid-column: 2; color: var(--fg-2); max-width: 52ch; }
.step ul { grid-column: 2; margin: 6px 0 0; padding-left: 18px; color: var(--fg-2); display: grid; gap: 6px; font-size: var(--t-sm); }
.step ul li::marker { color: var(--gold); }
.js .steps.live .step { opacity: 0.38; }
.js .steps.live .step.active { opacity: 1; }

/* ---------- The record ---------- */
.record-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .record-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.pillars { display: grid; gap: 28px; }
.pillar { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; }
.pillar svg { width: 28px; height: 28px; color: var(--gold); grid-row: span 2; margin-top: 2px; }
.pillar h3 { font-size: var(--t-lg); }
.pillar p { color: var(--fg-2); font-size: var(--t-md); }
.ledger { width: 100%; border-collapse: collapse; font-size: 0.75rem; margin-top: 14px; }
.ledger td { padding: 9px 6px; border-bottom: 1px solid var(--rule); color: var(--fg-2); vertical-align: top; }
.ledger td:first-child { padding-left: 0; font-family: var(--f-mono); color: var(--fg-3); white-space: nowrap; }
.ledger td.amt { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; color: var(--fg); white-space: nowrap; padding-right: 0; }
.ledger tr.rev td { background: rgba(210, 101, 75, 0.08); }
.ledger tr.rev td:first-child { padding-left: 6px; }
.ledger tr.voided td:not(:first-child) { color: var(--fg-3); }
.ledger .tag { display: inline-block; margin-top: 3px; font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); border: 1px solid var(--rule); border-radius: 3px; padding: 1px 5px; }
.ledger .tag.rv { color: var(--c-unfav); border-color: rgba(210, 101, 75, 0.5); }
.audit { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rule); font-family: var(--f-mono); font-size: 0.6875rem; color: var(--fg-3); display: grid; gap: 6px; }
.audit b { color: var(--fg-2); font-weight: 400; }

/* ---------- Features ---------- */
.feat-grid { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 680px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }
.feat { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; min-width: 0; }
@media (min-width: 680px) { .feat:not(:nth-child(2n+1)) { padding-left: 24px; border-left: 1px solid var(--rule); } }
@media (min-width: 1080px) {
  .feat { padding-left: 24px; border-left: 1px solid var(--rule); }
  .feat:nth-child(4n+1) { padding-left: 0; border-left: 0; }
}
.feat svg { width: 26px; height: 26px; color: var(--gold); }
.feat h3 { font-size: var(--t-lg); }
.feat p { color: var(--fg-2); font-size: var(--t-sm); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .price-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; } }
.price-card { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 28px 22px; display: grid; gap: 22px; position: relative; overflow: hidden; min-width: 0; }
@media (min-width: 560px) { .price-card { padding: 36px; } }
.price-card.main { border-color: rgba(255, 215, 0, 0.45); }
.price-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-big .amt { font-family: var(--f-display); font-size: clamp(3.2rem, 2.4rem + 3vw, 4.5rem); line-height: 1; font-weight: 700; color: var(--fg); }
.price-big .per { color: var(--fg-2); }
.price-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.price-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); color: var(--fg-2); }
.price-lines li b { color: var(--fg); font-family: var(--f-mono); font-weight: 500; white-space: nowrap; }
.trial { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 8px; background: var(--gold-soft); color: var(--fg); font-size: var(--t-sm); }
.trial svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.est { display: grid; gap: 18px; }
.est label { display: grid; gap: 8px; font-size: var(--t-sm); color: var(--fg-2); }
.est .lab-row { display: flex; justify-content: space-between; gap: 12px; }
.est output { font-family: var(--f-mono); color: var(--fg); }
.est input[type="range"] { width: 100%; accent-color: var(--gold); height: 28px; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.est-total .tot { font-family: var(--f-display); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.est-note { font-size: var(--t-xs); color: var(--fg-3); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: left; }
.cta-box { display: grid; gap: 24px; max-width: 820px; }
.cta h2 { font-size: var(--t-3xl); }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--fg-3); }
.mail-row code { font-family: var(--f-mono); color: var(--fg); background: var(--panel); border: 1px solid var(--rule); padding: 6px 10px; border-radius: 6px; user-select: all; }
.copy-btn { appearance: none; border: 1px solid var(--rule); background: transparent; color: var(--fg-2); font: 500 var(--t-xs)/1 var(--f-body); padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.copy-btn:hover { color: var(--fg); border-color: var(--fg-2); }
.cta-reel { position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); opacity: 0.08; color: var(--gold); pointer-events: none; }
@media (max-width: 899px) { .cta-reel { display: none; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding-block: 36px 48px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; font-size: var(--t-sm); color: var(--fg-3); }
.foot-row a { color: var(--fg-2); text-underline-offset: 3px; }
.foot-row a:hover { color: var(--gold); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Visually hidden */
.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; }

/* Phone: chart labels scale up so they stay legible once the 660-unit viewBox shrinks */
@media (max-width: 559px) { .cf-svg text { font-size: 17px; } }
