/* ============================================================
   Goggleminds — Apple-inspired redesign
   Desktop-first clinical simulation
   ============================================================ */

:root {
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --brand-navy: #1B1450;
  --brand-coral: #B546E8;
  --brand-coral-deep: #8A2BD0;
  --brand-pink: #FF5FB3;
  --brand-blue: #4A6CFF;

  --paper: #FFFFFF;
  --paper-2: #F6F4FB;
  --paper-3: #ECE7F5;
  --ink: #1B1450;
  --ink-2: #4A4878;
  --ink-3: #8A87AC;
  --rule: rgba(27, 20, 80, 0.10);
  --accent: var(--brand-coral);
  --accent-deep: var(--brand-coral-deep);

  --max: 1280px;
  --max-wide: 1440px;
  --gutter: clamp(22px, 4vw, 56px);
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;
}

[data-palette="ocean"] {
  --brand-navy: #0C1B5C;
  --brand-coral: #4A6CFF;
  --brand-coral-deep: #2D4AE0;
  --accent: var(--brand-coral);
  --accent-deep: var(--brand-coral-deep);
}
[data-palette="forest"] {
  --brand-navy: #2A0E3C;
  --brand-coral: #FF5FB3;
  --brand-coral-deep: #E83A95;
  --accent: var(--brand-coral);
  --accent-deep: var(--brand-coral-deep);
}
[data-theme="dark"] {
  --paper: #000000;
  --paper-2: #0A0A0F;
  --paper-3: #14141C;
  --ink: #F5F5F7;
  --ink-2: #C7C7D1;
  --ink-3: #6E6E80;
  --rule: rgba(255,255,255,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.kicker { font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(48px, 7.6vw, 104px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(40px, 5.2vw, 80px); letter-spacing: -0.04em; }
h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; }
h4 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.02em; }
.subhead { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; color: var(--ink-2); letter-spacing: -0.015em; line-height: 1.35; }
.muted { color: var(--ink-3); }

.nav { position: sticky; top: 14px; z-index: 100; height: 76px; background: transparent; padding: 0 var(--gutter); margin-bottom: -76px; pointer-events: none; border-bottom: 0; }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; font-size: 16px; color: var(--ink-2); gap: 24px; max-width: 1640px; padding: 0 14px 0 22px; border-radius: 999px; background: color-mix(in oklab, var(--paper) 55%, transparent); backdrop-filter: saturate(200%) blur(22px); -webkit-backdrop-filter: saturate(200%) blur(22px); border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); box-shadow: 0 10px 30px -16px rgba(20, 20, 40, 0.18), inset 0 1px 0 rgba(255,255,255,0.5); pointer-events: auto; }
.brand { display: inline-flex; align-items: center; color: var(--ink); justify-self: start; }
.brand-logo { height: 24px; width: auto; display: block; }
footer .brand-logo { height: 40px; }
.nav-links { display: flex; gap: 6px; align-items: center; justify-self: center; }

/* ---------- Nav style: underline (default) ---------- */
[data-nav-style="underline"] .nav-links { gap: 4px; }
[data-nav-style="underline"] .nav-links a {
  padding: 8px 14px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: color .18s ease;
}
[data-nav-style="underline"] .nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}
[data-nav-style="underline"] .nav-links a:hover { color: var(--ink); }
[data-nav-style="underline"] .nav-links a:hover::after { transform: scaleX(1); }
[data-nav-style="underline"] .nav-links a.on { color: var(--ink); background: transparent; border-color: transparent; }
[data-nav-style="underline"] .nav-links a.on::after { transform: scaleX(1); }

/* ---------- Nav style: plain w/ dot indicator ---------- */
[data-nav-style="plain"] .nav-links { gap: 8px; }
[data-nav-style="plain"] .nav-links a {
  padding: 8px 12px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: color .18s ease;
}
[data-nav-style="plain"] .nav-links a:hover { color: var(--ink); transform: none; }
[data-nav-style="plain"] .nav-links a.on {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  position: relative;
}
[data-nav-style="plain"] .nav-links a.on::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Nav style: soft pill (subtle tint on hover/active only) ---------- */
[data-nav-style="pill-soft"] .nav-links a {
  padding: 8px 14px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}
[data-nav-style="pill-soft"] .nav-links a:hover {
  color: var(--ink);
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  transform: none;
}
[data-nav-style="pill-soft"] .nav-links a.on {
  color: var(--ink);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-color: transparent;
}

/* ---------- Nav style: bordered pill (the chip style) ---------- */
[data-nav-style="pill-bordered"] .nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: color-mix(in oklab, var(--ink) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
[data-nav-style="pill-bordered"] .nav-links a:hover {
  color: var(--ink);
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  border-color: color-mix(in oklab, var(--ink) 12%, transparent);
  transform: translateY(-1px);
}
[data-nav-style="pill-bordered"] .nav-links a.on {
  color: var(--ink);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border-color: color-mix(in oklab, var(--accent) 32%, transparent);
}

.nav-links a {
  padding: 8px 14px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links-cta { display: none; }
.nav-right { display: flex; gap: 8px; align-items: center; justify-self: end; }
.nav-signin { padding: 9px 18px; background: color-mix(in oklab, var(--ink) 6%, transparent); color: var(--ink); border-radius: 999px; font-size: 16px; font-weight: 500; transition: background .2s ease, transform .15s ease; border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); }
.nav-signin:hover { background: color-mix(in oklab, var(--ink) 12%, transparent); transform: translateY(-1px); }
.nav-cta { padding: 9px 18px; background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink)); color: #fff; border-radius: 999px; font-size: 16px; font-weight: 500; transition: transform .15s ease, box-shadow .2s ease; box-shadow: 0 6px 18px -6px rgba(181,70,232,0.45); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(181,70,232,0.55); }

/* Mobile hamburger (hidden on desktop) */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.nav-burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Right-side page-position nav (scroll spy) */
.page-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
}
.page-nav ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 2px;
  padding: 8px;
  margin: 0;
  background: color-mix(in oklab, var(--paper) 60%, transparent);
  backdrop-filter: saturate(200%) blur(18px);
  -webkit-backdrop-filter: saturate(200%) blur(18px);
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  box-shadow: 0 10px 26px -14px rgba(20,20,40,0.18);
}
.page-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.page-nav a .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; flex: 0 0 auto; transition: opacity .2s ease, background .2s ease; }
.page-nav a .lbl {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity .2s ease, max-width .25s ease;
}
.page-nav:hover a .lbl,
.page-nav a.on .lbl { opacity: 1; max-width: 140px; }
.page-nav a:hover { color: var(--ink); }
.page-nav a.on {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink));
  box-shadow: 0 6px 16px -8px rgba(181,70,232,0.5);
}
.page-nav a.on .dot { background: #fff; opacity: 1; }

/* Back-to-top floating button */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink));
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(181,70,232,0.55);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease;
}
.back-to-top.on { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(181,70,232,0.65); }

@media (max-width: 900px) {
  .page-nav { display: none; }
  .back-to-top { right: 14px; bottom: 14px; }
}

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 14px 28px; border-radius: 999px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; transition: transform .15s ease, opacity .2s, background .2s, box-shadow .2s; }
.btn:hover { opacity: 0.92; }
.btn-primary { background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink)); color: #fff; box-shadow: 0 8px 22px -6px rgba(181,70,232,0.45); }
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(181,70,232,0.6); }
.btn-ghost.btn-on-dark { background: rgba(255,255,255,0.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.btn-ghost.btn-on-dark:hover { background: rgba(255,255,255,0.24); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-ghost { background: color-mix(in oklab, var(--ink) 6%, transparent); color: var(--ink); }
.btn-ghost:hover { background: color-mix(in oklab, var(--ink) 10%, transparent); }
.btn-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 17px; font-weight: 400; letter-spacing: -0.01em; }
.btn-link:hover { gap: 8px; }
.btn-link .arr { transition: transform .2s; }
.btn-link:hover .arr { transform: translateX(2px); }

.section { padding: clamp(72px, 9vw, 140px) 0; }
.section-tight { padding: clamp(48px, 5.5vw, 84px) 0; }
.stats-compact .stat { padding: 28px 24px; }
.stats-compact .stat .num { font-size: clamp(40px, 4.2vw, 60px); letter-spacing: -0.035em; }
.stats-compact .stat .label { font-size: 13px; margin-top: 10px; }
.surface-light { background: var(--paper-2); }
/* Outcomes banner — refreshed, more engaging */
.outcomes-banner {
  background: var(--paper-2);
  padding: clamp(64px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.outcomes-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 45% at 85% 100%, color-mix(in oklab, var(--brand-blue) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.outcomes-banner > .wrap { position: relative; z-index: 1; }

.outcomes-head { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.outcomes-title {
  margin-top: 14px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(32px, 3.4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.outcomes-accent {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.outcomes-subhead {
  margin-top: 16px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(15px, 1.05vw, 17px);
  color: var(--ink-2);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .outcomes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .outcomes-grid { grid-template-columns: 1fr; } }

.outcome-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.outcome-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--brand-pink));
  opacity: 0;
  transition: opacity .25s ease;
}
.outcome-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(27, 20, 80, 0.18);
  border-color: color-mix(in oklab, var(--accent) 35%, var(--rule));
}
.outcome-card:hover::after { opacity: 1; }

.outcome-index {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.outcome-cat {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  padding: 5px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.outcome-num {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 4.2vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.outcome-num .unit { color: var(--accent); margin-left: 2px; }
.outcome-headline {
  margin-top: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.outcome-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 2px;
}
.outcome-source {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.outcome-source-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}

.outcomes-footer {
  text-align: center;
  margin-top: clamp(32px, 4vw, 48px);
}
[data-theme="dark"] .outcome-card { background: var(--paper-3); }
[data-theme="dark"] .outcomes-banner { background: var(--paper-2); }

.surface-dark { background: var(--paper-2); color: var(--ink); }
.surface-dark h1, .surface-dark h2, .surface-dark h3 { color: var(--ink); }
.surface-dark .subhead { color: rgba(27,20,80,0.72); }
.surface-dark .kicker { color: #5B3FC4; }
.surface-soft-purple { background: linear-gradient(135deg, #EFEAFF 0%, #E4DBFF 60%, #D6C8FF 100%); color: var(--ink); }
.surface-soft-purple .stat { border-color: rgba(60, 30, 120, 0.15); }
.surface-soft-purple .stat .num { color: #2A1B7A; }
.surface-soft-purple .stat .label { color: rgba(40, 25, 90, 0.75); }
.surface-soft-purple .stat .num .unit { color: #8A6FE8; }
.eyebrow-line { width: 32px; height: 2px; background: var(--accent); display: inline-block; vertical-align: middle; margin-right: 12px; }

.hero { padding-top: clamp(92px, 9vw, 130px); padding-bottom: clamp(40px, 5vw, 80px); text-align: center; position: relative; overflow: hidden; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: -0.005em; margin-bottom: 20px; }
.hero-kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; display: inline-block; flex: none; }
.hero h1 { max-width: 16ch; margin: 0 auto; }
.hero h1 .accent { background: linear-gradient(100deg, var(--brand-blue) 0%, var(--brand-coral) 50%, var(--brand-pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .subhead { margin: 28px auto 0; max-width: 32ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 44px; justify-content: center; flex-wrap: wrap; }
.hero-foot { margin-top: 36px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }

/* ── Split hero: left text + right portrait ───────────────────────────── */
.hero-split { text-align: left; padding-bottom: clamp(32px, 4vw, 64px); }
.hero-split-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.hero-split .hero-kicker { margin-bottom: 18px; font-size: 14px; }
.hero-split h1 {
  margin: 0; max-width: 16ch;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05; letter-spacing: -0.03em;
}
.hero-split h1 .accent {
  display: inline-block;
  padding-bottom: 0.1em;
  line-height: 1;
}
.hero-split .subhead {
  margin: 20px 0 0;
  max-width: 48ch;
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-split .hero-cta { margin-top: 28px; justify-content: flex-start; }
.hero-portrait {
  position: relative;
  border-radius: clamp(20px, 2vw, 28px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0e0a2a;
  box-shadow: 0 38px 80px -36px rgba(27, 20, 80, 0.4);
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,10,40,0) 55%, rgba(15,10,40,0.32) 100%);
  pointer-events: none;
}
@media (max-width: 920px) {
  .hero-split-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-portrait { aspect-ratio: 4 / 3; max-height: 460px; }
  .hero-split h1 { font-size: clamp(30px, 7vw, 44px); }
}

.hero-product { margin: clamp(48px, 7vw, 100px) auto 0; max-width: 1180px; padding: 0 var(--gutter); position: relative; }
.hero-product::before { content: ""; position: absolute; left: 0%; right: 0%; top: 6%; bottom: -8%; background: radial-gradient(40% 60% at 25% 40%, rgba(74,108,255,0.38), transparent 70%), radial-gradient(40% 60% at 75% 45%, rgba(255,95,179,0.38), transparent 70%), radial-gradient(50% 70% at 50% 70%, rgba(181,70,232,0.32), transparent 70%); filter: blur(60px); z-index: -1; }
[data-palette="ocean"] .hero-product::before { background: radial-gradient(40% 60% at 30% 40%, rgba(74,108,255,0.42), transparent 70%), radial-gradient(40% 60% at 70% 50%, rgba(120,180,255,0.32), transparent 70%); }
[data-palette="forest"] .hero-product::before { background: radial-gradient(40% 60% at 30% 40%, rgba(255,95,179,0.42), transparent 70%), radial-gradient(40% 60% at 70% 50%, rgba(181,70,232,0.32), transparent 70%); }

/* ─────────────────────────────────────────────────────────────────────────
   Hero · Stage layout (new default)
   ───────────────────────────────────────────────────────────────────────── */
.hero-stage {
  position: relative;
  isolation: isolate;
  padding-top: clamp(96px, 11vw, 150px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-stage-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-bg-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero-bg-blob-1 { top: -8%; left: -6%; width: 46%; height: 70%; background: radial-gradient(closest-side, var(--brand-blue), transparent 70%); }
.hero-bg-blob-2 { top: 12%; right: -10%; width: 50%; height: 80%; background: radial-gradient(closest-side, var(--brand-coral), transparent 70%); opacity: 0.45; }
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(80% 60% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, black 0%, transparent 75%);
  opacity: 0.7;
}
[data-theme="dark"] .hero-bg-blob-1 { opacity: 0.35; }
[data-theme="dark"] .hero-bg-blob-2 { opacity: 0.30; }

.hero-stage-wrap { position: relative; }

/* Meta strip */
.hero-stage-meta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.hero-status { display: inline-flex; align-items: center; gap: 8px; }
.hero-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ECF8A;
  box-shadow: 0 0 0 4px color-mix(in oklab, #2ECF8A 22%, transparent);
  animation: heroDot 1.6s ease-in-out infinite;
}
@keyframes heroDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.85); opacity: 0.6; } }
.hero-status-text { font-weight: 600; letter-spacing: 0.12em; color: var(--ink); }
.hero-status-sep { opacity: 0.5; }
.hero-stage-meta-sep { width: 1px; height: 14px; background: var(--rule); }
.hero-stage-version { color: var(--ink-3); }

/* Headline */
.hero-stage-headline {
  margin: 28px 0 0;
  font-size: clamp(48px, 8.6vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 700;
  max-width: 16ch;
}
.hero-stage-headline .line { display: block; }
.hero-stage-headline .accent {
  background: linear-gradient(100deg, var(--brand-blue) 0%, var(--brand-coral) 55%, var(--brand-pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}

/* Sub + CTAs row */
.hero-stage-row {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.hero-stage-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 48ch;
}
.hero-stage-cta {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  justify-content: flex-end;
}
.hero-stage-cta .btn-primary { padding: 16px 30px; font-size: 16px; }
.hero-play {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em;
  transition: gap .2s ease, color .2s ease;
}
.hero-play:hover { gap: 14px; color: var(--accent); }
.hero-play-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.hero-play:hover .hero-play-icon {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink));
  color: #fff;
  transform: scale(1.05);
}

/* Scene — laptop + portrait + chip */
.hero-stage-scene {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 1280px;
  padding: 0 var(--gutter);
}
.hero-stage-scene-inner {
  position: relative;
  padding-bottom: clamp(80px, 9vw, 140px);
}
.hero-stage-scene-inner::before {
  content: "";
  position: absolute;
  left: -4%; right: -4%; top: 8%; bottom: 4%;
  background:
    radial-gradient(38% 58% at 22% 38%, rgba(74,108,255,0.38), transparent 70%),
    radial-gradient(38% 58% at 78% 50%, rgba(255,95,179,0.38), transparent 70%),
    radial-gradient(50% 70% at 50% 70%, rgba(181,70,232,0.30), transparent 70%);
  filter: blur(70px);
  z-index: -1;
}
.hero-stage-laptop { position: relative; max-width: 1120px; margin: 0 auto; }

/* Portrait inset card — sits over bottom-left of laptop */
.hero-stage-portrait {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: clamp(180px, 22vw, 280px);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 28px 60px -22px rgba(27,20,80,0.45), 0 6px 14px -6px rgba(27,20,80,0.2);
  transform: rotate(-2.5deg);
  z-index: 2;
}
.hero-stage-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-stage-portrait figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(15,10,40,0) 0%, rgba(15,10,40,0.85) 100%);
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.hero-stage-portrait .hp-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #2ECF8A;
  box-shadow: 0 0 0 3px rgba(46,207,138,0.3);
  flex: none;
}
.hero-stage-portrait .hp-line { flex: 1; font-family: var(--font-display); font-size: 12px; letter-spacing: -0.005em; }
.hero-stage-portrait .hp-line b { font-weight: 600; }
.hero-stage-portrait .hp-time { opacity: 0.75; }

/* Floating score chip — bottom-right */
.hero-stage-chip {
  position: absolute;
  right: 1%;
  bottom: 6%;
  width: clamp(200px, 20vw, 260px);
  padding: 14px 16px;
  border-radius: 16px;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  border: 1px solid var(--rule);
  box-shadow: 0 26px 50px -22px rgba(27,20,80,0.4);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  display: grid;
  gap: 6px;
  transform: rotate(2deg);
  z-index: 2;
}
.hero-stage-chip .hsc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-stage-chip .hsc-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
}
.hero-stage-chip .hsc-val em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-stage-chip .hsc-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  overflow: hidden;
  margin-top: 4px;
}
.hero-stage-chip .hsc-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink));
  border-radius: inherit;
}

@media (max-width: 880px) {
  .hero-stage-row { grid-template-columns: 1fr; align-items: start; }
  .hero-stage-cta { justify-content: flex-start; }
  .hero-stage-headline { font-size: clamp(40px, 11vw, 72px); }
  .hero-stage-portrait { width: 36%; left: -2%; transform: rotate(-3deg); }
  .hero-stage-chip { width: 48%; right: -2%; }
}
@media (max-width: 560px) {
  .hero-stage-meta { gap: 8px; padding: 5px 12px 5px 8px; font-size: 10px; }
  .hero-stage-version { display: none; }
  .hero-stage-meta-sep { display: none; }
  .hero-stage-portrait { display: none; }
  .hero-stage-chip { position: relative; right: auto; bottom: auto; transform: none; width: 100%; margin-top: 18px; }
  .hero-stage-scene-inner { padding-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero · Console layout (live training board, no portrait)
   ───────────────────────────────────────────────────────────────────────── */
.hero-console {
  position: relative;
  isolation: isolate;
  padding-top: clamp(96px, 11vw, 150px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-console-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-console-blob { position: absolute; border-radius: 50%; filter: blur(110px); }
.hero-console-blob-1 { top: -10%; left: -8%; width: 50%; height: 75%; background: radial-gradient(closest-side, var(--brand-blue), transparent 70%); opacity: 0.4; }
.hero-console-blob-2 { top: 5%; right: -12%; width: 55%; height: 85%; background: radial-gradient(closest-side, var(--brand-coral), transparent 70%); opacity: 0.35; }
[data-theme="dark"] .hero-console-blob-1 { opacity: 0.28; }
[data-theme="dark"] .hero-console-blob-2 { opacity: 0.24; }

.hero-console-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}

.hero-console-meta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.hero-console-meta-sep { width: 1px; height: 12px; background: var(--rule); }
.hero-console-meta-item { color: var(--ink-3); }

.hero-console-headline {
  margin: 28px 0 0;
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
  max-width: 16ch;
}
.hero-console-headline .line { display: block; }
.hero-console-headline .accent {
  background: linear-gradient(100deg, var(--brand-blue) 0%, var(--brand-coral) 55%, var(--brand-pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.hero-console-sub {
  margin: 28px 0 0;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
}
.hero-console-cta {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.hero-console-cta .btn-primary { padding: 16px 30px; font-size: 16px; }

/* Live board */
.hero-console-board {
  position: relative;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow:
    0 30px 60px -28px rgba(27, 20, 80, 0.35),
    0 1px 0 0 color-mix(in oklab, var(--paper) 100%, transparent) inset;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.hero-console-board::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, color-mix(in oklab, var(--brand-blue) 35%, transparent), transparent 40%, color-mix(in oklab, var(--brand-coral) 25%, transparent) 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hcb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
  margin-bottom: 12px;
}
.hcb-head-l { display: inline-flex; align-items: center; gap: 8px; }
.hcb-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2ECF8A;
  box-shadow: 0 0 0 4px color-mix(in oklab, #2ECF8A 22%, transparent);
  animation: heroDot 1.6s ease-in-out infinite;
}
.hcb-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.hcb-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.hcb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hcb-row {
  display: grid; gap: 6px;
  padding: 4px 2px;
}
.hcb-row-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
.hcb-row-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-3);
  flex: none;
}
.hcb-row-dot.alert { background: #FF5A6E; box-shadow: 0 0 0 3px color-mix(in oklab, #FF5A6E 22%, transparent); }
.hcb-row-dot.warn  { background: #F2A93B; box-shadow: 0 0 0 3px color-mix(in oklab, #F2A93B 22%, transparent); }
.hcb-row-dot.ok    { background: #2ECF8A; box-shadow: 0 0 0 3px color-mix(in oklab, #2ECF8A 22%, transparent); }
.hcb-org { font-weight: 600; letter-spacing: -0.01em; }
.hcb-cohort { color: var(--ink-3); font-size: 12px; margin-left: auto; font-family: var(--font-mono); letter-spacing: 0.02em; }
.hcb-scenario { font-size: 12px; color: var(--ink-2); padding-left: 15px; letter-spacing: -0.005em; }
.hcb-bar {
  margin: 2px 0 0 15px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  overflow: hidden;
}
.hcb-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink));
  border-radius: inherit;
}
.hcb-bar i.tone-alert { background: linear-gradient(90deg, #FF8A6E, #FF5A6E); }
.hcb-bar i.tone-warn  { background: linear-gradient(90deg, #F2C13B, #F2A93B); }
.hcb-bar i.tone-ok    { background: linear-gradient(90deg, #4AE0B0, #2ECF8A); }
.hcb-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.hcb-foot-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent);
  animation: hcbPulse 1.8s ease-out infinite;
}
@keyframes hcbPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  80%,100% { box-shadow: 0 0 0 10px transparent; }
}

/* Product strip under the fold */
.hero-console-product {
  margin: clamp(48px, 6vw, 80px) auto 0;
  max-width: 1280px;
  padding: 0 var(--gutter);
  position: relative;
}
.hero-console-product::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 8%; bottom: -6%;
  background:
    radial-gradient(40% 60% at 25% 40%, rgba(74,108,255,0.34), transparent 70%),
    radial-gradient(40% 60% at 75% 45%, rgba(255,95,179,0.34), transparent 70%),
    radial-gradient(50% 70% at 50% 70%, rgba(181,70,232,0.28), transparent 70%);
  filter: blur(70px);
  z-index: -1;
}
.hero-console-product-inner { max-width: 1120px; margin: 0 auto; }

@media (max-width: 980px) {
  .hero-console-wrap { grid-template-columns: 1fr; align-items: start; }
  .hero-console-board { order: 2; }
  .hero-console-headline { font-size: clamp(40px, 10vw, 72px); }
}
@media (max-width: 560px) {
  .hcb-cohort { display: none; }
  .hero-console-cta { gap: 14px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero · Peek layout (centered type, laptop peeks above the fold)
   ───────────────────────────────────────────────────────────────────────── */
.hero-peek {
  position: relative;
  isolation: isolate;
  padding-top: clamp(220px, 26vh, 320px);
  padding-bottom: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-peek-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  overflow: hidden;
}
.hero-peek-blob { position: absolute; border-radius: 50%; filter: blur(120px); }
.hero-peek-blob-1 {
  top: -12%; left: 50%; transform: translateX(-65%);
  width: 70%; height: 70%;
  background: radial-gradient(closest-side, var(--brand-blue), transparent 70%);
  opacity: 0.32;
}
.hero-peek-blob-2 {
  top: 5%; left: 50%; transform: translateX(20%);
  width: 60%; height: 70%;
  background: radial-gradient(closest-side, var(--brand-coral), transparent 70%);
  opacity: 0.30;
}
[data-theme="dark"] .hero-peek-blob-1 { opacity: 0.22; }
[data-theme="dark"] .hero-peek-blob-2 { opacity: 0.20; }

.hero-peek-wrap {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.hero-peek-headline {
  margin: 0;
  font-size: clamp(46px, 5.8vw, 92px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 18ch;
}
.hero-peek-headline .line { display: block; }
.hero-peek-headline .accent {
  background: linear-gradient(100deg, var(--brand-blue) 0%, var(--brand-coral) 55%, var(--brand-pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  padding-bottom: 0.04em;
}
.hero-peek-sub {
  margin: clamp(18px, 1.8vw, 26px) auto 0;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
}
.hero-peek-cta {
  margin-top: clamp(24px, 2.6vw, 36px);
  display: inline-flex; align-items: center; gap: 24px; flex-wrap: wrap;
  justify-content: center;
}
.hero-peek-cta .btn-primary { padding: 14px 26px; font-size: 15px; }
.hero-peek .hero-play { font-size: 14px; }

/* Laptop peek — naturally extends below the viewport fold.
   margin-top:auto sticks it to the bottom of the 100svh hero; its full height
   pushes the hero past 100svh so the lower portion sits below the fold and
   becomes visible as the user scrolls. */
.hero-peek-product {
  margin-top: auto;
  padding-top: clamp(72px, 9vh, 128px);
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}
.hero-peek-product::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; top: 18%; bottom: -10%;
  background:
    radial-gradient(40% 60% at 25% 40%, rgba(74,108,255,0.32), transparent 70%),
    radial-gradient(40% 60% at 75% 45%, rgba(255,95,179,0.32), transparent 70%),
    radial-gradient(50% 70% at 50% 70%, rgba(181,70,232,0.26), transparent 70%);
  filter: blur(70px);
  z-index: -1;
}
.hero-peek-product-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* Scroll cue — pinned at viewport-fold so it sits at the bottom of the
   visible area, just over the peeking laptop. */
.hero-peek-scroll {
  position: absolute;
  top: calc(100svh - 56px);
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
  z-index: 3;
}
.hero-peek-scroll .hps-label { opacity: 0.7; }
.hero-peek-scroll .hps-line {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 35%, transparent), transparent);
  position: relative;
  overflow: hidden;
}
.hero-peek-scroll .hps-line::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: hpsDrop 2.2s ease-in-out infinite;
}
@keyframes hpsDrop {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(180%); opacity: 0; }
}

@media (max-width: 760px) {
  .hero-peek { min-height: 92svh; padding-top: clamp(72px, 9vh, 110px); }
  .hero-peek-headline { font-size: clamp(38px, 10.5vw, 62px); }
  .hero-peek-sub { font-size: 15px; }
}
@media (max-height: 720px) {
  .hero-peek { padding-top: clamp(70px, 8vh, 110px); }
  .hero-peek-product { padding-top: clamp(28px, 3.5vh, 50px); }
}

.laptop { position: relative; aspect-ratio: 16 / 10.6; filter: drop-shadow(0 30px 60px rgba(27,20,80,0.30)); }
.laptop-screen { position: absolute; inset: 0 0 9% 0; background: #1B1450; border: 1px solid #3C2F7A; border-radius: 16px; padding: 14px; overflow: hidden; }
.laptop-base { position: absolute; left: -4%; right: -4%; bottom: 0; height: 9%; background: linear-gradient(180deg,#C8CCD8 0%,#9098AD 50%,#6A7290 100%); border-radius: 0 0 18px 18px; }
.laptop-base::after { content: ""; position: absolute; left: 40%; right: 40%; top: 0; height: 38%; background: linear-gradient(180deg,#4A5374,#2C3550); border-radius: 0 0 12px 12px; }

.product { width: 100%; height: 100%; background: #F6F4FB; border-radius: 8px; overflow: hidden; display: grid; grid-template-rows: 36px 1fr; font-family: var(--font-display); color: #1B1450; }
.product-bar { display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #fff; border-bottom: 1px solid #E5E5EA; font-size: 11px; color: #6A7290; }
.product-bar .pills { display: flex; gap: 6px; }
.product-bar .pill { width: 9px; height: 9px; border-radius: 50%; background: #FF5FB3; }
.product-bar .pill:nth-child(2) { background: #B546E8; }
.product-bar .pill:nth-child(3) { background: #4A6CFF; }
.product-bar .crumb { margin-left: 8px; font-weight: 500; }
.product-bar .crumb b { color: #1B1450; font-weight: 600; }
.product-bar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.product-bar .tag { padding: 3px 8px; border-radius: 999px; background: rgba(255,95,179,0.14); color: #C7237D; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; display: inline-flex; gap: 5px; align-items: center; }
.product-bar .tag .blink { width: 5px; height: 5px; border-radius: 50%; background: #FF5FB3; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.6); } }

.product-body { display: grid; grid-template-columns: 200px 1fr 240px; height: 100%; overflow: hidden; }
.p-side { background: #FAFAFC; border-right: 1px solid #E5E5EA; padding: 16px 12px; font-size: 11px; }
.p-side .group { color: #86869B; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; font-weight: 600; padding: 12px 8px 6px; }
.p-side .item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: #4A4878; }
.p-side .item.on { background: linear-gradient(135deg, #1B1450, #5A2EB0); color: #fff; }
.p-side .item .ico { width: 14px; height: 14px; border-radius: 3px; background: currentColor; opacity: 0.7; }
.p-side .item.on .ico { background: #FF5FB3; opacity: 1; }

.p-main { padding: 18px 22px; display: grid; grid-template-rows: auto 1fr; gap: 14px; overflow: hidden; }
.p-main .h1m { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.p-main .sub1 { font-size: 11px; color: #86869B; margin-top: 2px; }
.p-scene { border-radius: 8px; background: radial-gradient(80% 60% at 50% 35%, rgba(74,108,255,0.55), transparent 70%), radial-gradient(60% 100% at 80% 100%, rgba(255,95,179,0.45), transparent 70%), linear-gradient(180deg,#2A1B7A 0%,#1B1450 100%); position: relative; overflow: hidden; display: grid; grid-template-rows: 1fr auto; padding: 14px; }
.p-scene .floor { position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4)); }
.p-scene .bed { position: absolute; left: 22%; right: 22%; bottom: 30%; height: 24%; background: linear-gradient(180deg, rgba(245,245,247,0.85), rgba(245,245,247,0.55)); border-radius: 6px; box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.p-scene .bed::after { content: ""; position: absolute; left: 8%; right: 18%; top: 22%; height: 30%; border-radius: 999px; background: rgba(255,220,200,0.85); }
.p-scene .badge { position: absolute; left: 14px; top: 14px; font-family: var(--font-mono); font-size: 9px; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); }
.p-scene .badge.alert { background: rgba(255,95,179,0.92); }
.p-scene-bottom { position: relative; z-index: 1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.p-action-btn { padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,0.1); color: #fff; font-size: 10px; font-weight: 500; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.18); }
.p-action-btn.primary { background: var(--accent); border-color: transparent; }

.p-right { background: #FAFAFC; border-left: 1px solid #E5E5EA; padding: 16px 14px; font-size: 11px; overflow: hidden; }
.p-right h5 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #86869B; margin-bottom: 8px; }
.vital { display: grid; grid-template-columns: 1fr auto; gap: 4px; padding: 9px 0; border-bottom: 1px solid #ECECEF; }
.vital .l { color: #424866; }
.vital .v { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: #1B1450; }
.vital.alert .v { color: #C7237D; }
.vital.alert .l::after { content: "•"; color: #C7237D; margin-left: 4px; font-size: 14px; }
.p-right .chip-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.p-right .chip { padding: 3px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 500; background: #ECE7F5; color: #4A4878; }
.p-right .chip.on { background: rgba(255,95,179,0.16); color: #C7237D; }

.trust { padding: 64px 0 32px; }
.trust-label { text-align: center; font-size: 14px; color: var(--ink); font-weight: 700; margin-bottom: 28px; letter-spacing: 0.01em; }
.logo-marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.logo-track { display: flex; align-items: center; gap: clamp(36px, 5vw, 72px); width: max-content; animation: logo-scroll 38s linear infinite; opacity: 0.85; padding: 6px 0; }
.logo-marquee:hover .logo-track,
.logo-track:hover { animation-play-state: running !important; }
.logo-track .logo { height: 72px; display: grid; place-items: center; flex-shrink: 0; padding: 0 8px; }
.logo-track .logo img { max-height: 100%; width: auto; object-fit: contain; display: block; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track, .press-track { animation: none; } }

.press-marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.press-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); width: max-content; animation: press-scroll 46s linear infinite; padding: 6px 0; }
.press-marquee:hover .press-track,
.press-track:hover { animation-play-state: running !important; }
.press-track .press-cell { height: 72px; display: grid; place-items: center; flex-shrink: 0; padding: 0 8px; }
.press-track .press-cell img { max-height: 100%; width: auto; object-fit: contain; display: block; }
@keyframes press-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.slab { padding: clamp(72px, 9vw, 130px) 0; text-align: center; }
.slab .kicker { display: block; margin-bottom: 16px; font-size: 17px; }
.slab h2 { max-width: 18ch; margin: 0 auto; }
.slab h2 .accent { background: linear-gradient(100deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slab .subhead { margin: 24px auto 0; max-width: 48ch; }
.slab .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; align-items: center; }
.slab .visual { margin-top: clamp(48px, 6vw, 88px); }

.devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; max-width: 920px; margin: 0 auto; text-align: left; justify-content: center; }
.device { background: linear-gradient(180deg, #fff 0%, #F5F5F7 100%); border-radius: var(--r-xl); padding: 36px 32px; border: 1px solid var(--rule); position: relative; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: space-between; }
[data-theme="dark"] .device { background: linear-gradient(180deg, #14141C 0%, #0A0A0F 100%); border-color: rgba(255,255,255,0.08); }
.device .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 14px; }
.device h3 { margin-bottom: 12px; }
.device p { color: var(--ink-2); font-size: 15px; max-width: 32ch; }
.device-art { margin-top: 28px; flex: 1; display: grid; place-items: center; min-height: 200px; }

.mini-laptop { width: 100%; max-width: 360px; aspect-ratio: 16 / 10; background: #1B1450; border-radius: 10px; padding: 8px; position: relative; border: 1px solid #3C2F7A; box-shadow: 0 14px 30px -10px rgba(27,20,80,0.4); }
.mini-laptop .screen { width: 100%; height: 100%; border-radius: 5px; background: radial-gradient(60% 80% at 30% 30%, rgba(74,108,255,0.4), transparent 70%), radial-gradient(60% 80% at 80% 80%, rgba(255,95,179,0.35), transparent 70%), linear-gradient(180deg, #2A1B7A, #1B1450); position: relative; overflow: hidden; }
.mini-laptop .screen::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 50%; height: 30%; background: rgba(255,255,255,0.85); border-radius: 4px; }
.mini-laptop::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -4px; height: 4px; background: #6A7290; border-radius: 0 0 6px 6px; }

.mini-tablet { width: 240px; aspect-ratio: 4 / 5.4; background: #1B1450; border-radius: 18px; padding: 10px; border: 1px solid #3C2F7A; box-shadow: 0 14px 30px -10px rgba(27,20,80,0.4); }
.mini-tablet .screen { width: 100%; height: 100%; border-radius: 10px; background: radial-gradient(70% 50% at 50% 35%, rgba(74,108,255,0.5), transparent 70%), radial-gradient(60% 50% at 70% 80%, rgba(255,95,179,0.4), transparent 70%), linear-gradient(180deg, #2A1B7A, #1B1450); position: relative; overflow: hidden; }
.mini-tablet .screen::before { content: ""; position: absolute; left: 25%; right: 25%; top: 45%; height: 18%; background: rgba(245,245,247,0.8); border-radius: 4px; }

.mini-phone { width: 140px; aspect-ratio: 9 / 19; background: #1B1450; border-radius: 22px; padding: 5px; border: 1px solid #3C2F7A; box-shadow: 0 14px 30px -10px rgba(27,20,80,0.4); }
.mini-phone .screen { width: 100%; height: 100%; border-radius: 18px; background: radial-gradient(80% 40% at 50% 30%, rgba(74,108,255,0.5), transparent 70%), radial-gradient(80% 30% at 50% 75%, rgba(255,95,179,0.4), transparent 70%), linear-gradient(180deg, #2A1B7A, #1B1450); position: relative; overflow: hidden; }
.mini-phone .screen::before { content: ""; position: absolute; left: 28%; right: 28%; top: 6%; height: 14px; background: #000; border-radius: 0 0 8px 8px; }
.mini-phone .screen::after { content: ""; position: absolute; left: 18%; right: 18%; top: 48%; height: 12%; background: rgba(245,245,247,0.8); border-radius: 3px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; max-width: 1280px; margin: 0 auto; }
.bento .card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-xl); padding: 36px; position: relative; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: transform .25s ease, box-shadow .25s ease; }
[data-theme="dark"] .bento .card { background: var(--paper-2); border-color: rgba(255,255,255,0.06); }
.bento .card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px -12px rgba(27,20,80,0.15); }
.bento .card.span-4 { grid-column: span 4; }
.bento .card.span-3 { grid-column: span 3; min-height: 0; padding: 34px; }
.bento .card.span-2 { grid-column: span 2; min-height: 320px; padding: 30px; }
.bento .card.span-6 { grid-column: span 6; }
.bento .card.span-3 .art-frame { flex: 0 0 auto; min-height: 0; aspect-ratio: 16 / 13.5; }
.bento .card.span-2 .art-frame { min-height: 150px; }
.bento .card.span-3 h3 { font-size: clamp(22px, 1.75vw, 27px); }
.bento .card.span-3 .lede { font-size: 15px; line-height: 1.5; }
.bento .card h3 { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -0.025em; }
.bento .card .lede { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

.art-frame { flex: 1; border-radius: var(--r-md); background: var(--paper-2); position: relative; overflow: hidden; min-height: 200px; }
[data-theme="dark"] .art-frame { background: var(--paper-3); }

.art-specialty { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: center; }
.art-specialty .sp { padding: 9px 14px; background: var(--paper); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); text-align: center; border: 1px solid var(--rule); letter-spacing: -0.005em; }
.art-specialty .sp.on { background: var(--ink); color: var(--paper); border-color: transparent; }
[data-theme="dark"] .art-specialty .sp { background: var(--paper-2); }
[data-theme="dark"] .art-specialty .sp.on { background: var(--accent); color: #fff; }

.art-teams { padding: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; place-content: center; }
.art-teams .role { background: var(--paper); border-radius: 14px; border: 1px solid var(--rule); padding: 14px; display: grid; grid-template-rows: auto auto auto; gap: 4px; }
.art-teams .role .name { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.art-teams .role .meta { color: var(--ink-3); font-size: 12px; }
.art-teams .role .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink)); margin-bottom: 8px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 600; }
[data-theme="dark"] .art-teams .role { background: var(--paper-2); }

.art-scale { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.art-scale .row { display: grid; grid-template-columns: 32px 1fr 50px; gap: 12px; align-items: center; font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }
.art-scale .bar { height: 10px; background: var(--paper-3); border-radius: 5px; overflow: hidden; }
.art-scale .bar > div { height: 100%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-coral) 60%, var(--brand-pink)); border-radius: 5px; }
.art-scale .val { text-align: right; color: var(--ink); font-weight: 600; }

.art-analytics { padding: 26px; display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.art-analytics .head { display: flex; justify-content: space-between; align-items: center; }
.art-analytics .head .num { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.art-analytics .head .num .delta { font-size: 14px; color: var(--accent); margin-left: 6px; vertical-align: top; font-weight: 500; }
.art-analytics .head .label { font-size: 12px; color: var(--ink-3); }
.art-analytics .chart { position: relative; height: 100%; min-height: 100px; }
.art-analytics .chart svg { width: 100%; height: 100%; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 44px 32px; border-left: 1px solid rgba(245,245,247,0.12); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(60px, 7vw, 96px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: #fff; }
.stat .num .unit { color: var(--accent); }
.stat .label { font-size: 14px; color: rgba(245,245,247,0.65); margin-top: 14px; max-width: 22ch; }

.built-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.built-card { background: var(--paper-2); border-radius: var(--r-2xl); padding: clamp(40px, 4vw, 56px); display: grid; grid-template-rows: auto 1fr auto; min-height: 560px; position: relative; overflow: hidden; }
.built-card .kicker { margin-bottom: 16px; }
.built-card h3 { max-width: 14ch; font-size: clamp(28px, 2.4vw, 40px); }
.built-card p { color: var(--ink-2); margin-top: 16px; max-width: 38ch; font-size: 17px; }
.built-card .photo { margin-top: 36px; border-radius: var(--r-lg); aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-coral) 55%, var(--brand-pink) 100%); position: relative; overflow: hidden; display: grid; place-items: center; }
.built-card .photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 30% 30%, rgba(255,255,255,0.18), transparent 70%), radial-gradient(50% 80% at 80% 80%, rgba(255,255,255,0.12), transparent 70%); }
.built-card .photo .tag { position: relative; z-index: 1; background: rgba(255,255,255,0.92); padding: 8px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); }
.built-card .cta-link { margin-top: 28px; align-self: start; }

.testimonials { padding: clamp(72px, 9vw, 130px) 0; }
.testimonials .head { text-align: center; margin-bottom: 64px; }
.testimonials .head h2 { max-width: 20ch; margin: 16px auto 0; }
.testi-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px var(--gutter); margin: 0 calc(var(--gutter) * -1); }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 min(520px, 86%); scroll-snap-align: center; background: var(--paper-2); border-radius: var(--r-xl); padding: 40px; display: grid; grid-template-rows: 1fr auto; gap: 24px; min-height: 320px; }
.testi-card .q { font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); font-weight: 500; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 60%, var(--brand-pink)); color: #fff; font-weight: 600; font-size: 16px; display: grid; place-items: center; }
.testi-card .name { font-weight: 600; font-size: 15px; }
.testi-card .role { font-size: 13px; color: var(--ink-3); }

/* Org logo stamp on testimonial cards */
.testi-card.has-logo { grid-template-rows: auto 1fr auto; }
.testi-org-logo {
  display: flex;
  align-items: center;
  height: 38px;
  margin-bottom: -4px;
}
.testi-org-logo img {
  max-height: 100%;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.92;
}

/* VR card — headline spans full width, body+headset below */
.bento .card.vr-card { min-height: auto; padding: clamp(28px, 3vw, 40px) clamp(32px, 3.4vw, 48px); justify-content: flex-start; gap: 18px; }
.bento .card.vr-card .vr-headline {
  color: #fff;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.bento .card.vr-card .vr-body {
  position: relative;
  display: block;
  min-height: 150px;
}
.bento .card.vr-card .vr-body .vr-copy {
  font-size: 14.5px;
  line-height: 1.55;
  margin-top: 0;
  max-width: 60%;
  padding-right: 0;
}
.bento .card.vr-card .vr-art-wrap {
  position: absolute;
  top: 50%;
  right: clamp(170px, 22%, 280px);
  transform: translateY(-50%);
  pointer-events: none;
}
.bento .card.vr-card .vr-cta-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
}
.bento .card.vr-card .vr-cta { white-space: nowrap; }
@media (max-width: 900px) {
  .bento .card.vr-card .vr-body { min-height: 0; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
  .bento .card.vr-card .vr-art-wrap,
  .bento .card.vr-card .vr-cta-wrap { position: static; transform: none; }
}

/* VR headset image — blended into navy card via radial mask */
.vr-headset-art {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at center, #000 35%, rgba(0,0,0,0.85) 55%, rgba(0,0,0,0) 92%);
  mask-image: radial-gradient(ellipse 70% 65% at center, #000 35%, rgba(0,0,0,0.85) 55%, rgba(0,0,0,0) 92%);
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.35));
}

.testi-controls { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-3); border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.testi-dot.on { background: var(--accent); transform: scale(1.3); }
.testi-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; transition: background .2s; }
.testi-arrow:hover { background: var(--paper-3); }
[data-theme="dark"] .testi-arrow { background: var(--paper-3); }

.press { padding: 64px 0; border-top: 1px solid var(--rule); }
.press-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px; align-items: center; justify-items: center; opacity: 0.7; }
.press-logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap; }
.press-logo.italic { font-style: italic; font-weight: 400; }
.press-logo.serif { font-family: Georgia, serif; font-weight: 400; }

.cta-block { text-align: center; padding: clamp(80px, 10vw, 160px) 0; }
.cta-block .kicker { display: block; margin-bottom: 18px; }
.cta-block h2 { max-width: 20ch; margin: 0 auto; }
.cta-block h2 .accent { background: linear-gradient(100deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-block p { margin: 22px auto 0; max-width: 44ch; color: var(--ink-2); font-size: 19px; }
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; align-items: center; }

footer { background: var(--paper-2); padding: 72px 0 32px; font-size: 13px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 56px; }
.foot-col h5 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.01em; }
.foot-col a { display: block; padding: 5px 0; color: var(--ink-2); transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-col .foot-static { display: block; padding: 5px 0; color: var(--ink-2); }
.foot-addr { color: var(--ink-3); max-width: 32ch; line-height: 1.7; margin-top: 16px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 12px; }
.foot-bottom .social { display: flex; gap: 8px; }
.foot-bottom .social a { width: 32px; height: 32px; border-radius: 50%; background: var(--paper-3); display: grid; place-items: center; color: var(--ink-2); transition: background .2s, color .2s; }
.foot-bottom .social a:hover { background: var(--accent); color: #fff; }

/* Shared Vimeo lightbox popup */
.vimeo-lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(15, 12, 40, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.vimeo-lightbox.on { display: flex; }
.vimeo-lightbox-inner { position: relative; width: 74vw; max-width: 1400px; }
@media (max-width: 900px) { .vimeo-lightbox-inner { width: 94vw; } }
.vimeo-lightbox-frame {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 50px 110px -28px rgba(0, 0, 0, 0.65);
}
.vimeo-lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vimeo-lightbox-close {
  position: absolute; top: -16px; right: -16px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 0; cursor: pointer;
  font-size: 24px; line-height: 1; color: #1B1450;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform .15s ease;
  z-index: 2;
}
.vimeo-lightbox-close:hover { transform: scale(1.08); }
@media (max-width: 560px) { .vimeo-lightbox-close { top: -50px; right: 0; } }

/* Subpage nav: active link state — handled per-style above */

/* Subpage shared building blocks */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-2xl); padding: clamp(28px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.step-card .step-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); }
.step-card h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.2; max-width: 18ch; }
.step-card p { color: var(--ink-2); line-height: 1.55; flex: 1; }
.step-card .step-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 12px; border-top: 1px dashed var(--rule); }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.tech-card { background: var(--paper-2); border-radius: var(--r-xl); padding: 28px; }
.tech-card h4 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.tech-card p { color: var(--ink-2); line-height: 1.55; font-size: 14.5px; }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.impact-grid .impact-card:first-child { grid-column: span 3; background: var(--ink); color: var(--paper); }
.impact-grid .impact-card:first-child p { color: color-mix(in oklab, var(--paper) 75%, transparent); }
.impact-grid .impact-card:first-child .impact-num { color: color-mix(in oklab, var(--paper) 60%, transparent); }
.impact-grid .impact-card:nth-child(4), .impact-grid .impact-card:nth-child(5) { grid-column: span 1; }
.impact-grid .impact-card:nth-child(4) { grid-column: 1 / span 2; }
.impact-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-2xl); padding: clamp(28px, 2.6vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.impact-card .impact-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); }
.impact-card h3 { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -0.02em; line-height: 1.2; max-width: 22ch; }
.impact-card p { color: var(--ink-2); line-height: 1.6; max-width: 50ch; }

.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 36px; }
.partner-cell { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); height: 120px; display: grid; place-items: center; padding: 20px; }
.partner-cell img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; display: block; }

.press-articles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 760px) { .press-articles { grid-template-columns: 1fr; } }

/* Press hero story */
.press-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-top: 36px; border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; box-shadow: 0 30px 70px -44px rgba(27,20,80,0.3); transition: transform .2s ease, box-shadow .25s ease; }
.press-hero:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(27,20,80,0.42); }
.press-hero-media { position: relative; min-height: 320px; background: #1a1f4d; }
.press-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.press-hero-body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.press-hero-logo { height: 34px; }
.press-hero-logo img { max-height: 34px; max-width: 120px; width: auto; object-fit: contain; display: block; }
.press-hero-body h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.025em; line-height: 1.15; }
.press-hero-body p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.press-hero-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; color: var(--accent-deep); font-size: 15px; }
.press-hero-cta svg { width: 17px; height: 17px; transition: transform .18s ease; }
.press-hero:hover .press-hero-cta svg { transform: translateX(4px); }
.press-src { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; margin-bottom: 14px; }
.press-logo-badge { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin-bottom: 16px; padding: 8px 14px; border-radius: 10px; background: color-mix(in oklab, var(--c, var(--accent)) 12%, #fff); color: var(--c, var(--accent-deep)); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -0.02em; line-height: 1; border: 1px solid color-mix(in oklab, var(--c, var(--accent)) 30%, transparent); }
.press-logo-badge::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c, var(--accent)); flex: none; }
@media (max-width: 760px) { .press-hero { grid-template-columns: 1fr; } .press-hero-media { min-height: 220px; } }

/* Press-room boilerplate split */
.pr-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 760px) { .pr-split { grid-template-columns: 1fr; gap: 36px; } }
.press-article { display: block; padding: 26px 28px; border: 1px solid var(--rule); border-radius: var(--r-xl); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; text-decoration: none; color: inherit; }
.press-article:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(27,20,80,0.22); border-color: color-mix(in oklab, var(--ink) 14%, transparent); }
.press-article-logo { height: 38px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 18px; }
.press-article-logo img { max-height: 38px; max-width: 130px; width: auto; object-fit: contain; display: block; }
.press-article-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.press-article h3 { font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
.press-article p { color: var(--ink-2); line-height: 1.55; font-size: 14.5px; }

.press-contact { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--rule); }
.press-contact li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.press-contact .press-contact-l { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }
.press-contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .press-contact li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 1000px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-grid .impact-card, .impact-grid .impact-card:first-child, .impact-grid .impact-card:nth-child(4) { grid-column: span 1; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .steps-grid, .tech-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  .nav { padding: 0 12px; }
  .nav-inner { grid-template-columns: auto 1fr auto; position: relative; gap: 12px; padding: 0 16px; }
  .nav-burger { display: inline-flex; flex-shrink: 0; }
  .brand { min-width: max-content; }
  .brand-logo { flex-shrink: 0; }
  .nav-right { flex-shrink: 0; }
  .nav-cta { white-space: nowrap; flex-shrink: 0; }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 8px; left: auto;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 22px 54px -20px rgba(20, 20, 40, 0.28);
    display: none;
    z-index: 120;
  }
  .nav-links a { font-size: 16px; padding: 12px 16px; border-radius: 12px; }
  .nav.open .nav-links { display: flex; }
  .devices { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(245,245,247,0.12); }
  .built-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card.span-4, .bento .card.span-3, .bento .card.span-2, .bento .card.span-6 { grid-column: span 2; }
  .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .press-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card.span-4, .bento .card.span-3, .bento .card.span-2, .bento .card.span-6 { grid-column: span 1; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(245,245,247,0.12); }
  .stat:first-child { border-top: 0; }
  footer { padding: 56px 0 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 430px) {
  .brand-logo { height: 21px; }
  .nav-right .nav-cta { display: none; }
  .nav-links-cta {
    display: block !important;
    margin-top: 6px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-coral) 55%, var(--brand-pink));
    color: #fff !important;
    text-align: center;
    font-weight: 600 !important;
  }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot-grid > :last-child { grid-column: auto; }
  .foot-addr { max-width: none; }
  .nav-cta { padding: 8px 14px; font-size: 14px; }
  .nav { padding: 0 8px; }
  .nav-inner { gap: 10px; padding: 0 14px; }
}
@media (max-width: 700px) {
  .hero { padding-top: 118px !important; }
}


/* =========================================================================
   Scenarios library
   ========================================================================= */
.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1200px; margin: 0 auto; }
.scenario-tile { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px 22px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.scenario-tile:hover { transform: translateY(-2px); border-color: rgba(27,20,80,0.18); box-shadow: 0 8px 24px -14px rgba(27,20,80,0.15); }
[data-theme="dark"] .scenario-tile { background: var(--paper-2); border-color: rgba(255,255,255,0.08); }
.scenario-glyph { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft, color-mix(in oklch, var(--accent) 14%, transparent)); color: var(--accent); display: grid; place-items: center; }
.scenario-name { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; margin-top: 18px; color: var(--ink-1); }
.scenario-tag { color: var(--ink-3); font-size: 12.5px; margin-top: 4px; letter-spacing: 0.01em; }
.scenario-pill { position: absolute; top: 16px; right: 16px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: color-mix(in oklch, var(--accent) 12%, transparent); padding: 4px 8px; border-radius: 999px; }
.scenario-more { background: transparent; border: 1px dashed var(--rule); justify-content: center; }
.scenario-more .scenario-name { margin-top: 0; color: var(--ink-2); }
@media (max-width: 980px) { .scenario-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scenario-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Capabilities
   ========================================================================= */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1200px; margin: 0 auto; border: 1px solid var(--rule); border-radius: var(--r-xl); overflow: hidden; }
[data-theme="dark"] .capability-grid { border-color: rgba(255,255,255,0.08); }
.capability-card { padding: 36px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; }
[data-theme="dark"] .capability-card { background: var(--paper-2); border-color: rgba(255,255,255,0.06); }
.capability-card:nth-child(3n) { border-right: 0; }
.capability-card:nth-last-child(-n+3) { border-bottom: 0; }
.capability-num { font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: 0.12em; }
.capability-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-top: 14px; color: var(--ink-1); }
.capability-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-top: 10px; }
@media (max-width: 900px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } .capability-card:nth-child(3n) { border-right: 1px solid var(--rule); } .capability-card:nth-child(2n) { border-right: 0; } .capability-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); } .capability-card:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 560px) { .capability-grid { grid-template-columns: 1fr; } .capability-card { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; } .capability-card:last-child { border-bottom: 0 !important; } }

/* =========================================================================
   Onboarding 6-step
   ========================================================================= */
.onboarding-track { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 1240px; margin-inline: auto; counter-reset: step; }
.onboarding-step { position: relative; padding: 28px 18px 24px; }
.onboarding-num { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--accent); }
.onboarding-name { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; margin-top: 10px; color: var(--ink-1); }
.onboarding-desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; margin-top: 8px; }
.onboarding-arrow { position: absolute; top: 32px; right: -8px; color: var(--ink-3); font-size: 16px; opacity: 0.5; }
@media (max-width: 1100px) { .onboarding-track { grid-template-columns: repeat(3, 1fr); } .onboarding-arrow { display: none; } }
@media (max-width: 640px) { .onboarding-track { grid-template-columns: repeat(2, 1fr); } }


/* =========================================================================
   Cross-specialty visual
   ========================================================================= */
.cross-spec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1180px; margin: 0 auto; }
.cross-spec-copy { padding-block: 24px; }
.cross-spec-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cross-spec-list li { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule); padding: 8px 14px; border-radius: 999px; }
.cross-spec-art { display: grid; place-items: center; }
.cross-spec-art img { width: 100%; max-width: 520px; height: auto; border-radius: var(--r-2xl); display: block; }
@media (max-width: 880px) { .cross-spec { grid-template-columns: 1fr; text-align: center; } .cross-spec-list { justify-content: center; } }


/* Hero trust strip (above laptop) */
.hero-trust-strip { margin-top: 56px; margin-bottom: 24px; }
.hero-trust-strip .trust-label { text-align: center; }

/* Laptop video overlay */
.laptop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.product { position: relative; }
.product-bar-overlay {
  position: relative;
  z-index: 2;
  background: rgba(246, 244, 251, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-body { position: relative; z-index: 1; }

/* Bento video / image art-frame */
.art-frame.art-video, .art-frame.art-image {
  padding: 0;
  overflow: hidden;
}
.art-frame.art-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.art-frame.art-image {
  background: #ffffff;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.art-frame.art-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  display: block;
}
.art-frame.art-image img.img-shrink {
  padding: 36px;
  object-fit: contain;
}
.art-frame.art-image-contain img {
  padding: 28px;
  object-fit: contain;
}

/* =========================================================================
   Forms (Book a demo / Contact)
   ========================================================================= */
.gm-form-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .gm-form-grid { grid-template-columns: 1fr; gap: 40px; } }
.gm-form-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 34px 80px -44px rgba(27, 20, 80, 0.28);
}
.gm-form { display: block; }
.gm-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.gm-field > label { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.gm-field .req { color: var(--accent); }
.gm-input, .gm-select, .gm-textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.gm-input::placeholder, .gm-textarea::placeholder { color: var(--ink-3); }
.gm-input:focus, .gm-select:focus, .gm-textarea:focus {
  outline: none; border-color: var(--accent); background: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.gm-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A87AC' d='M6 8 0 1.4 1.4 0 6 4.6 10.6 0 12 1.4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.gm-textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.gm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .gm-field-row { grid-template-columns: 1fr; } }
.gm-form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.gm-form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; text-align: center; line-height: 1.5; }
.gm-form-success {
  display: none;
  flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 24px 8px;
}
.gm-form.is-sent .gm-form-body { display: none; }
.gm-form.is-sent .gm-form-success { display: flex; }
.gm-form-success .ok {
  width: 54px; height: 54px; border-radius: 50%;
  background: color-mix(in oklab, #2EAF6A 16%, var(--paper));
  color: #1E8A55; display: grid; place-items: center;
}
.gm-form-success .ok svg { width: 26px; height: 26px; }
.gm-form-success h3 { font-size: 22px; letter-spacing: -0.02em; }
.gm-form-success p { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 36ch; }

/* Contact / demo aside */
.gm-aside { display: flex; flex-direction: column; gap: 14px; }
.gm-aside-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 18px; padding: 22px 24px;
}
.gm-aside-card.dark {
  background: linear-gradient(160deg, #211A63 0%, #14103E 100%);
  border-color: transparent; color: #fff;
}
.gm-aside-card h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.gm-aside-card.dark h4 { color: #fff; }
.gm-step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 10px 0; }
.gm-step:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.12); }
.gm-step .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
}
.gm-step .s-title { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: #fff; }
.gm-step .s-desc { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.45; margin-top: 2px; }
.gm-contact-line { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; }
.gm-contact-line:not(:last-child) { border-bottom: 1px solid var(--rule); }
.gm-contact-line .ci {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: color-mix(in oklab, var(--accent) 12%, var(--paper));
  color: var(--accent-deep); display: grid; place-items: center;
}
.gm-contact-line .ci svg { width: 18px; height: 18px; }
.gm-contact-line .cl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.gm-contact-line .cv { font-size: 15px; color: var(--ink); margin-top: 3px; }
.gm-contact-line a.cv { text-decoration: underline; text-underline-offset: 3px; }
