/* ==========================================================================
   Operator — styles (mobile-first)
   1 Tokens · 2 Base · 3 Utilities · 4 Backdrop · 5 Header & navigation · 6 Hero
   8 Workflow stage (Discover → Build → Operate) · 10 Learning loop · 11 About/Contact
   12 Footer · 13 Legal pages · 14 Touch devices · 15 Reduced motion
   ========================================================================== */

/* 1 — Tokens */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  /* Colour */
  --bg: #08090B;
  --bg-2: #0E1014;
  --ink: #F4F4F2;
  --ink-2: #BBBFC7;
  --muted: #8A8F98;
  --line: rgba(244, 244, 242, .09);
  --line-2: rgba(244, 244, 242, .17);
  --accent: #7C5CFF;
  --accent-2: #A99BFF;          /* accent for text on dark (AA contrast) */
  --accent-soft: rgba(124, 92, 255, .14);
  --mark-accent: var(--accent);

  /* Type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w-body: 420;
  --w-label: 500;
  --w-head: 620;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(22px, 6vw, 24px);            /* phones: 22–24px; widened from 640px up */
  --header-h: 60px;
  --section-y: 88px;                           /* phones: generous, consistent rhythm */
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: clamp(28px, 5vw, 40px); --section-y: clamp(72px, 11vw, 144px); } }
@media (min-width: 900px) { :root { --header-h: 68px; } }

/* 2 — Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
html.nav-lock, html.nav-lock body { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: var(--w-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(124, 92, 255, .5); color: #fff; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dim { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -64px; z-index: 100; padding: 12px 18px; background: #fff; color: #000; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: max(12px, env(safe-area-inset-top)); }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px; background: var(--bg-2); color: var(--ink-2); font-size: .85rem; text-align: center; z-index: 50; }

/* 3 — Utilities */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-weight: var(--w-head); text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.2rem + 3.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.032em; }
.eyebrow { font-size: .8rem; font-weight: var(--w-label); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px; }
.section { position: relative; padding-block: var(--section-y); }
.section-head { max-width: 44rem; margin-bottom: clamp(32px, 6vw, 64px); }
.section-lede { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .4vw, 1.2rem); margin-top: 18px; max-width: 34rem; text-wrap: pretty; }
.fineprint { max-width: 40rem; margin-top: clamp(32px, 5vw, 56px); font-size: .875rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: var(--w-label); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tag-accent { color: var(--accent-2); border-color: rgba(124, 92, 255, .45); background: var(--accent-soft); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 550; font-size: 1rem; letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, color .25s; }
.btn .ico { transition: transform .35s var(--ease); }
.btn-primary { color: var(--bg); background: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset, 0 10px 36px -12px rgba(124, 92, 255, .6); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn-text { padding: 0 6px; color: var(--ink-2); }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 16px 44px -12px rgba(124, 92, 255, .85); }
  .btn:hover .ico { transform: translateX(3px); }
  .btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .32); }
  .btn-text:hover { color: var(--ink); }
  .btn[aria-disabled="true"]:hover { transform: none; }
}

/* Reveal on scroll — only hides content when JS is running, so nothing is lost without it */
.js .reveal { opacity: 0; translate: 0 12px; transition: opacity .55s var(--ease) var(--d, 0s), translate .55s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.rise { animation: rise .9s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 3D tilt — driven by script.js (--rx / --ry), pointer devices only */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.tilt.is-tilting { transition: transform .1s linear; will-change: transform; }

/* Animations of off-screen sections are paused (script.js toggles .in-view) */
.js [data-anim]:not(.in-view) *, .js [data-anim]:not(.in-view) *::before, .js [data-anim]:not(.in-view) *::after { animation-play-state: paused !important; }

/* 4 — Backdrop */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.bd-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(244, 244, 242, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 244, 242, .028) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(80% 55% at 50% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(80% 55% at 50% 0%, #000 10%, transparent 75%); }
.bd-orb { position: absolute; left: 50%; top: -30vmax; width: 80vmax; height: 60vmax; margin-left: -40vmax; background: radial-gradient(closest-side, rgba(124, 92, 255, .16), transparent); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); }

/* 5 — Header & navigation (mobile: full-screen menu) */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(8, 9, 11, .94); border-color: var(--line); }
.nav-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; color: var(--ink); }
.brand-name { font-size: 1.2rem; font-weight: 620; letter-spacing: -.035em; }
.brand-sub { display: none; font-size: .8rem; font-weight: var(--w-label); letter-spacing: .02em; color: var(--muted); padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--line-2); line-height: 1.2; }

.nav-toggle { position: relative; z-index: 2; flex: none; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 28px; }
.nav-open .nav-toggle span:first-child { top: 23.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 23.5px; transform: rotate(-45deg); }

.nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); background: var(--bg); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility 0s linear .28s; }
.nav-open .nav { opacity: 1; visibility: visible; transition: opacity .28s var(--ease); }
.nav ul a { display: flex; align-items: center; min-height: 64px; font-size: 1.75rem; font-weight: var(--w-head); letter-spacing: -.035em; border-bottom: 1px solid var(--line); }
.nav ul li { opacity: 0; translate: 0 10px; transition: opacity .4s var(--ease), translate .4s var(--ease); }
.nav-open .nav ul li { opacity: 1; translate: 0 0; transition-delay: calc(var(--n, 0) * 45ms + 90ms); }
.nav ul li:nth-child(1) { --n: 0; } .nav ul li:nth-child(2) { --n: 1; } .nav ul li:nth-child(3) { --n: 2; } .nav ul li:nth-child(4) { --n: 3; }
.nav-cta { margin-top: 28px; width: 100%; min-height: 56px; font-size: 1.05rem; }
@media (max-height: 520px) { .nav ul a { min-height: 52px; font-size: 1.4rem; } .nav-cta { margin-top: 18px; min-height: 48px; } }

@media (min-width: 900px) {
  .site-header.is-scrolled { background: rgba(8, 9, 11, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
  .nav-toggle { display: none; }
  .nav { position: static; z-index: auto; flex-direction: row; align-items: center; gap: 20px; padding: 0; background: none; overflow: visible; opacity: 1; visibility: visible; transition: none; }
  .nav ul { display: flex; gap: 2px; }
  .nav ul li { opacity: 1; translate: 0 0; }
  .nav ul a { min-height: 40px; padding: 0 14px; font-size: .94rem; font-weight: 450; letter-spacing: 0; color: var(--muted); border: 0; border-radius: 999px; transition: color .2s, background .2s; }
  .nav ul a:hover, .nav ul a[aria-current="true"] { color: var(--ink); }
  .nav ul a[aria-current="true"] { background: rgba(255, 255, 255, .06); }
  .nav-cta { margin: 0; width: auto; min-height: 40px; padding: 0 18px; font-size: .94rem; }
}
@media (min-width: 1120px) { .brand-sub { display: inline-block; } }

/* 6 — Hero
   Stacked layout (phones, portrait tablets) has its own composition and animation:
   status → headline (2 calibrated lines) → support → CTA → flowing commerce line.
   "Wide" mode (desktop, landscape) keeps the 3D canvas scene unchanged. */
.hero { position: relative; display: flex; align-items: stretch; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 44px) 0 36px; overflow: clip; isolation: isolate; }
#hero-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: calc(1 - var(--hp, 0) * .9); }
.hero-vignette { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 9, 11, .55) 0%, transparent 28%, transparent 78%, var(--bg) 100%); }
.hero-glow { position: absolute; left: 50%; top: -6%; width: 140%; aspect-ratio: 1; margin-left: -70%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(124, 92, 255, .2), transparent); animation: glow-drift 9s ease-in-out infinite alternate; }
@keyframes glow-drift { from { transform: translate3d(0, 0, 0) scale(1); opacity: .65; } to { transform: translate3d(0, 28px, 0) scale(1.06); opacity: 1; } }
.hero-inner { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; }
/* quiet status label */
.status { display: inline-flex; align-self: flex-start; align-items: center; gap: 9px; min-height: 28px; font-size: .72rem; font-weight: var(--w-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); opacity: .85; box-shadow: 0 0 0 0 rgba(169, 155, 255, .5); animation: ping 3.2s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 7px rgba(169, 155, 255, 0); } }
/* headline: two lines, sized so "From product signal" always fits on one line (8.77em wide) */
.hero h1 { font-size: clamp(1.7rem, calc((100vw - 2 * var(--gutter)) / 9.4), 3.5rem); line-height: 1.08; letter-spacing: -.04em; max-width: none; }
.hero h1.rise { animation: none; }
.hero h1 .line { display: block; white-space: nowrap; animation: line-in .7s var(--ease) both; animation-delay: .14s; }
.hero h1 .line-2 { animation-delay: .26s; background: linear-gradient(100deg, var(--ink) 0%, #BEB2FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@keyframes line-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.985); } to { opacity: 1; transform: none; } }
.hero .lede { margin-top: 26px; max-width: 24rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero .cta-row { margin-top: 32px; }
.hero .cta-row .btn-primary { min-height: 52px; }
.scroll-cue { display: none; }

/* dedicated mobile visual: a commerce flow line (Signal → … → Learn) with light travelling along it */
.hero-flow { margin-block: auto; padding-block: 52px 8px; width: 100%; max-width: 34rem; }
.hero-flow svg { width: 100%; height: auto; overflow: visible; }
.hero-flow path { fill: none; stroke-linecap: round; }
.fl-base { stroke: rgba(244, 244, 242, .17); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; animation: fl-draw 1.5s var(--ease) .5s forwards; }
.fl-glow, .fl-run { stroke-dasharray: 6 94; opacity: 0; animation: fl-run 9s linear 1s infinite; }
.fl-glow { stroke: rgba(124, 92, 255, .55); stroke-width: 9; }
.fl-run { stroke: #fff; stroke-width: 2.6; }
@keyframes fl-draw { to { stroke-dashoffset: 0; } }
@keyframes fl-run { from { stroke-dashoffset: 0; opacity: 1; } to { stroke-dashoffset: -100; opacity: 1; } }
.fn { fill: var(--bg); stroke: rgba(244, 244, 242, .45); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; animation: fn-in .5s var(--ease) both, fn-lit 9s linear var(--d, 1s) infinite; }
.fn:nth-of-type(1) { animation-delay: .6s, var(--d); } .fn:nth-of-type(2) { animation-delay: .68s, var(--d); } .fn:nth-of-type(3) { animation-delay: .76s, var(--d); } .fn:nth-of-type(4) { animation-delay: .84s, var(--d); }
.fn:nth-of-type(5) { animation-delay: .92s, var(--d); } .fn:nth-of-type(6) { animation-delay: 1s, var(--d); } .fn:nth-of-type(7) { animation-delay: 1.08s, var(--d); } .fn:nth-of-type(8) { animation-delay: 1.16s, var(--d); }
@keyframes fn-in { to { opacity: 1; } }
@keyframes fn-lit { 0% { fill: #fff; stroke: #C6BBFF; transform: scale(1.9); } 4% { transform: scale(2.1); } 16% { fill: #7C5CFF; stroke: #A99BFF; transform: scale(1.3); } 26%, 100% { fill: var(--bg); stroke: rgba(244, 244, 242, .45); transform: scale(1); } }
.flow-ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: .8125rem; font-weight: var(--w-label); letter-spacing: .02em; color: var(--muted); }

@media (min-width: 640px) {
  .hero .lede { font-size: 1.15rem; max-width: 30rem; }
  .hero-flow { max-width: 40rem; }
}
/* wide: desktop and landscape devices — the 3D canvas scene (unchanged) */
@media (min-width: 981px), (min-width: 640px) and (orientation: landscape) {
  #hero-canvas { display: block; }
  .hero-glow, .hero-flow { display: none; }
  .hero { align-items: center; min-height: max(100svh, 520px); padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 20px) 0 64px; }
  .hero-inner { display: block; flex: none; }
  .hero-vignette { background: radial-gradient(60% 90% at 18% 52%, rgba(8, 9, 11, .8) 0%, rgba(8, 9, 11, .3) 60%, transparent 85%), linear-gradient(180deg, rgba(8, 9, 11, .5) 0%, transparent 22%, transparent 80%, var(--bg) 100%); }
  .status { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2.4rem, 1.2rem + 3.8vw, 4.4rem); line-height: 1.05; }
  .hero h1.rise { animation: rise 1s var(--ease) var(--d, 0s) both; }
  .hero h1 .line { animation: none; white-space: normal; }
  .hero .lede { margin-top: 24px; max-width: 24rem; font-size: clamp(1.02rem, .9rem + .5vw, 1.2rem); }
  .hero .cta-row { margin-top: 36px; }
  .scroll-cue { display: block; position: absolute; left: 50%; bottom: 22px; width: 28px; height: 44px; margin-left: -14px; border: 1px solid var(--line-2); border-radius: 14px; opacity: .8; }
  .scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--accent-2); animation: cue 2.2s var(--ease) infinite; }
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 520px) and (orientation: landscape) { .hero { padding-top: calc(var(--header-h) + 16px); } .hero .cta-row { margin-top: 22px; } .scroll-cue { display: none; } }

/* 8 — Workflow stage: Discover → Build → Operate
   Default (phones, tablets, no-JS, reduced motion): three compact blocks that reveal as you reach them.
   Desktop with JS: ONE pinned scene that evolves while scrolling (script.js sets .is-active and --sp). */
.section--stage { padding-block: clamp(48px, 8vw, 80px) clamp(24px, 4vw, 40px); }
.section--stage + .section { padding-top: clamp(40px, 6vw, 72px); }
.stage-eyebrow { margin-bottom: 4px; }
.rail { display: none; }
.stage-body { display: grid; }
.step { display: grid; gap: 22px; padding-block: 28px; border-top: 1px solid var(--line); }
.stage-body .step:first-child { border-top: 0; padding-top: 10px; }
.step-text { max-width: 30rem; }
.step-no { font-size: .8rem; font-weight: var(--w-label); letter-spacing: .09em; color: var(--accent-2); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.step h3 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.04em; }
.step-lede { margin-top: 10px; color: var(--ink-2); font-size: 1.0625rem; text-wrap: pretty; }
.step-text .fineprint { margin-top: 18px; max-width: 28rem; font-size: .8125rem; }
.step-visual { min-width: 0; }
/* the stage's sub-steps, lit one after the other when the stage becomes active */
.steps-chips { display: flex; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.steps-chips li { position: relative; display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border-radius: 999px; font-size: .875rem; font-weight: var(--w-label); color: var(--ink); border: 1px solid rgba(124, 92, 255, .5); background: var(--accent-soft); transition: opacity .45s var(--ease) calc(var(--k, 0) * .14s + .12s); }
.steps-chips li + li { margin-left: 20px; }
.steps-chips li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 20px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(124, 92, 255, .35)); }
.steps-chips li:nth-child(2) { --k: 1; } .steps-chips li:nth-child(3) { --k: 2; }

/* reveal / entrance choreography (JS only, so nothing is hidden without it) */
.js .step { opacity: 0; translate: 0 16px; transition: opacity .55s var(--ease), translate .55s var(--ease); }
.js .step.is-active { opacity: 1; translate: 0 0; }
.js .step:not(.is-active) .steps-chips li { opacity: .25; }
.js .step:not(.is-active) .chip { opacity: 0; translate: -14px 0; }
.js .step:not(.is-active) .cand { opacity: 0; translate: 0 20px; }
.js .step:not(.is-active) .ad { opacity: 0; translate: 0 26px; }
.js .step:not(.is-active) .approval { opacity: 0; scale: .97; }
.js .chip { transition: opacity .45s var(--ease) .1s, translate .5s var(--ease) .1s; }
.js .disc-signals > div:nth-child(2) .chip { transition-delay: .17s; } .js .disc-signals > div:nth-child(3) .chip { transition-delay: .24s; } .js .disc-signals > div:nth-child(4) .chip { transition-delay: .31s; } .js .disc-signals > div:nth-child(5) .chip { transition-delay: .38s; }
.js .cand { transition: opacity .5s var(--ease) .35s, translate .6s var(--ease) .35s; }
.js .ad { transition: opacity .5s var(--ease) .25s, translate .65s var(--ease) .25s; }
.js .ad--b { transition-delay: .4s; }
.js .approval { transition: opacity .5s var(--ease) .15s, scale .6s var(--ease) .15s; }

@media (min-width: 640px) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 32px; padding-block: 36px; }
}
/* phones: lighter visuals, so the three blocks stay short */
@media (max-width: 639px) {
  .step .shop-grid, .step .ap-fields { display: none; }
  .step .ap-actions .fake-btn:nth-child(2) { display: none; }
  .step { gap: 24px; padding-block: 36px; }
  .step .disc { min-height: 300px; }
  .step .build { padding-bottom: 54px; }
  .step .approval { gap: 14px; }
}

/* Desktop, with JS, motion allowed: one pinned scene. The track is only ~1 viewport of scroll longer than the stage. */
@media (min-width: 900px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .js .section--stage { padding-block: 24px 0; }
  .js .section--stage + .section { padding-top: clamp(24px, 3vw, 40px); }
  .js .stage-eyebrow { display: none; }
  .js .stage { --stage-h: clamp(460px, calc(100svh - var(--header-h) - 64px), 540px); --stage-run: clamp(520px, 110svh, 990px); position: relative; height: calc(var(--stage-h) + var(--stage-run)); }
  .js .stage-pin { position: sticky; top: max(calc(var(--header-h) + 16px), calc((100svh - var(--stage-h)) / 2)); height: var(--stage-h); display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; }
  .js .rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
  .rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
  .rail-btn { appearance: none; background: none; border: 0; display: flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 14px 16px 0 0; text-align: left; font-size: 1rem; font-weight: 550; color: var(--muted); cursor: pointer; transition: color .35s; }
  .rail-btn span { font-size: .8rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
  .rail-btn.on { color: var(--ink); }
  .rail-btn.on span { color: var(--accent-2); }
  .rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sp, .05)); box-shadow: 0 0 12px rgba(124, 92, 255, .7); }
  .js .stage-body { position: relative; min-height: 0; }
  .js .step { grid-area: 1 / 1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: 0; border: 0; opacity: 0; translate: 0 28px; pointer-events: none; transition: opacity .45s var(--ease), translate .55s var(--ease); }
  .js .step.is-active { opacity: 1; translate: 0 0; pointer-events: auto; }
  .js .step.is-past { translate: 0 -28px; }
  .js .step:not(.is-active) *, .js .step:not(.is-active) *::before, .js .step:not(.is-active) *::after { animation-play-state: paused !important; }
  .js .step .disc { min-height: 0; height: 400px; }
  .js .step .bar i { transform: scaleX(0); }
  .js .step.is-active .bar i { transform: scaleX(var(--v)); }
}
/* Discover — signals converge on a candidate */
.disc { display: grid; grid-template-columns: minmax(0, 1fr) clamp(26px, 9vw, 110px) minmax(0, 1.15fr); align-items: stretch; min-height: 340px; padding: 14px 12px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(70% 70% at 90% 50%, rgba(124, 92, 255, .13), transparent 70%), rgba(255, 255, 255, .015); }
.disc-signals { display: flex; flex-direction: column; }
.disc-signals > div { flex: 1; display: flex; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2); font-size: .8125rem; line-height: 1.2; color: var(--ink-2); }
/* height:0 + min-height:100%: the SVG stretches to the row but never dictates its height */
.disc-lines { width: 100%; height: 0; min-height: 100%; overflow: visible; }
.flowdots path { stroke-dasharray: 2 16; animation: dash 1.8s linear infinite; }
.flowdots path:nth-child(2n) { animation-duration: 2.3s; }
.flowdots path:nth-child(3n) { animation-duration: 1.5s; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.cand { position: relative; align-self: center; padding: 12px; border-radius: 18px; border: 1px solid rgba(124, 92, 255, .45); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)); box-shadow: 0 30px 80px -30px rgba(124, 92, 255, .5), 0 1px 0 rgba(255, 255, 255, .1) inset; }
.cand-pulse { position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 3px var(--accent); }
.cand-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent-2); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.cand-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; font-size: .72rem; }
.cand-head .dim { display: none; }
.cand-art { position: relative; height: 72px; margin: 12px 0; border-radius: 12px; background: radial-gradient(70% 90% at 50% 100%, rgba(124, 92, 255, .32), transparent 70%), rgba(255, 255, 255, .03); overflow: hidden; }
.cand-art i { position: absolute; bottom: 12px; border-radius: 10px; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.cand-art i:nth-child(1) { left: 14%; width: 28px; height: 28px; transform: rotate(-8deg); background: linear-gradient(145deg, #3a3d47, #1a1c22); }
.cand-art i:nth-child(2) { left: 38%; width: 36px; height: 46px; background: linear-gradient(145deg, #C6BBFF, #7C5CFF 60%, #3a258f); }
.cand-art i:nth-child(3) { left: 66%; width: 26px; height: 24px; transform: rotate(9deg); background: linear-gradient(145deg, #F4F4F2, #bdbfc6); }
.bars { display: grid; gap: 9px; }
.bars li { display: grid; gap: 3px; font-size: .72rem; color: var(--muted); }
.bar { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.3s var(--ease) .4s; }
.js .step.is-active .bar i, html:not(.js) .bar i { transform: scaleX(var(--v)); }
@media (min-width: 520px) {
  .disc { grid-template-columns: max-content minmax(48px, 1fr) minmax(0, 1.1fr); padding: 20px 18px; min-height: 380px; }
  .cand { padding: 16px; }
  .cand-art { height: 92px; }
}
/* roomy card (wide visual column): inline legend + side-by-side bars */
@media (min-width: 900px) {
  .cand-head .dim { display: inline; }
  .bars li { grid-template-columns: minmax(70px, 1fr) 1.2fr; align-items: center; gap: 10px; font-size: .78rem; }
}

/* Build — storefront with two ad concepts */
.build { position: relative; padding-bottom: 70px; }
.shop { position: relative; width: min(100%, 520px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 30px 90px -50px rgba(124, 92, 255, .5); }
.shop-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); }
.shop-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.shop-bar span { margin-left: 10px; padding: 2px 14px; font-size: .68rem; color: var(--muted); background: rgba(0, 0, 0, .3); border-radius: 999px; }
.shop-body { padding: 14px; display: grid; gap: 12px; }
.shop-nav { display: flex; align-items: center; gap: 10px; }
.shop-nav b { width: 48px; height: 11px; border-radius: 4px; background: var(--ink); }
.shop-nav span { width: 30px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.shop-nav em { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); }
.shop-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; padding: 16px; border-radius: 10px; background: linear-gradient(120deg, rgba(124, 92, 255, .32), rgba(124, 92, 255, .06) 75%); }
.shop-hero .l1, .shop-body .l1 { display: block; height: 9px; width: 80%; border-radius: 4px; background: rgba(255, 255, 255, .82); margin-bottom: 7px; }
.shop-hero .l2, .shop-body .l2 { display: block; height: 5px; width: 55%; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.shop-hero .btn-s { display: block; margin-top: 14px; width: 58px; height: 18px; border-radius: 999px; background: #fff; }
.shop-hero-art { position: relative; min-height: 64px; }
.shop-hero-art i { position: absolute; border-radius: 10px; box-shadow: 0 12px 18px -8px rgba(0, 0, 0, .6); }
.shop-hero-art i:first-child { left: 14%; top: 14%; width: 46%; height: 72%; background: linear-gradient(145deg, #F4F4F2, #b9bbc4); }
.shop-hero-art i:last-child { right: 4%; bottom: 6%; width: 34%; height: 42%; background: linear-gradient(145deg, #C6BBFF, #7C5CFF 60%, #3a258f); transform: rotate(8deg); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shop-grid > div { padding: 7px; border-radius: 9px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.p-art { height: 54px; border-radius: 7px; margin-bottom: 8px; position: relative; background: var(--pa); }
.p-art::after { content: ""; position: absolute; inset: 14px 30%; border-radius: 7px; background: rgba(255, 255, 255, .55); box-shadow: 0 10px 12px -6px rgba(0, 0, 0, .6); }
.p1 { --pa: linear-gradient(135deg, #5a3fd6, #2a1f6e); } .p2 { --pa: linear-gradient(135deg, #3a3d47, #181a20); } .p3 { --pa: linear-gradient(135deg, #cfcbe2, #8d8aa3); }

.ad { --fg: #fff; --acc: var(--accent-2); position: absolute; right: 3%; bottom: 0; width: clamp(92px, 27%, 150px); padding: 8px; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--fg); border: 1px solid rgba(255, 255, 255, .2); background: var(--bgc); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .3) inset; }
.ad--a { --bgc: linear-gradient(160deg, #4a34c4 0%, #1e1654 62%, #0d0a26 100%); aspect-ratio: 9 / 16; transform: translateZ(60px) rotate(5deg); z-index: 3; }
.ad--b { --bgc: linear-gradient(160deg, #F1EFF8 0%, #CFCBE2 100%); --fg: #15121f; --acc: #7C5CFF; right: 29%; bottom: -14px; aspect-ratio: 1 / 1.2; transform: translateZ(30px) rotate(-5deg); z-index: 2; }
.ad-tag { position: relative; z-index: 2; align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .16); font-size: .56rem; font-weight: var(--w-label); letter-spacing: .05em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.ad--b .ad-tag { background: rgba(21, 18, 31, .08); border-color: rgba(21, 18, 31, .18); color: #15121f; }
.ad-art { position: absolute; inset: 0; }
.ad-art .orb { position: absolute; left: 50%; top: 38%; width: 80%; aspect-ratio: 1; margin: -40% 0 0 -40%; border-radius: 50%; background: radial-gradient(closest-side, var(--acc), transparent); opacity: .5; }
.ad-art .ring { position: absolute; left: 50%; top: 44%; width: 66%; aspect-ratio: 1; margin: -33% 0 0 -33%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); transform: rotateX(68deg); animation: spin-slow 16s linear infinite; }
.ad--b .ad-art .ring { border-color: rgba(21, 18, 31, .25); }
.ad-art .prod { position: absolute; left: 50%; top: 44%; width: 32%; aspect-ratio: .8; margin: -19% 0 0 -16%; border-radius: 28% 28% 22% 22%; background: linear-gradient(150deg, #fff, var(--acc) 60%, rgba(0, 0, 0, .35)); box-shadow: 0 16px 24px -8px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .7); animation: float-y 5s ease-in-out infinite alternate; }
.ad-art .play { position: absolute; right: 10px; top: 48%; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .88); }
.ad-art .play::after { content: ""; position: absolute; left: 7.5px; top: 5.5px; border-left: 6px solid #111; border-block: 4.5px solid transparent; }
@keyframes spin-slow { to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes float-y { to { transform: translateY(-6px) rotate(3deg); } }
.ad-copy { position: relative; z-index: 2; display: grid; gap: 2px; }
.ad-copy small { font-size: .52rem; font-weight: var(--w-label); letter-spacing: .12em; color: var(--acc); }
.ad-copy b { font-size: .68rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 520px) { .build { padding-bottom: 90px; } .ad-copy b { font-size: .78rem; } .ad-tag { font-size: .6rem; } }

/* Operate — approval workflow */
.approval { max-width: 520px; padding: 18px; display: grid; gap: 18px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: 0 40px 90px -40px rgba(124, 92, 255, .45), 0 30px 80px -40px rgba(0, 0, 0, .8); }
.ap-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ap-head small { display: block; font-size: .72rem; font-weight: var(--w-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ap-head b { display: block; font-weight: 600; letter-spacing: -.01em; margin-top: 3px; }
.ap-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-fields > div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.ap-fields dt { font-size: .68rem; font-weight: var(--w-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ap-fields dd { font-size: .86rem; margin-top: 2px; }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .7rem; color: var(--muted); transition: color .5s; }
.stepper li::before { content: ""; position: absolute; top: 7px; right: 50%; width: 100%; height: 2px; background: var(--line-2); transition: background .6s; }
.stepper li:first-child::before { display: none; }
.stepper i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--line-2); transition: all .5s; }
.stepper li.on { color: var(--ink); }
.stepper li.on::before { background: var(--accent); }
.stepper li.on i { background: var(--accent); border-color: var(--accent-2); box-shadow: 0 0 14px var(--accent); }
.stepper li.is-gate.on i { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 14px rgba(244, 244, 242, .5); }
.ap-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fake-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: .8rem; font-weight: 550; border: 1px solid var(--line-2); color: var(--ink-2); }
.fake-btn--ok { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fake-btn--pause { margin-left: auto; }
@media (min-width: 520px) { .approval { padding: 22px; } .ap-fields dd { font-size: .92rem; } }

/* 10 — Learning loop */
.learning { display: grid; gap: clamp(36px, 7vw, 56px); align-items: center; }
.learning h2 { max-width: 16ch; }
.loop { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.loop-svg, .orbit, .orbit-box { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-box { overflow: hidden; border-radius: 50%; pointer-events: none; }
.ring-in { transform-origin: 50px 50px; animation: spin-r 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-r { to { transform: rotate(-360deg); } }
.orbit-svg { transform-origin: 50px 50px; animation: spin 10s linear infinite; }
.orbit { animation: spin 10s linear infinite; }
.orbit i { position: absolute; left: 50%; top: 12%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(169, 155, 255, .25), 0 0 22px 5px var(--accent); }
.loop-core { position: absolute; left: 50%; top: 50%; width: 44%; transform: translate(-50%, -50%); text-align: center; }
.loop-core b { font-size: clamp(1.15rem, 1rem + 2.4vw, 1.75rem); line-height: 1.1; letter-spacing: -.04em; font-weight: var(--w-head); color: var(--ink); }
.lnode { position: absolute; }
.lnode i { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); animation: lglow 10s linear infinite; animation-delay: calc(var(--i) * 2s); }
.lnode span { position: absolute; white-space: nowrap; font-size: .8125rem; font-weight: var(--w-label); letter-spacing: -.005em; color: var(--ink-2); }
.ln0 { left: 50%; top: 12%; } .ln0 span { left: 0; bottom: 20px; transform: translateX(-50%); }
.ln1 { left: 86.14%; top: 38.26%; } .ln2 { left: 72.34%; top: 80.74%; } .ln3 { left: 27.66%; top: 80.74%; } .ln4 { left: 13.86%; top: 38.26%; }
.ln1 span, .ln2 span, .ln3 span, .ln4 span { left: 0; top: 20px; transform: translateX(-50%); }
@keyframes lglow { 0% { background: #fff; border-color: var(--accent-2); box-shadow: 0 0 26px 4px var(--accent); transform: scale(1.35); } 6% { transform: scale(1.45); } 22% { background: rgba(124, 92, 255, .4); border-color: var(--accent-2); box-shadow: 0 0 12px -2px var(--accent); transform: scale(1); } 100% { background: var(--bg); border-color: var(--line-2); box-shadow: none; transform: scale(1); } }
@media (min-width: 560px) { .lnode span { font-size: .9rem; } }
/* side labels sit outside the ring only when there is room for them */
@media (min-width: 700px) and (max-width: 899px), (min-width: 1100px) {
  .ln1 span { left: 18px; top: -10px; transform: none; }
  .ln4 span { left: auto; right: 18px; top: -10px; transform: none; }
}
@media (min-width: 900px) {
  .learning { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); }
}

/* 11 — About & Contact */
.about { display: grid; gap: 24px; }
.about-text { display: grid; gap: 16px; color: var(--ink-2); max-width: 36rem; }
.about-text p { text-wrap: pretty; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); } .about-text { font-size: 1.15rem; } }
.section--contact { padding-top: 0; }
.contact { padding-top: clamp(40px, 7vw, 80px); border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.2rem); letter-spacing: -.045em; }
.contact .cta-row { margin-top: 28px; }
.contact .btn { width: 100%; }
.contact-addr { margin-top: 16px; font-size: .94rem; color: var(--muted); overflow-wrap: anywhere; }
@media (min-width: 560px) { .contact .btn { width: auto; } }

/* 12 — Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; gap: 28px; }
.footer-brand p { margin-top: 6px; font-size: .94rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .98rem; color: var(--ink-2); transition: color .2s; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--ink); }
.footer-bottom { display: grid; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.disclaimer { max-width: 46rem; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1fr auto; align-items: start; } .footer-bottom { grid-template-columns: auto 1fr; gap: 32px; } .disclaimer { justify-self: end; text-align: right; } }

/* 13 — Legal pages */
.doc-page .site-header { background: rgba(8, 9, 11, .94); border-color: var(--line); }
.doc-page .nav-bar .btn { min-height: 44px; padding: 0 16px; font-size: .94rem; }
.doc { width: 100%; max-width: calc(780px + 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(32px, 7vw, 80px)) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(56px, 9vw, 110px) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.doc h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; margin-bottom: 12px; }
.doc .meta { font-size: .875rem; color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 1.3rem; letter-spacing: -.025em; margin: 40px 0 12px; padding-top: 26px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; margin-top: 12px; }
.doc ul li::marker { color: var(--accent); }
.doc a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(169, 155, 255, .4); overflow-wrap: anywhere; }
.doc a:not(.btn):hover { text-decoration-color: var(--accent-2); }
.callout { margin: 0 0 8px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(124, 92, 255, .4); background: var(--accent-soft); }
.callout p { color: var(--ink); }

/* 14 — Touch devices & small screens: lighter effects, no pointer-only behaviour */
@media (hover: none), (pointer: coarse) {
  .tilt { transform: none; transition: none; will-change: auto; transform-style: flat; }
  .ad--a { transform: rotate(5deg); }
  .ad--b { transform: rotate(-5deg); }
}
@media (max-width: 899px) {
  .flowdots path { animation-duration: 2.6s; }
}

/* 15 — Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .rise { animation: none; }
  .tilt { transform: none !important; }
  .bar i { transform: scaleX(var(--v)); }
  .flowdots { display: none; }
  .scroll-cue i { display: none; }
}

/* Mobile rhythm: deliberate spacing scale (phones only)
   section 88 · head→body 40 · block 40/26 · text stack 20–26 · footer 56 */
@media (max-width: 639px) {
  .section-head { margin-bottom: 40px; }
  .eyebrow { margin-bottom: 18px; }
  .section-lede { margin-top: 20px; }
  .section--stage { padding-block: 64px 8px; }
  .stage-body .step:first-child { padding-top: 24px; }
  .step-no { margin-bottom: 12px; }
  .step-lede { margin-top: 12px; line-height: 1.6; }
  .steps-chips { margin-top: 22px; }
  .step-text .fineprint { margin-top: 26px; line-height: 1.65; }
  .section--stage + .section { padding-top: 88px; }
  .learning { gap: 52px; }
  .learning h2 { line-height: 1.12; }
  .about { gap: 28px; }
  .about-text { gap: 20px; line-height: 1.65; }
  .section--contact { padding-bottom: 72px; }
  .contact { padding-top: 56px; }
  .contact .cta-row { margin-top: 32px; }
  .contact-addr { margin-top: 20px; }
  .site-footer { padding-top: 56px; }
  .footer-top { gap: 36px; }
  .footer-bottom { margin-top: 40px; padding-top: 28px; gap: 14px; line-height: 1.6; }
}
