/* =========================================================
   Retirement Ready — Marketing Site
   Extends styles/app.css. Imports brand tokens, adds
   marketing-only patterns: full-bleed hero, scroll-reveal,
   pricing card, sticky marketing nav, oversized display type.
   ========================================================= */

:root {
  --site-max: 1200px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Marketing display scale — uncoupled from accessibility stepper. */
  --d-1: clamp(40px, 6.4vw, 88px);   /* hero h1 */
  --d-2: clamp(32px, 4.4vw, 60px);   /* section h2 */
  --d-3: clamp(24px, 2.6vw, 36px);   /* feature h3 */
  --d-lede: clamp(17px, 1.5vw, 22px);

  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body.site {
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* ----------------------------------------------------------
   Layout primitives
   ---------------------------------------------------------- */
.container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }

.section-bg-tint  { background: var(--surface-2); }
.section-bg-deep  { background: var(--ink); color: #fff; }
.section-bg-blue  { background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%); }

/* ----------------------------------------------------------
   Marketing nav (top)
   ---------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-nav.is-scrolled { border-bottom-color: var(--line); }

.site-nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.site-brand .mark {
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.site-brand .mark svg { width: 100%; height: 100%; display: block; }
.site-links {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
.site-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.site-links a:hover { color: var(--primary); }
.site-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

@media (max-width: 760px) {
  .site-links { display: none; }
}

/* ----------------------------------------------------------
   Buttons (marketing scale)
   ---------------------------------------------------------- */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s, box-shadow .15s;
  min-height: 48px;
  white-space: nowrap;
}
.m-btn:hover { transform: translateY(-1px); }
.m-btn:active { transform: translateY(0); }

.m-btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 6px 16px -4px rgba(31,122,237,0.45);
}
.m-btn-primary:hover { background: var(--primary-600); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 22px -6px rgba(15,91,209,0.55); }

.m-btn-outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.m-btn-outline:hover { border-color: var(--ink-3); background: var(--surface-2); }

.m-btn-ghost {
  background: transparent;
  color: var(--ink-2);
}
.m-btn-ghost:hover { color: var(--primary); }

.m-btn-sm { padding: 8px 14px; font-size: 13px; min-height: 36px; border-radius: 8px; }
.m-btn-lg { padding: 18px 30px; font-size: 17px; min-height: 56px; border-radius: 12px; }

/* ----------------------------------------------------------
   Eyebrow / pill
   ---------------------------------------------------------- */
.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.m-eyebrow .ds {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}

.m-eyebrow.success { background: var(--success-50); color: var(--success-600); }
.m-eyebrow.success .ds { background: var(--success); }
.m-eyebrow.neutral { background: var(--surface-2); color: var(--ink-2); }
.m-eyebrow.neutral .ds { background: var(--ink-3); }

/* ----------------------------------------------------------
   Marketing typography
   ---------------------------------------------------------- */
.m-display {
  font-size: var(--d-1);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.m-display .accent { color: var(--primary); }
.m-display .ink-2 { color: var(--ink-2); }

.m-h2 {
  font-size: var(--d-2);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.m-h3 {
  font-size: var(--d-3);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.m-lede {
  font-size: var(--d-lede);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
.m-lede.center-bal { text-wrap: balance; max-width: 60ch; }

.m-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.m-section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.m-section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero::before {
  /* soft blue radial behind the hero */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(31,122,237,0.10), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(31,122,237,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-actions .m-btn { white-space: nowrap; }
@media (min-width: 921px) {
  /* Desktop: keep CTAs side-by-side; never stretch full width */
  body[data-buttons-layout="row"] .hero-actions { flex-wrap: nowrap; }
  body[data-buttons-layout="row"] .hero-actions .m-btn { flex: 0 0 auto; }
  body[data-buttons-layout="stack"] .hero-actions { flex-direction: column; align-items: stretch; }
  body[data-buttons-layout="stack"] .hero-actions .m-btn { width: 100%; text-align: center; justify-content: center; }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
}
/* Full-page trust row: spans both columns of the hero grid, distributes items horizontally */
body[data-trust-layout="full"] #heroTrust {
  grid-column: 1 / -1;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  /* Distribute items across the row without stretching them.
     space-between would push first/last to the edges; space-around
     gives even visual rhythm with breathing room on both sides. */
  justify-content: space-around;
  gap: 14px 24px;
  font-size: 14px;
}
body[data-trust-layout="full"] #heroTrust span {
  /* No flex-grow — each item hugs its content so the check sits right
     next to the label (no stretched pills). */
  flex: 0 0 auto;
  min-width: 0;
  justify-content: flex-start;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  /* Tighter row on smaller desktops — switch back to flex-start so labels
     don't drift too far apart. */
  body[data-trust-layout="full"] #heroTrust { justify-content: center; gap: 12px 22px; }
}
@media (max-width: 760px) {
  body[data-trust-layout="full"] #heroTrust { justify-content: flex-start; gap: 10px 18px; font-size: 13px; }
  body[data-trust-layout="full"] #heroTrust span { flex: 0 1 auto; }
}
/* Inline trust row: under the copy column only */
body[data-trust-layout="inline"] #heroTrust {
  grid-column: 1;
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
  justify-content: flex-start;
  font-size: 13px;
}
@media (max-width: 920px) {
  body[data-trust-layout="inline"] #heroTrust { grid-column: 1 / -1; }
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust .check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success-600);
  display: grid; place-items: center;
  font-size: 9px;
  font-weight: 700;
}

/* Hero visual — multi-card dashboard */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
}
@media (max-width: 920px) {
  .hero-visual { margin-top: 8px; }
}

/* This-week strip */
.hv-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px -10px rgba(15,23,42,0.10);
  font-size: 13px;
  color: var(--ink-2);
}
.hv-strip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success-600);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.16);
  flex-shrink: 0;
}
.hv-strip-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.hv-strip-msg { flex: 1; min-width: 0; color: var(--ink-2); }
.hv-strip-msg b { color: var(--ink); font-weight: 600; }
.hv-strip-time { font-size: 11px; color: var(--ink-3); white-space: nowrap; font-family: 'JetBrains Mono', ui-monospace, monospace; }
@media (max-width: 540px) { .hv-strip-time { display: none; } }

/* Primary card */
.hv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 30px 60px -36px rgba(15,23,42,0.20);
}
.hv-primary { padding: 28px; }
.hv-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hv-row-top { margin-bottom: 12px; }

.hv-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.hv-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
}
.hv-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
}
.hv-pill-success { background: var(--success-50); color: var(--success-600); }
.hv-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.hv-age-row { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 18px; }
.hv-age {
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--primary);
}
.hv-age-meta { padding-bottom: 8px; }
.hv-age-sub { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.hv-age-delta {
  font-size: 12px; color: var(--ink-3);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  margin-top: 3px;
}

.hv-chart { width: 100%; height: auto; display: block; margin-bottom: 18px; }

.hv-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hv-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2, #F8FAFC);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.hv-chip-active {
  background: rgba(31,122,237,0.08);
  border-color: rgba(31,122,237,0.25);
  color: var(--primary);
  font-weight: 600;
}
.hv-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Mosaic of mini-tiles */
.hv-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 540px) { .hv-mosaic { grid-template-columns: repeat(2, 1fr); } }

.hv-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 6px 18px -14px rgba(15,23,42,0.10);
}
.hv-tile-wide { grid-column: span 4; gap: 10px; }
@media (max-width: 540px) { .hv-tile-wide { grid-column: span 2; } }

.hv-tile-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.hv-tile-v {
  font-size: 22px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink);
  line-height: 1;
}
.hv-tile-v .hv-tile-unit { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-left: 1px; }
.hv-tile-foot {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--ink-3);
}
.hv-tile-foot.hv-pos { color: var(--success-600); }
.hv-arrow {
  display: inline-grid; place-items: center;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: rgba(148,163,184,0.18);
  color: var(--ink-2);
  font-size: 10px; font-weight: 700;
}
.hv-arrow-up { background: rgba(16,185,129,0.16); color: var(--success-600); }
.hv-arrow-down { background: rgba(31,122,237,0.14); color: var(--primary); }
.hv-tile-foot.hv-pos .hv-arrow-down { background: rgba(16,185,129,0.16); color: var(--success-600); }

.hv-tile-row {
  display: grid;
  grid-template-columns: 110px 1fr 50px;
  gap: 8px;
  align-items: center;
}
.hv-tile-vsmall { font-size: 12px; color: var(--ink-2); }
.hv-tile-vsmall.hv-pos { color: var(--success-600); text-align: right; }
.hv-tile-vsmall.hv-pos b { font-weight: 700; }
.hv-bar {
  height: 6px; border-radius: 999px;
  background: rgba(148,163,184,0.20);
  overflow: hidden;
}
.hv-bar-fill { height: 100%; background: var(--primary); border-radius: inherit; }
.hv-bar-fill.hv-bar-success { background: var(--success-600); }

/* Dark hero variant adjustments */
body[data-dark-hero="true"] .hv-strip,
body[data-dark-hero="true"] .hv-card,
body[data-dark-hero="true"] .hv-tile {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  box-shadow: none;
}
body[data-dark-hero="true"] .hv-strip-msg b,
body[data-dark-hero="true"] .hv-title,
body[data-dark-hero="true"] .hv-tile-v { color: #fff; }
body[data-dark-hero="true"] .hv-eyebrow,
body[data-dark-hero="true"] .hv-tile-lbl,
body[data-dark-hero="true"] .hv-strip-lbl { color: rgba(255,255,255,0.55); }
body[data-dark-hero="true"] .hv-strip-msg,
body[data-dark-hero="true"] .hv-tile-vsmall,
body[data-dark-hero="true"] .hv-age-sub { color: rgba(255,255,255,0.75); }
body[data-dark-hero="true"] .hv-strip-time,
body[data-dark-hero="true"] .hv-age-delta,
body[data-dark-hero="true"] .hv-tile-foot { color: rgba(255,255,255,0.55); }
body[data-dark-hero="true"] .hv-chip {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
}
body[data-dark-hero="true"] .hv-chips { border-top-color: rgba(255,255,255,0.10); }
body[data-dark-hero="true"] .hv-chart line { stroke: rgba(255,255,255,0.08); }
body[data-dark-hero="true"] .hv-chart text { fill: rgba(255,255,255,0.55); }
body[data-dark-hero="true"] .hv-bar { background: rgba(255,255,255,0.10); }


/* ---- Dark hero variant (tweak) ---- */
body[data-dark-hero="true"] .hero { background: var(--ink); color: #fff; }
body[data-dark-hero="true"] .hero::before {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(31,122,237,0.22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(31,122,237,0.10), transparent 60%);
}
body[data-dark-hero="true"] .hero .m-display { color: #fff; }
body[data-dark-hero="true"] .hero .m-lede { color: rgba(255,255,255,0.78); }
body[data-dark-hero="true"] .hero .m-eyebrow {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
body[data-dark-hero="true"] .hero .m-eyebrow .ds { background: #fff; }
body[data-dark-hero="true"] .hero .m-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
body[data-dark-hero="true"] .hero .m-btn-outline:hover { background: rgba(255,255,255,0.06); }
body[data-dark-hero="true"] #heroTrust {
  color: rgba(255,255,255,0.7);
  border-top-color: rgba(255,255,255,0.12);
}
body[data-dark-hero="true"] #heroTrust .check {
  background: rgba(16,185,129,0.18);
  color: #34D399;
}

/* Trust-count utility — Tweaks panel sets data-trust-count="N" to hide overflow */
body[data-trust-count="3"] #heroTrust span[data-trust-idx="3"],
body[data-trust-count="3"] #heroTrust span[data-trust-idx="4"],
body[data-trust-count="4"] #heroTrust span[data-trust-idx="4"] { display: none; }


/* ----------------------------------------------------------
   Reveal-on-scroll
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s cubic-bezier(0.16, 1, 0.3, 1),
    transform .7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----------------------------------------------------------
   Feature cards
   ---------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature:hover {
  border-color: var(--primary-100);
  box-shadow: 0 16px 32px -16px rgba(15,23,42,0.12);
  transform: translateY(-2px);
}
.feature .num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.feature .title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}
.feature .body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.feature .anchor {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.feature .anchor:hover { color: var(--primary-600); gap: 10px; transition: gap .15s; }

/* Big feature variant — full-width hero card */
.feature.feature-wide {
  grid-column: 1 / -1;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F8FF 100%);
}
@media (max-width: 860px) {
  .feature.feature-wide { grid-template-columns: 1fr; padding: 32px; }
}
.feature.feature-wide .title { font-size: clamp(26px, 2.6vw, 36px); }

/* Small icon shape inside features */
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
}
.feature-icon.success { background: var(--success-50); color: var(--success-600); }
.feature-icon.warning { background: var(--warning-50); color: #92620B; }

/* ----------------------------------------------------------
   Proof grid (smaller cards)
   ---------------------------------------------------------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.proof-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) { .proof-grid, .proof-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .proof-grid, .proof-grid-3 { grid-template-columns: 1fr; } }

.proof {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof .ico {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.proof .h {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.proof .b {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Stat strip
   ---------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; } }

.stat {
  text-align: left;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px) {
  .stat { border-left: 0; padding-left: 0; }
}
.stat .v {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .l {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
  max-width: 28ch;
}

/* ----------------------------------------------------------
   Quote / break-grid testimonial
   ---------------------------------------------------------- */
.quote-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px);
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
}
.quote-block::after {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(31,122,237,0.35), transparent 65%);
  pointer-events: none;
}
@media (max-width: 760px) { .quote-block { grid-template-columns: 1fr; } }

.quote-block .q {
  position: relative;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.quote-block .q::before {
  content: "“";
  font-size: 80px;
  line-height: 0.8;
  color: var(--primary);
  position: absolute;
  top: -10px; left: -38px;
  font-family: Georgia, serif;
}
@media (max-width: 760px) { .quote-block .q::before { display: none; } }
.quote-block .who {
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.quote-block .who .av {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  font-size: 18px;
}
.quote-block .who .meta { font-size: 14px; opacity: 0.85; }
.quote-block .who .meta b { display: block; opacity: 1; font-weight: 600; }

/* ----------------------------------------------------------
   Pricing
   ---------------------------------------------------------- */
.price-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,0.18);
  text-align: left;
}
.price-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-card .price-row .num {
  font-size: clamp(56px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.price-card .price-row .per {
  font-size: 16px;
  color: var(--ink-3);
  font-weight: 500;
}
.price-card .compare {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card .strike {
  text-decoration: line-through;
  color: var(--ink-3);
}
.price-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
}
.price-list li .tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success-600);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  margin-top: 1px;
}

/* Tier grid (3-up pricing) */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 8px;
}
@media (max-width: 1000px) { .tier-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 40px -28px rgba(15,23,42,0.14);
}
.tier.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(15,23,42,0.45);
  transform: translateY(-8px);
}
@media (max-width: 1000px) { .tier.featured { transform: none; } }
.tier .tier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier .tier-name { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.tier.featured .tier-name { color: rgba(255,255,255,0.7); }
.tier .tier-flag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(31,122,237,0.12); color: var(--primary);
}
.tier.featured .tier-flag { background: var(--primary); color: #fff; }
.tier .tier-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tier .tier-price .amt {
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.tier.featured .tier-price .amt { color: #fff; }
.tier .tier-price .per { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.tier.featured .tier-price .per { color: rgba(255,255,255,0.65); }
.tier .tier-price .tbd {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px;
  background: rgba(15,23,42,0.06); color: var(--ink-2);
  align-self: center;
}
.tier.featured .tier-price .tbd { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.tier .tier-tag { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.tier.featured .tier-tag { color: rgba(255,255,255,0.72); }
.tier .tier-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.tier .tier-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.45;
  color: var(--ink-2);
}
.tier.featured .tier-list li { color: rgba(255,255,255,0.82); }
.tier .tier-list li .tick {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success-600);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  margin-top: 2px;
}
.tier.featured .tier-list li .tick { background: rgba(255,255,255,0.14); color: #fff; }
.tier .tier-cta { margin-top: auto; }

/* Pre-launch waitlist form */
.waitlist {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.waitlist input[type="email"] {
  flex: 1;
  height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.waitlist input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.waitlist input[type="email"]:focus { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.10); }
.waitlist .m-btn { height: 56px; }
@media (max-width: 560px) { .waitlist { flex-direction: column; } }

.waitlist-light input[type="email"] {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.waitlist-light input[type="email"]::placeholder { color: var(--ink-3); }
.waitlist-light input[type="email"]:focus { border-color: var(--primary); background: #fff; }

/* Engine-depth feature list */
.engine-depth {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
@media (max-width: 760px) { .engine-depth { grid-template-columns: 1fr; } }
.engine-depth .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .engine-depth .row { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; } }
.engine-depth .row .lbl {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary);
  padding-top: 4px;
}
.engine-depth .row .desc {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.engine-depth .row .desc b { color: var(--ink); }
.engine-depth .row:nth-child(odd) { padding-right: 24px; }
@media (max-width: 760px) { .engine-depth .row:nth-child(odd) { padding-right: 0; } }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  padding: 64px 0 40px;
  background: var(--ink);
  color: #fff;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 760px) { .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
.site-footer h6 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal-disclaimer {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}
.site-footer .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer .brand .mark {
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.site-footer .brand .mark svg { width: 100%; height: 100%; display: block; }

/* ----------------------------------------------------------
   Misc — break-grid offset element
   ---------------------------------------------------------- */
.offset-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px -10px rgba(15,23,42,0.18);
  font-size: 13px;
  color: var(--ink-2);
  z-index: 3;
}
.offset-card .pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  flex-shrink: 0;
}
.offset-card .pulse::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  opacity: 0.45;
  animation: pulse 1.8s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 0; }
}

/* ----------------------------------------------------------
   Fancy underline accent
   ---------------------------------------------------------- */
.u-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.u-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.08em;
  height: 0.18em;
  background: var(--primary);
  opacity: 0.18;
  border-radius: 4px;
  transform: skewX(-8deg);
}

/* ----------------------------------------------------------
   Bento grid for "what we model"
   ---------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}
@media (max-width: 860px) { .bento { grid-template-columns: repeat(2, 1fr); } }
.bento .b-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.bento .b-cell.dark {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.bento .b-cell.dark .l { color: rgba(255,255,255,0.65); }
.bento .b-cell .l {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}
.bento .b-cell .v {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
  font-variant-numeric: tabular-nums;
}
.bento .b-cell .v.accent { color: var(--primary); }
.bento .b-cell .desc { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.bento .b-cell.dark .desc { color: rgba(255,255,255,0.78); }

.bento .span-3 { grid-column: span 3; }
.bento .span-2 { grid-column: span 2; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
@media (max-width: 860px) {
  .bento .span-3, .bento .span-2, .bento .span-4, .bento .span-6 { grid-column: span 2; }
}

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color .15s, box-shadow .15s;
}
.faq details[open] { border-color: var(--primary-100); box-shadow: 0 6px 20px -10px rgba(31,122,237,0.25); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  color: var(--primary);
  font-weight: 400;
  font-size: 22px;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
