/* RGMatrix marketing site — "clinical premium".
   Tokens mirror apps/web/src/index.css (graphite & white, one deep-teal accent, Geist). The Dot Monogram is the motif.
   Motion: transform/opacity only, critically damped curves, everything off under prefers-reduced-motion. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/geist-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/geist-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/geist-mono-latin-wght-normal.woff2') format('woff2-variations');
}

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light;
  --bg: #f7f7f8;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f2f4;
  --surface-3: #e8e8eb;
  --ink-1: #111113;
  --ink-2: #4f4f57;
  --ink-3: #62626b;
  --line: rgb(9 9 11 / 0.08);
  --line-2: rgb(9 9 11 / 0.14);
  --accent: #0d746e;
  --accent-ink: #0a5f5a;
  --accent-soft: rgb(13 116 110 / 0.08);
  --accent-line: rgb(13 116 110 / 0.3);
  --accent-glow: rgb(20 184 166 / 0.22);
  --btn-bg: #111113;
  --btn-bg-hover: #2b2b31;
  --btn-ink: #ffffff;
  --dot: rgb(9 9 11 / 0.12);
  --dot-strong: rgb(9 9 11 / 0.22);
  --header-bg: rgb(247 247 248 / 0.72);
  --warn-bg: #fff7e6;
  --warn-line: #f3d18b;
  --warn-ink: #7a4a00;
  --shadow-sm: 0 1px 2px rgb(16 16 24 / 0.04), 0 1px 3px rgb(16 16 24 / 0.05);
  --shadow-md: 0 2px 4px -1px rgb(16 16 24 / 0.05), 0 10px 24px -8px rgb(16 16 24 / 0.12);
  --shadow-lg: 0 6px 12px -4px rgb(16 16 24 / 0.06), 0 26px 56px -16px rgb(16 16 24 / 0.2);
  --shadow-xl: 0 12px 24px -10px rgb(16 16 24 / 0.1), 0 50px 110px -30px rgb(16 16 24 / 0.32);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.2, 0.9, 0.25, 1);
  --header-h: 64px;
  --gutter: 24px;
  --maxw: 1200px;
  /* the "dark band" palette, used by Alex, the CTA cards and films whatever the theme */
  --d-bg: #0a0a0c;
  --d-surface: #141417;
  --d-ink-1: #f4f4f5;
  --d-ink-2: #b4b4bc;
  --d-line: rgb(255 255 255 / 0.1);
  --d-accent: #34c4b2;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #09090b;
  --bg-2: #0d0d10;
  --surface: #111114;
  --surface-2: #18181c;
  --surface-3: #222227;
  --ink-1: #f4f4f5;
  --ink-2: #b0b0b9;
  --ink-3: #9a9aa4;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --accent: #34c4b2;
  --accent-ink: #5fd6c6;
  --accent-soft: rgb(52 196 178 / 0.1);
  --accent-line: rgb(52 196 178 / 0.35);
  --accent-glow: rgb(52 196 178 / 0.2);
  --btn-bg: #f4f4f5;
  --btn-bg-hover: #ffffff;
  --btn-ink: #0a0a0c;
  --dot: rgb(255 255 255 / 0.1);
  --dot-strong: rgb(255 255 255 / 0.2);
  --header-bg: rgb(9 9 11 / 0.7);
  --warn-bg: #2a1f0a;
  --warn-line: #6b4d12;
  --warn-ink: #f5d08a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 2px 4px -1px rgb(0 0 0 / 0.4), 0 10px 24px -8px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 6px 12px -4px rgb(0 0 0 / 0.5), 0 26px 56px -16px rgb(0 0 0 / 0.7);
  --shadow-xl: 0 12px 24px -10px rgb(0 0 0 / 0.5), 0 50px 110px -30px rgb(0 0 0 / 0.8);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-1);
  font: 400 1rem/1.6 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.35s ease, color 0.35s ease;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink-1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; transition: transform 0.2s var(--ease); }
.skip:focus { transform: translateY(72px); }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; }
.center .btn-row, .btn-row.center { justify-content: center; }

h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; }
h3, .h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.center .lead, .section-head.center .lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 0.78rem/1 'Geist Mono', ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.eb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.fine { font-size: 0.85rem; color: var(--ink-3); line-height: 1.5; }
.ph { background: var(--warn-bg); color: var(--warn-ink); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------------------------------------------------------------- buttons, links, chips */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 550; font-size: 0.97rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-hover); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--d-accent); color: #04201d; }
.btn-accent:hover { background: #4fd3c2; }
.btn-ghost { border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink-1); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-ghost-dark { border: 1px solid rgb(255 255 255 / 0.22); color: var(--d-ink-1); }
.btn-ghost-dark:hover { border-color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.06); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; color: var(--accent-ink); padding: 6px 0; }
.link-arrow .ico { transition: transform 0.25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.flip-x { transform: scaleX(-1); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink-1); }
.icon-btn.bordered { border: 1px solid var(--line-2); }
.theme-toggle .i-moon { display: none; }
[data-theme='dark'] .theme-toggle .i-moon { display: block; }
[data-theme='dark'] .theme-toggle .i-sun { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 75%, transparent); color: var(--ink-2); font-size: 0.88rem; font-weight: 500; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.pill:hover { border-color: var(--accent-line); color: var(--ink-1); }
.pill-n { font-family: 'Geist Mono', monospace; font-size: 0.75rem; color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 500; color: var(--ink-1); transition: border-color 0.2s, background-color 0.2s; }
.mod-chip .ico { color: var(--accent); }
.mod-chip:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.plan-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 550; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.pc-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.plan-chip.plan-insight .pc-dot { background: var(--ink-3); }
.plan-chip.plan-growth { color: var(--accent-ink); border-color: var(--accent-line); background: var(--accent-soft); }
.plan-chip.plan-enterprise { color: var(--ink-1); border-color: var(--line-2); }
.plan-chip.plan-enterprise .pc-dot { background: var(--ink-1); }
.badge-note { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 26px; padding: 6px 12px; border-radius: 999px; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); font-size: 0.85rem; font-weight: 500; }

.checks { display: grid; gap: 10px; margin: 22px 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink-1); }
.checks .ico { margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.checks.sm { gap: 8px; margin: 16px 0 0; font-size: 0.93rem; }
.checks.sm .ico { width: 20px; height: 20px; margin-top: 2px; }

/* ---------------------------------------------------------------- logo / mark */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 620; font-size: 1.24rem; letter-spacing: -0.04em; }
.mark { width: 28px; height: 28px; flex: none; }
.mark circle { fill: var(--ink-1); }
.mark .accent { fill: var(--accent); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.site-header::before { content: ''; position: absolute; inset: 0; background: var(--header-bg); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.site-header[data-scrolled]::before, .site-header[data-menu]::before { opacity: 1; }
.site-header[data-scrolled] { box-shadow: 0 1px 0 var(--line); }
.header-row { position: relative; height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px; border-radius: 999px; font-size: 0.93rem; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.nav-link:hover, .nav-link[aria-expanded='true'] { color: var(--ink-1); background: var(--surface-2); }
.nav-link[aria-current='page'], .nav-link[data-current] { color: var(--ink-1); }
.nav-link[aria-current='page']::after, .nav-link[data-current]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 4px; }
.nav-link .chev { transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded='true'] .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.menu-btn { display: none; }
.signin { color: var(--ink-1); }

.has-mega { position: static; }
.mega { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 6px); visibility: hidden; opacity: 0; transform: translateY(-6px) scale(0.99); transform-origin: top center; transition: opacity 0.18s ease, transform 0.25s var(--ease), visibility 0s linear 0.25s; }
.mega[data-open] { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.3s var(--spring), visibility 0s; }
.mega-inner { background: color-mix(in srgb, var(--surface) 97%, transparent); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xl); padding: 22px; }
.mega-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 14px; }
.mega-h { font: 500 0.72rem/1.2 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 6px 8px 10px; }
.mega-col a { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 7px 8px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; line-height: 1.25; color: var(--ink-1); transition: background-color 0.15s; }
.mega-col a:hover, .mega-col a[aria-current='page'] { background: var(--surface-2); }
.mi { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); flex: none; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; padding: 12px 8px 0; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.9rem; }

.drawer { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.3s var(--spring); }
.drawer[hidden] { display: none; }
.drawer[data-open] { opacity: 1; transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 24px; }
.drawer-main { display: grid; gap: 2px; margin: 8px 0 22px; }
.drawer-main a { display: flex; align-items: center; min-height: 52px; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.drawer-h { font: 500 0.75rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); margin-bottom: 8px; }
.drawer-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; }
.drawer-group .mega-h { padding-left: 0; }
.drawer-group a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink-1); font-weight: 500; }
.drawer-group a .ico { color: var(--accent); }
.drawer-actions { display: grid; gap: 10px; padding-block: 14px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; }
.drawer-actions .btn { width: 100%; }

/* ---------------------------------------------------------------- reveal (JS adds .in) */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.7s var(--ease), transform 0.9s var(--spring); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in, .js.no-reveal [data-reveal] { opacity: 1; transform: none; }

/* Dot rule: the monogram's dots light up in sequence */
.dotrule { display: flex; gap: 12px; overflow: hidden; height: 8px; margin-bottom: 56px; }
.js .dotrule[data-reveal] { opacity: 1; transform: none; }
.dotrule i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dot-strong); opacity: 0.35; transform: scale(0.6); transition: opacity 0.5s ease, transform 0.6s var(--spring), background-color 0.5s; transition-delay: calc(var(--i) * 22ms); }
.dotrule.in i, .no-reveal .dotrule i { opacity: 1; transform: none; }
.dotrule i.a { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
html:not(.js) .dotrule i { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 7.5vw, 112px); }
.pricing-teaser { padding-bottom: 0; }
.section.tight { padding-block: clamp(40px, 5vw, 72px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 16px; }
.center-link { text-align: center; margin-top: 28px; }

/* hero dot grid (shared by every page hero) */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.hero-grid { position: absolute; inset: -2px; background-image: radial-gradient(circle, var(--dot) 1.15px, transparent 1.6px); background-size: 24px 24px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 28%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 28%, #000 25%, transparent 75%); }
.hero-bg::after { content: ''; position: absolute; left: 50%; top: -20%; width: min(1100px, 120vw); aspect-ratio: 1.6; transform: translateX(-50%); background: radial-gradient(closest-side, var(--accent-glow), transparent 70%); opacity: 0.55; }
.hero-bg.soft::after { opacity: 0.35; }
.hero-bg i { position: absolute; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--accent); opacity: 0; animation: litIn 1.4s var(--ease) forwards; animation-delay: calc(1.2s + var(--d)); }
@keyframes litIn { to { opacity: 0.5; } }

/* ---------------------------------------------------------------- HOME hero */
.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 7vw, 88px); }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2.4vw, 28px); }
.hero-brand { display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.hero-mark { width: clamp(70px, 10.5vw, 132px); height: auto; aspect-ratio: 1; overflow: visible; }
.wordmark { font-size: clamp(3.3rem, 11.5vw, 9rem); line-height: 0.92; letter-spacing: -0.055em; font-weight: 620; }
.hero-h { display: block; max-width: 22ch; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.14; letter-spacing: -0.028em; font-weight: 560; color: var(--ink-1); }
.hero-lead { margin-top: 20px; max-width: 58ch; font-size: clamp(1.02rem, 1.35vw, 1.15rem); line-height: 1.6; color: var(--ink-2); }
.hero-ctas { margin-top: 30px; justify-content: center; }
.hero .pills { margin-top: 26px; }

.mark-xl circle { transform-box: fill-box; transform-origin: center; }
.mark-xl .ghost { fill: var(--dot); }
.mark-xl .d { fill: var(--ink-1); }
.mark-xl .accent { fill: var(--accent); }
.mark-xl .ring { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: 0; }
.js .mark-xl .d { animation: dotIn 1s var(--spring) both; animation-delay: calc(0.12s + var(--i) * 0.075s); }
.js .mark-xl .ghost { animation: ghostIn 0.6s ease both; }
.js .mark-xl .ring { animation: ring 1.6s var(--ease) 1.05s both; }
@keyframes dotIn { from { transform: translate(var(--dx), var(--dy)) scale(0.25); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes ghostIn { from { opacity: 0; } }
@keyframes ring { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(3.6); } }
.js .hero .wordmark { animation: rise 1s var(--spring) 0.35s both; }
.js .hero .hero-h { animation: rise 1s var(--spring) 0.5s both; }
.js .hero .hero-lead { animation: rise 1s var(--spring) 0.62s both; }
.js .hero .hero-ctas, .js .hero .pills { animation: rise 1s var(--spring) 0.74s both; }
.js .hero .reel-wrap { animation: rise 1.2s var(--spring) 0.8s both; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } }

.reel-wrap { margin-top: clamp(40px, 6vw, 72px); perspective: 1800px; max-width: calc(1120px + var(--gutter) * 2); }
.reel { position: relative; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p, 1)) * 18deg)) scale(calc(0.9 + var(--p, 1) * 0.1)); will-change: transform; }
.reel .film-frame { border-radius: clamp(14px, 1.8vw, 24px); box-shadow: var(--shadow-xl), 0 0 0 1px var(--line); }
.reel::after { content: ''; position: absolute; inset: 8% 6% -6%; z-index: -1; background: radial-gradient(closest-side, var(--accent-glow), transparent); filter: blur(30px); opacity: 0.8; }
.reel-sound { position: absolute; left: 18px; bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: rgb(10 10 12 / 0.55); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); color: #fff; font-weight: 550; font-size: 0.9rem; border: 1px solid rgb(255 255 255 / 0.18); transition: background-color 0.2s, transform 0.15s var(--ease); }
.reel-sound:hover { background: rgb(10 10 12 / 0.75); }
.reel-sound:active { transform: scale(0.97); }
.reel-sound .i-muted { display: none; }
.reel-sound[aria-pressed='true'] .i-sound { display: none; }
.reel-sound[aria-pressed='true'] .i-muted { display: block; }
.reel-cap { margin-top: 14px; text-align: center; font-size: 0.82rem; color: var(--ink-3); }
[data-hero-film] .film-ui { top: 18px; bottom: auto; }

/* films */
.film-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--d-bg); aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-ui { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.film-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgb(10 10 12 / 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / 0.18); transition: background-color 0.2s, transform 0.15s var(--ease); }
.film-btn:hover { background: rgb(10 10 12 / 0.72); }
.film-btn:active { transform: scale(0.94); }
.film-btn .i-pause, .film-btn .i-sound { display: none; }
[data-playing] .film-btn .i-pause { display: block; }
[data-playing] .film-btn .i-play { display: none; }
.film-btn[aria-pressed='true'] .i-sound { display: block; }
.film-btn[aria-pressed='true'] .i-muted { display: none; }
.film figcaption, .shot figcaption { margin-top: 12px; font-size: 0.8rem; color: var(--ink-3); }

/* screenshots */
.shot-frame { overflow: hidden; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.shot-bar span { margin-left: 10px; font-size: 0.74rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-img { aspect-ratio: 16 / 10; background: var(--surface-2); }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot-img .dk { display: none; }
[data-theme='dark'] .shot-img .lt { display: none; }
[data-theme='dark'] .shot-img .dk { display: block; }

/* facts */
.facts { padding-block: clamp(48px, 6vw, 80px) 0; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.facts-row li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 26px 12px; text-align: center; }
.facts-row li + li { border-left: 1px solid var(--line); }
.fact-n { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact-l { color: var(--ink-3); font-size: 0.92rem; }

/* jobs */
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.job { position: relative; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.job-n { position: absolute; right: 20px; top: 20px; font: 500 0.78rem/1 'Geist Mono', monospace; color: var(--ink-3); }
.job-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.job h3 { margin-bottom: 8px; }
.job p { color: var(--ink-2); font-size: 0.96rem; }
.job::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease) 0.25s; }
.job.in::after { transform: scaleX(0.3); }

/* deep dives */
.deep { padding-block: clamp(40px, 5vw, 72px); }
.jobs-sec + .deep { padding-top: 0; }
.deep-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.deep.flip .deep-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.deep.flip .deep-copy { order: 2; }
.deep h2 { margin-bottom: 16px; }
.deep-media { perspective: 1600px; }
.deep-media > .shot { transform: rotateY(calc((1 - var(--p, 1)) * -14deg)) rotateX(calc((1 - var(--p, 1)) * 4deg)) translate3d(0, calc((1 - var(--p, 1)) * 30px), 0); transform-origin: 0 50%; will-change: transform; }
.deep.flip .deep-media > .shot { transform: rotateY(calc((1 - var(--p, 1)) * 14deg)) rotateX(calc((1 - var(--p, 1)) * 4deg)) translate3d(0, calc((1 - var(--p, 1)) * 30px), 0); transform-origin: 100% 50%; }
.feat-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }

/* modules grid */
.modules-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.mod-groups { display: grid; gap: 36px; }
.mod-group-h { display: flex; align-items: center; gap: 10px; font: 500 0.76rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 14px; }
.mod-group-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.mod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mod-group-tag { font: 500 0.7rem/1.2 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); }
.mod-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--spring), box-shadow 0.35s ease, border-color 0.25s, opacity 0.7s var(--ease); }
.mod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.mod-card:active { transform: scale(0.985); }
.mod-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mod-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.mod-ico.lg { width: 44px; height: 44px; }
.mod-film { display: inline-flex; align-items: center; gap: 5px; font: 500 0.72rem/1 'Geist Mono', monospace; color: var(--ink-3); padding: 5px 8px; border-radius: 999px; background: var(--surface-2); }
.mod-title { font-weight: 600; font-size: 1.04rem; letter-spacing: -0.012em; }
.mod-blurb { color: var(--ink-2); font-size: 0.9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
.mod-plan { font-size: 0.76rem; font-weight: 550; color: var(--ink-3); }
.mod-plan.plan-growth { color: var(--accent-ink); }
.mod-plan.plan-enterprise { color: var(--ink-1); }
.mod-go { color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.2s; }
.mod-card:hover .mod-go { color: var(--accent); transform: translate(2px, -2px); }

/* dark band (Alex) */
.band-dark { position: relative; isolation: isolate; border-block: 1px solid var(--d-line); background: var(--d-bg); color: var(--d-ink-1); padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.band-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgb(255 255 255 / 0.07) 1.15px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 75% 50%, #000 20%, transparent 75%); }
.band-dark::after { content: ''; position: absolute; z-index: -1; right: -10%; top: 10%; width: 70%; aspect-ratio: 1.3; background: radial-gradient(closest-side, rgb(52 196 178 / 0.18), transparent 70%); }
.band-dark .eyebrow { color: var(--d-accent); }
.band-dark .eb-dot { background: var(--d-accent); box-shadow: 0 0 0 4px rgb(52 196 178 / 0.15); }
.band-dark .lead { color: var(--d-ink-2); }
.band-dark :focus-visible { outline-color: var(--d-accent); }
.alex-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.alex h2 { margin-bottom: 16px; }
.alex-points { display: grid; gap: 18px; margin: 30px 0 34px; }
.alex-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; color: var(--d-ink-2); }
.alex-points b { display: block; color: var(--d-ink-1); font-weight: 600; margin-bottom: 2px; }
.ap-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgb(52 196 178 / 0.12); color: var(--d-accent); }
.alex-stage { position: relative; perspective: 1600px; padding-bottom: 48px; }
.alex-shot { transform: rotateY(calc((1 - var(--p, 1)) * 14deg)) translate3d(0, calc((1 - var(--p, 1)) * 30px), 0); transform-origin: 100% 50%; }
.alex-shot .shot-frame { background: var(--d-surface); box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.9), 0 0 0 1px var(--d-line); }
.alex-shot .shot-bar { background: #18181c; border-color: var(--d-line); }
.alex-shot .shot-bar i { background: #2b2b31; }
.voice-card { position: absolute; left: -24px; bottom: 0; width: min(330px, 78%); padding: 18px 18px 16px; border-radius: 18px; background: rgb(20 20 23 / 0.78); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgb(255 255 255 / 0.12); box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.8); transform: translate3d(0, calc((1 - var(--p, 1)) * 60px), 0); }
.vc-top { display: flex; align-items: center; gap: 10px; }
.vc-mic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--d-accent); color: #04201d; }
.vc-l { font-size: 0.82rem; color: var(--d-ink-2); }
.vc-q { margin: 12px 0 14px; font-size: 1rem; font-weight: 550; line-height: 1.4; color: var(--d-ink-1); }
.vc-wave { display: flex; align-items: center; gap: 5px; height: 28px; }
.vc-wave i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--d-accent); opacity: 0.85; transform-origin: center; }
.js .in .vc-wave i, .no-reveal .vc-wave i { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.13s); }
@keyframes wave { from { transform: scaleY(1); } to { transform: scaleY(4.4); } }

/* data flow diagram */
.flow { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto minmax(30px, 1fr) auto; align-items: center; gap: 0; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.flow-col { display: grid; gap: 10px; }
.flow-src, .flow-out { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.9rem; font-weight: 550; }
.flow-src .ico, .flow-out .ico { color: var(--accent); }
.flow-lines { position: relative; display: grid; gap: 10px; height: 100%; align-content: center; }
.flow-lines i { position: relative; display: block; height: 42px; overflow: hidden; }
.flow-lines i::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--line-2); }
.flow-lines i::after { content: ''; position: absolute; top: calc(50% - 3px); left: 0; width: 100%; height: 6px; background: radial-gradient(circle at 3px 3px, var(--accent) 2.6px, transparent 3.2px) no-repeat; transform: translateX(-8px); opacity: 0; }
.js .flow.in .flow-lines i::after, .no-reveal .flow-lines i::after { animation: travel 2.6s var(--ease) infinite; }
.flow-lines i:nth-child(2)::after { animation-delay: 0.4s !important; }
.flow-lines i:nth-child(3)::after { animation-delay: 0.8s !important; }
.flow-lines.out i::after { animation-delay: 1.3s !important; }
@keyframes travel { 0% { transform: translateX(-8px); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(calc(100% - 6px)); opacity: 0; } }
.flow-core { display: grid; justify-items: center; gap: 8px; padding: 22px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--accent-line); box-shadow: var(--shadow-md), 0 0 0 6px var(--accent-soft); font-weight: 620; letter-spacing: -0.03em; }
.flow-mark { width: 46px; height: 46px; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card, .source { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.trust-card h3, .source h3 { margin: 16px 0 6px; font-size: 1.06rem; }
.trust-card p, .source p { color: var(--ink-2); font-size: 0.94rem; }
.tc-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier, .tier-mini { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tier.featured, .tier-mini.featured { border-color: var(--accent-line); box-shadow: var(--shadow-lg), 0 0 0 4px var(--accent-soft); }
.tier-flag { position: absolute; top: -12px; left: 28px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 600; }
[data-theme='dark'] .tier-flag { color: #04201d; }
.tier-mini h3, .tier-name { font-size: 1.3rem; letter-spacing: -0.02em; }
.tm-tag, .tier-tag { color: var(--ink-2); margin-top: 4px; }
.tm-price, .tier-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tm-amt, .tp-amt { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 620; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tm-from, .tp-from { font-size: 0.85rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.tm-per, .tp-per { color: var(--ink-3); font-size: 0.9rem; }
.tier-bill { color: var(--ink-3); font-size: 0.85rem; margin-top: 2px; min-height: 1.4em; }
.tier-for { margin: 16px 0 20px; color: var(--ink-2); font-size: 0.95rem; }
.tier .btn { width: 100%; }
.tier-seats { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 550; font-size: 0.93rem; }
.tier-seats .ico { color: var(--accent); }
.billing { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.billing button { min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 550; font-size: 0.92rem; color: var(--ink-2); transition: background-color 0.25s var(--ease), color 0.2s, box-shadow 0.25s; }
.billing button[aria-checked='true'] { background: var(--surface); color: var(--ink-1); box-shadow: var(--shadow-sm); }
.bill-up { font-size: 0.78rem; color: var(--ink-3); }

.table-wrap { position: relative; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.93rem; }
.cmp th, .cmp td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { position: sticky; top: 0; background: var(--surface); font-size: 1rem; z-index: 1; }
.cmp td { text-align: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp tbody th { font-weight: 500; }
.cmp .grp th { background: var(--surface-2); font: 500 0.74rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding-block: 11px; }
.cmp .hl { background: var(--accent-soft); }
.cmp .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.cmp .no { color: var(--ink-3); }
.addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.addons { margin: 18px 0; border-top: 1px solid var(--line); }
.addons-grid > *, .qa-grid > *, .contact-grid > *, .legal-grid > *, .deep-grid > *, .uc-grid > *, .alex-grid > * { min-width: 0; }
.addons li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ad-price { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ad-u { font-weight: 400; color: var(--ink-3); font-size: 0.85rem; }

/* faq */
.faq { display: grid; gap: 10px; }
.addons-grid .faq { margin-top: 18px; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 20px; font-weight: 550; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; color: var(--ink-3); transition: transform 0.3s var(--spring); }
.faq-item[open] .faq-ico { transform: rotate(45deg); color: var(--accent); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-item[open] .faq-a { animation: faqIn 0.35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* final CTA / CTA band */
.final, .cta-band { padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.final-card, .cta-card { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(20px, 2.4vw, 32px); background: var(--d-bg); color: var(--d-ink-1); padding: clamp(36px, 6vw, 80px); box-shadow: var(--shadow-xl); }
.cta-dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgb(255 255 255 / 0.09) 1.15px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000, transparent 70%); }
.final-card::after, .cta-card::after { content: ''; position: absolute; z-index: -1; right: -15%; top: -40%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(52 196 178 / 0.22), transparent 70%); }
.cta-mark { width: 44px; height: 44px; margin-bottom: 24px; }
.cta-mark circle { fill: var(--d-ink-1); }
.cta-mark .accent { fill: var(--d-accent); }
.final-copy h2, .cta-copy h2 { max-width: 20ch; }
.final-copy p, .cta-copy p { margin-top: 12px; color: var(--d-ink-2); font-size: 1.1rem; }
.cta-copy .btn-row { margin-top: 30px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0 32px; counter-reset: s; }
.steps li { display: grid; align-content: start; gap: 6px; padding: 20px; border-radius: 16px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--d-line); }
.step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--d-accent); color: #04201d; font-weight: 650; font-size: 0.9rem; margin-bottom: 8px; }
.step-t { font-weight: 600; font-size: 1.05rem; }
.step-d { color: var(--d-ink-2); font-size: 0.93rem; }

/* ---------------------------------------------------------------- sub-page heroes */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-hero h1 + .lead { margin-top: 18px; }
.page-hero .pills { margin-top: 28px; }
.page-hero .center .lead { margin-inline: auto; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 28px; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.breadcrumb a:hover { color: var(--ink-1); }
.mod-hero-grid { max-width: 820px; }
.mod-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.mod-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.mod-hero .btn-row { margin-top: 30px; }
.mod-media { margin-top: clamp(40px, 5vw, 64px); perspective: 1800px; }
.mod-media[data-tilt] > * { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p, 1)) * 14deg)) scale(calc(0.94 + var(--p, 1) * 0.06)); will-change: transform; }
.mod-media.second { margin-top: 0; }
.mod-media.second > .shot { transform: translate3d(0, calc((1 - var(--p, 1)) * 40px), 0) scale(calc(0.96 + var(--p, 1) * 0.04)); }
.see-h { margin-bottom: 22px; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.qa-grid .h3 { margin-bottom: 18px; }
.questions { display: grid; gap: 10px; }
.questions li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 550; }
.qn { font: 500 0.8rem/1 'Geist Mono', monospace; color: var(--accent-ink); }
.qa-c .checks { margin-top: 0; }
.qa-c .checks li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.ask { position: relative; padding: 28px 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.ask::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: var(--accent); }
.ask-h { display: flex; align-items: center; gap: 8px; font: 500 0.78rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); }
.ask-q { margin: 14px 0 8px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 560; letter-spacing: -0.02em; line-height: 1.3; }
.ask-note { color: var(--ink-3); font-size: 0.93rem; margin-bottom: 8px; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.related-h { font-size: 0.9rem; color: var(--ink-3); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pager-link { display: grid; gap: 6px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s, transform 0.3s var(--spring); }
.pager-link:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.pager-link.next { text-align: right; }
.pl-k { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--ink-3); }
.next .pl-k { justify-content: flex-end; }
.pl-t { font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em; }

/* animated run (guided analysis / projects) */
.run { display: grid; gap: 10px; max-width: 760px; }
.js .run[data-reveal] { opacity: 1; transform: none; }
.run li { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.run-dot { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; transition: background-color 0.3s, border-color 0.3s, color 0.3s; transition-delay: calc(0.6s + var(--i) * 0.55s); }
.run-t { font-weight: 550; }
.run-bar { height: 3px; margin-top: 8px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.run-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); transition-delay: calc(0.1s + var(--i) * 0.55s); }
.run.in .run-bar i, .no-reveal .run-bar i, html:not(.js) .run-bar i { transform: none; }
.run.in .run-dot, .no-reveal .run-dot, html:not(.js) .run-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
[data-theme='dark'] .run.in .run-dot { color: #04201d; }

/* features */
.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feat-card .h3 { margin-bottom: 8px; }
.feat-card > p { color: var(--ink-2); }

/* use cases */
.uc { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.uc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.uc.flip .uc-media { order: 2; }
.uc-media { perspective: 1600px; }
.uc-media > .film { transform: rotateY(calc((1 - var(--p, 1)) * -12deg)) translate3d(0, calc((1 - var(--p, 1)) * 24px), 0); transform-origin: 0 50%; }
.uc.flip .uc-media > .film { transform: rotateY(calc((1 - var(--p, 1)) * 12deg)) translate3d(0, calc((1 - var(--p, 1)) * 24px), 0); transform-origin: 100% 50%; }
.uc-n { font: 500 0.8rem/1 'Geist Mono', monospace; color: var(--accent-ink); margin-bottom: 12px; }
.uc-n span { color: var(--ink-3); }
.uc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 20px; }
.uc-dl { display: grid; gap: 16px; }
.uc-dl dt { font: 500 0.72rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 6px; }
.uc-dl dd ul { display: grid; gap: 4px; }
.uc-dl dd li { position: relative; padding-left: 16px; color: var(--ink-2); }
.uc-dl dd li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--dot-strong); }
.uc-decision { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); font-weight: 600; }
.uc-decision span { display: block; font: 500 0.72rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); margin-bottom: 8px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.book { margin-top: 32px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.book .h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.book .h3 .ico { color: var(--accent); }
.book > p { color: var(--ink-2); font-size: 0.95rem; }
.book-steps { display: grid; gap: 10px; margin-top: 16px; }
.book-steps li { display: flex; align-items: center; gap: 12px; font-weight: 550; font-size: 0.95rem; }
.book-steps .step-n { width: 26px; height: 26px; margin: 0; font-size: 0.8rem; background: var(--accent); color: #fff; }
[data-theme='dark'] .book-steps .step-n { color: #04201d; }
.contact-meta { display: grid; gap: 14px; margin-top: 28px; font-size: 0.93rem; color: var(--ink-2); }
.contact-meta a { color: var(--accent-ink); font-weight: 550; }
.cm-k { display: block; font: 500 0.72rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 6px; }
.form-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.interest { border: 0; padding: 0; margin: 0 0 20px; }
.interest legend { font-weight: 550; margin-bottom: 10px; font-size: 0.93rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 42px; padding: 0 8px; border-radius: 10px; font-size: 0.9rem; font-weight: 550; color: var(--ink-2); cursor: pointer; text-align: center; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.seg input:checked + span { background: var(--surface); color: var(--ink-1); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.88rem; font-weight: 550; margin-bottom: 6px; }
.req { color: var(--accent-ink); margin-left: 3px; }
.opt { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-1); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid='true'] { border-color: #c82838; }
.field-err { min-height: 0; font-size: 0.83rem; color: #c82838; margin-top: 4px; }
[data-theme='dark'] .field-err, [data-theme='dark'] .field [aria-invalid='true'] { color: #ff8a95; border-color: #ff8a95; }
.field-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 18px; font-size: 0.9rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.form-foot .fine { flex: 1; min-width: 200px; }
.form-status { margin-top: 14px; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.ok { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.form-status.err { padding: 12px 14px; border-radius: 12px; background: rgb(200 40 56 / 0.08); color: #c82838; }
.form-card > .fine:last-child { margin-top: 12px; }

/* legal */
.legal-hero { padding-bottom: 8px; }
.legal-head { max-width: calc(1060px + var(--gutter) * 2); }
.legal-head > * { margin-left: calc(220px + clamp(28px, 5vw, 72px)); max-width: 72ch; }
@media (max-width: 960px) { .legal-head > * { margin-left: 0; } }
.legal-meta { margin-top: 12px; color: var(--ink-3); font-size: 0.92rem; }
.draft { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: 16px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }
.draft .ico { margin-top: 2px; }
.draft-t { font-weight: 650; margin-bottom: 2px; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; max-width: calc(1060px + var(--gutter) * 2); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-h { font: 500 0.72rem/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 12px; }
.legal-toc ol { display: grid; gap: 4px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); font-size: 0.92rem; }
.legal-toc a:hover { color: var(--ink-1); border-left-color: var(--accent); }
.prose { max-width: 72ch; color: var(--ink-2); }
.prose section + section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--ink-1); margin-bottom: 18px; }
.prose p, .prose ul, .prose ol, .prose .table-wrap { margin-bottom: 14px; }
.prose b { color: var(--ink-1); font-weight: 600; }
.prose ul li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 0.66em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.legal-table th, .legal-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table thead th { background: var(--surface-2); color: var(--ink-1); }
.legal-table tbody th { color: var(--ink-1); font-weight: 550; }

/* 404 */
.nf .nf-mark { width: 96px; height: 96px; margin: 0 auto 28px; }
.nf .btn-row { margin-top: 28px; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 64px 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(0, 3fr) minmax(150px, 0.8fr); gap: 40px; }
.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 30ch; }
.footer-brand .footer-host { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-3); }
.footer-tools { margin-top: 18px; }
.footer-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col ul + .footer-h { margin-top: 22px; }
.footer-h { font: 500 0.72rem/1.2 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 10px; }
.footer-col li a { display: inline-block; padding: 5px 0; color: var(--ink-2); transition: color 0.2s; }
.footer-col li a:hover { color: var(--ink-1); }
.footer-bottom { display: grid; gap: 6px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.82rem; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jobs, .trust { grid-template-columns: repeat(2, 1fr); }
  .mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-mods { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .deep-grid, .alex-grid, .uc-grid, .qa-grid, .contact-grid, .addons-grid { grid-template-columns: 1fr; }
  .deep-grid, .deep.flip .deep-grid { grid-template-columns: 1fr; }
  .deep.flip .deep-copy, .uc.flip .uc-media { order: 0; }
  .uc-media { order: 0; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .sources { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .steps { grid-template-columns: 1fr; }
  .voice-card { left: 12px; }
  .alex-stage { padding-bottom: 72px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row li:nth-child(3) { border-left: 0; }
  .facts-row li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .flow-col { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .flow-core { grid-auto-flow: column; align-items: center; padding: 12px 18px; }
  .flow-mark { width: 30px; height: 30px; }
  .flow-lines { display: none; }
  .feat-cards { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .addons li { flex-direction: column; gap: 2px; }
  .cmp { min-width: 0; font-size: 0.8rem; table-layout: fixed; }
  .cmp th, .cmp td { padding: 10px 6px; word-break: break-word; hyphens: auto; }
  .cmp th:first-child, .cmp td:first-child { width: 38%; padding-left: 12px; }
  .cmp thead th { font-size: 0.82rem; }
  .ad-price { text-align: left; white-space: normal; }
  .pager-link.next { text-align: left; }
  .next .pl-k { justify-content: flex-start; }
  .reel-sound span { font-size: 0.84rem; }
  .reel-sound { left: 10px; bottom: 10px; }
  [data-hero-film] .film-ui { top: 10px; right: 10px; }
  .footer-mods { grid-template-columns: 1fr 1fr; }
  .footer-mods .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hide-sm { display: none !important; }
  .jobs, .trust { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: 1fr; gap: 8px; }
  .mod-card { display: grid; grid-template-columns: 40px 1fr auto; grid-template-areas: 'ico title plan' 'ico tag plan'; column-gap: 14px; row-gap: 0; align-items: center; padding: 12px 14px; border-radius: 14px; }
  .mod-top { grid-area: ico; margin: 0; }
  .mod-film, .mod-blurb, .mod-go { display: none; }
  .mod-title { grid-area: title; font-size: 1rem; }
  .mod-group-tag { grid-area: tag; }
  .mod-foot { grid-area: plan; padding: 0; margin: 0; }
  .job { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 18px; }
  .job-ico { grid-row: span 2; margin: 0; }
  .job h3 { margin: 0 0 2px; }
  .job-n { display: none; }
  .steps li { grid-template-columns: 30px 1fr; column-gap: 12px; padding: 14px 16px; }
  .steps .step-n { grid-row: span 2; margin: 0; }
  .final-card, .cta-card { padding: 32px 22px; }
  .footer-mods { grid-template-columns: 1fr 1fr; }
  .footer-mods .footer-col:last-child { grid-column: auto; }
  .seg { grid-template-columns: 1fr; }
  .hero-brand { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .pills { gap: 6px; }
  .mod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .wordmark { font-size: 3rem; }
  .hero-mark { width: 60px; }
}

/* ---------------------------------------------------------------- motion & contrast preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.12s !important; transition-delay: 0s !important; }
  .js [data-reveal] { transform: none; }
  .reel, .deep-media > .shot, .alex-shot, .voice-card, .mod-media > *, .uc-media > .film { transform: none !important; }
  .vc-wave i { animation: none !important; }
  .flow-lines i::after { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header::before, .mega-inner, .voice-card, .reel-sound, .film-btn { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header::before { background: var(--bg); }
  .mega-inner { background: var(--surface); }
}
@media (prefers-contrast: more) {
  :root { --line: rgb(9 9 11 / 0.3); --ink-3: #4f4f57; }
  :root[data-theme='dark'] { --line: rgb(255 255 255 / 0.35); --ink-3: #c4c4cc; }
}
@media print {
  .site-header, .drawer, .site-footer, .cta-band, .film-ui, .reel-sound { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------- HOME cover (motion hero, merged from hero-draft)
   Always dark, whatever the theme: full-bleed signal film under a scrim, the Dot Monogram as a texture,
   word-by-word headline and a live "Ask Alex" card. The site header floats over it until the page scrolls. */
.is-home .site-header:not([data-scrolled]):not([data-menu]) {
  --ink-1: #f4f4f5; --ink-2: #c4c4cc; --ink-3: #9a9aa4; --surface-2: rgb(255 255 255 / 0.08);
  --accent: #34c4b2; --btn-bg: #f4f4f5; --btn-bg-hover: #ffffff; --btn-ink: #0a0a0c; --line: rgb(255 255 255 / 0.1);
  color: var(--ink-1);
}
.cover {
  --c-bg: #0a0a0c; --c-ink-1: #f4f4f5; --c-ink-2: #b4b4bc; --c-ink-3: #8a8a94;
  --c-line: rgb(255 255 255 / 0.1); --c-line-2: rgb(255 255 255 / 0.16);
  --c-accent: #34c4b2; --c-accent-deep: #0d746e; --c-accent-soft: rgb(52 196 178 / 0.12); --c-glow: rgb(20 184 166 / 0.28);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
  min-height: 100vh; min-height: 100svh; background: var(--c-bg); color: var(--c-ink-1);
}
.cover :focus-visible { outline-color: var(--c-accent); }
.cover__media { position: absolute; inset: 0; z-index: 0; opacity: 0; transform: scale(1.06); transition: opacity 2.2s var(--ease), transform 3s var(--ease); }
.cover__media.is-ready { opacity: 1; transform: scale(1.02); }
.cover__media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 68% 50%; pointer-events: none; filter: hue-rotate(-38deg) saturate(1.05) brightness(1.04) contrast(1.04); }
.cover__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(10 10 12 / 0.92) 0%, rgb(10 10 12 / 0.78) 32%, rgb(10 10 12 / 0.22) 56%, rgb(10 10 12 / 0) 100%),
    linear-gradient(180deg, rgb(10 10 12 / 0.6) 0%, rgb(10 10 12 / 0) 22%, rgb(10 10 12 / 0) 66%, rgb(10 10 12 / 0.9) 100%); }
.cover__dots { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: radial-gradient(circle, rgb(255 255 255 / 0.16) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.4) 40%, transparent 70%); mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.4) 40%, transparent 70%); }
.cover__body { position: relative; z-index: 3; flex: 1; display: flex; align-items: center; }
.cover__in { display: grid; grid-template-columns: minmax(0, 720px) minmax(320px, 420px); justify-content: space-between; gap: 40px; align-items: center; padding-block: clamp(40px, 6vh, 72px) clamp(72px, 10vh, 112px); }
.cover .short { display: none; }
.cover-eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--c-line); background: rgb(255 255 255 / 0.04); font-size: 12.5px; font-weight: 500; color: var(--c-ink-2); }
.cover-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.cover-h1 { margin-top: 20px; font-weight: 600; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; color: var(--c-ink-1); }
.cover-h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.cover-h1 .w > span { display: inline-block; }
.js .cover-h1 .w > span { transform: translateY(110%); animation: cvRise 1s var(--ease) forwards; }
.cover-h1 .hl { color: var(--c-accent); }
.cover-sub { margin-top: 22px; max-width: 520px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: var(--c-ink-2); }
.cover-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.cbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 12px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; transition: transform 0.22s var(--spring), background-color 0.18s, border-color 0.18s; }
.cbtn:active { transform: translateY(1px); }
.cbtn--ink { background: var(--c-ink-1); color: #0a0a0c; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 10px 30px -12px rgb(0 0 0 / 0.6); }
.cbtn--ink:hover { background: #fff; transform: translateY(-1px); }
.cbtn--glass { background: rgb(255 255 255 / 0.05); border: 1px solid var(--c-line); color: var(--c-ink-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cbtn--glass:hover { background: rgb(255 255 255 / 0.09); border-color: var(--c-line-2); transform: translateY(-1px); }
.cbtn--glass .mark { width: 16px; height: 16px; }
.cbtn--glass .mark circle { fill: currentColor; }
.cbtn--glass .mark .accent { fill: var(--c-accent); }
.cover-proof { margin-top: clamp(28px, 4vh, 44px); display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cover-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-ink-2); }
.cover-proof li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink-3); }
.cover-proof li:first-child::before { background: var(--c-accent); }
.cover-cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--c-line); background: rgb(10 10 12 / 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--c-ink-2); font-size: 13px; font-weight: 500; transition: color 0.2s, border-color 0.2s; }
.cover-cue:hover { color: var(--c-ink-1); border-color: var(--c-line-2); }
.cover-cue svg { color: var(--c-accent); }
.js .cfx { opacity: 0; transform: translateY(16px); animation: cvFade 0.9s var(--ease) forwards; }
.js .cover-cue.cfx { transform: translate(-50%, 16px); animation-name: cvFadeCue; }
@keyframes cvRise { to { transform: none; } }
@keyframes cvFade { to { opacity: 1; transform: none; } }
@keyframes cvFadeCue { to { opacity: 1; transform: translateX(-50%); } }

/* Ask Alex card */
.cask { position: relative; border-radius: 18px; background: rgb(20 20 23 / 0.72); border: 1px solid var(--c-line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 40px 80px -40px rgb(0 0 0 / 0.8); padding: 18px 18px 16px; }
.js .cask { opacity: 0; transform: translateY(20px); animation: cvFade 1.1s var(--ease) 1.3s forwards; }
.cask::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: radial-gradient(120px 60px at 85% 100%, var(--c-glow), transparent 70%); opacity: 0.9; }
.cask__head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--c-ink-2); }
.cask__head b { font-weight: 500; color: var(--c-ink-1); white-space: nowrap; }
.cask__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c-accent); animation: cvPulse 1.8s ease-in-out infinite; }
@keyframes cvPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
.cask__q { margin-top: 14px; min-height: 46px; font-size: 15px; line-height: 1.4; color: var(--c-ink-1); display: flex; gap: 10px; align-items: flex-start; }
.cask__chev { color: var(--c-ink-3); }
.cask__q .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--c-accent); vertical-align: -2px; margin-left: 1px; animation: cvBlink 1s steps(2) infinite; }
@keyframes cvBlink { 50% { opacity: 0; } }
.cask__a { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.cask__a.is-on { opacity: 1; transform: none; }
.cask__kpi { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cask__kpi b { font-family: 'Geist Mono', ui-monospace, monospace; font-weight: 500; font-size: 30px; letter-spacing: -0.03em; color: var(--c-ink-1); font-variant-numeric: tabular-nums; }
.cask__kpi small { font-size: 12.5px; color: var(--c-ink-2); }
.cask__t { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--c-ink-2); }
.cask__src { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; color: var(--c-ink-3); }
.cask__src i { width: 14px; height: 14px; flex: none; border-radius: 4px; background: var(--c-accent-soft); border: 1px solid var(--c-accent-deep); }
.cask__foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--c-ink-3); }
.cask__foot kbd { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; border: 1px solid var(--c-line); border-radius: 5px; padding: 1px 5px; color: var(--c-ink-2); }

/* the showreel, right under the cover */
.reel-sec { padding-bottom: clamp(48px, 6vw, 80px); }
.reel-sec .reel-wrap { margin-top: clamp(28px, 4vw, 48px); }

@media (max-width: 1000px) { .cover__in { grid-template-columns: 1fr; gap: 36px; align-items: start; } .cask { max-width: 460px; } }
@media (max-width: 640px) {
  .cover__media video { object-position: 60% 50%; }
  .cover__scrim { background: linear-gradient(180deg, rgb(10 10 12 / 0.7) 0%, rgb(10 10 12 / 0.5) 30%, rgb(10 10 12 / 0.75) 60%, rgb(10 10 12 / 0.96) 100%); }
  .cover__dots { -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 0.6) 50%, rgb(0 0 0 / 0.9) 100%); mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 0.6) 50%, rgb(0 0 0 / 0.9) 100%); }
  .cover-h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .cover-ctas .cbtn { width: 100%; }
  .cover-proof { display: none; }
  .cover .long { display: none; } .cover .short { display: inline; }
  .cover-sub { font-size: 16px; }
  .cover__in { padding-block: 28px 84px; }
  .cover__body { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .cover__media { opacity: 1; transform: none; transition: none; }
  .js .cover-h1 .w > span, .js .cfx, .js .cask { animation: none; transform: none; opacity: 1; }
  .js .cover-cue.cfx { transform: translateX(-50%); }
  .cask__dot, .cask__q .caret { animation: none; }
  .cask__a { transition: none; }
}

/* ---------------------------------------------------------------- language switch (FR ⇄ EN) */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 0.86rem; font-weight: 550; letter-spacing: 0.02em; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.lang-switch:hover { color: var(--ink-1); background: var(--surface-2); }
.lang-switch.bordered { border: 1px solid var(--line-2); }
.footer-tools { display: flex; align-items: center; gap: 8px; }
.drawer-lang { align-self: flex-start; }
