/* ============================================================
   OdontoAI Landing — Consolidated CSS
   Design tokens (dark theme, "editorial" variant only)
   + All landing components
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { margin: 0; padding: 0; }

/* ============================================================
   DESIGN TOKENS — dark theme fixed, editorial variant baked in
   ============================================================ */
:root {
  /* Colors — dark editorial */
  --bg:        #060b13;
  --bg-2:      #080e17;
  --surface:   #0b131f;
  --surface-2: #0e1825;
  --surface-3: #131f2f;
  --line:      rgba(150, 183, 214, 0.12);
  --line-2:    rgba(150, 183, 214, 0.22);
  --hair:      rgba(150, 183, 214, 0.10);

  --ink:    #ecf3fa;
  --ink-2:  #b9c8d8;
  --ink-3:  #8497ab;
  --ink-4:  #71859d;

  --primary:      #57b2e2;
  --primary-2:    #2f93d1;
  --primary-deep: #1c6da4;
  --primary-tint: rgba(87, 178, 226, 0.14);
  --primary-ink:  #04121e;

  --green:  #8fd06f;
  --green-2:#6fb84e;
  --amber:  oklch(0.78 0.14 65);
  --red:    oklch(0.68 0.17 25);
  --gold:      oklch(0.83 0.135 85);
  --gold-deep: oklch(0.7 0.13 70);

  --glow-a: rgba(47, 147, 209, 0.14);
  --glow-b: rgba(87, 178, 226, 0.06);
  --glow-c: rgba(143, 208, 111, 0.10);

  /* Typography — 2 families only */
  --f-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-sans:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Rhythm */
  --density:  1;
  --sec-pad:  calc(116px * var(--density));
  --gap-lg:   calc(28px * var(--density));

  /* Shape — editorial: sharp corners */
  --r-card: 3px;
  --r-sm:   3px;
  --r-pill: 3px;
  --card-bg:     var(--surface);
  --card-line:   var(--line-2);
  --card-shadow: none;

  --maxw: 1200px;
  --eyebrow-tt: uppercase;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p  { margin: 0; text-wrap: pretty; }
a  { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; }
li { list-style: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
img { display: block; max-width: 100%; }
::selection { background: var(--primary); color: var(--primary-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* skip link */
.skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 9999;
  background: var(--primary); color: var(--primary-ink);
  padding: 10px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600; font-size: 14px; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   PAGE BACKGROUND — editorial grid
   ============================================================ */
.bg-field {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: var(--bg);
}
.bg-field::before {
  content: ''; position: absolute; inset: -10% -10% auto -10%; height: 980px;
  background:
    radial-gradient(60% 70% at 70% 8%, var(--glow-a), transparent 60%),
    radial-gradient(48% 60% at 18% 0%, var(--glow-b), transparent 62%),
    radial-gradient(40% 50% at 85% 40%, var(--glow-c), transparent 60%);
}
.bg-field::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: var(--eyebrow-tt); color: var(--primary); font-weight: 500;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--green) 20%, transparent);
}
.kicker {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-4);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; line-height: 1;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  transition: transform 0.14s ease, background 0.14s, border-color 0.14s, box-shadow 0.14s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--ink) 6%, transparent); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: var(--primary-ink); border-color: transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 26px -10px color-mix(in oklab, var(--primary) 60%, transparent);
}
.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 16px 34px -10px color-mix(in oklab, var(--primary) 70%, transparent);
}
.btn-lg { padding: 16px 26px; font-size: 15.5px; }
.btn .arr { transition: transform 0.16s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
}

/* ============================================================
   CHIPS
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  border: 1px solid var(--line); color: var(--ink-2);
}
.chip .cd { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.chip.pri  { background: var(--primary-tint); color: var(--primary); border-color: transparent; }
.chip.pri .cd { background: var(--primary); }
.chip.amber { color: var(--amber); border-color: transparent; background: color-mix(in oklab, var(--amber) 16%, transparent); }
.chip.amber .cd { background: var(--amber); }
.chip.green { color: var(--green); border-color: transparent; background: color-mix(in oklab, var(--green) 16%, transparent); }
.chip.green .cd { background: var(--green); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .wordmark { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand .wordmark .ai { color: var(--primary); }

.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 13px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
  transition: background 0.14s, color 0.14s; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); color: var(--ink); }
.nav-links a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav .link-signin {
  font-size: 14px; color: var(--ink-2); padding: 9px 12px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav .link-signin:hover { color: var(--ink); }
.nav .link-signin:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---- Mobile hamburger (CSS-only checkbox hack) ---- */
/* visually-hidden but keyboard-focusable so Space/Enter work natively */
.menu-toggle {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Show focus ring on the visible label when the hidden checkbox is focused */
.menu-toggle:focus-visible ~ .nav-in .menu-btn {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--ink) 5%, transparent);
  color: var(--ink); cursor: pointer; flex: none;
}
.menu-btn:hover { background: color-mix(in oklab, var(--ink) 9%, transparent); }
.menu-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ic-close { display: none; }

/* drawer — visible when checkbox checked */
.nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  padding: 14px 0 20px;
  animation: drawerIn 0.26s cubic-bezier(.2,.7,.3,1);
}
@keyframes drawerIn { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav-drawer { animation: none; } }

.menu-toggle:checked ~ .nav-drawer { display: block; }
.menu-toggle:checked ~ .nav-in .ic-open { display: none; }
.menu-toggle:checked ~ .nav-in .ic-close { display: block; }

.nd-links { display: flex; flex-direction: column; padding: 0 24px; }
.nd-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; font-family: var(--f-display); font-weight: 500; font-size: 19px;
  color: var(--ink); border-bottom: 1px solid var(--line); min-height: 44px;
}
.nd-links a::after { content: '\2192'; color: var(--ink-4); font-size: 16px; }
.nd-links a:active { color: var(--primary); }
.nd-foot { display: flex; flex-direction: column; gap: 11px; padding: 20px 24px 0; }
.nd-foot .btn { width: 100%; justify-content: center; padding: 15px; font-size: 15.5px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 calc(var(--sec-pad) * 0.7); }
.hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.hero-copy { max-width: 920px; position: relative; }

.hero h1 {
  font-size: clamp(46px, 8vw, 104px); line-height: 1.01; letter-spacing: -0.045em;
  margin: 22px 0 0;
}
.hero h1 .hl { color: var(--primary); }
.hero-sub {
  font-size: clamp(17px, 1.7vw, 21px); color: var(--ink-2); line-height: 1.55;
  margin: 24px 0 0; max-width: 620px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust {
  display: flex; align-items: center; gap: 14px; margin-top: 26px;
  color: var(--ink-3); font-size: 13px; flex-wrap: wrap;
}
.hero-trust .stars { color: var(--amber); letter-spacing: 1px; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); }
.hero-trust .avs { display: inline-flex; }
.hero-trust .avs i {
  width: 26px; height: 26px; border-radius: 50%; margin-left: -8px; flex: none;
  border: 2px solid var(--bg); background: var(--surface-3);
  display: grid; place-items: center; font-size: 9px; font-weight: 600; color: var(--ink-2);
  font-family: var(--f-sans); font-style: normal;
}
.hero-trust .avs i:first-child { margin-left: 0; }
.hero-trust b { color: var(--ink-2); font-weight: 600; }

/* editorial: visual below copy */
.hero-visual { margin-top: 56px; }

/* award badge */
.award {
  display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 11px;
  margin-bottom: 18px;
  padding: 7px 16px 7px 8px; border-radius: var(--r-pill);
  background: linear-gradient(100deg, color-mix(in oklab, var(--gold) 16%, var(--surface)) 0%, var(--surface) 60%);
  border: 1px solid color-mix(in oklab, var(--gold) 40%, var(--line-2));
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 12px 30px -16px color-mix(in oklab, var(--gold) 60%, transparent);
  position: relative; overflow: hidden; text-decoration: none;
}
.award::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, color-mix(in oklab, var(--gold) 26%, transparent), transparent);
  transform: skewX(-18deg); animation: awardSheen 4.6s ease-in-out 1.2s infinite;
}
@keyframes awardSheen { 0%,18% { left: -60%; } 38%,100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .award::after { animation: none; display: none; } }

.award-medal {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; z-index: 1;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  color: #3a2a06; box-shadow: 0 2px 8px -2px color-mix(in oklab, var(--gold) 70%, transparent);
}
.award-medal svg { width: 17px; height: 17px; }
.award-txt { display: flex; flex-direction: column; line-height: 1.15; z-index: 1; }
.award-txt b { font-family: var(--f-sans); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.award-txt .award-sub { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.award-txt .award-sub .st { color: var(--gold); letter-spacing: 0.5px; }

/* hero ticks */
.hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; padding: 0; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.hero-ticks svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* ============================================================
   PRODUCT MOCKUP (browser window)
   ============================================================ */
.window {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2);
  background: var(--surface-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 40px 90px -40px rgba(0,0,0,0.85), 0 8px 24px -12px rgba(0,0,0,0.5);
}
.win-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: color-mix(in oklab, var(--surface) 70%, #000 6%);
  border-bottom: 1px solid var(--line);
}
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); font-style: normal; }
.win-url {
  margin-left: 10px; flex: 1; max-width: 320px; height: 24px; border-radius: 7px;
  background: color-mix(in oklab, var(--ink) 5%, transparent); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 7px; padding: 0 10px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-3);
}
.win-url svg { width: 11px; height: 11px; color: var(--green); }
.win-body { background: var(--surface); }

/* mini app chrome inside hero window */
.app-mini { display: grid; grid-template-columns: 188px 1fr; min-height: 360px; }
.app-rail {
  background: var(--surface-2); border-right: 1px solid var(--line);
  padding: 14px 12px; display: flex; flex-direction: column; gap: 3px;
}
.app-rail .r-brand { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; }
.app-rail .r-brand .mark { width: 24px; height: 24px; }
.app-rail .r-brand b { font-family: var(--f-display); font-size: 14px; font-weight: 600; }
.r-item { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; font-size: 12.5px; color: var(--ink-3); }
.r-item svg { width: 15px; height: 15px; }
.r-item.on { background: var(--primary-tint); color: var(--primary); font-weight: 500; }
.r-item .rb {
  margin-left: auto; font-family: var(--f-mono); font-size: 10px;
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  padding: 1px 6px; border-radius: 10px; color: var(--ink-3);
}
.app-main { padding: 16px 18px; min-width: 0; }

/* recording header */
.rec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rec-pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--red) 60%, transparent);
  animation: recpulse 1.7s infinite;
}
@keyframes recpulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--red) 55%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .rec-pulse { animation: none; } }
.rec-title { font-family: var(--f-display); font-weight: 500; font-size: 14px; }
.rec-time  { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }

/* waveform animation */
.wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-left: auto; }
.wave span { width: 3px; border-radius: 3px; background: var(--primary); animation: wavebar 1.1s ease-in-out infinite; }
.wave span:nth-child(1){height:30%;animation-delay:0s}
.wave span:nth-child(2){height:62%;animation-delay:.1s}
.wave span:nth-child(3){height:90%;animation-delay:.2s}
.wave span:nth-child(4){height:48%;animation-delay:.3s}
.wave span:nth-child(5){height:78%;animation-delay:.4s}
.wave span:nth-child(6){height:40%;animation-delay:.5s}
.wave span:nth-child(7){height:70%;animation-delay:.6s}
.wave span:nth-child(8){height:34%;animation-delay:.7s}
@keyframes wavebar { 0%,100%{transform:scaleY(.4)} 50%{transform:scaleY(1)} }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; height: 50% !important; } }

/* transcript lines */
.tl { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.tl:last-child { border-bottom: 0; }
.tl .t  { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-4); padding-top: 2px; }
.tl .x  { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.tl .tag { background: var(--primary-tint); color: var(--primary); padding: 0 5px; border-radius: 4px; font-family: var(--f-mono); font-size: 11px; }
.tl .x.live { color: var(--ink-3); }
.tl .x.live::after { content: '▍'; color: var(--amber); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tl .x.live::after { animation: none; } }

/* AI chat bubbles */
.cm { display: flex; gap: 10px; margin-bottom: 14px; }
.cm .av { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.cm.user .av { background: color-mix(in oklab, var(--ink) 10%, transparent); color: var(--ink-2); }
.cm.ai   .av { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--primary-ink); }
.cm .bd  { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.cm .bd b { color: var(--ink); font-weight: 600; }
.cm .src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.cm .src .s { font-family: var(--f-mono); font-size: 10px; color: var(--primary); background: var(--primary-tint); padding: 2px 7px; border-radius: 6px; }
.ai-input {
  margin-top: 6px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px;
  color: var(--ink-4); font-size: 12.5px;
}
.ai-input .sendk { margin-left: auto; font-family: var(--f-mono); font-size: 10px; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }

/* odontogram mini */
.odo { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
.tooth { width: 22px; height: 30px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 3px 3px 6px 6px; position: relative; }
.tooth.bad { background: color-mix(in oklab, var(--red) 30%, var(--surface-2)); border-color: color-mix(in oklab, var(--red) 40%, transparent); }
.tooth.fix { background: color-mix(in oklab, var(--primary) 28%, var(--surface-2)); }

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section { padding: var(--sec-pad) 0; position: relative; }
.section.tight { padding: calc(var(--sec-pad) * 0.6) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 0; }
.sec-head p  { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-2); margin-top: 16px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-logos {
  display: flex; flex-wrap: wrap; gap: 18px 48px; justify-content: center; align-items: center;
  margin-top: 26px; opacity: .62; font-family: var(--f-display); font-weight: 600;
  font-size: 19px; letter-spacing: -0.01em; color: var(--ink-2);
}

/* ============================================================
   JOURNEY — 5-step end-to-end cards
   ============================================================ */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.jcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--r-card);
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.jcard:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--primary) 40%, var(--line-2)); }
.jcard:not(:last-child)::after {
  content: ''; position: absolute; top: 64px; right: -9px; z-index: 2;
  width: 16px; height: 16px;
  border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2);
  transform: rotate(45deg); background: var(--bg);
}
.jcard-visual {
  height: 132px; padding: 14px; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, color-mix(in oklab, var(--primary) 12%, transparent), transparent 60%),
              linear-gradient(165deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.jcard-ic {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; color: var(--primary); background: var(--primary-tint); z-index: 1;
}
.jcard-ic svg { width: 16px; height: 16px; }
.jcard-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.jcard .n {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--primary);
  display: inline-flex; align-items: center; gap: 8px;
}
.jcard .n::before { content: ''; width: 16px; height: 1px; background: var(--primary); }
.jcard h3 { font-family: var(--f-sans); font-size: 15px; font-weight: 600; margin-top: 10px; }
.jcard p  { font-size: 12.5px; color: var(--ink-3); margin-top: 7px; line-height: 1.5; }

/* journey mini visuals */
.mini-cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mini-cal i { height: 13px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 8%, transparent); font-style: normal; }
.mini-cal i.on { background: var(--primary); }
.mini-bubble {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
  font-size: 10.5px; color: var(--ink-2);
}
.mini-bubble .gd { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.mini-doc { display: flex; flex-direction: column; gap: 5px; }
.mini-doc span { height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 9%, transparent); }
.mini-doc span:nth-child(1) { width: 70%; }
.mini-doc span:nth-child(2) { width: 90%; }
.mini-doc span:nth-child(3) { width: 55%; background: var(--primary-tint); }
.mini-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; padding: 5px 8px; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.mini-row b { color: var(--ink); font-family: var(--f-mono); }
.mini-chat {
  align-self: flex-start; max-width: 90%;
  padding: 8px 11px; border-radius: 12px 12px 12px 3px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 10.5px; color: var(--ink-2); line-height: 1.4;
}
.mini-chat.out {
  align-self: flex-end; border-radius: 12px 12px 3px 12px;
  background: var(--primary-tint); color: var(--primary); border-color: transparent;
}

/* ============================================================
   HOW IT WORKS — static steps grid (no JS sticky)
   ============================================================ */
.proc-static { display: flex; flex-direction: column; gap: 0; }
.proc-step-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: center; padding: 64px 0; border-top: 1px solid var(--line);
}
.proc-step-row:first-child { border-top: 0; }
.proc-step-row.rev .proc-shot-wrap { order: -1; }
.proc-step-copy { max-width: 480px; }
.ps-num {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--primary);
  display: inline-flex; align-items: center; gap: 12px;
}
.ps-num::before { content: ''; width: 26px; height: 1px; background: var(--primary); }
.proc-step-copy h3 {
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.06; letter-spacing: -0.03em; margin-top: 18px;
}
.proc-step-copy p { color: var(--ink-2); font-size: 16.5px; margin-top: 14px; }
.ps-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.proc-shot-wrap .window { height: 100%; display: flex; flex-direction: column; }
.proc-shot-wrap .win-body { flex: 1; }

/* ============================================================
   CARE / PHOTO SECTION
   ============================================================ */
.care {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  min-height: 460px; display: flex; align-items: flex-end;
  border: 1px solid var(--card-line);
}
.care .ph { position: absolute; inset: 0; }
.care .ph img {
  width: 100%; height: 100%; object-fit: cover; object-position: 35% 62%;
  filter: grayscale(1) contrast(1.06) brightness(0.82);
}
.care .ph::after {
  content: ''; position: absolute; inset: 0;
  background: var(--primary-deep); mix-blend-mode: color; opacity: 0.62;
}
.care .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(102deg, var(--bg) 0%, color-mix(in oklab, var(--bg) 82%, transparent) 38%, color-mix(in oklab, var(--bg) 30%, transparent) 70%, transparent 100%);
}
.care-copy { position: relative; padding: clamp(32px, 5vw, 60px); max-width: 560px; z-index: 1; }
.care-copy h3 { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; }
.care-copy p { color: var(--ink-2); margin-top: 16px; font-size: 16px; }
.care-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

/* ============================================================
   BENTO GRID (product shots)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .b-lg   { grid-column: span 4; }
.bento .b-sm   { grid-column: span 2; }
.bento .b-half { grid-column: span 3; }
.bento-card { overflow: hidden; padding: 0; }
.bento-card .bc-cap { padding: 16px 20px; border-top: 1px solid var(--line); }
.bento-card .bc-cap h3 { font-family: var(--f-sans); font-size: 14px; font-weight: 600; }
.bento-card .bc-cap p  { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.bento-shot { padding: 18px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }

/* ============================================================
   METRICS BAND
   ============================================================ */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden;
}
.metric { background: var(--surface); padding: 36px 28px; }
.metric .v {
  font-family: var(--f-display); font-size: clamp(38px, 5vw, 56px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.metric .v .u { color: var(--primary); }
.metric .l { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 28px; display: flex; flex-direction: column; }
.quote .stars { color: var(--amber); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote {
  margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink);
  font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em;
}
.quote .who { display: flex; align-items: center; gap: 11px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote .who .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--primary-tint); color: var(--primary); flex: none; }
.quote .who .nm { font-size: 13.5px; font-weight: 600; }
.quote .who .ro { font-size: 12px; color: var(--ink-3); }

/* ============================================================
   PRICING
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { padding: 30px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.plan.feat {
  border-color: color-mix(in oklab, var(--primary) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 30%, transparent),
              0 30px 70px -30px color-mix(in oklab, var(--primary) 45%, transparent);
}
.plan .tag-feat {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-tint); padding: 4px 9px; border-radius: var(--r-pill);
}
.plan .pn { font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.plan .pd { font-size: 13px; color: var(--ink-3); min-height: 36px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.plan .price .amt { font-family: var(--f-display); font-size: 44px; font-weight: 500; letter-spacing: -0.03em; }
.plan .price .per { font-size: 13px; color: var(--ink-3); }
.plan .pfeat { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan .pfeat li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.plan .pfeat svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 4px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-display); font-size: 17px; font-weight: 500; color: var(--ink);
  min-height: 44px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm {
  margin-left: auto; width: 22px; height: 22px; flex: none;
  position: relative; transition: transform 0.2s; color: var(--ink-3);
}
.qa[open] summary .pm { transform: rotate(45deg); color: var(--primary); }
.qa .ans { padding: 0 4px 24px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 680px; }
.qa summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  position: relative; border-radius: calc(var(--r-card) + 6px); overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 32px; text-align: center;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% -10%, var(--glow-a), transparent 60%);
}
.cta-final > * { position: relative; }
.cta-final h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; max-width: 760px; margin: 16px auto 0; }
.cta-final p  { color: var(--ink-2); font-size: 17px; margin: 18px auto 0; max-width: 540px; }
.cta-final .hero-cta { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { margin-bottom: 16px; }
.foot-blurb { color: var(--ink-3); font-size: 13.5px; max-width: 280px; }
.foot-col .foot-col-hd { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 16px; font-weight: 500; }
.foot-col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; transition: color 0.14s; min-height: 44px; display: flex; align-items: center; }
.foot-col a:hover { color: var(--primary); }
.foot-col a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.foot-bot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-4); flex-wrap: wrap;
}

/* ============================================================
   REVEAL ANIMATION (progressive enhancement — visible by default)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
html.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.reveal-ready .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-right .link-signin, .nav-right .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-visual { margin-top: 20px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .quotes, .plans { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; gap: 16px; }
  .jcard:not(:last-child)::after { display: none; }
  .bento .b-lg, .bento .b-sm, .bento .b-half { grid-column: span 6; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* How it works: stack each step */
  .proc-step-row { grid-template-columns: 1fr; gap: 28px; }
  .proc-step-row.rev .proc-shot-wrap { order: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .app-mini { grid-template-columns: 1fr; }
  .app-rail  { display: none; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}
