/* RentKey — rentkey.ca
   Design system: "The notary" — paper, ink, brass.
   Display: Fraunces (serif, editorial authority). Text/UI: Inter.
*/

:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --paper-3: #e6dfd3;
  --ink: #0e1b2e;
  --ink-2: #1a2b45;
  --ink-3: #2c3f5c;
  --slate: #4b5a70;
  --mist: #6b7789;
  --line: #d9d2c5;
  --line-strong: #b9b0a0;
  --brass: #b8862b;
  --brass-2: #d4a244;
  --brass-soft: #f3e6c8;
  --green: #1f7a4d;
  --green-soft: #dff3e7;
  --amber: #b45309;
  --amber-soft: #fdebd0;
  --red: #b42318;
  --red-soft: #fde2df;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-hl: #fffdf8;
  --navy: #0e1b2e;
  --navy-2: #1a2b45;
  --on-navy: #f6f3ee;
  --brass-text: #8a6420;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 46, 0.06), 0 1px 1px rgba(14, 27, 46, 0.04);
  --shadow: 0 4px 12px rgba(14, 27, 46, 0.08), 0 1px 3px rgba(14, 27, 46, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(14, 27, 46, 0.25), 0 8px 16px -8px rgba(14, 27, 46, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 98px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "tnum";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--brass-soft); color: var(--ink); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  padding: 10px 14px; background: var(--navy); color: var(--on-navy);
  border-radius: var(--radius); font-weight: 600; transition: top var(--dur-fast);
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 30; letter-spacing: -0.02em; line-height: 1.02; }
h1.display { font-size: var(--text-3xl); }
h2.display { font-size: var(--text-2xl); }
h3.display { font-size: var(--text-xl); }
.display em, .display .accent { font-style: italic; font-weight: 400; color: var(--brass); }
h1.display + p, h2.display + p, h3.display + p { margin-top: var(--space-4); }
.dark .display .accent { color: var(--brass-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--brass-2); }

.lede { font-size: var(--text-md); color: var(--slate); max-width: 62ch; line-height: 1.65; }
.dark .lede { color: #b8c2d2; }
.small { font-size: var(--text-sm); }
.muted { color: var(--slate); }
.dark .muted { color: #a9b4c6; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.balance { text-wrap: balance; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-top: var(--space-9); padding-bottom: var(--space-9); }
.section--tight { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lede { margin-top: var(--space-4); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.dark { background: var(--navy); color: var(--on-navy); }
.dark .rule { border-color: rgba(246, 243, 238, 0.14); }
.tint { background: var(--paper-2); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .section { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .split, .split--wide { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.01em; white-space: nowrap;
  border: 1.5px solid transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-2); border-color: var(--ink-2); box-shadow: var(--shadow); }
.btn--brass { background: var(--brass-2); color: var(--ink); border-color: var(--brass-2); }
.btn--brass:hover { background: #e2b45a; border-color: #e2b45a; box-shadow: 0 8px 24px -8px rgba(212, 162, 68, 0.6); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.dark .btn--outline { color: var(--on-navy); border-color: rgba(246, 243, 238, 0.35); }
.dark .btn--outline:hover { border-color: var(--on-navy); background: rgba(246, 243, 238, 0.08); }
.btn--ghost { background: transparent; color: var(--ink); padding-left: 8px; padding-right: 8px; }
.btn--ghost:hover { color: var(--brass); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: var(--text-base); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid transparent; transition: color var(--dur), border-color var(--dur); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--brass); }
.link-arrow:hover svg { transform: translateX(3px); }
.dark .link-arrow { color: var(--on-navy); }
.dark .link-arrow:hover { color: var(--brass-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(212, 162, 68, 0.14), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(14, 27, 46, 0.05), transparent 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-8); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); max-width: 12ch; }
.hero .lede { margin-bottom: var(--space-6); }
.hero__note { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); font-size: var(--text-sm); color: var(--slate); }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note svg { width: 16px; height: 16px; color: var(--green); flex: none; }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .hero h1 { max-width: 16ch; }
}

/* ---------- Report mock ---------- */
.report { position: relative; }
.report__card {
  position: relative;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-0.6deg);
}
.report__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--brass-2), var(--brass)); }
.report__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: 18px 22px 14px 26px; border-bottom: 1px solid var(--line); }
.report__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--text-sm); }
.report__title svg { width: 20px; height: 20px; }
.report__ref { font-size: 11px; color: var(--mist); letter-spacing: 0.06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.report__meta { padding: 12px 22px 12px 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--slate); background: var(--paper); border-bottom: 1px solid var(--line); }
.report__meta strong { color: var(--ink); }
.report__rows { padding: 6px 0; }
.report__row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 11px 22px 11px 26px; border-bottom: 1px dashed var(--line); }
.report__row:last-child { border-bottom: 0; }
.report__row svg { width: 18px; height: 18px; color: var(--ink-3); }
.report__label { font-size: 13px; font-weight: 600; line-height: 1.25; }
.report__sub { display: block; font-size: 11.5px; font-weight: 400; color: var(--slate); margin-top: 2px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent;
}
.badge svg { width: 12px; height: 12px; }
.badge--green { background: var(--green-soft); color: var(--green); border-color: rgba(31, 122, 77, 0.2); }
.badge--amber { background: var(--amber-soft); color: var(--amber); border-color: rgba(180, 83, 9, 0.2); }
.badge--red { background: var(--red-soft); color: var(--red); border-color: rgba(180, 35, 24, 0.2); }
.badge--ink { background: var(--navy); color: var(--on-navy); }
.badge--brass { background: var(--brass-soft); color: var(--brass-text); border-color: rgba(184, 134, 43, 0.25); }
.report__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 14px 22px 16px 26px; background: var(--navy); color: var(--on-navy); }
.report__foot .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #a9b4c6; }
.report__foot .value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.report__score { display: flex; align-items: center; gap: 12px; }
.score-ring { position: relative; width: 52px; height: 52px; flex: none; }
.score-ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 5; }
.score-ring .track { stroke: rgba(246, 243, 238, 0.15); }
.score-ring .fill { stroke: var(--brass-2); stroke-linecap: round; stroke-dasharray: 138; stroke-dashoffset: 138; transition: stroke-dashoffset 1.2s var(--ease) 0.6s; }
.report.is-live .score-ring .fill { stroke-dashoffset: 34; }
.score-ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.report__stamp {
  position: absolute; right: -14px; top: -14px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid; place-items: center; text-align: center;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); line-height: 1.2;
  transform: rotate(8deg);
}
.report__stamp span { display: block; }
.report__stamp .big { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
.report__caption { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--mist); text-align: center; letter-spacing: 0.04em; }
/* sequential population */
.report .report__row, .report .report__foot, .report .report__stamp { opacity: 0; transform: translateY(6px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.report .report__stamp { transform: rotate(8deg) scale(0.8); }
.report.is-live .report__row, .report.is-live .report__foot { opacity: 1; transform: none; }
.report.is-live .report__stamp { opacity: 1; transform: rotate(8deg) scale(1); transition-delay: 1.4s; }
.report.is-live .report__row:nth-child(1) { transition-delay: 0.15s; }
.report.is-live .report__row:nth-child(2) { transition-delay: 0.35s; }
.report.is-live .report__row:nth-child(3) { transition-delay: 0.55s; }
.report.is-live .report__row:nth-child(4) { transition-delay: 0.75s; }
.report.is-live .report__row:nth-child(5) { transition-delay: 0.95s; }
.report.is-live .report__foot { transition-delay: 1.15s; }
@media (max-width: 480px) {
  .report__card { transform: none; }
  .report__stamp { right: 8px; top: -18px; width: 78px; height: 78px; }
  .report__ref { display: none; }
  .report__row { grid-template-columns: 1fr auto; }
  .report__row > svg { display: none; }
  .report__foot .value { font-size: 1rem; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-strip__item { padding: var(--space-5) var(--space-4); border-left: 1px solid var(--line); }
.trust-strip__item:first-child { border-left: 0; padding-left: 0; }
.trust-strip__item .k { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.trust-strip__item .k small { font-family: var(--font-text); font-size: var(--text-sm); font-weight: 500; color: var(--slate); margin-left: 4px; }
.trust-strip__item .v { font-size: var(--text-sm); color: var(--slate); margin-top: 2px; }
@media (max-width: 767px) {
  .trust-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip__item { padding: var(--space-4) var(--space-3); border-left: 0; border-top: 1px solid var(--line); }
  .trust-strip__item:nth-child(-n+2) { border-top: 0; }
  .trust-strip__item:nth-child(odd) { padding-left: 0; }
  .trust-strip__item:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-6); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); margin-bottom: var(--space-4); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.card p { color: var(--slate); font-size: 0.95rem; }
.card .link-arrow { margin-top: var(--space-4); font-size: var(--text-sm); }
.card--dark { background: var(--navy-2); color: var(--on-navy); border-color: rgba(246, 243, 238, 0.12); }
.card--dark p { color: #b8c2d2; }
.card--dark .card__icon { background: rgba(246, 243, 238, 0.08); color: var(--brass-2); }
.card--brass { border-color: rgba(184, 134, 43, 0.4); background: linear-gradient(180deg, var(--surface-hl), var(--surface)); }
.card--brass .card__icon { background: var(--brass-soft); color: var(--brass-text); }
.card__num { position: absolute; top: var(--space-5); right: var(--space-5); font-family: var(--font-display); font-size: 1.1rem; color: var(--line-strong); font-style: italic; }

/* ---------- Numbered list (what's in the report) ---------- */
.checks { border-top: 1px solid var(--line); }
.check {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--space-5); align-items: start;
  padding: var(--space-6) 0; border-bottom: 1px solid var(--line);
}
.check__num { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--brass); line-height: 1; padding-top: 4px; }
.check h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.check p { color: var(--slate); max-width: 60ch; }
.check__sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-3); }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.chip--optional { background: var(--brass-soft); border-color: rgba(184, 134, 43, 0.3); color: var(--brass-text); }
.check__side { padding-top: 6px; }
@media (max-width: 767px) {
  .check { grid-template-columns: 44px minmax(0, 1fr); }
  .check__side { grid-column: 2; padding-top: 0; }
  .check__num { font-size: 1.3rem; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); counter-reset: step; }
.step { position: relative; padding-top: var(--space-5); border-top: 2px solid var(--line-strong); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -13px; left: 0; padding: 2px 8px 2px 0; background: var(--paper);
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--brass);
}
.dark .step::before { background: var(--navy); color: var(--brass-2); }
.dark .step { border-top-color: rgba(246, 243, 238, 0.25); }
.step h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.step p { color: var(--slate); font-size: 0.95rem; }
.dark .step p { color: #b8c2d2; }
.step__time { display: inline-block; margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 0.95rem; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); background: var(--paper-2); font-weight: 600; }
.compare th[scope="row"] { font-weight: 500; color: var(--ink); }
.compare .col-hl { background: var(--surface-hl); }
.compare thead .col-hl { background: var(--brass-soft); color: var(--brass-text); }
.compare td { text-align: center; }
.compare th:first-child { width: 44%; }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.mark svg { width: 14px; height: 14px; }
.mark--yes { background: var(--green-soft); color: var(--green); }
.mark--no { background: var(--paper-2); color: var(--mist); }
.mark--partial { background: var(--amber-soft); color: var(--amber); }
.compare .note { display: block; font-size: var(--text-xs); color: var(--mist); margin-top: 2px; font-weight: 400; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .compare th, .compare td { padding: 12px 12px; font-size: var(--text-sm); }
  .compare th:first-child { width: auto; min-width: 180px; }
}

/* ---------- Audience cards ---------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.audience .card { padding: var(--space-7) var(--space-6); }
.audience h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.audience ul { margin-top: var(--space-4); display: grid; gap: 8px; }
.audience li { display: flex; gap: 10px; font-size: var(--text-sm); color: var(--ink-3); }
.audience li svg { width: 16px; height: 16px; color: var(--brass); flex: none; margin-top: 3px; }
@media (max-width: 1023px) { .audience { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Compliance band ---------- */
.compliance { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: start; }
.compliance__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.compliance__item { padding-top: var(--space-4); border-top: 1px solid rgba(246, 243, 238, 0.18); }
.compliance__item h3 { font-size: var(--text-base); margin-bottom: 6px; color: var(--on-navy); }
.compliance__item p { font-size: var(--text-sm); color: #b8c2d2; }
@media (max-width: 1023px) { .compliance { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
@media (max-width: 560px) { .compliance__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; align-items: center; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.toggle button { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: var(--text-sm); font-weight: 600; color: var(--slate); transition: background var(--dur), color var(--dur), box-shadow var(--dur); }
.toggle button[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); box-shadow: var(--shadow-sm); }
.toggle button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.toggle__flag { margin-right: 6px; font-size: 12px; opacity: 0.9; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan__flag { position: absolute; top: -12px; left: var(--space-5); }
.plan__name { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); letter-spacing: -0.02em; }
.plan__desc { font-size: var(--text-sm); color: var(--slate); margin-top: 4px; min-height: 2.6em; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: var(--space-5) 0 var(--space-1); }
.plan__price .cur { font-size: var(--text-sm); font-weight: 600; color: var(--slate); }
.plan__price .amt { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price .per { font-size: var(--text-sm); color: var(--slate); }
.plan__note { font-size: var(--text-xs); color: var(--mist); margin-bottom: var(--space-5); }
.plan__list { display: grid; gap: 10px; margin-bottom: var(--space-6); flex: 1; }
.plan__list li { display: flex; gap: 10px; font-size: var(--text-sm); color: var(--ink-3); line-height: 1.45; }
.plan__list li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green); }
.plan__list li.is-off { color: var(--mist); }
.plan__list li.is-off svg { color: var(--line-strong); }
.plan__list li.is-add svg { color: var(--brass); }
.plan .btn { margin-top: auto; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--text-md);
  transition: color var(--dur);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass); }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur); }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.faq .answer { padding: 0 0 var(--space-5); color: var(--slate); max-width: 70ch; }
.faq .answer p { margin-bottom: 0.75em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 80% 50%, rgba(212, 162, 68, 0.22), transparent 65%); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-7); align-items: center; }
.cta-band h2 { margin-bottom: var(--space-4); }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 899px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr); } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: var(--space-8) 0 var(--space-6); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: var(--space-7); }
.footer__about p { color: var(--slate); max-width: 40ch; margin-top: var(--space-4); }
.footer h3 { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); margin-bottom: var(--space-4); font-weight: 600; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--ink-3); transition: color var(--dur); }
.footer a:hover { color: var(--brass); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); color: var(--mist); font-size: var(--text-xs); }
.footer__bottom .flags { display: inline-flex; gap: 12px; }
@media (max-width: 899px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field .hint { font-size: var(--text-xs); color: var(--mist); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 27, 46, 0.08); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red); }
.field .error { font-size: var(--text-xs); color: var(--red); display: none; }
.field.is-invalid .error { display: block; }
.form__status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: var(--text-sm); }
.form__status.is-success { display: block; background: var(--green-soft); color: var(--green); }
.form__status.is-error { display: block; background: var(--red-soft); color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-sm); color: var(--slate); }
.consent input { width: 18px; height: 18px; margin-top: 3px; min-height: 0; accent-color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16ch; margin-bottom: var(--space-4); }
.page-hero .lede { max-width: 60ch; }
.page-hero.dark { border-bottom: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--text-lg); margin: var(--space-7) 0 var(--space-3); }
.prose h3 { font-size: var(--text-md); margin: var(--space-5) 0 var(--space-2); }
.prose p, .prose li { color: var(--ink-3); }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1em; display: grid; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { font-size: var(--text-sm); color: var(--mist); }
.callout { padding: var(--space-5); border-left: 3px solid var(--brass); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; margin: var(--space-6) 0; }
.callout p { margin: 0; color: var(--ink-3); }

/* ---------- Stat blocks ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.stat { padding: var(--space-5) 0 0; border-top: 2px solid var(--line-strong); }
.stat .k { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat .v { color: var(--slate); font-size: var(--text-sm); margin-top: var(--space-2); }
.dark .stat { border-top-color: rgba(246, 243, 238, 0.25); }
.dark .stat .v { color: #b8c2d2; }
@media (max-width: 640px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Code block (partners/API) ---------- */
.code {
  background: var(--navy); color: #dfe6f1; border-radius: var(--radius-lg); padding: var(--space-5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6;
  overflow-x: auto; border: 1px solid rgba(246, 243, 238, 0.1);
}
.code .c { color: #8a95a6; }
.code .k { color: var(--brass-2); }
.code .s { color: #9fd3b4; }

/* ---------- Reveal on scroll ---------- */
/* Landing on scroll (owner spec, 2026-10-08): a block fades in while rising 18px over 0.42 s on
   cubic-bezier(.22,1,.36,1); cards in a row follow 80 ms apart, at most 3 steps; it fires once, when 10%
   of the block is visible and 10% above the bottom of the screen (main.js); off under "reduce motion";
   and nothing is hidden unless the script has run (theme.js marks <html class="js"> before first paint). */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: 80ms; }
html.js .reveal[data-delay="2"] { transition-delay: 160ms; }
html.js .reveal[data-delay="3"], html.js .reveal[data-delay="4"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .report .report__row, .report .report__foot, .report .report__stamp { opacity: 1; transform: rotate(8deg); }
  .report .report__row, .report .report__foot { transform: none; }
  .score-ring .fill { stroke-dashoffset: 34; }
}

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-2 { margin-top: var(--space-2); } .mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); }
.text-center { text-align: center; }
.max-60 { max-width: 60ch; }

/* ======================================================================
   Theme: dark
   ====================================================================== */
:root[data-theme="dark"] {
  --paper: #0b1524; --paper-2: #101d31; --paper-3: #172640;
  --surface: #131f34; --surface-hl: #182540;
  --ink: #eef2f7; --ink-2: #dfe6f1; --ink-3: #c7d1e0; --slate: #a9b4c6; --mist: #7f8ca3;
  --line: #22314b; --line-strong: #34486c;
  --navy: #07101d; --navy-2: #0f1b2f; --on-navy: #f6f3ee;
  --brass: #d4a244; --brass-2: #e2b45a; --brass-soft: #3a2e12; --brass-text: #e6bd66;
  --green: #4fd08a; --green-soft: #10331f; --amber: #f2a541; --amber-soft: #3b2a08; --red: #ff7b6b; --red-soft: #3d1512;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.7), 0 8px 16px -8px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1524; --paper-2: #101d31; --paper-3: #172640;
    --surface: #131f34; --surface-hl: #182540;
    --ink: #eef2f7; --ink-2: #dfe6f1; --ink-3: #c7d1e0; --slate: #a9b4c6; --mist: #7f8ca3;
    --line: #22314b; --line-strong: #34486c;
    --navy: #07101d; --navy-2: #0f1b2f; --on-navy: #f6f3ee;
    --brass: #d4a244; --brass-2: #e2b45a; --brass-soft: #3a2e12; --brass-text: #e6bd66;
    --green: #4fd08a; --green-soft: #10331f; --amber: #f2a541; --amber-soft: #3b2a08; --red: #ff7b6b; --red-soft: #3d1512;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.7), 0 8px 16px -8px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
:root[data-theme="light"] .icon-sun { display: block; }
:root[data-theme="light"] .icon-moon { display: none; }
.icon-moon { display: none; }
.skip-link { background: var(--navy); color: var(--on-navy); }

/* ======================================================================
   Header
   ====================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); flex: none; }
.brand__mark { width: 32px; height: 32px; color: var(--ink); }
.brand__mark .key-accent { color: var(--brass); }
.brand__tag { font-family: var(--font-text); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--line-strong); }
.brand--lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand__img { display: block; height: 74px; width: auto; }
.header .brand__img { transform: translateY(-6px); }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
.brand__slogan { font-family: var(--font-text); font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); padding-left: 2px; white-space: nowrap; line-height: 1; }
:root[data-theme="dark"] .brand__slogan { color: #f6f3ee; }
.brand--footer .brand__img { height: 72px; }
.brand--footer .brand__slogan { font-size: 11px; }
@media (max-width: 560px) { .brand__img { height: 58px; } }

.nav { display: flex; align-items: center; gap: 2px; margin-left: var(--space-3); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-3); white-space: nowrap; background: none; border: 0; cursor: pointer;
  transition: color var(--dur), background var(--dur);
}
.nav__link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav__link[aria-current="page"], .has-menu.is-current > .nav__toggle { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after, .has-menu.is-current > .nav__toggle::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.nav__toggle .chev { width: 14px; height: 14px; opacity: 0.7; transition: transform var(--dur) var(--ease); }
.has-menu.is-open > .nav__toggle .chev { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 320px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.has-menu.is-open > .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1100px) {
  .has-menu:hover > .menu, .has-menu:focus-within > .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.menu__link { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); transition: background var(--dur); }
.menu__link > svg { width: 20px; height: 20px; color: var(--brass); margin-top: 1px; }
.menu__link:hover { background: var(--paper-2); }
.menu__link[aria-current="page"] { background: var(--paper-2); }
.menu__title { display: block; font-size: var(--text-sm); font-weight: 600; line-height: 1.3; }
.menu__desc { display: block; font-size: var(--text-xs); color: var(--slate); margin-top: 2px; }

.header__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--ink-3); border: 1px solid transparent; transition: color var(--dur), background var(--dur), border-color var(--dur); }
.icon-btn:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.icon-btn svg { width: 20px; height: 20px; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 14px 4px 4px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); font-size: var(--text-sm); font-weight: 600; white-space: nowrap;
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.user-chip:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.user-chip__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-3); flex: none; }
.user-chip__avatar svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); }
.menu-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.nav__mobile-actions { display: none; }
body.nav-open, body.modal-open { overflow: hidden; }

@media (max-width: 1279px) {
  .nav__link { padding: 0 9px; }
  .brand__tag { display: none; }
  .user-chip__label { display: none; }
  .user-chip { padding: 4px; }
}
@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; }
  .header__primary { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: var(--space-4) var(--gutter) var(--space-6);
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur), visibility 0s linear var(--dur);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav__link { width: 100%; min-height: 52px; font-size: var(--text-md); border-radius: var(--radius); justify-content: space-between; }
  .nav__link[aria-current="page"]::after { display: none; }
  .menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0 0 8px 8px; }
  .has-menu.is-open > .menu { display: grid; }
  .nav__mobile-actions { display: grid; gap: 8px; margin-top: var(--space-4); }
  .nav__mobile-actions .btn { width: 100%; }
}

/* ======================================================================
   Modal
   ====================================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--space-4); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 16, 29, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--dur); }
.modal__panel {
  position: relative; width: min(440px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6) var(--space-6); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.signin-form { margin-top: var(--space-5); }
.signin-form__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; font-size: var(--text-sm); }
.signin-form__links a, .signin-form__foot a { color: var(--brass-text); text-decoration: underline; text-underline-offset: 3px; }
.signin-form__foot { margin-top: var(--space-5); }

/* ======================================================================
   Tabs
   ====================================================================== */
.tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: var(--space-6); }
.tabs [role="tab"] { min-height: 46px; padding: 0 16px; font-size: var(--text-sm); font-weight: 600; color: var(--slate); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color var(--dur), border-color var(--dur); }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brass); }
[role="tabpanel"][hidden] { display: none; }
.tabs--scroll { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ======================================================================
   Activity ledger (illustrative)
   ====================================================================== */
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ledger__bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); align-items: center; }
.ledger__search { position: relative; flex: 1 1 240px; }
.ledger__search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--mist); pointer-events: none; }
.ledger__search input { width: 100%; min-height: 42px; padding: 8px 14px 8px 38px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: var(--text-sm); }
.ledger__search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 8%, transparent); }
.ledger__filter { min-height: 42px; padding: 0 34px 0 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: var(--text-sm); font-weight: 500; color: var(--ink); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a95a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.ledger__count { font-size: var(--text-xs); color: var(--mist); margin-left: auto; white-space: nowrap; }
.ledger table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.ledger--full table { min-width: 1120px; }
.ledger--mini th, .ledger--mini td { padding: 10px 12px; font-size: 13px; white-space: nowrap; }
.ledger--mini .target small { white-space: nowrap; }
.ledger--full th:nth-child(6), .ledger--full td:nth-child(6) { min-width: 300px; }
.ledger--full th:nth-child(5), .ledger--full td:nth-child(5) { min-width: 170px; }
.ledger th, .ledger td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tbody tr:last-child td { border-bottom: 0; }
.ledger th { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); font-weight: 600; background: var(--surface); }
.ledger tbody tr:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.ledger .ts { font-variant-numeric: tabular-nums; color: var(--slate); white-space: nowrap; }
.ledger .target { font-weight: 500; }
.ledger .target small { display: block; color: var(--mist); font-weight: 400; font-size: var(--text-xs); }
.ledger__actor { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ledger__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--ink-3); flex: none; }
.ledger__empty { padding: var(--space-7); text-align: center; color: var(--slate); }
.ledger__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--mist); background: var(--paper-2); }
.ledger__hash, .hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--mist); letter-spacing: 0.02em; }
.evt { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-3); white-space: nowrap; }
.evt svg { width: 12px; height: 12px; }
.evt--invite { color: var(--green); background: var(--green-soft); border-color: transparent; }
.evt--download { color: var(--brass-text); background: var(--brass-soft); border-color: transparent; }
.evt--delete { color: var(--red); background: var(--red-soft); border-color: transparent; }
.evt--warn { color: var(--amber); background: var(--amber-soft); border-color: transparent; }

/* ======================================================================
   Calculator
   ====================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); }
.calc__inputs { display: grid; gap: var(--space-5); align-content: start; }
.calc__field label { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-sm); font-weight: 600; margin-bottom: 8px; }
.calc__field output { font-variant-numeric: tabular-nums; color: var(--brass-text); }
.calc__field .hint { display: block; font-size: var(--text-xs); color: var(--mist); font-weight: 400; margin-top: 4px; }
.calc input[type="range"] { width: 100%; accent-color: var(--brass); }
.calc__result { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
.calc__result .label { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: #a9b4c6; }
.calc__result .big { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__result .row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-sm); color: #dfe6f1; padding-top: 10px; border-top: 1px solid rgba(246, 243, 238, 0.15); font-variant-numeric: tabular-nums; }
.calc__result .row strong { color: var(--brass-2); }
.calc__note { font-size: var(--text-xs); color: #a9b4c6; }
@media (max-width: 767px) { .calc { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); } }

/* ======================================================================
   Sample report document
   ====================================================================== */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr); gap: var(--space-6); align-items: start; }
.doc-layout aside { position: sticky; top: calc(var(--header-h) + 16px); }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.doc__head { padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; align-items: center; }
.doc__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.doc__brand svg { width: 26px; height: 26px; }
.doc__ref { font-size: var(--text-xs); color: var(--mist); letter-spacing: 0.06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.doc__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; padding: var(--space-4) var(--space-6); background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: var(--text-sm); margin: 0; }
.doc__meta dt { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.doc__meta dd { margin: 2px 0 0; font-weight: 600; }
.doc__section { padding: var(--space-6); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.doc__section:last-child { border-bottom: 0; }
.doc__section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: var(--space-4); }
.doc__section-head h3 { font-size: var(--text-md); display: flex; align-items: center; gap: 10px; }
.doc__section-head h3 .num { font-family: var(--font-display); font-style: italic; color: var(--brass); font-weight: 400; }
.doc__kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0; }
.doc__kv > div { padding: 10px 12px; background: var(--paper-2); border-radius: var(--radius); }
.doc__kv .k { font-size: var(--text-xs); color: var(--mist); text-transform: uppercase; letter-spacing: 0.06em; }
.doc__kv .v { font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }
.doc__table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin-top: var(--space-3); }
.doc__table th, .doc__table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc__table th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); font-weight: 600; }
.doc__note { font-size: var(--text-sm); color: var(--slate); margin-top: var(--space-3); }
.doc__foot { padding: var(--space-4) var(--space-6); background: var(--paper-2); font-size: var(--text-xs); color: var(--mist); }
.annot { padding: var(--space-4) var(--space-5); border-left: 3px solid var(--brass); background: var(--brass-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--text-sm); color: var(--ink); margin-top: var(--space-4); }
.annot strong { color: var(--brass-text); }
.doc-toc { display: grid; gap: 4px; }
.doc-toc a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--radius); font-size: var(--text-sm); color: var(--ink-3); }
.doc-toc a:hover { background: var(--paper-2); color: var(--ink); }
.doc-toc .num { font-family: var(--font-display); font-style: italic; color: var(--brass); width: 22px; }
@media (max-width: 1023px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .doc-layout aside { position: static; } }
@media (max-width: 640px) { .doc__section, .doc__head { padding: var(--space-5) var(--space-4); } .doc__meta { padding: var(--space-4); } }

/* ======================================================================
   Misc marketing components
   ====================================================================== */
.quote { padding: var(--space-6); border-left: 3px solid var(--brass); background: var(--surface); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.quote p { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 400; font-style: italic; line-height: 1.35; color: var(--ink); }
.quote cite { display: block; margin-top: var(--space-3); font-style: normal; font-size: var(--text-sm); color: var(--slate); }
.timeline { display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-4); padding-bottom: var(--space-5); position: relative; }
.timeline__item::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline__item:last-child::before { display: none; }
.timeline__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brass); display: grid; place-items: center; color: var(--brass); }
.timeline__dot svg { width: 14px; height: 14px; }
.timeline__item h3 { font-size: var(--text-base); margin-bottom: 4px; }
.timeline__item p { font-size: var(--text-sm); color: var(--slate); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); }
.kpi__item { padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.kpi__item .k { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.kpi__item .v { font-size: var(--text-sm); color: var(--slate); margin-top: 8px; }
.objection { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-5); padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.objection:last-child { border-bottom: 1px solid var(--line); }
.objection .q { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); font-weight: 400; color: var(--ink); }
.objection .a { color: var(--slate); }
@media (max-width: 767px) { .objection { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); } }

/* ======================================================================
   Hero motion
   ====================================================================== */
.hero::before { background-size: 200% 200%; animation: hero-drift 18s ease-in-out infinite alternate; }
@keyframes hero-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.hero .word { display: inline-block; opacity: 0; transform: translateY(0.35em) rotate(0.6deg); animation: word-in 0.9s var(--ease) forwards; }
.hero .word em { display: inline; }
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero .lede, .hero .btn-row, .hero .hero__note { opacity: 0; animation: word-in 0.9s var(--ease) forwards; }
.hero .lede { animation-delay: 0.55s; } .hero .btn-row { animation-delay: 0.7s; } .hero .hero__note { animation-delay: 0.85s; }
.report { animation: report-in 1.1s var(--ease) 0.25s both; }
@keyframes report-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
.report__card { will-change: transform; transition: transform 0.6s var(--ease); }
.report.is-live .report__card { animation: report-float 7s ease-in-out 1.6s infinite; }
@keyframes report-float { 0%, 100% { transform: rotate(-0.6deg) translateY(0); } 50% { transform: rotate(-0.4deg) translateY(-7px); } }
.report__sweep { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; z-index: 3; opacity: 0;
  background: linear-gradient(180deg, rgba(212, 162, 68, 0) 0%, rgba(212, 162, 68, 0.28) 55%, rgba(212, 162, 68, 0.9) 98%, rgba(212, 162, 68, 0) 100%); }
.report.is-live .report__sweep { animation: report-sweep 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s 1; }
@keyframes report-sweep { 0% { top: -90px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero .word, .hero .lede, .hero .btn-row, .hero .hero__note, .report, .report.is-live .report__card, .report.is-live .report__sweep { animation: none !important; opacity: 1; transform: none; }
  .report__card { transform: rotate(-0.6deg); }
}
@media (max-width: 480px) { .report.is-live .report__card { animation: none; } }

/* ======================================================================
   Verification scene
   ====================================================================== */
.vscene {
  --vs-bg: var(--navy); --vs-bg2: var(--navy-2); --vs-ink: var(--on-navy); --vs-muted: #a9b4c6; --vs-line: rgba(246, 243, 238, 0.14);
  --vs-brass: var(--brass-2); --vs-green: #4fd08a; --vs-period: 3400ms;
  position: relative; background: var(--vs-bg); color: var(--vs-ink); border: 1px solid rgba(246, 243, 238, 0.1);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
}
.vscene::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 70% 30%, rgba(212, 162, 68, 0.12), transparent 60%); }
.vscene__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 16px 22px; border-bottom: 1px solid var(--vs-line); font-size: var(--text-sm); }
.vscene__head b { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.vscene__head b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vs-green); box-shadow: 0 0 0 0 rgba(79, 208, 138, 0.5); animation: vs-pulse 1.8s ease-out infinite; }
.vscene.is-paused .vscene__head b::before { animation-play-state: paused; }
.vscene__state { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vs-brass); font-variant-numeric: tabular-nums; }
.vscene.is-final .vscene__state { color: var(--vs-green); }
@keyframes vs-pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 208, 138, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(79, 208, 138, 0); } }
.vscene__stage { position: relative; aspect-ratio: 16 / 10; }
.vs-panel { position: absolute; inset: 0; opacity: 0; transform: scale(0.985); transition: opacity 520ms var(--ease), transform 640ms var(--ease); pointer-events: none; }
.vs-panel.is-on { opacity: 1; transform: none; }
.vs-svg { width: 100%; height: 100%; display: block; }
.vs-grid { fill: none; }
.vs-dotfill { fill: var(--vs-brass); opacity: 0.9; }
.vs-glow0 { stop-color: var(--vs-brass); stop-opacity: 0.35; } .vs-glow1 { stop-color: var(--vs-brass); stop-opacity: 0; }
.vs-scan0 { stop-color: var(--vs-brass); stop-opacity: 0; } .vs-scan1 { stop-color: var(--vs-brass); stop-opacity: 0.85; }
.vs-cardbg { fill: rgba(246, 243, 238, 0.06); }
.vs-cardframe { fill: none; stroke: rgba(246, 243, 238, 0.35); stroke-width: 1; }
.vs-portrait { fill: rgba(246, 243, 238, 0.05); stroke: rgba(246, 243, 238, 0.25); stroke-width: 0.8; }
.vs-cardlabel, .vs-label, .vs-corner { font-family: var(--font-text); font-size: 7px; font-weight: 700; letter-spacing: 0.14em; fill: var(--vs-muted); }
.vs-corner { fill: var(--vs-brass); font-size: 5.5px; opacity: 0.85; }
.vs-field rect { fill: rgba(246, 243, 238, 0.35); }
.vs-field text { font-family: var(--font-text); font-size: 5.5px; font-weight: 600; letter-spacing: 0.12em; fill: var(--vs-muted); }
.vs-tick circle { fill: rgba(79, 208, 138, 0.18); stroke: var(--vs-green); stroke-width: 0.8; }
.vs-tick path { fill: none; stroke: var(--vs-green); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.vs-mrz rect { fill: rgba(246, 243, 238, 0.28); }
.vs-mrzhl { fill: none; stroke: var(--vs-brass); stroke-width: 0.8; }
.vs-badge rect { fill: rgba(246, 243, 238, 0.08); stroke: rgba(246, 243, 238, 0.2); stroke-width: 0.6; }
.vs-badge text { font-family: var(--font-text); font-size: 7.5px; font-weight: 700; letter-spacing: 0.1em; fill: var(--vs-ink); }
.vs-badge--ok rect { fill: rgba(79, 208, 138, 0.14); stroke: rgba(79, 208, 138, 0.4); }
.vs-badge--ok text { fill: var(--vs-green); }
.vs-faceoutline { fill: none; stroke: rgba(246, 243, 238, 0.3); stroke-width: 0.9; stroke-dasharray: 1.5 2.5; }
.vs-live { fill: none; stroke: var(--vs-brass); stroke-width: 0.8; }
.vs-pt circle { fill: var(--vs-brass); }
.vs-pt .vs-pt-halo { fill: none; stroke: var(--vs-brass); stroke-width: 0.6; opacity: 0.6; }
.vs-link { stroke: var(--vs-brass); stroke-width: 0.7; opacity: 0.8; }
.vs-count { font-family: var(--font-display); font-size: 40px; font-weight: 500; fill: var(--vs-ink); }
.vs-big { font-family: var(--font-display); font-size: 26px; font-weight: 500; fill: var(--vs-ink); }
.vs-cover { fill: var(--vs-bg); }
.vs-tiny { font-family: var(--font-text); font-size: 6.5px; fill: var(--vs-muted); }
.vs-track { fill: rgba(246, 243, 238, 0.12); stroke: rgba(246, 243, 238, 0.12); }
circle.vs-track { fill: none; }
.vs-arc { fill: none; stroke: var(--vs-brass); stroke-linecap: round; }
.vs-bar { fill: var(--vs-brass); }
.vs-orbit { fill: none; stroke: rgba(246, 243, 238, 0.18); stroke-width: 0.8; }
.vs-rowbg { fill: rgba(246, 243, 238, 0.06); stroke: rgba(246, 243, 238, 0.12); stroke-width: 0.6; }
.vs-rowhl { fill: none; stroke: var(--vs-brass); stroke-width: 0.9; }
.vs-rowtext { font-family: var(--font-text); font-size: 7.5px; font-weight: 600; letter-spacing: 0.06em; fill: var(--vs-ink); }
.vs-scale { fill: none; stroke: var(--vs-brass); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.vs-scale--soft { stroke-width: 1.4; opacity: 0.55; }
.vs-divider { stroke: rgba(246, 243, 238, 0.12); stroke-width: 0.8; stroke-dasharray: 2 4; }
.vs-rule rect { fill: rgba(246, 243, 238, 0.28); }
.vs-seal circle { fill: var(--vs-brass); }
.vs-seal .vs-sealring { fill: none; stroke: var(--vs-bg); stroke-width: 1; stroke-dasharray: 2 2; }
.vs-sealtick { fill: none; stroke: var(--vs-bg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vs-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; fill: var(--vs-ink); letter-spacing: 0.04em; }
.vs-hash { fill: var(--vs-muted); }
.vs-sil { opacity: 0.9; }

.vscene__steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 12px 16px; border-top: 1px solid var(--vs-line); background: rgba(0, 0, 0, 0.18); }
.vs-step { position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px 10px; border-radius: 10px; color: var(--vs-muted); text-align: left; transition: background var(--dur), color var(--dur); overflow: hidden; }
.vs-step:hover { background: rgba(246, 243, 238, 0.06); color: var(--vs-ink); }
.vs-step.is-on { background: rgba(246, 243, 238, 0.08); color: var(--vs-ink); }
.vs-step__n { font-family: var(--font-display); font-style: italic; font-size: 12px; color: var(--vs-brass); }
.vs-step__t { font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.vs-step__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--vs-brass); transform: scaleX(0); transform-origin: left; }
.vscene.is-playing .vs-step.is-on .vs-step__bar { animation: vs-progress var(--vs-period) linear forwards; }
.vscene.is-paused .vs-step.is-on .vs-step__bar { animation-play-state: paused; }
@keyframes vs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vscene__cap { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; padding: 16px 22px 20px; border-top: 1px solid var(--vs-line); }
.vscene__capno { grid-row: 1 / 3; font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--vs-brass); padding-top: 3px; white-space: nowrap; }
.vscene__cap b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); letter-spacing: -0.01em; }
.vscene__cap p { font-size: var(--text-sm); color: var(--vs-muted); margin: 0; max-width: 62ch; }
@media (max-width: 767px) {
  .vscene__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vs-step__t { font-size: 11px; }
  .vscene__cap { grid-template-columns: minmax(0, 1fr); }
  .vscene__capno { grid-row: auto; }
  .vscene__head { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .vs-panel { transition: none; }
}
/* Hero with the scene beside the copy (ID verification page) */
.vs-hero { padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.vs-hero__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: var(--space-7); align-items: center; }
.vs-hero__copy h1 { max-width: 12ch; margin-bottom: var(--space-4); }
.vs-hero__copy .lede { margin-bottom: var(--space-4); }
.vs-hero__copy .hero__note { margin-top: var(--space-4); }
.vs-hero .vscene { border-color: rgba(246, 243, 238, 0.18); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.vs-hero .vscene__stage { aspect-ratio: 16 / 10; }
.vs-hero .vscene__cap { padding: 12px 20px 16px; }
.vs-hero .vscene__cap p { max-width: none; }
@media (max-width: 1023px) {
  .vs-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: start; }
  .vs-hero__copy h1 { max-width: 16ch; }
}
@media (max-width: 640px) { .vs-hero .vscene__stage { aspect-ratio: 4 / 3; } }

.variant-pill { position: fixed; left: 14px; bottom: 14px; z-index: 150; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: var(--on-navy); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; box-shadow: var(--shadow-lg); border: 1px solid rgba(246, 243, 238, 0.18); opacity: 0.9; transition: opacity var(--dur), transform var(--dur); }
.variant-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-2); }
.variant-pill:hover { opacity: 1; transform: translateY(-1px); }
.variant-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 150; display: inline-flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: var(--navy); color: var(--on-navy); box-shadow: var(--shadow-lg); border: 1px solid rgba(246, 243, 238, 0.18); font-size: 12px; max-width: calc(100vw - 24px); }
.variant-bar__btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--on-navy); font-size: 16px; transition: background var(--dur); }
.variant-bar__btn:hover, .variant-bar__all:hover { background: rgba(246, 243, 238, 0.12); }
.variant-bar__label { display: inline-flex; flex-direction: column; align-items: center; padding: 2px 12px; line-height: 1.15; color: var(--on-navy); min-width: 150px; }
.variant-bar__n { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #a9b4c6; }
.variant-bar__name { font-weight: 600; white-space: nowrap; }
.variant-bar__all { padding: 8px 12px; border-radius: 999px; color: var(--brass-2); font-weight: 600; white-space: nowrap; transition: background var(--dur); }
@media (max-width: 560px) { .variant-bar__label { min-width: 0; } .variant-bar__all { display: none; } }

.footer__grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- The film (home) ----------
   The hero and the film are ONE grid: on desktop the film is the hero's second row, on the
   hero's own two columns, so the player lines up with the sample report above it. On a
   single column the order is the owner's (2026-10-08): the writing, then the film, then the
   film's words, then the sample report, so a phone visitor reaches the film on the second
   screen. The picture carries nothing on top of it: main.js switches the browser's controls
   off and drives the film from the bar under the frame; without JavaScript the native
   controls stay, so the film still plays. The poster is the film's own first frame. */
.hero--film .hero__grid { grid-template-areas: "copy report" "rule rule" "words film"; gap: 0 var(--space-8); align-items: start; }
.hero--film .hero__copy { grid-area: copy; align-self: center; }
.hero--film .report { grid-area: report; align-self: center; }
.hero__rule { grid-area: rule; height: 1px; background: var(--line); margin: clamp(3rem, 8vw, 6rem) calc(50% - 50vw) clamp(1.75rem, 4vw, 3rem); }
.film__txt { grid-area: words; }
.film__fig { grid-area: film; margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.film__txt h2 { max-width: 16ch; }
.film__txt .lede { margin: var(--space-4) 0 0; }
.film__pts { margin-top: var(--space-6); display: flex; flex-direction: column; }
.film__pts li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--slate); font-size: 0.95rem; line-height: 1.5; }
.film__pts li:last-child { border-bottom: 1px solid var(--line); }
.film__pts li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; background: var(--brass); transform: rotate(45deg); }
/* phones only: a tap to the film from the first screen */
.hero__film { display: none; align-items: center; gap: 10px; margin-top: var(--space-4); font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
.hero__film .tri { width: 0; height: 0; border-left: 9px solid var(--brass); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hero__film:hover { color: var(--brass); }
.film__player { display: flex; flex-direction: column; }
.film__box { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-lg); }
.film__box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
video::-webkit-media-controls-overlay-play-button { display: none; }
video::-webkit-media-controls-start-playback-button { display: none; }
.film__ctl { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.film__ctl[hidden] { display: none; }
.film__ctl .ic, .film__ctl .tx { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid transparent; border-radius: var(--radius); color: var(--slate); transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast); }
.film__ctl .ic:hover, .film__ctl .tx:hover { color: var(--ink); border-color: var(--line-strong); }
.film__ctl .tx { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.film__ctl .tx[aria-pressed="true"] { background: var(--brass-2); color: var(--navy); border-color: transparent; }
.film__ctl .pp { min-width: 38px; }
.film__ctl .tri { width: 0; height: 0; border-left: 11px solid var(--brass); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.film__ctl .bars { display: none; gap: 3px; }
.film__ctl .bars i { display: block; width: 3.5px; height: 13px; background: var(--brass); }
.film__ctl.playing .tri { display: none; }
.film__ctl.playing .bars { display: flex; }
.film__ctl .spk { width: 14px; height: 12px; background: currentColor; clip-path: polygon(0 32%, 32% 32%, 62% 0, 62% 100%, 32% 68%, 0 68%); }
.film__ctl.muted .spk { opacity: 0.42; }
.film__ctl .fs { width: 13px; height: 13px; border: 2px solid currentColor; clip-path: polygon(0 0, 42% 0, 42% 18%, 18% 18%, 18% 42%, 0 42%, 0 100%, 42% 100%, 42% 82%, 18% 82%, 18% 58%, 0 58%, 0 0, 100% 0, 58% 0, 58% 18%, 82% 18%, 82% 42%, 100% 42%, 100% 100%, 58% 100%, 58% 82%, 82% 82%, 82% 58%, 100% 58%); }
.film__ctl .tt { font-size: 11px; font-weight: 500; letter-spacing: 0.04em; color: var(--mist); font-variant-numeric: tabular-nums; white-space: nowrap; }
.film__ctl .seek { flex: 1; min-width: 60px; height: 34px; appearance: none; -webkit-appearance: none; background: none; cursor: pointer; margin: 0; }
.film__ctl .seek::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: var(--line-strong); }
.film__ctl .seek::-moz-range-track { height: 3px; border-radius: 2px; background: var(--line-strong); }
.film__ctl .seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--brass); margin-top: -4.5px; border: 0; }
.film__ctl .seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--brass); border: 0; }
.film__cap { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); text-align: center; }
.film__cap::before, .film__cap::after { content: ""; width: 24px; height: 1px; background: currentColor; flex: none; }
.film__note { display: flex; flex-direction: column; gap: 2px; text-align: center; font-size: var(--text-sm); color: var(--slate); }
.film__act { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-3); }
@media (max-width: 1023px) {
  .hero--film .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "film" "words" "report"; gap: var(--space-7) 0; }
  .hero__rule { display: none; }
  .film__txt h2 { max-width: none; }
  .film__act { display: none; }   /* the hero's own buttons sit a screen above */
}
@media (max-width: 760px) {
  .hero__film { display: inline-flex; }
  .film__pts { display: none; }   /* folded on phones so the sample report arrives sooner */
}
@media (max-width: 520px) {
  .film__ctl { flex-wrap: wrap; gap: 6px; }
  .film__ctl .seek { order: 5; flex: 1 0 100%; }
  .film__cap { flex-wrap: wrap; }
}

/* ---------- Pricing page, the quiet version (owner, 2026-10-08) ----------
   One word at the top, the currency switch under it, then the tiles: the manner of claude.com/pricing
   in RentKey's paper, ink and brass. The explanatory prose moved to the FAQ at the foot of the page and
   to the home page's pricing teaser. The tiles are still drawn from the database by sitePricing.js;
   the order inside a tile (button under the price, list under a rule) is done here with flex order. */
.price-top { padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.price-top h1 { margin: 0 auto var(--space-6); max-width: none; }
.price-top .toggle, .billing-switch { display: inline-flex; align-items: center; margin: 0 auto; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.price-top .toggle button, .billing-switch button { min-height: 40px; padding: 0 20px; border-radius: 999px; font-size: var(--text-sm); font-weight: 600; color: var(--slate); background: transparent; border: 0; cursor: pointer; transition: background var(--dur), color var(--dur), box-shadow var(--dur); }
.price-top .toggle button[aria-pressed="true"], .billing-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.price-top .toggle button:hover:not([aria-pressed="true"]), .billing-switch button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.billing-switch { display: flex; width: max-content; margin: 0 auto var(--space-6); }
.save-pill { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
[data-sub-note] { color: var(--green); font-weight: 600; }
.price-group { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 var(--space-5); font-family: var(--font-text); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.price-group::before, .price-group::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.dark .price-group { color: var(--brass-2); }
.price-group + .price-group__line { margin: calc(-1 * var(--space-4)) auto var(--space-6); max-width: 60ch; text-align: center; color: var(--slate); font-size: var(--text-sm); }
.price-section { padding-top: var(--space-6); padding-bottom: var(--space-8); }
.price-section + .price-section { padding-top: var(--space-8); }
.price-note { text-align: center; max-width: 72ch; margin-left: auto; margin-right: auto; }
/* three tiles fill the row as three, four as four: auto-fit collapses the unused track */
.plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
.plan { padding: var(--space-6) var(--space-6) var(--space-6); border-radius: var(--radius-xl); border-color: var(--line); background: var(--surface); }
.plan:hover { transform: none; box-shadow: var(--shadow-sm); }
/* Rows line up across the tiles: name, description, price, note, button, list, audience each sit on a
   shared row (CSS subgrid), so every button and every list starts at the same height whatever the
   wording above it. Browsers without subgrid get the simple stacked order below. */
.plan { display: flex; flex-direction: column; }
.plan > * { order: 6; }
.plan__flag { order: 0; position: absolute; top: 18px; right: 18px; left: auto; width: auto; margin: 0; }
.plan__name { order: 1; font-size: 1.75rem; line-height: 1.1; }
.plan--featured .plan__name { padding-right: 120px; }
.plan__desc { order: 2; min-height: 0; margin-top: 6px; }
.plan__price { order: 3; margin: var(--space-5) 0 var(--space-1); }
.plan__price .amt { font-size: 2.4rem; }
.plan__note { order: 4; margin-bottom: 0; min-height: 0; }
.plan .btn { order: 5; margin-top: var(--space-5); }
.plan .btn.btn--outline { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan .btn.btn--outline:hover { background: var(--ink-2); border-color: var(--ink-2); }
.plan--featured .btn { background: var(--brass-2); color: var(--navy); border-color: var(--brass-2); }
.plan--featured .btn:hover { background: #e2b45a; border-color: #e2b45a; }
.plan__list { order: 6; flex: 1; align-content: start; margin: var(--space-5) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--line); gap: 11px; }
.plan__list li svg { color: var(--slate); }
.plan__list li.is-add svg { color: var(--brass); }
.plan__list li.plan__all { font-weight: 600; color: var(--ink); }
.plan__list li.plan__all svg { display: none; }
.plan__list li.is-off { display: none; }
.plan .small.muted { order: 7; margin-top: var(--space-4); }
@supports (grid-template-rows: subgrid) {
  .plan { display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0; align-content: start; }
  .plan__name { grid-row: 1; }
  .plan__desc { grid-row: 2; }
  .plan__price { grid-row: 3; align-self: end; }
  .plan__note { grid-row: 4; }
  .plan__note + .plan__note { grid-row: 5; }
  .plan .btn { grid-row: 6; }
  .plan__list { grid-row: 7; }
  .plan .small.muted { grid-row: 8; align-self: end; }
}
.plan--featured { border-color: var(--brass-2); box-shadow: 0 0 0 1px var(--brass-2), 0 28px 56px -32px rgba(184, 134, 43, 0.55); background: linear-gradient(180deg, var(--surface-hl), var(--surface)); }
.plan--featured:hover { box-shadow: 0 0 0 1px var(--brass-2), 0 28px 56px -32px rgba(184, 134, 43, 0.55); }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan__desc { min-height: 0; } .price-top .toggle button, .billing-switch button { padding: 0 14px; } }

/* ---------- Single checks (owner, 2026-10-08): the same tile as every other offer ---------- */
.plans--singles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans--singles .plan__name { font-size: 1.35rem; }
.plans--singles .plan__price .amt { font-size: 2rem; }
.plans--singles .plan__list li { font-size: 0.85rem; }
@media (max-width: 1100px) { .plans--singles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans--singles { grid-template-columns: minmax(0, 1fr); } }

/* Landlord plans: the row that offers the most is the biggest on the page (owner, 2026-10-08).
   Wider container, more padding and type; same grid, same alignment rules, same tile anatomy. */
.price-section--plans .container { max-width: 1320px; }
.price-section--plans .plan { padding: 40px 38px; }
.price-section--plans .plan__name { font-size: 2.125rem; }
.price-section--plans .plan__desc { font-size: 15.5px; }
.price-section--plans .plan__price .amt { font-size: 3rem; }
.price-section--plans .plan__price .cur, .price-section--plans .plan__price .per { font-size: 15px; }
.price-section--plans .plan__list li { font-size: 15.5px; }
.price-section--plans .plan__audience { font-size: 14.5px; }
@media (max-width: 1360px) { .price-section--plans .container { max-width: 1200px; } }
