/*
 * The Pilot Graveyard Vault — landing page.
 * Mobile first. Tokens are the Vault's own (pilot-graveyard-vault/src/app/
 * globals.css), so the sale and the product look like one thing.
 * Contrast: ink 15:1, ink-2 10:1, muted 6:1 on ground; gold text 8:1.
 */

/* ------------------------------------------------------------- fonts --- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ------------------------------------------------------------ tokens --- */
:root {
  --ground: #121110;
  --surface: #1a1816;
  --surface-2: #23201d;
  --surface-3: #2d2925;
  --line: #38332d;
  --line-strong: #4d463e;
  --ink: #f1ebe0;
  --ink-2: #d6cdbf;
  --muted: #a99f90;
  --gold: #d9ac4a;
  --gold-bright: #ecc36a;
  --gold-wash: #2e2414;
  --red: #c0594b;
  --red-wash: #2f1714;
  --red-soft: #f0b8ae;
  --green: #8fb573;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --gutter: 16px;
  --section: 72px;
  --sticky-h: 76px;
  color-scheme: dark;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 112px; }
}

/* -------------------------------------------------------------- base --- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ground);
  color: var(--ink);
  font-size: 112.5%; /* 18px: this audience reads at arm's length */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--ground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.has-sticky { padding-bottom: var(--sticky-h); }
@media (min-width: 768px) { body.has-sticky { padding-bottom: 0; } }

/* A faint film grain: the only "retro" effect, and it never moves. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 8.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 6vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--gold); color: var(--ground); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--gold); color: var(--ground); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 50rem; }

.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lead { color: var(--ink-2); font-size: 1.12rem; max-width: 40rem; }
.meta { display: block; color: var(--muted); font-size: 0.85rem; }
.link { color: var(--gold-bright); text-underline-offset: 4px; }
.link:hover { color: var(--ink); }
.display-xl { font-size: clamp(2.1rem, 7.5vw, 3.8rem); }
.example-note { margin-top: 20px; color: var(--muted); font-size: 0.85rem; }
.tag {
  display: inline-block; color: var(--red-soft); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ----------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; text-align: center; transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary {
  background: var(--gold); color: var(--ground);
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 10px 30px -12px rgb(217 172 74 / .55);
}
.btn--primary:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 1rem; width: 100%; }
.btn--md { min-height: 54px; padding: 0 22px; font-size: 0.95rem; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.78rem; }
.btn--block { width: 100%; }
@media (min-width: 640px) { .btn--lg { width: auto; } }
.cta-note { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

/* ------------------------------------------------------------ header --- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(18 17 16 / .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(56 51 45 / .7);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.brand__mark {
  width: 26px; height: 20px; border-radius: 5px; border: 2px solid var(--gold);
  background: radial-gradient(circle at 50% 55%, rgb(217 172 74 / .35), transparent 60%);
  position: relative; flex: none;
}
.brand__mark::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 2px; background: var(--gold); transform: translateX(-50%); }
.site-nav { display: none; gap: 26px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; padding: 10px 0; }
.site-nav a:hover { color: var(--gold-bright); }
.site-header__cta { display: none; }
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header__cta { display: inline-flex; }
}
/* On phones the header keeps just the brand and a login link. */
.site-header__login { color: var(--ink-2); font-size: 0.92rem; text-decoration: none; padding: 12px 4px; }
@media (min-width: 900px) { .site-header__login { display: none; } }

/* -------------------------------------------------------------- hero --- */
.hero { position: relative; padding: 40px 0 var(--section); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1;
  /* Strengths are capped by contrast: muted text over the brightest point of
     both glows plus the grain is 4.76:1 (AA). Stronger fails AA. */
  background: radial-gradient(ellipse at 30% 30%, rgb(217 172 74 / .10), transparent 60%),
              radial-gradient(ellipse at 85% 10%, rgb(192 89 75 / .08), transparent 55%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__copy h1 { margin-bottom: 20px; }
.hero__sub { font-size: 1.18rem; color: var(--ink); max-width: 36rem; }
.hero__support { margin-top: 14px; color: var(--ink-2); max-width: 36rem; }
.hero__actions { margin-top: 28px; }
.hero__login { margin-top: 18px; color: var(--ink-2); }
.hero__trust {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 0.88rem; letter-spacing: .04em;
}
.hero__trust::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
@media (min-width: 1000px) {
  .hero { padding-top: 72px; }
  .hero__grid { grid-template-columns: 1.02fr 1fr; }
}

/* The layered mockup: a desktop window with a phone overlapping it. */
.hero-mock { position: relative; margin: 0; padding-bottom: 36px; }
.device { border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8); }
.device--desktop { border-radius: var(--radius); overflow: hidden; }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.device__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.device__bar p { margin-left: 10px; font-size: 0.7rem; color: var(--muted); letter-spacing: .06em; }
.device--desktop .device__screen { padding: 16px 16px 6px; }
.mock-greeting { font-family: var(--font-display); font-size: 1rem; margin-bottom: 10px; }
.mock-search { border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 10px; font-size: 0.7rem; color: var(--muted); margin-bottom: 14px; }
.mock-row { margin-bottom: 12px; }
.mock-row__title { font-size: 0.72rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.mock-row__posters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.device--phone {
  position: absolute; right: 4%; bottom: 0; width: 38%; max-width: 190px;
  border-radius: 22px; border-width: 5px; border-color: #0b0a09; padding: 10px;
  background: var(--surface);
}
.device--phone .poster { margin-bottom: 8px; }
.mock-file__title { font-family: var(--font-display); font-size: 0.85rem; line-height: 1.2; }
.mock-file__meta { font-size: 0.55rem; color: var(--muted); margin-bottom: 6px; }
.mock-file__label { font-size: 0.5rem; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; }
.mock-file__text { font-size: 0.6rem; color: var(--ink-2); }
.mock-file__stars { font-size: 0.65rem; color: var(--gold); }
.mock-chip { display: inline-block; margin-top: 6px; font-size: 0.5rem; padding: 4px 6px; border-radius: 99px; background: var(--gold-wash); color: var(--gold-bright); border: 1px solid rgb(217 172 74 / .4); }
@media (max-width: 420px) {
  .mock-row:nth-of-type(n + 4) { display: none; }
  .device--phone { width: 44%; }
}
@media (prefers-reduced-motion: no-preference) {
  .device--phone { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
}

/* ------------------------------------------------------------ poster --- */
/* Placeholder art: no images, just type on a period gradient. */
.poster {
  container-type: inline-size;
  position: relative; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 8%; color: #f6efe1; isolation: isolate;
  border: 1px solid rgb(255 255 255 / .08);
}
.poster::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(0deg, rgb(0 0 0 / .14) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.poster--art1 { background: linear-gradient(160deg, #6e2b22, #2a1210 70%); }
.poster--art2 { background: linear-gradient(160deg, #23465a, #0f1d26 70%); }
.poster--art3 { background: linear-gradient(160deg, #6a5420, #2a200c 70%); }
.poster--art4 { background: linear-gradient(160deg, #2f4d33, #121f14 70%); }
.poster--art5 { background: linear-gradient(160deg, #47325f, #1b1326 70%); }
.poster--art6 { background: linear-gradient(160deg, #1f4a4a, #0c1d1d 70%); }
.poster__net { font-size: 0.5em; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
/* Sized from the poster's own width (cqi), capped at its size class, so the
   longest word in any title ("Switchboard", 11 letters) fits without being
   split mid-word, from a 40px thumbnail up to the full Graveyard File. */
.poster__title { font-family: var(--font-display); font-weight: 600; line-height: 1.05; font-size: min(1em, 12cqi); }
.poster__year { font-size: 0.55em; letter-spacing: .15em; opacity: .8; }
.poster--xs { font-size: 0.42rem; padding: 7%; border-radius: 4px; }
.poster--sm { font-size: 0.72rem; }
.poster--md { font-size: 0.95rem; }
.poster--lg { font-size: 1.35rem; }

/* ---------------------------------------------------------- sections --- */
.section { padding: var(--section) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2 { max-width: 44rem; }
.section-head .lead { margin-top: 16px; }

/* Recognition */
.recognition { display: grid; gap: 40px; }
.recognition__copy h2 { margin-bottom: 28px; }
.prose p { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 10px; }
.prose__strong { color: var(--ink) !important; font-family: var(--font-display); font-size: 1.4rem !important; margin-top: 18px; }
.memory-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.memory-card {
  display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  transition: border-color .2s, transform .2s;
}
.memory-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.memory-card .poster { font-size: 0.68rem; }
@media (min-width: 640px) { .memory-card .poster { font-size: 0.95rem; } }
.memory-card h3 { font-size: 1.12rem; margin: 4px 0 2px; }
.memory-card__line { margin-top: 6px; color: var(--ink-2); font-style: italic; }
@media (min-width: 640px) { .memory-grid { grid-template-columns: 1fr 1fr; } .memory-card { grid-template-columns: 1fr; } }
@media (min-width: 1000px) { .recognition { grid-template-columns: 1fr 1.1fr; align-items: center; } }

/* Feature grid */
.feature-grid { display: grid; gap: 16px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s;
}
.feature:hover { border-color: var(--line-strong); }
.feature .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 14px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); }
@media (min-width: 700px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill-list li { font-size: 0.82rem; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.tick-list { margin-top: 12px; display: grid; gap: 8px; }
.tick-list li { position: relative; padding-left: 28px; color: var(--ink-2); }
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.tick-list--lg li { font-size: 1.08rem; color: var(--ink); }

/* Product preview */
.screens { display: grid; gap: 24px; }
.screen { margin: 0; }
.screen__frame {
  background: var(--ground); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 30px 60px -35px rgb(0 0 0 / .9);
}
.screen figcaption { margin-top: 12px; color: var(--ink-2); font-size: 0.95rem; }
.screen__label { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); margin: 4px 0 10px; }
.screen__frame .mock-row__posters { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.screen__frame .poster--xs { font-size: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 99px; font: inherit; font-size: 0.9rem; cursor: pointer;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line-strong);
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--ground); border-color: var(--gold); font-weight: 600; }
.demo-count { margin: 14px 0 10px; color: var(--muted); font-size: 0.88rem; }
.demo-results { display: grid; gap: 8px; }
.demo-result { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 6px; border-radius: 8px; background: var(--surface); }
.demo-result strong { display: block; font-weight: 600; font-size: 0.95rem; }
.demo-result[hidden] { display: none; }
.mini-file { display: grid; grid-template-columns: 90px 1fr; gap: 14px; font-size: 0.9rem; color: var(--ink-2); }
.mini-file__title { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.mini-file__label { margin-top: 8px; font-size: 0.68rem; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
.mini-list { display: grid; gap: 8px; }
.mini-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; font-size: 0.9rem; }
.mini-badge { font-size: 0.68rem; padding: 4px 8px; border-radius: 99px; background: var(--gold-wash); color: var(--gold-bright); white-space: nowrap; }
@media (min-width: 800px) {
  .screens { grid-template-columns: 1fr 1fr; }
  .screen--wide { grid-row: span 2; }
}
@media (min-width: 1100px) {
  .screens { grid-template-columns: 1.2fr 1fr 1fr; }
  .screen--wide { grid-row: span 2; }
}

/* Graveyard File */
.gfile {
  position: relative; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 24px; max-width: 60rem;
  background-image: linear-gradient(180deg, rgb(217 172 74 / .05), transparent 30%);
}
.gfile__stamp {
  display: inline-block; margin-bottom: 18px; font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px dashed var(--line-strong); padding: 4px 10px; border-radius: 6px;
}
.gfile__top { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: start; }
.gfile__top .poster--lg { font-size: 0.9rem; }
.gfile__name { font-size: clamp(2rem, 7vw, 3.2rem); text-transform: uppercase; letter-spacing: .02em; }
.gfile__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; }
.gfile__facts li + li::before { content: "·"; margin-right: 14px; color: var(--muted); }
.gfile__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fake-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px;
  background: var(--gold-wash); border: 1px solid rgb(217 172 74 / .45); color: var(--gold-bright);
  font-size: 0.82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.fake-btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink-2); }
.gfile__body { display: grid; gap: 22px; margin: 28px 0 0; }
.gfile__body dt { font-size: 0.75rem; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.gfile__body dd { margin: 0; font-size: 1.1rem; color: var(--ink); }
.gfile__death dd { font-family: var(--font-display); font-size: 1.45rem; color: var(--red-soft); }
.stars { color: var(--gold); letter-spacing: .1em; margin-right: 8px; }
@media (min-width: 720px) {
  .gfile { padding: 40px; }
  .gfile__top { grid-template-columns: 180px 1fr; gap: 32px; }
  .gfile__top .poster--lg { font-size: 1.35rem; }
  .gfile__body { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
}

/* Collections */
.collection { margin-bottom: 26px; }
.collection__title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.collection__row {
  /* Positioned so the .sr-only titles inside (position: absolute) are clipped
     by this scroller. Without it they escaped to the page and widened the
     phone layout to 626px, cutting off the fixed buy bar. */
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin-inline: -4px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.collection__row li { scroll-snap-align: start; }
.collection__row .poster { transition: transform .25s ease, border-color .25s; }
.collection__row li:hover .poster { transform: translateY(-4px); border-color: rgb(217 172 74 / .5); }
@media (min-width: 768px) { .collection__row { grid-auto-columns: 136px; gap: 14px; } }

/* Graveyard Score */
.score-layout { display: grid; gap: 40px; align-items: center; }
.score-cta { margin-top: 8px; }
.score-card {
  position: relative; background: var(--ground); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 0 0 6px var(--surface-2);
}
.score-card__stamp { display: inline-block; margin-bottom: 14px; font-size: 0.68rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; border: 1px dashed var(--line-strong); padding: 3px 8px; border-radius: 6px; }
.score-card__label { color: var(--gold); font-size: 0.78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.score-card__number { font-family: var(--font-display); font-size: clamp(4.5rem, 20vw, 7rem); line-height: 1; margin: 6px 0 8px; color: var(--ink); }
.score-card__line { color: var(--ink-2); }
.score-card__pct { color: var(--ink-2); margin-top: 4px; }
.score-card__pct strong { color: var(--gold-bright); }
.decades { margin-top: 22px; display: grid; gap: 12px; }
.decade { display: grid; grid-template-columns: 60px 1fr 46px; gap: 12px; align-items: center; font-size: 0.95rem; }
.decade__label { color: var(--ink-2); }
.decade__value { text-align: right; font-variant-numeric: tabular-nums; }
.decade__track { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.decade__fill { display: block; height: 100%; width: var(--value); border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
@media (min-width: 900px) { .score-layout { grid-template-columns: 1fr 1fr; } }

/* Comparison */
.compare { display: grid; gap: 16px; }
.compare__card { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.compare__card p { color: var(--ink-2); }
.compare__card--vault { border-color: rgb(217 172 74 / .45); background: linear-gradient(180deg, var(--gold-wash), var(--ground) 70%); }
.compare__eyebrow { font-size: 0.75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.compare__quote { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink) !important; margin: 8px 0 12px; line-height: 1.2; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1.2fr; } }

/* Audience */
.audience { display: grid; gap: 12px; }
.audience__card {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 18px 20px; font-size: 1.1rem; color: var(--ink);
}
.audience__card:last-child { font-family: var(--font-display); font-size: 1.3rem; border-left-color: var(--red); }
@media (min-width: 800px) { .audience { grid-template-columns: 1fr 1fr; } .audience__card:last-child { grid-column: 1 / -1; } }

/* Offer */
.offer {
  max-width: 40rem; margin-inline: auto; text-align: left; background: var(--ground);
  border: 1px solid rgb(217 172 74 / .5); border-radius: 16px; padding: 30px 24px;
  box-shadow: 0 40px 90px -40px rgb(217 172 74 / .35);
}
.offer h2 { margin-bottom: 18px; }
.offer__price { margin: 28px 0 4px; display: flex; align-items: baseline; gap: 10px; color: var(--ink-2); }
.offer__amount { font-family: var(--font-display); font-size: 3.4rem; color: var(--ink); line-height: 1; }
.offer__line { color: var(--ink-2); margin-bottom: 22px; }
@media (min-width: 640px) { .offer { padding: 44px; } }

/* Bonus collections */
.bonus { display: grid; gap: 14px; }
.bonus__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.bonus__card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--gold), var(--red)); }
.bonus__card h3 { margin-bottom: 6px; }
.bonus__card p { color: var(--ink-2); }
@media (min-width: 700px) { .bonus { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 18px; font-weight: 600; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 14px; height: 14px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--gold); transition: transform .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 18px 18px; color: var(--ink-2); }
[data-placeholder] { color: var(--gold-bright); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item::details-content { transition: height .3s ease, content-visibility .3s allow-discrete; height: 0; overflow: clip; }
  .faq__item[open]::details-content { height: auto; }
  :root { interpolate-size: allow-keywords; }
}

/* Final CTA */
.final { position: relative; overflow: hidden; padding: calc(var(--section) * 1.2) 0; text-align: center; border-top: 1px solid var(--line); }
.final__wall {
  position: absolute; inset: -40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  opacity: .16; transform: rotate(-6deg) scale(1.15); filter: saturate(.7);
}
.final__wall::after { content: ""; }
.final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(18 17 16 / .55), var(--ground) 75%); }
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final__inner .lead { margin: 18px auto 6px; }
.final__dig { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); margin-bottom: 26px; }

/* Sticky phone CTA */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 45; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(18 17 16 / .94); border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .3s ease; visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* Footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer__brand { font-family: var(--font-display); color: var(--ink); font-size: 1.15rem; margin-bottom: 14px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 20px; }
.site-footer__nav a { color: var(--ink-2); text-decoration: none; padding: 10px 0; }
.site-footer__nav a:hover { color: var(--gold-bright); }
.site-footer__note { font-size: 0.85rem; max-width: 44rem; margin-top: 8px; }

/* ----------------------------------------------------------- motion --- */
/* Hidden only when landing.js has confirmed it can reveal it again. */
@media (prefers-reduced-motion: no-preference) {
  .can-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .can-reveal .reveal.is-revealed { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
