/* =============================================================
   Medusa Experts — Emerald Serpent / Editorial Luxe
   Design system: tokens, primitives, sections.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Core palette */
  --ink: #0B0B0C;
  --ink-2: #141518;      /* elevated surface on dark */
  --paper: #F6F3EC;
  --paper-2: #EFEADD;    /* deeper paper for cards / alt bands */
  --emerald: #0E8F6E;
  --emerald-deep: #0A6A52;
  --emerald-bright: #17C495;  /* accents on dark */
  --gold: #D9A441;
  --gold-deep: #B4842A;

  /* Text */
  --ink-90: rgba(11, 11, 12, 0.90);
  --ink-64: rgba(11, 11, 12, 0.64);
  --ink-46: rgba(11, 11, 12, 0.46);
  --paper-64: rgba(246, 243, 236, 0.66);
  --paper-42: rgba(246, 243, 236, 0.44);

  /* Lines */
  --hair-ink: rgba(11, 11, 12, 0.14);
  --hair-ink-strong: rgba(11, 11, 12, 0.24);
  --hair-paper: rgba(246, 243, 236, 0.16);
  --hair-paper-strong: rgba(246, 243, 236, 0.28);

  /* Type */
  --display: "Fraunces", "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1140px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 3px; }
.band-ink :focus-visible { outline-color: var(--emerald-bright); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; font-optical-sizing: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }

/* Dark / light bands */
.band-ink {
  background-color: var(--ink); color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
}
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--paper); }
.band-paper-2 { background: var(--paper-2); }

/* Eyebrow (mono utility face — the "receipts" texture) */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
}
.band-ink .eyebrow { color: var(--emerald-bright); }
.eyebrow::before {
  content: "";
  width: 1.6em; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* Type scale */
.display-xl { font-size: clamp(2.7rem, 7.2vw, 5.4rem); }
.display-lg { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.display-md { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-64); }
.band-ink .lead { color: var(--paper-64); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-deep); transform: translateY(-2px); }
.band-ink .btn-primary { background: var(--emerald-bright); color: var(--ink); }
.band-ink .btn-primary:hover { background: #12a67e; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair-ink-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.band-ink .btn-ghost { color: var(--paper); border-color: var(--hair-paper-strong); }
.band-ink .btn-ghost:hover { border-color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.05rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ---------- Serpent underline (signature) ---------- */
.hero-underline { display: block; width: min(360px, 66%); height: 22px; margin-top: 1.5rem; color: var(--emerald-bright); }
.hero-underline path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: serpent-draw 1.15s var(--ease) 0.4s forwards; }
@keyframes serpent-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-underline path { animation: none; stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--hair-ink); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand svg { width: 30px; height: 30px; color: var(--emerald); }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--emerald); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.95rem; color: var(--ink-64); transition: color 0.15s var(--ease); }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--hair-ink);
    padding: 0.5rem var(--gutter) 1.4rem;
    transform: translateY(-140%); visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s var(--ease);
    box-shadow: 0 24px 40px -28px rgba(0,0,0,0.4);
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a { width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--hair-ink); font-size: 1.05rem; color: var(--ink); }
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { max-width: 560px; }
.hero-copy h1 { margin-top: 1.3rem; }
.accent { color: var(--emerald-bright); }
.hero .lead { margin-top: 1.5rem; max-width: 520px; }
.hero .lead strong { color: var(--paper); font-weight: 600; }
.hero .cta-row { margin-top: 2rem; }
.trust-line {
  margin-top: 1.6rem; display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--gold);
}
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }

/* Hero atmosphere: soft emerald light */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; right: -6%; top: -28%; width: min(720px, 68vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--emerald) 60%, transparent), transparent 60%); opacity: 0.42; filter: blur(24px); }
.hero-bg::after { content: ""; position: absolute; left: -16%; bottom: -34%; width: min(520px, 56vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--emerald-bright) 34%, transparent), transparent 62%); opacity: 0.22; filter: blur(34px); }

/* Living storefront stage */
.hero-stage { position: relative; z-index: 2; }
.stage-browser, .stage-card, .stage-badge { transition: translate 0.3s var(--ease); }
.stage-browser { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair-paper); background: var(--ink-2); box-shadow: 0 60px 100px -45px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.02); }
.stage-browser .browser-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.7rem 0.9rem; background: #26282d; border-bottom: 1px solid rgba(255,255,255,0.06); }
.stage-browser .dot { width: 10px; height: 10px; border-radius: 50%; background: #55585f; }
.stage-browser .url { margin-left: 0.5rem; font-family: var(--mono); font-size: 0.72rem; color: var(--paper-42); }
.stage-browser img { width: 100%; height: auto; display: block; }

.stage-card { position: absolute; left: -6%; bottom: -9%; width: 33%; max-width: 168px; background: var(--paper); color: var(--ink); border-radius: 13px; padding: 0.6rem; box-shadow: 0 34px 60px -26px rgba(0,0,0,0.78); }
.stage-card > img { width: 100%; height: 168px; object-fit: cover; object-position: center 16%; border-radius: 8px; }
.stage-card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem; }
.stage-card .pname { font-weight: 600; font-size: 0.84rem; letter-spacing: -0.01em; }
.stage-card .pprice { font-family: var(--mono); font-size: 0.8rem; color: var(--emerald-deep); }
.stage-card-btn { display: block; margin-top: 0.55rem; text-align: center; background: var(--ink); color: var(--paper); border-radius: 8px; padding: 0.5em; font-size: 0.78rem; font-weight: 600; }

.stage-badge { position: absolute; right: -4%; top: -8%; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--ink-2) 78%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--hair-paper); box-shadow: 0 24px 44px -22px rgba(0,0,0,0.85); }
.stage-badge .badge-num { font-family: var(--display); font-size: 1.85rem; line-height: 1; color: var(--emerald-bright); }
.stage-badge .badge-unit { font-size: 0.95rem; }
.stage-badge .badge-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-64); }

/* Hero entrance — one orchestrated moment (skipped when reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-rise 0.7s var(--ease) both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.19s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.26s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.33s; }
  .hero-copy > *:nth-child(6) { animation-delay: 0.40s; }
  .stage-browser { animation: hero-float 0.9s var(--ease) 0.18s both; }
  .stage-card { animation: hero-fade 0.6s var(--ease) 0.65s both; }
  .stage-badge { animation: hero-fade 0.6s var(--ease) 0.8s both; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-float { from { opacity: 0; transform: translateY(34px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

/* Sticky conversion bar */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; visibility: hidden; transform: translateY(110%); transition: transform 0.35s var(--ease), visibility 0.35s var(--ease); background: color-mix(in srgb, var(--ink) 90%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--hair-paper); }
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.sticky-cta-text { color: var(--paper-64); font-size: 0.9rem; }
.sticky-cta-text strong { color: var(--gold); }
@media (max-width: 640px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-inner { justify-content: center; }
  .sticky-cta .btn { width: 100%; }
}

/* ---------- Segments (parallel audiences — no sequence numbering) ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.6rem; }
.seg-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.6rem 1.5rem; background: var(--paper-2);
  border: 1px solid var(--hair-ink); border-radius: var(--radius);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.seg-card:hover { transform: translateY(-4px); border-color: var(--emerald); background: #fff; box-shadow: 0 26px 50px -30px rgba(11,11,12,0.45); }
.seg-card .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald-deep); }
.seg-card h3 { font-size: 1.35rem; }
.seg-card p { color: var(--ink-64); font-size: 0.98rem; }
.seg-card .go { margin-top: auto; font-weight: 600; color: var(--emerald-deep); font-size: 0.92rem; display: inline-flex; gap: 0.4em; }
.seg-card:hover .go { gap: 0.7em; }

/* Shared card icon chip (segments + lead magnets) */
.lift-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--emerald) 12%, transparent); color: var(--emerald-deep); transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease); }
.lift-icon svg { width: 23px; height: 23px; }
.seg-card:hover .lift-icon, .magnet:hover .lift-icon { background: var(--emerald); color: #fff; transform: translateY(-2px) rotate(-3deg); }

/* ---------- Problem sections ---------- */
.prob { border-top: 1px solid var(--hair-ink); }
.band-ink.prob { border-top-color: var(--hair-paper); }
.prob-head { max-width: 720px; }
.prob-head h2 { margin-top: 1.1rem; }
.prob-head .lead { margin-top: 1.2rem; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.pain {
  padding: 1.4rem; border-radius: var(--radius-sm);
  background: var(--paper-2); border: 1px solid var(--hair-ink);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.pain::before { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--emerald); opacity: 0.85; margin-bottom: 0.95rem; }
.band-ink .pain { background: var(--ink-2); border-color: var(--hair-paper); }
.band-ink .pain::before { background: var(--emerald-bright); }
.pain:hover { transform: translateY(-3px); border-color: var(--emerald); }
.band-ink .pain:hover { border-color: var(--emerald-bright); }
.pain h3 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.pain p { margin-top: 0.5rem; color: var(--ink-64); font-size: 0.94rem; }
.band-ink .pain p { color: var(--paper-64); }
/* .deliver is always a white card, even inside a dark band — keep its heading dark */
.band-ink .deliver h3 { color: var(--ink); }

/* Stat "receipts" — the sourced numbers */
.receipts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
.receipt { padding: 1.3rem 1.2rem; border: 1px solid var(--hair-paper); border-radius: var(--radius-sm); background: var(--ink-2); }
.receipt .num { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--emerald-bright); line-height: 1; }
.receipt .lbl { margin-top: 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--paper-64); line-height: 1.45; }
.band-paper .receipt { background: var(--paper-2); border-color: var(--hair-ink); }
.band-paper .receipt .num { color: var(--emerald-deep); }
.band-paper .receipt .lbl { color: var(--ink-64); }

/* ---------- Solution ---------- */
/* Headless architecture: head (Next.js) decoupled from body (MedusaJS), serpent = API */
.arch { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; margin-top: 2.8rem; }
.arch-node { background: #fff; border: 1px solid var(--hair-ink); border-radius: var(--radius); padding: 1.6rem 1.6rem; display: flex; flex-direction: column; }
.arch-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald-deep); }
.arch-name { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -0.02em; margin-top: 0.35rem; }
.arch-desc { color: var(--ink-64); font-size: 0.94rem; margin-top: 0.5rem; }
.arch-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; padding-inline: clamp(0.6rem, 2vw, 1.4rem); }
.arch-serpent { width: 92px; height: 36px; color: var(--emerald); }
.arch-serpent path { stroke-dasharray: 5 7; animation: arch-flow 1.6s linear infinite; }
@keyframes arch-flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .arch-serpent path { animation: none; stroke-dasharray: none; } }
.arch-link-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; color: var(--ink-46); border: 1px solid var(--hair-ink); border-radius: 999px; padding: 0.15em 0.7em; background: var(--paper); }
.arch-owned { grid-column: 1 / -1; text-align: center; margin-top: 1.6rem; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--emerald-deep); }

.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2rem; margin-top: 3rem; }
.sol-item { padding-top: 1.4rem; border-top: 2px solid var(--emerald); }
.sol-item h3 { font-size: 1.22rem; }
.sol-item p { margin-top: 0.6rem; color: var(--ink-64); font-size: 0.97rem; }
.band-ink .sol-item p { color: var(--paper-64); }

/* ---------- Proof (Horizn Golf) ---------- */
.proof-lead { max-width: 700px; }
.proof-lead h2 { margin-top: 1.1rem; }
.browser {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--hair-paper);
  background: var(--ink-2); box-shadow: 0 40px 80px -50px rgba(0,0,0,0.9);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.browser:hover { transform: translateY(-5px); box-shadow: 0 55px 95px -50px rgba(0,0,0,0.95); }
.browser-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.9rem; background: #26282d; border-bottom: 1px solid rgba(255,255,255,0.06); }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #55585f; }
.browser-bar .url { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.74rem; color: var(--paper-42); }
.browser img { width: 100%; height: auto; display: block; background: #0e0f11; }
/* Primary showcase with floating performance badge */
.proof-showcase { position: relative; max-width: 940px; margin: 2.8rem auto 0; }
.proof-showcase .browser { position: relative; }
.proof-badge { position: absolute; right: -3%; top: -8%; z-index: 3; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 1.05rem; border-radius: 12px; background: color-mix(in srgb, var(--ink-2) 80%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--hair-paper); box-shadow: 0 24px 44px -22px rgba(0,0,0,0.85); }
.proof-badge .badge-num { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--emerald-bright); }
.proof-badge .badge-unit { font-size: 0.9rem; color: var(--paper-64); }
.proof-badge .badge-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-64); }

/* Fact strip */
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.6rem; border-top: 1px solid var(--hair-paper); border-bottom: 1px solid var(--hair-paper); }
.proof-stats > div { padding: 1.3rem 0 1.3rem 1.4rem; border-left: 1px solid var(--hair-paper); }
.proof-stats > div:first-child { border-left: 0; padding-left: 0; }
.proof-stats .k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-bright); }
.proof-stats .v { font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--paper); margin-top: 0.4rem; }

/* Secondary shots + case study */
.proof-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3rem); margin-top: 3rem; align-items: center; }
.proof-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.proof-copy { }
.proof-copy p { color: var(--paper-64); }
.proof-copy .btn { margin-top: 1.6rem; }

/* ---------- Deliverables ---------- */
.deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.6rem; }
.deliver { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; border: 1px solid var(--hair-ink); border-radius: var(--radius-sm); background: #fff; transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.deliver:hover { transform: translateY(-3px); border-color: var(--emerald); box-shadow: 0 24px 46px -30px rgba(11,11,12,0.42); }
.deliver .check { flex: none; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--emerald) 14%, transparent); color: var(--emerald-deep); display: grid; place-items: center; transition: background 0.22s var(--ease), color 0.22s var(--ease); }
.deliver:hover .check { background: var(--emerald); color: #fff; }
.deliver .check svg { width: 16px; height: 16px; }
.deliver h3 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; }
.deliver p { color: var(--ink-64); font-size: 0.93rem; margin-top: 0.25rem; }

/* ---------- Pricing ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.8rem; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 1.9rem 1.6rem; background: #fff; border: 1px solid var(--hair-ink); border-radius: var(--radius); position: relative; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.tier:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(11,11,12,0.42); }
.tier-name { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald-deep); }
.tier-price { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1; margin-top: 0.7rem; letter-spacing: -0.02em; }
.tier-for { color: var(--ink-64); margin-top: 0.7rem; font-size: 0.95rem; }
.tier-list { margin-top: 1.3rem; display: grid; gap: 0.55rem; }
.tier-list li { display: flex; gap: 0.55rem; font-size: 0.92rem; color: var(--ink-90); }
.tier-list li::before { content: "→"; color: var(--emerald-deep); flex: none; }
.tier-foot { margin-top: auto; padding-top: 1.7rem; }

/* Featured (Signature) — dark card that pops in the paper band */
.tier.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier.featured .tier-name { color: var(--emerald-bright); }
.tier.featured .tier-for { color: var(--paper-64); }
.tier.featured .tier-list li { color: var(--paper-90); }
.tier.featured .tier-list li::before { color: var(--emerald-bright); }
.tier-badge { position: absolute; top: -0.75rem; left: 1.6rem; background: var(--emerald); color: #fff; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4em 0.85em; border-radius: 999px; }

/* Add-ons: acceleration + care plan */
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.addon { padding: 1.4rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--hair-ink); background: var(--paper); }
.addon-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.addon-name { font-family: var(--display); font-size: 1.3rem; }
.addon-price { font-family: var(--mono); font-size: 1.05rem; color: var(--emerald-deep); white-space: nowrap; }
.addon-price .per { color: var(--ink-46); font-size: 0.8rem; }
.addon p { margin-top: 0.7rem; color: var(--ink-64); font-size: 0.92rem; }
.addon-accel { background: color-mix(in srgb, var(--gold) 10%, var(--paper)); border-color: color-mix(in srgb, var(--gold) 35%, transparent); }
.addon-accel .addon-price { color: var(--gold-deep); }
.addon-accel strong { color: var(--gold-deep); }
.scarcity-banner {
  margin-top: 2rem; padding: 1rem 1.3rem; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--gold) 16%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  font-size: 0.96rem; display: flex; align-items: center; gap: 0.7rem;
}
.scarcity-banner strong { color: var(--gold-deep); }
.price-note { margin-top: 1.2rem; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-46); letter-spacing: 0.02em; }

/* ---------- Lead magnets ---------- */
.magnet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.6rem; }
.magnet { padding: 1.6rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--hair-ink); background: var(--paper-2); display: flex; flex-direction: column; gap: 0.7rem; transition: transform 0.2s var(--ease), border-color 0.2s; }
.magnet:hover { transform: translateY(-4px); border-color: var(--emerald); box-shadow: 0 26px 50px -30px rgba(11,11,12,0.45); }
.magnet .kind { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald-deep); }
.magnet h3 { font-size: 1.2rem; }
.magnet p { color: var(--ink-64); font-size: 0.93rem; }
.magnet .go { margin-top: auto; font-weight: 600; color: var(--emerald-deep); font-size: 0.9rem; }

/* ---------- How it works (real sequence — numbered) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; }
/* connective spine threading the four steps (a real sequence) */
.steps::before { content: ""; position: absolute; top: 5px; left: 6px; right: 6px; height: 2px; background: linear-gradient(90deg, transparent, var(--emerald) 6%, var(--emerald) 94%, transparent); opacity: 0.45; }
.step { position: relative; padding-top: 2.6rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px var(--paper-2); }
.step .n { position: absolute; top: -0.15rem; left: 1.5rem; font-family: var(--mono); font-size: 0.82rem; color: var(--emerald-deep); letter-spacing: 0.1em; }
.step h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; }
.step p { margin-top: 0.5rem; color: var(--ink-64); font-size: 0.93rem; }
.band-ink .step p { color: var(--paper-64); }
.band-ink .step::before { box-shadow: 0 0 0 4px var(--ink); }

/* ---------- Lead form ---------- */
.form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-intro h2 { margin-top: 1.1rem; }
.form-intro .lead { margin-top: 1.2rem; }
.form-assurances { margin-top: 1.8rem; display: grid; gap: 0.8rem; }
.form-assurances li { display: flex; gap: 0.6rem; color: var(--paper-64); font-size: 0.95rem; }
.form-assurances li::before { content: "✓"; color: var(--emerald-bright); font-weight: 700; }
.lead-form { background: var(--paper); color: var(--ink); padding: 1.8rem; border-radius: var(--radius); box-shadow: 0 40px 80px -50px rgba(0,0,0,0.7); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 0.4rem; color: var(--ink-90); }
.field label .opt { color: var(--ink-46); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8em 0.9em; font: inherit; font-size: 0.95rem;
  background: #fff; color: var(--ink);
  border: 1px solid var(--hair-ink-strong); border-radius: 10px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--emerald) 22%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check-accel { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.95rem 1rem; border-radius: 10px; background: color-mix(in srgb, var(--gold) 12%, var(--paper)); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.check-accel input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-deep); flex: none; }
.check-accel label { font-size: 0.9rem; font-weight: 500; color: var(--ink-90); margin: 0; }
.check-accel label b { color: var(--gold-deep); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-urgency { margin-top: 1rem; text-align: center; font-family: var(--mono); font-size: 0.78rem; color: var(--gold-deep); letter-spacing: 0.02em; }
.form-status { margin-top: 1rem; font-size: 0.9rem; }
.form-status[data-state="error"] { color: #b3261e; }
.form-success { text-align: center; padding: 1.5rem 0.5rem; }
.form-success .tick { width: 54px; height: 54px; margin: 0 auto 1rem; border-radius: 50%; background: color-mix(in srgb, var(--emerald) 16%, transparent); color: var(--emerald-deep); display: grid; place-items: center; }
.form-success .tick svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { margin-top: 0.6rem; color: var(--ink-64); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-top: 2.4rem; }
.faq { border-top: 1px solid var(--hair-ink); transition: border-color 0.2s var(--ease); }
.faq[open] { border-top-color: var(--emerald); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -0.01em; transition: color 0.18s var(--ease); }
.faq summary:hover { color: var(--emerald-deep); }
.faq summary:hover .ic { border-color: var(--emerald); color: var(--emerald-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--hair-ink-strong); display: grid; place-items: center; transition: transform 0.25s var(--ease), background 0.2s, color 0.2s; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: currentColor; }
.faq summary .ic::before { width: 11px; height: 1.5px; }
.faq summary .ic::after { width: 1.5px; height: 11px; transition: opacity 0.2s; }
.faq[open] summary .ic { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.faq[open] summary .ic::after { opacity: 0; }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-64); max-width: 68ch; }
.faq .answer p + p { margin-top: 0.8rem; }

/* ---------- Final CTA ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 20%; width: min(760px, 80vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--emerald) 42%, transparent), transparent 62%); opacity: 0.3; filter: blur(30px); pointer-events: none; }
.final .inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.final h2 { margin-top: 1.2rem; }
.final .cta-row { justify-content: center; margin-top: 2rem; }
.final .scarcity-banner { justify-content: center; max-width: 560px; margin-inline: auto; background: color-mix(in srgb, var(--gold) 18%, var(--ink)); border-color: color-mix(in srgb, var(--gold) 40%, transparent); color: var(--paper); }
.final .scarcity-banner strong { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper-64); padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--hair-paper); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: var(--paper); }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; }
.footer-brand p.footer-legal { margin-top: 0.9rem; font-size: 0.76rem; color: var(--paper-42); max-width: 340px; line-height: 1.55; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-42); margin: 0 0 0.9rem; }
.footer-col a { display: block; padding: 0.3rem 0; font-size: 0.94rem; color: var(--paper-64); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--hair-paper); display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between; font-size: 0.82rem; color: var(--paper-42); font-family: var(--mono); letter-spacing: 0.02em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* Resilience: if scripting is unavailable, never hide content */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: var(--container-narrow); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .updated { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-46); margin-top: 0.8rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.legal p, .legal li { color: var(--ink-64); margin-top: 0.9rem; }
.legal ul { padding-left: 1.2rem; list-style: disc; }
.legal a { color: var(--emerald-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero-copy { max-width: none; }
  .hero .lead { max-width: 560px; }
  .hero-stage { width: 100%; max-width: 480px; margin: 0.5rem auto 0; }
  .stage-card { left: 0; bottom: -9%; }
  .stage-badge { right: 1%; top: -6%; }
}
@media (max-width: 560px) {
  .stage-badge { display: none; }
  .stage-card { width: 46%; bottom: -7%; }
}
@media (max-width: 980px) {
  .proof-detail { grid-template-columns: 1fr; gap: 2rem; }
  .form-wrap { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .addon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .proof-stats { grid-template-columns: repeat(2, 1fr); gap: 0 1.2rem; }
  .proof-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-shots { grid-template-columns: 1fr; }
  .proof-badge { right: 2%; top: -5%; padding: 0.55rem 0.75rem; }
  .proof-badge .badge-num { font-size: 1.5rem; }
  .proof-badge .badge-unit { font-size: 0.8rem; }
  .proof-badge .badge-label { font-size: 0.56rem; }
}
@media (max-width: 820px) {
  .seg-grid, .pain-grid, .sol-grid, .magnet-grid, .steps { grid-template-columns: 1fr; }
  .receipts { grid-template-columns: repeat(2, 1fr); }
  .deliver-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .arch { grid-template-columns: 1fr; }
  .arch-link { flex-direction: row; gap: 0.7rem; padding-block: 0.9rem; }
  .arch-serpent { transform: rotate(90deg); width: 60px; }
  .steps::before { display: none; }
  body { font-size: 16px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .receipts { grid-template-columns: 1fr; }
}

/* ---------- Source citations ---------- */
.source-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--ink-46); }
.source-note a { color: inherit; text-decoration: underline; }

/* ---------- Not a fit ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.6rem; }
.fit-card { padding: 1.6rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--hair-ink); background: var(--paper-2); }
.fit-card.highlight { background: #fff; border-color: color-mix(in srgb, var(--emerald) 40%, transparent); box-shadow: 0 30px 60px -40px rgba(11,11,12,0.3); }
.fit-tag { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 999px; margin-bottom: 1.1rem; }
.fit-tag-stay { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-64); }
.fit-tag-move { background: color-mix(in srgb, var(--emerald) 16%, transparent); color: var(--emerald-deep); }
.fit-list { display: grid; gap: 0.75rem; }
.fit-list li { color: var(--ink-64); font-size: 0.94rem; padding-left: 1.2rem; position: relative; }
.fit-list li::before { content: "—"; position: absolute; left: 0; color: var(--ink-46); }

/* ---------- Migration matrix ---------- */
.matrix-legend { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.matrix-status {
  display: inline-flex; align-items: center; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em;
  padding: 0.35em 0.7em; border-radius: 999px; white-space: nowrap; line-height: 1.3;
}
.matrix-status[data-status="auto"] { background: color-mix(in srgb, var(--emerald) 16%, transparent); color: var(--emerald-deep); }
.matrix-status[data-status="reconfig"] { background: transparent; color: var(--emerald-deep); border: 1px solid color-mix(in srgb, var(--emerald) 45%, transparent); }
.matrix-status[data-status="rebuilt"] { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-deep); }
.matrix-status[data-status="retired"] { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-46); }
.matrix-status[data-status="discovery"] { background: transparent; color: var(--ink-64); border: 1px dashed var(--hair-ink-strong); }
.matrix-scroll-hint { display: none; margin-top: 1.2rem; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-46); }
.matrix-wrap { margin-top: 1.8rem; overflow-x: auto; border: 1px solid var(--hair-ink); border-radius: var(--radius); background: #fff; }
.matrix-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.matrix-table th, .matrix-table td { text-align: left; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--hair-ink); vertical-align: middle; }
.matrix-table th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-46); background: var(--paper-2); }
.matrix-table tbody tr:last-child td { border-bottom: none; }
.matrix-table td:first-child { font-weight: 600; white-space: nowrap; }
.matrix-table td:last-child { color: var(--ink-64); font-size: 0.9rem; }

/* ---------- Compatibility scan ---------- */
.scan-wrap { margin-top: 2.6rem; max-width: 640px; margin-inline: auto; background: #fff; border-radius: var(--radius); padding: 2rem clamp(1.3rem, 4vw, 2.4rem); box-shadow: 0 40px 80px -50px rgba(11,11,12,0.35); }
.scan-progress { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.8rem; }
.scan-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hair-ink-strong); transition: background 0.2s var(--ease); }
.scan-dot.is-active { background: var(--emerald); }
.scan-step { display: none; }
.scan-step.is-active { display: block; animation: scan-fade 0.25s var(--ease); }
@keyframes scan-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.scan-q { font-family: var(--display); font-size: 1.25rem; margin-bottom: 1.1rem; }
.scan-choices { display: grid; gap: 0.65rem; }
.scan-choice {
  text-align: left; padding: 0.85em 1.1em; border-radius: 10px; border: 1px solid var(--hair-ink-strong);
  background: var(--paper); font: inherit; font-size: 0.95rem; color: var(--ink); cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.scan-choice:hover { border-color: var(--emerald); }
.scan-choice.is-selected { border-color: var(--emerald); background: color-mix(in srgb, var(--emerald) 12%, var(--paper)); color: var(--emerald-deep); font-weight: 600; }
.scan-nav { display: flex; justify-content: space-between; margin-top: 1.6rem; }
.scan-nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.scan-result .eyebrow { justify-content: center; }
.scan-result h3 { font-family: var(--display); font-size: 1.4rem; text-align: center; margin-top: 0.6rem; }
.scan-rows { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.scan-row { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; align-items: center; padding: 0.85rem 1rem; border: 1px solid var(--hair-ink); border-radius: 10px; background: var(--paper-2); }
.scan-row-label { font-weight: 600; font-size: 0.92rem; }
.scan-row-note { grid-column: 1 / -1; color: var(--ink-64); font-size: 0.86rem; }
.scan-caveat { margin-top: 1.3rem; font-size: 0.8rem; color: var(--ink-46); text-align: center; }
.scan-result #scan-cta { width: 100%; margin-top: 1.2rem; }

/* ---------- ROI calculator ---------- */
.roi-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.6rem; align-items: start; }
.roi-inputs { background: #fff; border: 1px solid var(--hair-ink); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.roi-output {
  position: sticky; top: 100px; background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: 1.8rem 1.9rem; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.roi-hint { color: var(--paper-64); font-size: 0.95rem; }
.roi-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--hair-paper); }
.roi-stat:last-of-type { border-bottom: none; padding-bottom: 0; }
.roi-stat-label { font-size: 0.86rem; color: var(--paper-64); }
.roi-stat-value { font-family: var(--display); font-size: 1.4rem; color: var(--emerald-bright); white-space: nowrap; }
.roi-upside { font-size: 0.85rem; color: var(--paper-64); padding-top: 0.8rem; border-top: 1px dashed var(--hair-paper); }
.roi-caveat { font-size: 0.76rem; color: var(--paper-42); }

@media (max-width: 980px) {
  .roi-wrap { grid-template-columns: 1fr; }
  .roi-output { position: static; }
}
@media (max-width: 820px) {
  .fit-grid { grid-template-columns: 1fr; }
  .matrix-legend { justify-content: flex-start; }
  .matrix-scroll-hint { display: block; }
}
