/* Stable Genius — stablegenius.si
 *
 * Typography follows the logic of Apple's product pages (measured from apple.com production CSS):
 *  - One idea per viewport, set very large. Scale contrast does the work that colour and weight do elsewhere:
 *    a 96px headline over 21px copy is a ~4.5:1 ratio, so the eye lands on the claim first, the proof second.
 *  - Display sizes use tight leading (1.04–1.07) and slightly negative tracking; text sizes open up (1.38–1.47).
 *  - Weight stays restrained: 600 for every headline, 400 for copy. No 700/800 shouting.
 *  - Emphasis inside copy is brightness, not boldness: paragraphs sit in grey, and the one sentence that matters
 *    is lifted to full white (or near-black on light). The reader can skim the bright phrases and get the story.
 *  - Sizes step at Apple's breakpoints (1068px, 734px) rather than scaling fluidly, so each layout is tuned.
 * SF Pro is used where the OS provides it; everywhere else, self-hosted Inter (variable, optical sizes).
 */
@font-face {
  font-family: "InterVariable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable-latin.woff2") format("woff2");
}

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "InterVariable", "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grad: linear-gradient(90deg, #5b8cff 0%, #8d6dff 48%, #c68bff 100%);
  --blue: #0071e3;
  --wrap: 1040px;
  --wide: 1200px;
  /* dark (default) */
  --bg: #000;
  --fg: #f5f5f7;
  --muted: #86868b;
  --faint: #6e6e73;
  --hair: rgba(255, 255, 255, .12);
  --tile: #141416;
  --link: #2997ff;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --hair: rgba(0, 0, 0, .1);
  --tile: #fff;
  --link: #0066cc;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #000; color: var(--fg);
  font-family: var(--font); font-size: 17px; line-height: 1.47059; font-weight: 400; letter-spacing: -.022em;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
body { overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid rgba(41, 151, 255, .7); outline-offset: 3px; border-radius: 6px; }
section[data-theme] { background: var(--bg); color: var(--fg); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 22px; }
.wrap.narrow { max-width: 820px; }

/* ------------------------------------------------------------------ type scale */
.t-hero { font-size: 96px; line-height: 1.04167; font-weight: 600; letter-spacing: -.015em; }
.t-display { font-size: 64px; line-height: 1.0625; font-weight: 600; letter-spacing: -.009em; }
.t-headline { font-size: 56px; line-height: 1.07143; font-weight: 600; letter-spacing: -.005em; }
.t-title { font-size: 28px; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; }
.t-lead { font-size: 21px; line-height: 1.38105; font-weight: 400; letter-spacing: .011em; color: var(--muted); }
.eyebrow { font-size: 21px; line-height: 1.19048; font-weight: 600; letter-spacing: .011em; color: var(--muted); margin-bottom: 14px; }
.eyebrow-elevated { font-size: 28px; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; margin-bottom: 10px; }
.hl, .hl-d { color: var(--fg); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

@media (max-width: 1068px) {
  .t-hero { font-size: 80px; line-height: 1.05; }
  .t-display { font-size: 56px; line-height: 1.07143; }
  .t-headline { font-size: 48px; line-height: 1.08349; }
  .t-lead { font-size: 19px; line-height: 1.4211; letter-spacing: .012em; }
  .eyebrow-elevated { font-size: 24px; line-height: 1.16667; }
}
@media (max-width: 734px) {
  .t-hero { font-size: 48px; line-height: 1.08349; letter-spacing: -.003em; }
  .t-display { font-size: 40px; line-height: 1.1; letter-spacing: 0; }
  .t-headline { font-size: 32px; line-height: 1.125; letter-spacing: .004em; }
  .t-title { font-size: 24px; line-height: 1.16667; }
  .t-lead { font-size: 19px; }
  .eyebrow { font-size: 17px; line-height: 1.23536; margin-bottom: 10px; }
  .eyebrow-elevated { font-size: 21px; line-height: 1.19048; }
}

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 980px;
  background: var(--blue); color: #fff; font-size: 17px; font-weight: 400; letter-spacing: -.022em; line-height: 1;
  cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.btn:hover { background: #0077ed; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-sm { min-height: 28px; padding: 0 12px; font-size: 12px; letter-spacing: -.01em; }
.btn-lg { min-height: 54px; font-size: 17px; width: 100%; }
.link-arrow { color: var(--link); font-size: 17px; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 6px; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(0, 0, 0, .64); color: #f5f5f7; border-bottom: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: background-color .35s, color .35s, border-color .35s;
}
.nav[data-theme="light"] { background: rgba(251, 251, 253, .76); color: #1d1d1f; border-bottom-color: rgba(0, 0, 0, .08); }
.nav-inner { max-width: 1024px; margin: 0 auto; height: 48px; padding-inline: 22px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 28px; font-size: 12px; letter-spacing: -.01em; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 734px) { .nav nav { display: none; } .nav .btn-sm { margin-left: auto; } }

/* ------------------------------------------------------------------ story: pinned stage + chapters */
.story { position: relative; background: #000; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage.is-live canvas { opacity: 1; }
.stage-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .42; transition: opacity 1s; }
.stage.is-live .stage-poster img { opacity: 0; }
.stage-shade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%), linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 22%, transparent 78%, rgba(0, 0, 0, .7)); }
.bubble { position: absolute; left: 0; top: 0; width: 300px; display: grid; gap: 8px; opacity: 0; pointer-events: none; will-change: transform, opacity; font-size: 15px; line-height: 1.4; letter-spacing: -.01em; }
.bubble p { padding: 10px 14px; border-radius: 18px; }
.bubble-q { justify-self: end; max-width: 250px; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.bubble-a { max-width: 270px; background: rgba(58, 58, 60, .85); color: #f5f5f7; border-bottom-left-radius: 6px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.chapters { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
.chapter { position: relative; overflow-x: clip; min-height: 135vh; display: flex; align-items: center; padding-inline: max(22px, 7vw); }
.chapter-inner { position: relative; max-width: 500px; will-change: opacity, transform; }
.chapter-inner::before { content: ""; position: absolute; inset: -35% -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .72), rgba(0, 0, 0, .35) 60%, transparent); }
.side-right { justify-content: flex-end; }
.chapter .t-display { margin: 16px 0 22px; }
.chapter-eyebrow { display: flex; align-items: baseline; gap: 12px; font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; color: var(--muted); }
.chapter-eyebrow span { font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.chapter-hero { min-height: 100vh; min-height: 100svh; align-items: flex-start; justify-content: center; text-align: center; padding-top: calc(48px + 11vh); }
.chapter-hero .chapter-inner { max-width: 900px; }
.chapter-hero .chapter-inner::before { inset: -20% -10% -10%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.hero-lead { max-width: 640px; margin: 22px auto 0; }
.cta-row { display: flex; gap: 28px; justify-content: center; align-items: center; margin-top: 32px; flex-wrap: wrap; }
/* Wide screens: the hero copy sits left and the gateway stands to its right, like a product shot. */
@media (min-width: 1069px) {
  .chapter-hero { justify-content: flex-start; align-items: center; text-align: left; padding-top: 48px; }
  .chapter-hero .chapter-inner { max-width: 600px; }
  .chapter-hero .chapter-inner::before { inset: -30% -25%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); }
  .hero-lead { margin-left: 0; max-width: 520px; }
  .cta-row { justify-content: flex-start; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #f5f5f7; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 734px) {
  .chapter { min-height: 120vh; align-items: flex-end; padding-bottom: 14vh; }
  .side-right { justify-content: flex-start; }
  .chapter-inner::before { inset: -30% -20% -40%; background: radial-gradient(closest-side, rgba(0, 0, 0, .82), rgba(0, 0, 0, .5) 60%, transparent); }
  .chapter-hero { align-items: flex-start; padding-top: calc(48px + 4vh); padding-bottom: 0; }
  .chapter-eyebrow { font-size: 17px; }
  .bubble { display: none; }
}

/* ------------------------------------------------------------------ statement: words light up as you read */
.statement { padding: 30vh 22px; }
.statement-text { max-width: 980px; margin: 0 auto; color: #f5f5f7; }
.js .statement-text .w { color: #2c2c2e; transition: color .35s; }
.js .statement-text .w.on { color: #f5f5f7; }

/* ------------------------------------------------------------------ numbers */
.numbers { padding: 160px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--hair); }
.stat-num { font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 6px; }
.stat-num small { font-size: .5em; letter-spacing: 0; margin-left: 2px; }
.stat-label { margin-top: 14px; color: var(--muted); max-width: 230px; }
@media (max-width: 1068px) { .stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; } }
@media (max-width: 734px) { .numbers { padding: 100px 0; } .stat-num { font-size: 72px; } .stat-grid { gap: 32px 20px; margin-top: 48px; } }

/* ------------------------------------------------------------------ demo */
.demo { --bg: #fff; padding: 160px 0; }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .t-lead { margin-top: 22px; }
.demo-stage { max-width: var(--wide); margin: 64px auto 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.chat { background: #fbfbfd; border: 1px solid rgba(0, 0, 0, .08); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .18); }
.chat-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #e3e3e8; }
.chat-title { margin-left: 10px; font-size: 13px; color: var(--muted); letter-spacing: -.01em; }
.chat-body { padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 420px; }
.msg-q { align-self: flex-end; max-width: 82%; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 22px 22px 6px 22px; }
.msg-a { max-width: 94%; background: #f0f0f4; padding: 18px 20px; border-radius: 22px 22px 22px 6px; }
.msg-a b { font-weight: 600; }
.msg-a .muted { color: var(--muted); margin-top: 6px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin: 22px 0 34px; }
.bar { position: relative; flex: 1; height: calc(var(--v) / .34 * 100%); border-radius: 8px 8px 4px 4px; background: #d2d2d7; transform-origin: bottom; transition: transform 1s var(--ease); }
.bar.is-hot { background: linear-gradient(180deg, #ff6a5c, #ff3b30); }
.bar span { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); font-size: 11px; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.log { display: grid; gap: 12px; counter-reset: log; }
.log li { background: #f5f5f7; border-radius: 20px; padding: 18px 20px 18px 56px; position: relative; display: grid; gap: 2px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.log li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%; background: #30d158; }
.log li::after { content: ""; position: absolute; left: 25px; top: 25px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.log-k { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.log-v { font-size: 17px; color: var(--fg); }
.js .demo-stage:not(.played) .msg-a, .js .demo-stage:not(.played) .log li { opacity: 0; transform: translateY(10px); }
.js .demo-stage .msg-a { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .demo-stage:not(.played) .bar { transform: scaleY(0); }
.js .demo-stage .log li.on, .js .demo-stage .msg-a.on { opacity: 1; transform: none; }
.js .demo-stage .log li:not(.on), .js .demo-stage .msg-a:not(.on) { opacity: 0; transform: translateY(10px); }
.js .demo-stage .msg-a:not(.on) .bar { transform: scaleY(0); }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; opacity: 0; }
.typing .typed::after { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 1068px) { .demo-stage { grid-template-columns: 1fr; max-width: 720px; } .log { grid-template-columns: 1fr 1fr; } }
@media (max-width: 734px) { .demo { padding: 100px 0; } .log { grid-template-columns: 1fr; } .chat-body { padding: 20px; min-height: 0; } .bar:not(.is-hot) span { display: none; } }

/* ------------------------------------------------------------------ security bento */
.security { padding: 160px 0; }
.security .wrap { max-width: var(--wide); }
.bento { margin-top: 64px; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(280px, auto);
  grid-template-areas: "gyro gyro ro slice" "gyro gyro revoke slice" "chain chain seal leak"; }
.tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 32px; border-radius: 28px; background: var(--tile); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .06); pointer-events: none; }
.tile-text { position: relative; z-index: 1; }
.tile-kicker { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--muted); margin-bottom: 8px; }
.tile-copy { margin-top: 10px; color: var(--muted); max-width: 34ch; }
.tile img { position: absolute; z-index: 0; height: auto; pointer-events: none; user-select: none; }
.tile-gyro { grid-area: gyro; min-height: 600px; background: radial-gradient(80% 70% at 70% 72%, #10192e 0%, var(--tile) 70%); }
.tile-gyro img { width: 78%; right: -6%; bottom: -10%; }
.tile-ro { grid-area: ro; justify-content: center; container-type: inline-size; }
.tile-big { font-size: 56px; font-size: clamp(36px, 17cqi, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; margin: 6px 0 2px; white-space: nowrap; }
.tile-slice { grid-area: slice; }
.tile-slice img { width: 96%; left: 2%; bottom: -4%; }
.tile-revoke { grid-area: revoke; }
.tile-chain { grid-area: chain; min-height: 330px; }
.tile-chain .tile-text { max-width: 42%; }
.tile-chain img { width: 58%; right: -3%; top: 50%; transform: translateY(-50%); }
.tile-seal { grid-area: seal; min-height: 420px; }
.tile-seal img { width: 96%; left: 2%; bottom: -10%; }
.tile-leak { grid-area: leak; }
.people { margin: 18px 0 2px; display: grid; gap: 10px; }
.people li { display: flex; align-items: center; gap: 10px; font-size: 15px; transition: opacity .6s .9s; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0; color: #fff; background: hsl(var(--h) 70% 45%); }
.switch { margin-left: auto; width: 38px; height: 23px; border-radius: 12px; background: #3a3a3c; position: relative; transition: background-color .4s .9s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .4s .9s var(--ease); }
.switch.on { background: #30d158; }
.switch.on::after { transform: translateX(15px); }
.js .tile-revoke:not(.in) .revoking .switch { background: #30d158; }
.js .tile-revoke:not(.in) .revoking .switch::after { transform: translateX(15px); }
.tile-revoke.in .revoking, .no-js .revoking { opacity: .45; }
.spark { width: 100%; height: auto; margin: 18px 0 4px; }
.js .tile-leak:not(.in) .spark-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .tile-leak .spark-line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease) .3s; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0; vertical-align: 2px; margin-right: 6px; }
.pill-red { background: rgba(255, 69, 58, .16); color: #ff6961; }
@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "gyro gyro" "ro slice" "revoke slice" "chain chain" "seal leak"; }
  .tile-gyro { min-height: 560px; }
}
@media (max-width: 734px) {
  .security { padding: 100px 0; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "gyro" "ro" "slice" "revoke" "chain" "seal" "leak"; gap: 14px; }
  .tile { padding: 26px; }
  .tile-gyro { min-height: 520px; } .tile-gyro img { width: 96%; right: -12%; bottom: -8%; }
  .tile-slice { min-height: 560px; } .tile-slice img { width: 82%; left: 9%; }
  .tile-chain { min-height: 420px; } .tile-chain .tile-text { max-width: none; } .tile-chain img { width: 112%; right: -6%; top: auto; bottom: -4%; transform: none; }
  .tile-seal { min-height: 460px; }
}

/* ------------------------------------------------------------------ how it works */
.how { padding: 160px 0; }
.how-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.how-head { position: sticky; top: 120px; }
.how-head .t-lead { margin-top: 22px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 34px 0; border-top: 1px solid var(--hair); transition: opacity .5s var(--ease); }
.steps li:last-child { border-bottom: 1px solid var(--hair); }
.js .steps li { opacity: .3; }
.js .steps li.on { opacity: 1; }
.step-n { font-size: 21px; line-height: 1.6; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; transition: color .5s; }
.steps li.on .step-n { color: var(--blue); }
.steps h3 { font-size: 28px; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; }
.steps p { margin-top: 10px; color: var(--muted); }
@media (max-width: 1068px) { .how-grid { grid-template-columns: 1fr; gap: 40px; } .how-head { position: static; } }
@media (max-width: 734px) { .how { padding: 100px 0; } .steps h3 { font-size: 24px; } .steps li { grid-template-columns: 48px 1fr; } }

/* ------------------------------------------------------------------ who + questions */
.who { --bg: #fff; padding: 160px 0 140px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 44px auto 0; max-width: 820px; }
.chips li { padding: 9px 18px; border-radius: 999px; background: #f5f5f7; font-size: 15px; letter-spacing: -.01em; }
.marquee { margin-top: 88px; display: grid; gap: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row li { padding: 20px 26px; border-radius: 22px; background: #f5f5f7; font-size: 19px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 734px) { .who { padding: 100px 0; } .marquee-row li { font-size: 17px; padding: 16px 20px; } }

/* ------------------------------------------------------------------ faq */
.faq { padding: 160px 0; }
.qa { margin-top: 56px; }
.qa details { border-top: 1px solid var(--hair); }
.qa details:last-child { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 28px 48px 28px 0; font-size: 24px; line-height: 1.16667; font-weight: 600; letter-spacing: .009em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 1px; background: currentColor; transition: transform .35s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa details p { padding: 0 48px 30px 0; color: var(--muted); max-width: 680px; }
@media (max-width: 734px) { .faq { padding: 100px 0; } .qa summary { font-size: 19px; padding: 22px 40px 22px 0; } }

/* ------------------------------------------------------------------ pilot */
.pilot { position: relative; overflow: hidden; padding: 0 0 140px; }
.pilot-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.pilot-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.pilot-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 55%), linear-gradient(to bottom, transparent 70%, #000); pointer-events: none; }
.pilot-copy { position: relative; z-index: 1; max-width: 540px; }
.pilot-copy .t-lead { margin-top: 22px; }
.ticks { margin-top: 30px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--fg); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(48, 209, 88, .18); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border-right: 2px solid #30d158; border-bottom: 2px solid #30d158; transform: rotate(45deg); }
.form { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; display: grid; gap: 18px; padding: 36px; border-radius: 28px;
  background: rgba(28, 28, 30, .72); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); }
.form-title { font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: .007em; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; }
.form label > span { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: #a1a1a6; }
.form label em { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.form input, .form textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #f5f5f7; font-size: 17px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form textarea { resize: vertical; min-height: 96px; }
.form input::placeholder, .form textarea::placeholder { color: #6e6e73; }
.form input:focus, .form textarea:focus { outline: none; border-color: #2997ff; box-shadow: 0 0 0 4px rgba(41, 151, 255, .25); background: rgba(255, 255, 255, .08); }
.form [aria-invalid="true"] { border-color: #ff453a; }
.form .btn-lg { margin-top: 6px; }
.form-note { min-height: 1.4em; font-size: 15px; color: var(--muted); text-align: center; }
.form-note.ok { color: #30d158; } .form-note.err { color: #ff6961; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 734px) {
  .pilot-hero { align-items: flex-start; padding-top: 14vh; min-height: 125vh; }
  .pilot-bg img { inset: auto 0 0 0; height: 62%; object-position: 77% 60%; }
  .pilot-hero::after { background: linear-gradient(to bottom, #000 38%, transparent 55%, transparent 85%, #000); }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px; border-radius: 24px; margin-inline: 0; }
}

/* ------------------------------------------------------------------ footer */
.footer { background: #000; color: var(--muted); border-top: 1px solid rgba(255, 255, 255, .08); padding: 28px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 12px; line-height: 1.33337; letter-spacing: -.01em; }
.footer-inner { display: grid; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: #f5f5f7; font-size: 14px; font-weight: 600; }
.footer-brand img { border-radius: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a:hover { color: #f5f5f7; }
.footer-legal { color: var(--faint); }

/* ------------------------------------------------------------------ reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .marquee-row { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 22px; }
  .marquee-row li { white-space: normal; }
  .marquee-row li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* values that would otherwise be inline style attributes (CSP: style-src 'self') */
.bar:nth-child(1) { --v: .26; } .bar:nth-child(2) { --v: .25; } .bar:nth-child(3) { --v: .27; }
.bar:nth-child(4) { --v: .34; } .bar:nth-child(5) { --v: .24; } .bar:nth-child(6) { --v: .26; }
.people li:nth-child(1) .avatar { --h: 220; } .people li:nth-child(2) .avatar { --h: 280; } .people li:nth-child(3) .avatar { --h: 20; }
.pilot-wrap { width: 100%; }

/* The 3D mark above a product name, the way Apple sets an app icon above a headline. */
.product-mark { width: 88px; height: 88px; margin: 0 auto 18px; filter: drop-shadow(0 18px 30px rgba(91, 76, 255, .35)); }
.product-mark-sm { width: 64px; height: 64px; margin: 0 0 16px; }
@media (min-width: 1069px) { .chapter-hero .product-mark { margin-left: -6px; } }
@media (max-width: 734px) { .product-mark { width: 56px; height: 56px; margin-bottom: 10px; } }
@media (max-width: 1068px) { .scroll-cue { display: none; } }
