/* The company front page — who-will-win.com.
 *
 * Its own structure, the products' finish. The structure is the film's: an
 * asymmetric opening with the objects stacked at angles, a marquee, a
 * full-bleed cinema with chapter markers, the products as numbered chapters
 * that alternate sides, the "why" as a flow line, the letter beside its creed,
 * a status board, a closing question mark with a door per product.
 *
 * The finish is the product landings' (trader app.css / marketing.css,
 * prediction MarketingPage/style.css), so a visitor moving between the sites
 * sees one company: the navy ground with the dot grid and two soft lobes in
 * the logo ramp, the floating shield with its aura, gradient-text kickers
 * over titles, the gradient-framed screen with the glow, cards on the
 * elevated navy with a hairline of gradient across the top, the glass bar,
 * the spectrum ring on the primary button and the play disc, the quiet
 * gradient panel for the letter.
 *
 * Rules kept: real numbers or no numbers; one silent video starts itself;
 * nothing is fetched from a third party.
 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }
[id] { scroll-margin-top: 5.4rem; }
.page { position: relative; overflow-x: clip; isolation: isolate; }
.grad-hot { background: linear-gradient(90deg, var(--lg1), var(--lg4) 60%, var(--lg5)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: clamp(1rem, 4vw, 2rem); padding-right: clamp(1rem, 4vw, 2rem); }

/* ── the ground: the products' atmosphere ───────────────────────────────── */
/* the galaxy: a fixed canvas behind everything (site.js draws it), a slow
   spiral of stars in the logo ramp with a soft nebula, brightest behind the
   opening and fading as the page goes on so the copy stays the point */
.galaxy { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60rem;
  background:
    radial-gradient(42% 34% at 50% 0%, rgba(26, 98, 231, 0.34), transparent 72%),
    radial-gradient(26% 24% at 16% 14%, rgba(176, 63, 246, 0.20), transparent 70%),
    radial-gradient(22% 20% at 84% 10%, rgba(53, 170, 250, 0.16), transparent 70%);
  transform-origin: 50% 0; animation: landingDrift 60s ease-in-out infinite;
}
.aurora::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52rem;
  background-image: radial-gradient(rgba(232, 237, 247, 0.07) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 0%, #000 10%, transparent 100%); mask-image: radial-gradient(60% 60% at 50% 0%, #000 10%, transparent 100%);
}
.aurora i { display: none; }
@keyframes landingDrift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(2.5%, 1.5%, 0) scale(1.06); } }

/* ── type ───────────────────────────────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.7rem;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--lg1), var(--lg4)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.kicker .status { -webkit-text-fill-color: initial; }
.h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.lede { margin: 0.8rem 0 0; max-width: 40rem; font-size: 1.02rem; line-height: 1.6; color: var(--text-dim); text-wrap: pretty; }
.status { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: 0.6rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); vertical-align: middle; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status.live { color: var(--win); border-color: rgba(55, 214, 122, 0.4); background: var(--win-soft); }
.status.alpha { color: #ffd45e; border-color: rgba(255, 212, 94, 0.4); background: rgba(255, 212, 94, 0.1); }
.status.soon { color: #9fe9ff; border-color: rgba(103, 232, 249, 0.4); background: rgba(103, 232, 249, 0.1); }

/* ── buttons: the products' ─────────────────────────────────────────────── */
/* ONE FAMILY. The primary button, the quiet button and the bar's Explore are
   the same pill at different weights, and all three are QUIET AT REST.
   The primary is near-black glass with the rainbow as a precise 1px edge and
   a white label: the label is the sharpest thing on it, and the colour frames
   it. Nothing moves and nothing glows until the pointer arrives; then the
   edge starts to travel and a soft glow of the same colours rises under it.
   Two layers sit behind the label: ::before is the glow, ::after is the face
   with the rainbow in its border. */
.cta, .cta-ghost, .nav-cta {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0 1.45rem; border-radius: 999px; border: 0; background: none; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.012em; line-height: 1; color: #fff;
  transition: transform 0.25s cubic-bezier(0.22, 0.85, 0.3, 1);
}
.cta:focus-visible, .cta-ghost:focus-visible, .nav-cta:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.cta .ico, .nav-cta .ico, .cta-ghost .ico { font-size: 0.9em; opacity: 0.85; transition: transform 0.25s cubic-bezier(0.22, 0.85, 0.3, 1), opacity 0.2s ease; }
.cta:hover .ico, .nav-cta:hover .ico { opacity: 1; }
.cta:hover .ico.arrow, .nav-cta:hover .ico.arrow { transform: translateX(3px); }
.cta:hover .ico.down { transform: translateY(2px); }

/* the primary, and Explore, which is the primary at the bar's size.
   THE EDGE is one smooth pass of the brand's four colours, left to right:
   cyan, blue, violet, magenta. No orange, no pink, no hard stops, and it runs
   ALONG the pill, so the colour is even on the long sides instead of bunching
   at the ends the way a conic sweep does. The image is twice the button's
   width and mirrored, so on hover it can slide a full period with no seam. */
.cta::after, .nav-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 1px solid transparent; pointer-events: none;
  background:
    linear-gradient(180deg, #151b33 0%, #0b1020 100%) padding-box,
    linear-gradient(90deg, #5ee7ff 0%, #4f8cff 16.6%, #8b5cf6 33.3%, #e756fc 50%, #8b5cf6 66.6%, #4f8cff 83.3%, #5ee7ff 100%) border-box;
  background-size: 100% 100%, 200% 100%; background-position: 0 0, 0% 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 8px 22px -12px rgba(0, 0, 0, 0.9);
  transition: filter 0.25s ease;
}
.cta::before, .nav-cta::before {
  content: ""; position: absolute; inset: 4px 10px; z-index: -2; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, #5ee7ff 0%, #4f8cff 16.6%, #8b5cf6 33.3%, #e756fc 50%, #8b5cf6 66.6%, #4f8cff 83.3%, #5ee7ff 100%); background-size: 200% 100%; background-position: 0% 0;
  filter: blur(14px); opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease;
}
.cta:hover, .nav-cta:hover { transform: translateY(-1px); }
.cta:hover::after, .nav-cta:hover::after { filter: brightness(1.15); animation: edge-travel 4s linear infinite; }
.cta:hover::before, .nav-cta:hover::before { opacity: 0.55; animation: glow-travel 4s linear infinite; }
.cta:active, .nav-cta:active { transform: translateY(0); }
@keyframes edge-travel { to { background-position: 0 0, 200% 0; } }
@keyframes glow-travel { to { background-position: 200% 0; } }
.nav-cta { min-height: 36px; padding: 0 1.05rem; font-size: 0.85rem; }
.nav-cta:hover::before { opacity: 0.4; }
@keyframes ring-turn { to { --ring-angle: 360deg; } }
/* the quiet button: the same pill, clear, with one hairline */
.cta-ghost {
  color: #d5ddee; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s cubic-bezier(0.22, 0.85, 0.3, 1), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cta-ghost:not(.is-soon):hover { transform: translateY(-1px); color: #fff; border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.07); }
/* a product that is not open yet: a label in a button's place, clearly not one */
.cta-ghost.is-soon { cursor: default; color: var(--text-dim); letter-spacing: 0.04em; background: none; border: 1px dashed rgba(255, 255, 255, 0.2); }

/* ── the bar: the products' glass strip ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1.4rem;
  padding: 0.8rem clamp(1rem, 4vw, 2rem);
  background: rgba(11, 15, 26, 0.62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(135, 165, 255, 0.14);
}
.nav-brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.nav-brand img { width: 44px; height: 44px; filter: drop-shadow(0 0 12px rgba(124, 108, 255, 0.55)); }
.nav-word { font-size: 1.4rem; font-weight: 900; font-style: italic; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; padding-right: 0.2rem; }
.nav-links { display: flex; gap: 0.15rem; margin-left: auto; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-weight: 700; font-size: 0.94rem; padding: 0.5rem 0.85rem; border-radius: 999px; white-space: nowrap; transition: color 0.12s ease, background 0.12s ease; }
.nav-links a:hover { color: var(--text); background: rgba(135, 165, 255, 0.12); }

/* ── 1 · the opening ────────────────────────────────────────────────────── */
.hero {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem;
  min-height: calc(100vh - 68px); max-width: 1120px; margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 2rem) 3.6rem;
}
.hero-mark-wrap { position: relative; width: fit-content; margin: 0 0 0.8rem; }
.hero-mark-wrap::before { content: ""; position: absolute; inset: -48%; filter: blur(10px);
  background: radial-gradient(circle, rgba(93, 102, 255, 0.58), rgba(139, 92, 246, 0.26) 45%, transparent 72%); animation: hero-aura 3.4s ease-in-out infinite; }
.hero-mark { position: relative; display: block; height: 78px; width: auto;
  filter: drop-shadow(0 0 30px rgba(93, 102, 255, 0.7)) drop-shadow(0 12px 60px rgba(139, 92, 246, 0.5)); animation: hero-mark-float 4.5s ease-in-out infinite; }
@keyframes hero-mark-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hero-aura { 0%, 100% { opacity: 0.7; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.06); } }
.hero-over { margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.46em; text-transform: uppercase; color: var(--lg1); }
.hero-title { margin: 0; display: flex; flex-direction: column; font-size: clamp(3.2rem, 7.4vw, 5.9rem); font-weight: 900; font-style: italic; letter-spacing: -0.05em; line-height: 0.9; }
.hero-title .hw { display: block; width: fit-content; padding-right: 0.12em; }
/* the "AI" treatment: each word is gradient text with one bright band in it,
   and the band travels, so a light reads through the letters the way it does
   through generated text. site.js decodes the letters into place on load. */
.hero-title .ai {
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: ai-sweep 5.5s linear infinite;
}
.hero-title .ai-white { background-image: linear-gradient(100deg, #ffffff 0%, #ffffff 40%, #8fd3ff 48%, #ffffff 56%, #ffffff 100%); }
.hero-title .ai-cool  { background-image: linear-gradient(100deg, var(--lg1) 0%, var(--lg2) 30%, #ffffff 46%, var(--lg4) 62%, var(--lg5) 100%); animation-delay: -0.5s; }
.hero-title .ai-hot   { background-image: linear-gradient(100deg, var(--lg1) 0%, var(--lg4) 34%, #ffffff 48%, var(--lg5) 64%, var(--lg4) 100%); animation-delay: -1s; }
.hero-title .ai.decoding { font-family: var(--mono); font-style: normal; letter-spacing: -0.06em; }
@keyframes ai-sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }
/* the intro: one line that says what the company is, then one line per
   product, each marked in its own colour, so it can be read at a glance */
.hero-lead { margin: 1.05rem 0 0; font-size: clamp(1.3rem, 2.1vw, 1.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; animation: up 0.8s 0.4s cubic-bezier(0.22, 0.85, 0.3, 1) both; }
.hero-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.6rem; max-width: 35rem; animation: up 0.8s 0.48s cubic-bezier(0.22, 0.85, 0.3, 1) both; }
.hero-list li { display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); align-items: baseline; gap: 0.1rem 0.9rem; padding: 0.1rem 0 0.1rem 0.9rem; border-left: 2px solid var(--c); }
.hero-list b { font-size: 0.96rem; font-weight: 800; letter-spacing: -0.01em; color: color-mix(in srgb, var(--c) 62%, #fff); }
.hero-list span { font-size: 1rem; line-height: 1.45; color: #c3cce0; }
.hero-more { margin: 0.75rem 0 0; padding-left: 0.9rem; font-size: 0.86rem; font-weight: 600; color: var(--text-dim); animation: up 0.8s 0.5s cubic-bezier(0.22, 0.85, 0.3, 1) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.3rem; animation: up 0.8s 0.55s cubic-bezier(0.22, 0.85, 0.3, 1) both; }
.hero-marks { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.84rem; font-weight: 600; color: var(--text-dim); animation: up 0.8s 0.7s cubic-bezier(0.22, 0.85, 0.3, 1) both; }
.hero-marks li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-marks li::before { content: ""; width: 1em; height: 1em; background: var(--win); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
/* THE PRODUCT SCREENS. One window style, used wherever a product is shown:
   a bar carrying the product's lockup and its status, and the screen under
   it. In the opening the three are the same size and step down like a
   staircase, each a link to its product's chapter; in each chapter the same
   screen is shown large. Flat and sharp; nothing follows the pointer. */
.screen-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; text-decoration: none; color: inherit;
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #1b2447, #0f1424 70%) padding-box,
    linear-gradient(135deg, var(--c) 0%, rgba(135, 165, 255, 0.28) 45%, color-mix(in srgb, var(--c) 55%, transparent) 100%) border-box;
  box-shadow: 0 -10px 30px rgba(7, 11, 20, 0.55), 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 46px color-mix(in srgb, var(--c) 18%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.screen-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.5rem 0.9rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 6%, transparent)); border-bottom: 1px solid color-mix(in srgb, var(--c) 32%, transparent); }
.screen-bar .status { margin: 0; flex: none; }
.screen-bar .lockup { gap: 0.55rem; }
.screen-bar .lockup img { width: 34px; height: 34px; }
.screen-bar .lockup-name { font-size: 1.08rem; }
.screen-bar .lockup em { margin-top: 2px; font-size: 0.56rem; color: color-mix(in srgb, var(--c) 70%, #fff); text-shadow: 0 0 12px color-mix(in srgb, var(--c) 70%, transparent); }
/* inside the window the screen drops its own frame: the window is the frame */
.screen-card > :not(.screen-bar) { flex: 1; min-height: 0; }
.screen-card .stage-card { display: flex; flex-direction: column; justify-content: center; padding: 0.7rem 1rem 1.15rem; border-radius: 0; background: none; box-shadow: none; }
.screen-card .stage-card::before, .screen-card .stage-card::after { display: none; }
.screen-card .mv-stage { border: 0; border-radius: 0; box-shadow: none; min-height: 0; }
.screen-card .mv-fig .tag { display: none; }
/* the opening: three windows, one size, a staircase */
.hero-stack { position: relative; display: flex; flex-direction: column; animation: up 1s 0.3s cubic-bezier(0.22, 0.85, 0.3, 1) both; }
.hero-stack .screen-card { width: 74%; height: 252px; }
.hero-stack .screen-card:hover { transform: translateY(-5px); box-shadow: 0 -10px 30px rgba(7, 11, 20, 0.55), 0 34px 70px rgba(0, 0, 0, 0.6), 0 0 60px color-mix(in srgb, var(--c) 34%, transparent); }
.hero-stack .screen-card:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hero-stack .screen-card.c1 { z-index: 1; }
.hero-stack .screen-card.c2 { z-index: 2; margin: -0.85rem 0 0 13%; }
.hero-stack .screen-card.c3 { z-index: 3; margin: -0.85rem 0 0 26%; }
.hero-stack .teams { margin-top: 0.65rem; gap: 0.4rem; }
.hero-stack .team { padding: 0.4rem 0.75rem; }
.hero-stack .team .mark { width: 1.9rem; height: 1.9rem; font-size: 0.9rem; }
.hero-stack .team .score { font-size: 1.55rem; }
.hero-stack .conf { margin-top: 0.6rem; font-size: 0.7rem; }
.hero-stack .desk-title small { display: none; }
.hero-stack .desk-kpi { margin-top: 0.55rem; }
.hero-stack .desk-kpi b { font-size: 2rem; }
.hero-stack .stage-card.desk .stage-spark { height: 46px; margin-top: 0.45rem; flex: none; }
.hero-stack .desk-rows { margin-top: 0.5rem; gap: 0.3rem; font-size: 0.76rem; }
.hero-stack .desk-row { padding: 0.36rem 0.6rem; }
.hero-stack .desk-row:first-child { display: none; }
/* a chapter: the same screen, large */
.chapter-obj .screen-card { width: 100%; }
.chapter-obj .screen-bar { padding: 0.75rem 1.15rem; }
.chapter-obj .screen-bar .lockup img { width: 44px; height: 44px; }
.chapter-obj .screen-bar .lockup-name { font-size: 1.4rem; }
.chapter-obj .screen-bar .lockup em { font-size: 0.66rem; }
.chapter-obj .screen-card .stage-card { padding: 1.5rem 1.5rem 1.6rem; min-height: 320px; }
.chapter-obj .screen-card .mv-stage { min-height: 360px; }
.chapter-obj .desk-kpi b { font-size: 3.2rem; }
.chapter-obj .stage-card.desk .stage-spark { height: 84px; }
/* the product lockup: the shield, the name, the product in spaced caps */
.lockup { display: inline-flex; align-items: center; gap: 0.5rem; }
.lockup img { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 5px rgba(94, 231, 255, 0.55)) drop-shadow(0 0 16px rgba(124, 108, 255, 0.95)); }
.lockup-words { display: flex; flex-direction: column; line-height: 1; }
.lockup-name { font-size: 1.22rem; font-weight: 900; font-style: italic; letter-spacing: -0.02em; white-space: nowrap; padding-right: 0.15rem; filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.55)); }
.lockup em { margin-top: 4px; font-style: normal; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.42em; text-transform: uppercase; color: #c4b5fd; }
.chapter-brand { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin: 0 0 1.2rem; }
.chapter-brand .lockup { gap: 0.7rem; }
.chapter-brand .lockup img { width: 56px; height: 56px; }
.chapter-brand .lockup-name { font-size: 1.7rem; }
.chapter-brand .lockup em { font-size: 0.74rem; color: color-mix(in srgb, var(--c) 70%, #fff); text-shadow: 0 0 12px color-mix(in srgb, var(--c) 70%, transparent); }
.chapter-brand .status { margin: 0; }
.hero-cue { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-decoration: none; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.hero-cue i { width: 1px; height: 28px; background: linear-gradient(180deg, var(--lg1), transparent); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(6px); opacity: 1; } }

/* ── 2 · the platforms rail (the prediction site's, part for part) ─────── */
.ps-band { width: 100%; margin: 0 auto; padding: 1.6rem 0 1.4rem; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(11, 15, 26, 0.45); }
.ps-label { margin: 0 0 0.95rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); opacity: 0.85; }
.ps-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ps-marquee { position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ps-track { display: flex; width: max-content; animation: ps-scroll 60s linear infinite; }
.ps-marquee:hover .ps-track { animation-play-state: paused; }
.ps-set { display: flex; align-items: center; flex: none; list-style: none; margin: 0; padding: 0 3.4rem 0 0; gap: 3.4rem; }
.ps-item { flex: none; display: flex; align-items: center; gap: 0.45rem; height: 44px; }
/* one light grey for every mark, so eight brand palettes do not fight the page */
.ps-item img { display: block; height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.62; transition: opacity 0.2s ease; user-select: none; -webkit-user-drag: none; }
.ps-item:hover img, .ps-item:hover b { opacity: 1; }
.ps-draftkings img { height: 40px; }
.ps-cryptocom img { height: 24px; }
.ps-novig img { height: 17px; }
.ps-us b { padding: 0.12rem 0.4rem; border-radius: 6px; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; color: #fff; border: 1.5px solid #fff; opacity: 0.62; transition: opacity 0.2s ease; }
.ps-legal { margin: 0.7rem auto 0; max-width: 46rem; padding: 0 1rem; font-size: 0.62rem; line-height: 1.4; color: var(--text-dim); opacity: 0.6; }
@keyframes ps-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ── 3 · the cinema: the products' gradient frame, and the chapters ────── */
.cinema { padding: 4.5rem clamp(1rem, 4vw, 2rem) 2rem; }
.cinema-head { max-width: 40rem; margin: 0 auto 1.6rem; text-align: center; }
.cinema-head .kicker { display: inline-block; }
.screen {
  position: relative; max-width: 1120px; margin: 0 auto; border: 1.5px solid transparent; border-radius: 20px; overflow: hidden; line-height: 0;
  background: linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box, linear-gradient(135deg, #4f8cff 0%, #8b5cf6 50%, #22c55e 100%) border-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(125, 92, 255, 0.18);
}
.screen video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; background: #000; }
.chapters { position: relative; max-width: 1120px; margin: 0.8rem auto 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.3rem; padding-top: 0.8rem; }
.chapters::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); border-radius: 2px; }
.chapters-bar { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--brand-rail); border-radius: 2px; }
.chapters button { appearance: none; background: none; border: 0; color: var(--text-dim); text-align: left; padding: 0.45rem 0.5rem; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 0.1rem; transition: color 0.15s ease, background 0.15s ease; }
.chapters button b { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.2em; color: var(--c, var(--text-dim)); }
.chapters button span { font-size: 0.86rem; font-weight: 700; }
.chapters button:hover { background: rgba(135, 165, 255, 0.08); color: var(--text); }
.chapters button.on { color: var(--text); }
.chapters button.on span { text-decoration: underline; text-decoration-color: var(--c, var(--lg1)); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.reel-toggle, .reel-fs {
  position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border-radius: 50%; color: #fff; cursor: pointer; line-height: 1;
  background: rgba(11, 15, 26, 0.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); transition: transform 0.15s ease, background 0.15s ease;
}
.reel-toggle { right: 0.75rem; bottom: 0.75rem; width: 44px; height: 44px; }
.reel-fs { right: 0.75rem; top: 0.75rem; width: 40px; height: 40px; font-size: 1.05rem; }
.reel-toggle:hover, .reel-fs:hover { transform: scale(1.06); background: rgba(26, 98, 231, 0.6); }
.reel-toggle.is-paused { border: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 46%, rgba(255, 255, 255, 0) 62%), linear-gradient(135deg, var(--lg2) 0%, #4a4df0 48%, var(--lg4) 100%); box-shadow: 0 0 0 2px var(--bg), 0 10px 28px rgba(55, 33, 204, 0.55); }
.play-glyph, .pause-glyph { display: block; background: #fff; }
.play-glyph { width: 15px; height: 16px; margin-left: 3px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.pause-glyph { width: 13px; height: 15px; background: linear-gradient(90deg, #fff 0 36%, transparent 36% 64%, #fff 64%); }
.video-facade { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; line-height: 0; }
.video-facade img { width: 100%; height: auto; display: block; opacity: 0.82; aspect-ratio: 16 / 9; object-fit: cover; }
.video-facade::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, rgba(11, 15, 26, 0) 30%, rgba(11, 15, 26, 0.45) 100%); }
.video-facade .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 46%, rgba(255, 255, 255, 0) 62%), linear-gradient(135deg, var(--lg2) 0%, #4a4df0 48%, var(--lg4) 100%);
  box-shadow: 0 0 0 2px var(--bg), 0 16px 44px rgba(55, 33, 204, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22); transition: transform 0.18s ease;
}
.video-facade .play::before {
  content: ""; position: absolute; inset: -5px; padding: 2.5px; border-radius: 50%; z-index: 1;
  background: conic-gradient(from var(--ring-angle), #5ee7ff, var(--lg1), var(--lg2), var(--lg4), var(--lg5), #ff7ab6, #ffb86b, #5ee7ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; animation: ring-turn 4s linear infinite;
}
.video-facade .play .play-glyph { width: 34%; height: 38%; margin-left: 9%; }
.video-facade:hover .play { transform: translate(-50%, -50%) scale(1.07); }
.video-facade:focus-visible .play { outline: 2px solid #fff; outline-offset: 6px; }

/* ── 4 · the chapters ───────────────────────────────────────────────────── */
.rail { position: fixed; left: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 30; display: none; flex-direction: column; gap: 0.5rem; opacity: 0; transition: opacity 0.3s ease; }
.rail.show { opacity: 1; }
.rail a, .rail-more { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.08em; color: var(--text-dim); border: 1px solid var(--line); background: rgba(11, 15, 26, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.rail a.on { color: var(--c); border-color: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); }
.rail-more { border-style: dashed; }
.chapter {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1120px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem);
}
.chapter::before { content: ""; position: absolute; inset: 0 -100vw; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 6%, transparent), transparent 50%); }
.chapter.flip::before { background: linear-gradient(270deg, color-mix(in srgb, var(--c) 6%, transparent), transparent 50%); }
.chapter.flip .chapter-copy { order: 2; }
.chapter.flip .chapter-obj { order: 1; }
.ghost { position: absolute; top: 0; margin: 0; z-index: -1; pointer-events: none; font-size: clamp(10rem, 24vw, 20rem); font-weight: 900; line-height: 1; letter-spacing: -0.08em; color: var(--c, var(--text-dim)); opacity: 0.05; user-select: none; }
.chapter .ghost { left: -0.04em; }
.chapter.flip .ghost { left: auto; right: -0.04em; }
.chapter-copy { position: relative; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.2rem; margin: 1.6rem 0 0; }
.facts div { padding: 0.9rem 1rem; border-radius: 12px; background: var(--bg-elev); border: 1px solid var(--line); }
.facts dt { margin: 0 0 0.25rem; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c); }
.facts dd { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--text-dim); }
.chapter-cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }

.chapter-obj > * { transition: transform 0.25s ease; }
.chapter-obj > *:hover { transform: translateY(-4px); }
.mv-stage.tall { min-height: 400px; }
.mv-stage.tall .mv-fig .tag { display: none; }
.chapter.next { grid-template-columns: 1fr; padding-top: 2rem; padding-bottom: 4rem; justify-items: center; text-align: center; }
.chapter.next .ghost { color: var(--text-dim); left: 50%; transform: translateX(-50%); }
.next-inner { position: relative; overflow: hidden; width: 100%; max-width: 62rem; padding: 2.6rem 2rem 2.4rem; border-radius: 24px; border: 1px solid var(--panel-line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: radial-gradient(60% 90% at 50% 0%, rgba(26, 98, 231, 0.22), transparent 70%), linear-gradient(180deg, var(--panel-top), var(--panel-bottom)); }
.next-inner .doors { margin-top: 1.8rem; }
.next-inner .lede { margin-left: auto; margin-right: auto; }

/* ── 5 · the flow ───────────────────────────────────────────────────────── */
.why { max-width: 1120px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem); }
.why-head { max-width: 42rem; margin: 0 auto; text-align: center; }
.why-head .lede { margin-left: auto; margin-right: auto; }
.flow { position: relative; list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.flow::before { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; top: 1.35rem; height: 2px; background: linear-gradient(90deg, #4f8cff, #b03ff6 40%, #67e8f9 70%, rgba(154, 166, 192, 0.3)); }
.flow li { position: relative; padding: 1.35rem 1.3rem 1.3rem; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c, #9aa6c0) 12%, transparent), transparent 62%), var(--bg-elev); border: 1px solid var(--line); transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.flow li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c, #9aa6c0) 50%, transparent); box-shadow: 0 16px 40px color-mix(in srgb, var(--c, #9aa6c0) 16%, transparent); }
.flow .node { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--c, var(--text-dim)); box-shadow: 0 0 14px color-mix(in srgb, var(--c, transparent) 60%, transparent); margin-bottom: 1rem; }
.flow .soon .node { border-style: dashed; box-shadow: none; }
.flow b { display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.flow span { display: block; margin-top: 0.35rem; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c, var(--text-dim)); }
.flow p { margin: 0.7rem 0 0; font-size: 0.88rem; line-height: 1.55; color: var(--text-dim); }
.flow .soon { border-style: dashed; }
.flow .soon b, .flow .soon span { color: var(--text-dim); }

/* ── 5b · W Coins ───────────────────────────────────────────────────────── */
.coins { position: relative; overflow: hidden; max-width: 1120px; margin: 2rem auto 0; padding: clamp(3rem, 6vw, 5rem) clamp(1.4rem, 4vw, 3rem); border-radius: 24px;
  background: radial-gradient(70% 40% at 50% 0%, rgba(255, 176, 32, 0.10), transparent 70%), linear-gradient(180deg, var(--panel-top), var(--panel-bottom) 60%);
  border: 1px solid var(--panel-line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.coin-rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 88%, transparent); }
.coins-inner { position: relative; z-index: 1; max-width: 62rem; margin: 0 auto; text-align: center; }
.coins-inner .lede { max-width: 42rem; }
.coins-inner .lede { margin-left: auto; margin-right: auto; }
.coins-inner .kicker { -webkit-text-fill-color: #ffd166; color: #ffd166; background: none; }
.wcoin { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 50%; flex: none; font-size: 0.92em; font-weight: 900; font-style: normal; line-height: 1; color: rgba(40, 24, 0, 0.82);
  background: radial-gradient(circle at 35% 30%, #fff6d0 0%, #ffcf5c 45%, #b47a12 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 6px rgba(255, 207, 92, 0.45); vertical-align: -0.12em; }
.coin-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 2rem 0 0; text-align: left; }
.coin-facts div { padding: 1.1rem 1.1rem 1rem; border-radius: 14px; background: rgba(11, 15, 26, 0.55); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.coin-facts b { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.coin-facts span { display: block; margin-top: 0.4rem; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: #ffd166; }
.coin-facts p { margin: 0.5rem 0 0; font-size: 0.86rem; line-height: 1.55; color: var(--text-dim); }
.coins-cta { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; margin-top: 2rem; }
.coins-note { font-size: 0.84rem; color: var(--text-dim); }

/* ── 6 · the letter: the products' quiet panel, the creed beside it ────── */
.letter {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1120px; margin: 2rem auto 0; padding: clamp(2.2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem); border-radius: 24px;
  background: radial-gradient(70% 40% at 50% 0%, rgba(26, 98, 231, 0.16), transparent 70%), linear-gradient(180deg, var(--panel-top), var(--panel-bottom) 60%);
  border: 1px solid var(--panel-line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.letter-side { position: sticky; top: 6rem; align-self: start; }
.creed { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.creed p { margin: 0; display: flex; align-items: baseline; gap: 0.8rem; }
.creed span { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); width: 3rem; flex: none; }
.creed b { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; }
.signoff { display: flex; align-items: center; gap: 0.7rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--panel-line-soft); }
.signoff img { width: 34px; height: 34px; filter: drop-shadow(0 2px 10px rgba(125, 92, 255, 0.45)); }
.signoff div { display: flex; flex-direction: column; line-height: 1.2; }
.signoff b { font-weight: 900; font-size: 1rem; }
.signoff span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.2rem; }
.letter-body { max-width: 62ch; }
.letter-body p { margin: 0 0 1.2rem; font-size: 17px; line-height: 1.8; color: #d6dcea; text-wrap: pretty; }
.letter-body p:first-child { font-size: 19px; color: var(--text); }
.letter-body strong { font-weight: 800; color: var(--text); }
.letter-video {
  position: relative; margin-top: 2rem; border: 1.5px solid transparent; border-radius: 20px; overflow: hidden; line-height: 0;
  background: linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box, linear-gradient(135deg, #4f8cff 0%, #8b5cf6 50%, #22c55e 100%) border-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(125, 92, 255, 0.18);
}
.letter-video video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; background: #000; }

/* ── 7 · the company: how we operate, then the board ───────────────────── */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 2.4rem; }
.principle { position: relative; overflow: hidden; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 62%), var(--bg-elev); border: 1px solid var(--line); transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.principle::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); opacity: 0.85; }
.principle:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 16px 40px color-mix(in srgb, var(--c) 16%, transparent); }
.principle b { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.principle p { margin: 0.5rem 0 0; font-size: 0.88rem; line-height: 1.6; color: var(--text-dim); }
/* a product that is not open yet: a label, not a link. No arrow, no lift. */
.door.soon { border-style: dashed; cursor: default; }
.door.soon:hover { transform: none; border-color: var(--line); box-shadow: none; }
.door.soon > em::after { display: none; }
.board { max-width: 1120px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem) 2rem; }
.board-head { max-width: 42rem; margin: 0 auto; text-align: center; }
.board-head .lede { margin-left: auto; margin-right: auto; }
.board-rows { max-width: 46rem; margin: 2.4rem auto 0; display: flex; flex-direction: column; gap: 0.6rem; }
.board-row {
  display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: 1.1rem; padding: 0.95rem 1.2rem; border-radius: 14px;
  background: var(--bg-elev); border: 1px solid var(--line); transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.board-row:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c, #9aa6c0) 50%, transparent); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.board-row b { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.2em; color: var(--c, var(--text-dim)); }
.board-row .name { font-size: 1.15rem; font-weight: 900; letter-spacing: -0.02em; }
.board-row .status { margin-left: 0; }
.board-row.soon { opacity: 0.7; border-style: dashed; }
.board-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: 1.8rem; }
.board-foot p { margin: 0; max-width: 46rem; font-size: 0.92rem; line-height: 1.65; color: var(--text-dim); }

/* ── 8 · risk: the products' strip ──────────────────────────────────────── */
.risk {
  max-width: 1120px; margin: 1.4rem auto 0; padding: 1rem 1.25rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.58; color: #d6dcea;
  background: rgba(255, 176, 32, 0.07); border: 1px solid rgba(255, 176, 32, 0.32); border-left: 3px solid var(--warn);
}
.risk a { color: var(--text); }
@media (max-width: 1160px) { .risk { margin-left: clamp(1rem, 4vw, 2rem); margin-right: clamp(1rem, 4vw, 2rem); } }

/* ── 9 · the closing question ───────────────────────────────────────────── */
.close {
  position: relative; overflow: hidden; text-align: center; max-width: 1120px; margin: 2.6rem auto 0; padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 2rem) clamp(3.5rem, 7vw, 5rem); border-radius: 24px;
  background: radial-gradient(60% 90% at 50% 0%, rgba(26, 98, 231, 0.26), transparent 70%), radial-gradient(40% 60% at 85% 100%, rgba(176, 63, 246, 0.16), transparent 70%), linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  border: 1px solid var(--panel-line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.close-q { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); margin: 0; z-index: 0; pointer-events: none; font-size: clamp(16rem, 44vw, 34rem); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -0.06em; opacity: 0.08;
  background: linear-gradient(180deg, var(--lg1), var(--lg4) 70%, var(--lg5)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.close > :not(.close-q) { position: relative; z-index: 1; }
.close-title { margin: 0; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.close .lede { margin-left: auto; margin-right: auto; text-align: center; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: 0.9rem; margin-top: 2.2rem; }
.door {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 1.2rem 1.2rem 1.1rem; border-radius: var(--radius); text-decoration: none; text-align: left;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 62%), var(--bg-elev); border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.door::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); opacity: 0.85; }
.door:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 16px 40px color-mix(in srgb, var(--c) 18%, transparent); }
/* a door wears its product's lockup and one line of what happens next */
.door { gap: 0.75rem; align-items: center; text-align: center; }
.door .lockup { gap: 0.6rem; }
.door .lockup img { width: 52px; height: 52px; }
.door .lockup-name { font-size: 1.45rem; }
.door .lockup em { font-size: 0.68rem; text-align: left; color: color-mix(in srgb, var(--c) 75%, #fff); text-shadow: 0 0 12px color-mix(in srgb, var(--c) 70%, transparent); }
.door > em { font-style: normal; font-size: 0.84rem; color: var(--text-dim); }
.door > em::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 0.3em; vertical-align: -0.14em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ── footer: the products' ──────────────────────────────────────────────── */
.foot { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 1.8rem 1.2rem 1.6rem; margin-top: 3rem; border-top: 1px solid var(--line); text-align: center; opacity: 0.85; }
.foot-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.foot-brand img { width: 30px; height: 30px; }
.foot-brand .nav-word { font-size: 1.15rem; }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.foot-links a { text-decoration: none; font-weight: 700; font-size: 0.8rem; color: var(--text); }
.foot-links a:hover { text-decoration: underline; }
.foot p { margin: 0; font-size: 0.72rem; line-height: 1.6; color: var(--text-dim); }

/* ── arriving as it comes into view ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s cubic-bezier(0.22, 0.85, 0.3, 1), transform 0.6s cubic-bezier(0.22, 0.85, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── widths ─────────────────────────────────────────────────────────────── */
@media (min-width: 1240px) { .rail { display: flex; } }
@media (max-width: 1024px), (hover: none) and (pointer: coarse) { .reel-fs { display: none !important; } }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; padding-bottom: 3.5rem; }
  .hero-stack { max-width: 600px; }
  .hero-cue { display: none; }
  .chapter, .letter { grid-template-columns: minmax(0, 1fr); }   /* minmax(0, …): a wide child must shrink or wrap, never widen the page */
  .chapter.flip .chapter-copy { order: 1; } .chapter.flip .chapter-obj { order: 2; }
  .chapter-obj { max-width: 560px; }
  .letter-side { position: static; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .principles { grid-template-columns: 1fr; }
  .coin-facts { grid-template-columns: 1fr 1fr; }
  .doors { grid-template-columns: 1fr; }
  .chapters button span { font-size: 0.78rem; }
}
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 640px) {
  /* on a phone the opening is the words and the two buttons; the three product
     screens are not shown here (owner, 2026-09-30). Each product's own section
     further down still shows its screen. */
  .hero-stack { display: none; }
  /* buttons on a phone: full width, stacked, the same size, easy to hit */
  .hero-cta, .chapter-cta { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .cta, .cta-ghost { min-height: 50px; font-size: 0.98rem; }
  .board-foot .cta-ghost { align-self: stretch; }
  .hero-lead { font-size: 1.22rem; text-wrap: balance; }
  .hero-marks { flex-direction: column; gap: 0.35rem; }
  .chapters button { min-height: 44px; justify-content: center; align-items: center; }
  .chapter-obj .desk-kpi b { font-size: 2.4rem; }
  .chapter-obj .desk-title small { display: none; }
  .chapter { padding-top: 3rem; padding-bottom: 3rem; }
  .nav-brand img { width: 34px; height: 34px; }
  .nav-word { font-size: 1.1rem; }
  .hero-mark { height: 76px; }
  .hero-title { font-size: clamp(3.2rem, 19vw, 5rem); }
  .hero-stack { gap: 1rem; }
  .hero-stack .screen-card, .hero-stack .screen-card.c2, .hero-stack .screen-card.c3 { width: 100%; margin: 0; }
  .chapter-obj .screen-bar .lockup-name { font-size: 1.15rem; } .chapter-obj .screen-bar .lockup img { width: 36px; height: 36px; }
  .chapter-obj .screen-card .stage-card { padding: 1.1rem 1rem 1.2rem; }
  .hero-list li { grid-template-columns: 1fr; }
  .screen-bar .lockup img { width: 34px; height: 34px; }
  .screen-bar .lockup-name { font-size: 1.05rem; }
  .facts { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: repeat(5, 1fr); gap: 0.2rem; }
  .chapters button { padding: 0.5rem 0.2rem; }
  .chapters button span { display: none; }
  .board-foot { flex-direction: column; align-items: flex-start; }
  .letter { padding: 2rem 1.2rem; border-radius: 18px; }
  .letter-body p { font-size: 16px; } .letter-body p:first-child { font-size: 17.5px; }
  .close { border-radius: 18px; }
  .coins { padding: 2.2rem 1.2rem; border-radius: 18px; }
  .coin-facts { grid-template-columns: 1fr; }
}
/* the narrowest phones (320 to 360): the product bars and figures give a little */
@media (max-width: 360px) {
  .screen-bar, .chapter-obj .screen-bar { padding: 0.5rem 0.7rem; gap: 0.4rem; }
  .screen-bar .lockup, .chapter-obj .screen-bar .lockup { gap: 0.4rem; }
  .screen-bar .lockup img, .chapter-obj .screen-bar .lockup img { width: 28px; height: 28px; }
  .screen-bar .lockup-name, .chapter-obj .screen-bar .lockup-name { font-size: 0.92rem; }
  .screen-bar .lockup em, .chapter-obj .screen-bar .lockup em { font-size: 0.48rem; letter-spacing: 0.3em; }
  .screen-bar .status { padding: 0.16rem 0.42rem; font-size: 0.52rem; letter-spacing: 0.06em; }
  .desk-kpi { flex-wrap: wrap; gap: 0.4rem 0.7rem; }
  .hero-stack .desk-kpi b, .chapter-obj .desk-kpi b { font-size: 1.8rem; }
  .door .lockup img { width: 40px; height: 40px; }
  .door .lockup-name { font-size: 1.15rem; }
  .door { padding-left: 0.8rem; padding-right: 0.8rem; }
  .hero-title { font-size: 3.1rem; }
  .nav-word { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-lead, .hero-list, .hero-more, .hero-cta, .hero-marks, .hero-stack, .hero-mark, .hero-mark-wrap::before { animation: none; }
  .aurora::before, .ps-track, .hero-cue i, .video-facade .play::before { animation: none; }
  .cta:hover::after, .nav-cta:hover::after, .cta:hover::before, .nav-cta:hover::before { animation: none; }
  .chapter-obj > * { transition: none; }
  .hero-title .ai { animation: none; background-position: 0 0; }
}
