/* ============================================================
   Bento — landing page (pages/home.html)

   Motion model. landing.js measures how far each [data-p] section has
   travelled and writes it to that element as --p (0 to 1). Everything that
   moves with the scroll is plain CSS reading --p, so the script never touches
   a transform. The hero also gets --mx / --my (-1 to 1) from the pointer.

   Every scripted state is gated on html.motion, which landing-boot.js sets
   only when scripts run and the visitor has not asked for reduced motion.
   Without it the page is static and fully readable.
   ============================================================ */

:root {
  --bg: #07090c;
  --ink: 244, 246, 248;
  --t1: rgb(var(--ink));
  --t2: rgba(var(--ink), .68);
  --t3: rgba(var(--ink), .44);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --teal: #1abc9c;
  --mint: #7ef0d4;
  --teal-rgb: 26, 188, 156;
  --glass: rgba(255, 255, 255, .07);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: Archivo, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--t2);
  font-family: var(--display); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; text-wrap: pretty; }
code { font-family: var(--mono); font-size: .86em; padding: 2px 7px; border-radius: 7px; background: rgba(255, 255, 255, .08); color: var(--mint); white-space: nowrap; }
::selection { background: rgba(var(--teal-rgb), .4); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: -9999px; top: 10px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--teal); color: #06231d; font-weight: 700; }
.skip:focus { left: 10px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Type ── */
h1, h2, h3 { margin: 0; color: var(--t1); text-wrap: balance; }
h1, h2 { font-weight: 800; font-stretch: 116%; letter-spacing: -0.045em; word-spacing: .08em; line-height: .98; }
h1 { font-size: clamp(46px, 8vw, 112px); }
h2 { font-size: clamp(34px, 5.6vw, 76px); }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
/* The emphasised words switch to an italic serif in the brand gradient. */
h1 em, h2 em, .w--em > span {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.02em; word-spacing: 0;
  background: linear-gradient(100deg, var(--teal) 10%, var(--mint) 60%, #d6fff3); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
h1 em, h2 em, .w--em > span { font-size: 1.1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--teal); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.head { max-width: 900px; margin: 0 auto 72px; text-align: center; }
.head p:last-child:not(.eyebrow) { max-width: 600px; margin: 26px auto 0; font-size: 19px; }

/* ── The mark: four tiles, one lifted out of the grid ── */
.mark { position: relative; display: inline-block; width: 1em; height: 1em; flex: none; }
.mark i { position: absolute; width: 39%; height: 39%; border-radius: 20%; background: var(--t1); }
.mark i:nth-child(1) { left: 0; top: 13%; }
.mark i:nth-child(2) { left: 0; top: 61%; }
.mark i:nth-child(3) { left: 48%; top: 61%; }
.mark i:nth-child(4) { left: 61%; top: 0; background: var(--teal); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--t1); font-size: 21px; font-weight: 700; letter-spacing: -0.04em; }
.brand .mark { font-size: 23px; }

/* ── Buttons ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; overflow: hidden; isolation: isolate;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  translate: var(--tx, 0px) var(--ty, 0px); transition: translate .35s var(--ease), box-shadow .3s ease, background-color .2s ease, border-color .2s ease; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn--primary { color: #04201a; background: linear-gradient(180deg, #37dcb9, var(--teal)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 40px rgba(var(--teal-rgb), .35); }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); translate: -120% 0; transition: translate .7s var(--ease); }
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 60px rgba(var(--teal-rgb), .6); }
.btn--primary:hover::after { translate: 120% 0; }
.btn--ghost { color: var(--t1); border-color: var(--line-2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ── Page furniture: scroll progress, film grain ── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--mint)); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); box-shadow: 0 0 14px rgba(var(--teal-rgb), .9); }
.grain { position: fixed; inset: 0; z-index: 110; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Navigation: a floating glass pill ── */
/* At the top of the page the header is a wide, bare bar. Once the page moves it
   draws in to a compact glass pill with a lit rim. */
.nav { position: fixed; inset: 14px 0 auto; z-index: 100; display: flex; justify-content: center; pointer-events: none; }
.nav__pill { position: relative; pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; width: calc(100% - 48px); max-width: 1320px; height: 68px; padding: 0 10px 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: rgba(10, 12, 16, 0); transition: max-width .7s var(--ease), height .5s var(--ease), background-color .4s ease, border-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease; }
.nav__pill::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: linear-gradient(100deg, rgba(126, 240, 212, .7), rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, .06) 65%, rgba(56, 132, 255, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nav.is-stuck .nav__pill { max-width: 780px; height: 58px; padding-left: 20px; background: rgba(10, 13, 17, .72); backdrop-filter: saturate(170%) blur(20px); -webkit-backdrop-filter: saturate(170%) blur(20px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .07); }
.nav.is-stuck .nav__pill::before { opacity: 1; }
.nav .brand { justify-self: start; font-size: 23px; transition: font-size .5s var(--ease); }
.nav .brand .mark { font-size: 26px; transition: font-size .5s var(--ease), rotate .6s var(--ease); }
.nav .brand:hover .mark { rotate: 90deg; }
.nav.is-stuck .brand { font-size: 20px; }
.nav.is-stuck .brand .mark { font-size: 22px; }
.nav .btn { justify-self: end; }
.nav__links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.nav__links a { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; color: var(--t2); transition: color .25s ease; }
.nav__links a:hover, .nav__links a.is-current { color: var(--t1); }
/* One highlight that slides to the link under the pointer, or to the section being read. */
.nav__ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--w, 0px); border-radius: 999px; opacity: 0; transform: translate3d(var(--l, 0px), 0, 0);
  background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s ease; }
.nav__ind.is-on { opacity: 1; }
.nav__ind::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--teal); box-shadow: 0 0 10px rgba(var(--teal-rgb), .9); }

/* ── Light: auroras and a fading grid ── */
.aurora { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.aurora--a { width: 900px; height: 900px; left: 50%; top: -420px; margin-left: -720px; background: radial-gradient(closest-side, rgba(var(--teal-rgb), .42), transparent); animation: drift-a 22s ease-in-out infinite alternate; }
.aurora--b { width: 760px; height: 760px; left: 50%; top: -260px; margin-left: 40px; background: radial-gradient(closest-side, rgba(56, 132, 255, .30), transparent); animation: drift-b 26s ease-in-out infinite alternate; }
.aurora--c { width: 1100px; height: 700px; left: 50%; top: 420px; margin-left: -550px; background: radial-gradient(closest-side, rgba(var(--teal-rgb), .26), transparent); animation: drift-a 30s ease-in-out infinite alternate-reverse; }
.aurora--d { width: 1200px; height: 900px; right: -420px; top: 12%; background: radial-gradient(closest-side, rgba(56, 132, 255, .16), transparent); }
.aurora--e { width: 1300px; height: 900px; left: 50%; bottom: -420px; margin-left: -650px; background: radial-gradient(closest-side, rgba(var(--teal-rgb), .42), transparent); animation: drift-b 24s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(120px, 60px, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-140px, 90px, 0) scale(.9); } }
.gridlines { position: absolute; inset: -80px 0 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 72px 72px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }

/* ═════════════ Hero ═════════════ */
.hero { position: relative; padding: 128px 0 140px; text-align: center; overflow: clip; --p: 0; --mx: 0; --my: 0; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.motion .hero .gridlines { transform: translate3d(0, calc(var(--p) * 90px), 0); }
.ghost { position: absolute; left: 50%; top: 60px; translate: -50% 0; font-size: 31vw; font-weight: 900; font-stretch: 125%; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .055); user-select: none; }
.motion .ghost { transform: translate3d(calc(var(--mx) * -18px), calc(var(--p) * 240px), 0); }

.hero__copy { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 8px 18px 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--teal-rgb), .35); background: rgba(var(--teal-rgb), .1); color: var(--mint); font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(var(--teal-rgb), .7); animation: ping 2.2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(var(--teal-rgb), 0); } }
.lead { max-width: 640px; margin-top: 22px; font-size: clamp(17px, 1.7vw, 20px); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.note { margin-top: 18px; color: var(--t3); font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }

/* Headline words rise out of a mask, one after another. */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .02em .14em; margin: -.06em -.02em -.14em; }
.w > span { display: inline-block; }
.motion .w > span { transform: translate3d(0, 115%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease) calc(var(--wi) * 90ms + 120ms); }
.motion .in .w > span { transform: none; }

/* The window leans back, then stands up as the page scrolls. */
.stage { position: relative; width: min(1180px, 100% - 48px); margin: 56px auto 0; perspective: 1700px; perspective-origin: 50% 0; }
.stage__tilt { position: relative; transform-style: preserve-3d; transform-origin: 50% 0; }
.motion .stage__tilt { transform: translate3d(0, calc((1 - var(--p)) * 10px), 0) rotateX(calc((1 - var(--p)) * 30deg)) rotateY(calc(var(--mx) * (1 - var(--p)) * 3deg)) scale(calc(.9 + var(--p) * .1)); }

.window { position: relative; border-radius: 18px; overflow: hidden; background: #1c1f24; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 60px 140px rgba(0, 0, 0, .7), 0 0 120px rgba(var(--teal-rgb), .22); }
.window__bar { display: flex; align-items: flex-end; gap: 8px; height: 44px; padding: 0 16px; background: #1c1f24; }
.dots { display: flex; gap: 7px; align-self: center; margin-right: 10px; }
.dots b { width: 11px; height: 11px; border-radius: 50%; background: #454a52; }
.tab { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 16px; border-radius: 10px 10px 0 0; background: #2b2f36; color: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 600; }
.tab .mark { font-size: 13px; }
.tab--plus { background: none; padding: 0 6px; color: var(--t3); font-size: 18px; font-weight: 400; }
.window__view { position: relative; aspect-ratio: 16 / 9; background: #0d1114; overflow: hidden; }
.window__view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 28%); opacity: calc(1 - var(--p)); }

/* Widgets lifted off the page. translateZ gives them real depth against the
   tilting window; the pointer and the scroll nudge them further. */
.float { position: absolute; z-index: 2; text-align: left; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .18); color: var(--t1);
  background: linear-gradient(180deg, rgba(40, 46, 54, .82), rgba(20, 24, 29, .82)); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12); }
.motion .float { transform: translate3d(calc(var(--mx) * var(--d) * -16px), calc(var(--my) * var(--d) * -12px + var(--p) * var(--d) * -46px), calc(var(--d) * 46px)); animation: bob 7s ease-in-out infinite alternate; }
.float:nth-of-type(odd) { animation-duration: 9s; animation-direction: alternate-reverse; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }
.float__label { display: block; margin-bottom: 10px; color: var(--t3); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.float--clock { left: -5%; top: 13%; padding: 16px 18px 18px; }
.float--todo { right: -6%; top: 20%; width: 280px; padding: 16px 16px 12px; }
.float--todo li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-bottom: 6px; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: 13.5px; font-weight: 500; }
.float--todo li.done { color: var(--t3); text-decoration: line-through; }
.tick { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); }
.done .tick { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='%2304201a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.tag { margin-left: auto; padding: 2px 8px; border-radius: 6px; font-style: normal; font-size: 11px; font-weight: 700; text-decoration: none; }
.tag--high { background: rgba(255, 99, 99, .2); color: #ff9a9a; }
.tag--med { background: rgba(250, 204, 21, .18); color: #fbd75a; }
.tag--low { background: rgba(var(--teal-rgb), .2); color: var(--mint); }
.float--quote { left: 3%; bottom: 13%; padding: 16px 24px; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.float--console { right: 2%; bottom: -5%; padding: 16px 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; background: rgba(6, 8, 10, .88); }
.float--console span { color: var(--teal); }
.float--console em { font-style: normal; color: var(--t3); }
.float--preset { left: 50%; bottom: -4%; margin-left: -190px; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 18px; border-radius: 16px; font-size: 13.5px; white-space: nowrap; }
.float--preset span { margin-right: 6px; color: var(--t2); }
.float--preset b { padding: 7px 14px; border-radius: 9px; background: rgba(255, 255, 255, .12); font-weight: 700; }
.float--preset b.on { background: var(--teal); color: #04201a; }

/* ── Clocks (shared by the hero, the board and the clock tile) ── */
.flip { display: flex; align-items: center; gap: 5px; font-weight: 800; font-stretch: 100%; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.flip b { position: relative; display: grid; place-items: center; width: .82em; height: 1.32em; border-radius: .14em; background: linear-gradient(180deg, #2c323a 0 49.4%, #05070a 49.4% 50.6%, #20252c 50.6%); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); }
.flip b.tock { animation: tock .5s var(--ease); }
@keyframes tock { 0% { transform: perspective(300px) rotateX(-80deg); } 100% { transform: none; } }
.flip i { font-style: normal; color: var(--t3); margin: 0 1px; }
.flip--lg { font-size: 72px; gap: 8px; }
.oclock { display: block; font-size: 64px; font-weight: 700; font-stretch: 105%; letter-spacing: -0.02em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #fff; font-variant-numeric: tabular-nums; }
.oclock + small { display: block; margin-top: 8px; color: rgba(255, 255, 255, .8); font-size: 10px; font-weight: 700; letter-spacing: .32em; }

/* ═════════════ Ticker ═════════════ */
.ticker { position: relative; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); 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); }
.ticker__row { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 46s linear infinite; }
.ticker span { font-size: 34px; font-weight: 800; font-stretch: 120%; letter-spacing: -0.03em; white-space: nowrap; color: var(--t1); }
.ticker span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); }
.ticker i { width: 14px; height: 14px; flex: none; border-radius: 4px; background: var(--teal); rotate: 45deg; }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }

/* ═════════════ Story ═════════════ */
.story { position: relative; padding: 150px 0 0; overflow-x: clip; }
/* Each feature is a scene. Pinned, the scenes share the screen one at a time:
   landing.js gives a scene --in (1 = still on its way, 0 = arrived) and --out
   (0 = here, 1 = gone), and the per-scene vectors below say where it comes
   from and where it leaves to. Without motion the scenes simply stack. */
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: center; width: min(1480px, 100% - 64px); margin: 0 auto 120px;
  --in: 0; --out: 0; --ix: 0px; --iy: 0px; --irx: 0deg; --iry: 0deg; --irz: 0deg; --is: 0; --ox: 0px; --oy: 0px; --orx: 0deg; --ory: 0deg; --orz: 0deg; --os: 0; }
.scene:nth-of-type(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.scene:nth-of-type(even) .scene__win { order: -1; }
.scene__text { position: relative; z-index: 2; }
.scene__n { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; color: var(--t3); font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.scene__n b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(var(--teal-rgb), .14); border: 1px solid rgba(var(--teal-rgb), .4); color: var(--mint); font-weight: 500; letter-spacing: 0; font-size: 15px; }
.scene h3 { margin-bottom: 20px; font-size: clamp(32px, 3.7vw, 58px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; line-height: 1; }
.scene__text > p:last-child { max-width: 440px; font-size: 18.5px; }
.scene__win { position: relative; z-index: 1; }
.scene__win::before { content: ''; position: absolute; inset: -16% -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--teal-rgb), .28), transparent); }
.scene:nth-of-type(even) .scene__win::before { background: radial-gradient(closest-side, rgba(56, 132, 255, .26), transparent); }
.scene__ghost { position: absolute; z-index: 0; left: -2%; top: 50%; translate: 0 -50%; font-size: min(44vw, 620px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); user-select: none; pointer-events: none; }
.scene:nth-of-type(even) .scene__ghost { left: auto; right: -2%; }

.motion .story__track { height: 800vh; }
.motion .story__pin { position: sticky; top: 0; height: 100vh; overflow: clip; }
.motion .scene { position: absolute; inset: 0; height: 100%; margin: 0 auto; padding-top: 70px; visibility: hidden; pointer-events: none; --in: 1; }
.motion .scene.is-on { visibility: visible; }
.motion .scene.is-current { pointer-events: auto; }
.motion .scene__win { will-change: transform, opacity; opacity: calc(1 - var(--in) * .5 - var(--out) * .9);
  transform: perspective(1700px)
    translate3d(calc(var(--in) * var(--ix) + var(--out) * var(--ox)), calc(var(--in) * var(--iy) + var(--out) * var(--oy)), 0)
    rotateX(calc(var(--in) * var(--irx) + var(--out) * var(--orx))) rotateY(calc(var(--in) * var(--iry) + var(--out) * var(--ory))) rotateZ(calc(var(--in) * var(--irz) + var(--out) * var(--orz)))
    scale(calc(1 + var(--in) * var(--is) + var(--out) * var(--os))); }
.motion .scene__text { opacity: calc(1 - var(--in) * 2.2 - var(--out) * 2.6); transform: translate3d(0, calc(var(--in) * 110px + var(--out) * -110px), 0); filter: blur(calc((var(--in) + var(--out)) * 14px)); }
.motion .scene__ghost { opacity: calc(1 - var(--in) * 1.4 - var(--out) * 1.6); transform: translate3d(calc(var(--in) * var(--gx, -30vw) + var(--out) * var(--gx, -30vw) * -1), 0, 0); }
/* 1: sweeps in from the right, leaves up and to the left. */
.scene--1 { --ix: 80vw; --iy: 14vh; --iry: -48deg; --irz: 9deg; --ox: -34vw; --oy: -105vh; --orz: -16deg; --orx: 24deg; --gx: -30vw; }
/* 2: climbs in from the bottom left, leaves to the right. */
.scene--2 { --ix: -70vw; --iy: 75vh; --iry: 40deg; --irz: -18deg; --ox: 105vw; --oy: -12vh; --ory: -50deg; --orz: 10deg; --gx: 30vw; }
/* 3: tips up from below, leaves to the left. */
.scene--3 { --iy: 105vh; --irx: 58deg; --is: -.3; --ox: -105vw; --oy: 10vh; --ory: 52deg; --orz: -8deg; --gx: -30vw; }
/* 4: drops in from close to the camera, falls away to the bottom right. */
.scene--4 { --ix: -10vw; --iy: -40vh; --irz: 12deg; --irx: -30deg; --is: 1.3; --ox: 70vw; --oy: 105vh; --orz: 16deg; --gx: 30vw; }
/* 5: swings in from the left, lifts off the top. */
.scene--5 { --ix: -105vw; --iy: 6vh; --iry: 52deg; --irz: -7deg; --oy: -112vh; --orx: -42deg; --os: -.2; --gx: -30vw; }
/* 6: falls in from the top right, slides out to the bottom left. */
.scene--6 { --ix: 62vw; --iy: -95vh; --irz: 19deg; --iry: -24deg; --ox: -95vw; --oy: 42vh; --orz: -13deg; --ory: 40deg; --gx: 30vw; }
/* 7: spins up from a small point, leaves to the right. */
.scene--7 { --iy: 34vh; --irz: -26deg; --is: -.72; --ox: 108vw; --oy: -8vh; --ory: -52deg; --orz: 8deg; --gx: -30vw; }
/* 8: rises from the bottom left and stays. */
.scene--8 { --ix: -44vw; --iy: 104vh; --irx: 42deg; --irz: -11deg; --gx: 30vw; }




/* ═════════════ Playground ═════════════ */
.play-sec { position: relative; padding: 170px 0 150px; --p: .5; }
.play-sec__bg { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.motion .play-sec .aurora--d { transform: translate3d(0, calc((var(--p) - .5) * -300px), 0); }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.tile, .extras li, .zeros li { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)); --x: 50%; --y: 0%; }
/* A light that follows the pointer: a soft fill, and a brighter rim. */
[data-spot]::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(520px circle at var(--x) var(--y), rgba(var(--teal-rgb), .14), transparent 60%); }
[data-spot]::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(360px circle at var(--x) var(--y), rgba(126, 240, 212, .95), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
[data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }
.tile > * { position: relative; z-index: 1; }
.tile { display: flex; flex-direction: column; }
.tile__text { padding: 28px 32px 34px; }
.tile > .faces, .tile > .todo, .tile > .term, .tile > .quote { flex: 1 1 auto; }
.tile__text h3 { margin-bottom: 10px; font-size: 26px; }
.tile--arrange { grid-column: span 12; flex-direction: row; align-items: stretch; }
.tile--arrange .tile__text { flex: 0 0 34%; align-self: center; padding: 44px 20px 44px 44px; }
.tile--arrange h3 { font-size: clamp(28px, 3vw, 40px); font-stretch: 110%; letter-spacing: -0.035em; }
.tile--clock { grid-column: span 5; }
.tile--console { grid-column: span 7; }
.tile--todo { grid-column: span 7; }
.tile--quote { grid-column: span 5; }

/* Arrange board: a small new tab you can rearrange. */
.board { position: relative; flex: 1; min-height: 470px; margin: 14px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); touch-action: pan-y;
  background:
    radial-gradient(80% 90% at 85% 10%, rgba(56, 132, 255, .5), transparent 60%),
    radial-gradient(90% 100% at 10% 100%, rgba(var(--teal-rgb), .65), transparent 62%),
    radial-gradient(60% 60% at 50% 40%, rgba(126, 240, 212, .18), transparent 70%),
    #06141a; }
.board::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; opacity: 0; transition: opacity .3s ease; }
.board.is-dragging::before { opacity: 1; }
.widget { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; padding: 10px 14px; border-radius: 14px; border: 1px dashed transparent; color: #fff; text-align: center; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, scale .2s var(--ease); }
.widget:hover, .widget:focus-visible { border-color: rgba(126, 240, 212, .7); background: rgba(126, 240, 212, .08); }
.widget.is-held { cursor: grabbing; z-index: 5; scale: 1.04; border-color: var(--mint); border-style: solid; background: rgba(126, 240, 212, .12); box-shadow: 0 24px 50px rgba(0, 0, 0, .45), 0 0 0 4px rgba(126, 240, 212, .12); }
.widget--links { display: flex; gap: 10px; }
.widget--links i { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.widget--links i:nth-child(1) { background: linear-gradient(135deg, #ff5b5b, #c81e1e); }
.widget--links i:nth-child(3) { background: linear-gradient(135deg, #f9a03f, #d6249f 60%, #285aeb); }
.widget--links i:nth-child(5) { background: linear-gradient(135deg, #4d8dff, #1d5fe0); }
.widget--search { display: flex; align-items: center; gap: 10px; width: min(360px, 62%); padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .22); border-style: solid; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: rgba(255, 255, 255, .8); font-size: 14px; text-align: left; }
.widget--quote { font-family: var(--serif); font-size: 24px; white-space: nowrap; }
.guide { position: absolute; z-index: 4; background: var(--mint); opacity: 0; pointer-events: none; box-shadow: 0 0 12px rgba(126, 240, 212, .9); transition: opacity .12s ease; }
.guide--v { top: 0; bottom: 0; width: 1px; left: 50%; }
.guide--h { left: 0; right: 0; height: 1px; top: 50%; }
.guide.is-on { opacity: 1; }
.board__hint { position: absolute; left: 50%; top: 16px; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; transition: opacity .4s ease; }
.board.is-touched .board__hint { opacity: 0; }
.hand { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--mint); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.board__reset { position: absolute; right: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .3s ease, background-color .2s ease; }
.board.is-touched .board__reset { opacity: 1; }
.board__reset:hover { background: rgba(0, 0, 0, .7); }

/* Clock tile */
.faces { position: relative; height: 250px; margin: 14px 14px 0; border-radius: 18px; overflow: hidden; background: radial-gradient(90% 120% at 50% 0%, rgba(var(--teal-rgb), .22), transparent 70%), #0a0e12; border: 1px solid var(--line); }
.face { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; opacity: 0; transform: scale(.9) translateY(10px); filter: blur(8px); transition: opacity .45s ease, transform .6s var(--ease), filter .45s ease; pointer-events: none; }
.faces[data-face="outline"] .face--outline, .faces[data-face="flip"] .face--flip, .faces[data-face="analog"] .face--analog, .faces[data-face="ring"] .face--ring { opacity: 1; transform: none; filter: none; }
.face .oclock { font-size: 88px; -webkit-text-stroke-width: 2px; }
.dial { position: relative; width: 170px; height: 170px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
  --h: 0deg; --m: 0deg; --s: 0deg; }
.dial::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .8) 0 1deg, transparent 1deg 30deg); -webkit-mask: radial-gradient(circle, transparent 0 66px, #000 67px); mask: radial-gradient(circle, transparent 0 66px, #000 67px); }
.dial i { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 4px; background: #fff; }
.dial .h { width: 5px; height: 44px; margin-left: -2.5px; transform: rotate(var(--h)); }
.dial .m { width: 3px; height: 64px; margin-left: -1.5px; transform: rotate(var(--m)); }
.dial .s { width: 1.5px; height: 70px; margin-left: -.75px; background: var(--teal); transform: rotate(var(--s)); }
.dial b { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--teal); }
.face--ring { position: absolute; }
.ring { width: 180px; height: 180px; rotate: -90deg; }
.ring circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 4; }
.ring .ring__p { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--sp, 0))); filter: drop-shadow(0 0 6px rgba(var(--teal-rgb), .9)); transition: stroke-dashoffset .4s linear; }
.face--ring span { position: absolute; color: #fff; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 32px 0; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--t2); font-size: 14px; font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { color: var(--t1); border-color: rgba(255, 255, 255, .3); }
.chip.is-on { background: var(--teal); border-color: var(--teal); color: #04201a; }

/* To-do tile */
.todo { margin: 14px 14px 0; padding: 18px; border-radius: 18px; background: radial-gradient(100% 120% at 0% 0%, rgba(56, 132, 255, .2), transparent 60%), #0a0e12; border: 1px solid var(--line); min-height: 250px; }
.todo__add { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); }
.todo__add input { flex: 1; min-width: 0; height: 40px; background: none; border: 0; outline: 0; color: #fff; font-size: 15px; }
.todo__add input::placeholder, .term__in input::placeholder { color: var(--t3); }
.todo__add:focus-within { border-color: var(--mint); }
.prio { min-height: 36px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.prio[data-prio="high"], .todo__list .tag--high { background: rgba(255, 99, 99, .2); color: #ff9a9a; }
.prio[data-prio="medium"] { background: rgba(250, 204, 21, .18); color: #fbd75a; }
.prio[data-prio="low"] { background: rgba(var(--teal-rgb), .2); color: var(--mint); }
.todo__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: #04201a; }
.todo__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.todo__list li { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 6px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px; font-weight: 500; animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.todo__list button { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; }
.todo__list .tick { width: 20px; height: 20px; transition: background-color .2s ease, border-color .2s ease; }
.todo__list li.done { color: var(--t3); }
.todo__list li.done .todo__label { text-decoration: line-through; }
.todo__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo__del { color: var(--t3); font-size: 20px; line-height: 1; }
.todo__del:hover { color: #ff9a9a; background: rgba(255, 99, 99, .12); }

/* Console tile */
.term { display: flex; flex-direction: column; margin: 14px 14px 0; height: 300px; border-radius: 18px; overflow: hidden; background: #05070a; border: 1px solid var(--line); font-family: var(--mono); font-size: 14px; }
.term__bar { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--t3); font-size: 11px; letter-spacing: .14em; }
.term__bar span:first-child { color: var(--teal); }
.term__out { flex: 1; overflow-y: auto; padding: 14px 18px 4px; line-height: 1.75; color: var(--t2); scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.term__out p { white-space: pre-wrap; overflow-wrap: anywhere; }
.term__out .cmd { color: #fff; }
.term__out .cmd::before { content: '> '; color: var(--teal); }
.term__out .err { color: #ff9a9a; }
.term__in { display: flex; align-items: center; gap: 10px; margin: 8px 12px 12px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(var(--teal-rgb), .45); background: rgba(var(--teal-rgb), .07); }
.term__in span { color: var(--teal); }
.term__in input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: 0; color: #fff; caret-color: var(--mint); }
.term__in:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .12); }

/* Quote tile */
.quote { display: grid; place-items: center; min-height: 250px; margin: 14px 14px 0; padding: 30px; border-radius: 18px; background: radial-gradient(90% 120% at 100% 100%, rgba(var(--teal-rgb), .26), transparent 65%), #0a0e12; border: 1px solid var(--line); }
.quote__text { position: relative; max-width: 100%; color: #fff; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; text-align: center; outline: 0; border-radius: 10px; padding: 6px 12px; cursor: text; overflow-wrap: anywhere; transition: background-color .2s ease; }
.quote__text:hover, .quote__text:focus { background: rgba(255, 255, 255, .06); }
.quote__text::before { content: '“'; color: var(--teal); }
.quote__text::after { content: '”'; color: var(--teal); }
.quote[data-font="serif"] .quote__text { font-family: var(--serif); }
.quote[data-font="sans"] .quote__text { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(26px, 2.8vw, 38px); }
.quote[data-font="mono"] .quote__text { font-family: var(--mono); font-size: clamp(20px, 2.1vw, 28px); line-height: 1.35; }

/* The smaller features */
.extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.extras li { padding: 28px 28px 30px; }
.extras li > * { position: relative; z-index: 1; }
.extras .ico { width: 46px; height: 46px; padding: 12px; margin-bottom: 22px; border-radius: 14px; background: rgba(var(--teal-rgb), .14); color: var(--mint); stroke-width: 1.8; }
.extras h3 { margin-bottom: 8px; font-size: 20px; }
.extras p { font-size: 15.5px; }

/* ═════════════ Video ═════════════ */
.film { position: relative; padding: 150px 0 160px; --p: 0; }
.film__frame { width: min(1240px, 100% - 48px); margin: 0 auto; perspective: 1800px; }
.player { position: relative; border-radius: 28px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 50px 140px rgba(0, 0, 0, .7), 0 0 160px rgba(var(--teal-rgb), calc(var(--p) * .3)); }
.motion .player { transform: translate3d(0, calc((1 - var(--p)) * 60px), 0) rotateX(calc((1 - var(--p)) * 14deg)) scale(calc(.8 + var(--p) * .2)); transform-origin: 50% 100%; }
.player video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.player__play { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, rgba(0, 0, 0, .25), rgba(0, 0, 0, .5)); color: #fff; transition: opacity .4s ease, background-color .3s ease; }
.player__play .play { position: relative; border-left-width: 26px; border-top-width: 17px; border-bottom-width: 17px; margin-left: 8px; }
.player__ring { position: absolute; width: 124px; height: 124px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: scale .4s var(--ease), background-color .3s ease; }
.player__ring::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: ripple 2.4s ease-out infinite; }
@keyframes ripple { to { scale: 1.7; opacity: 0; } }
.player__play:hover .player__ring { scale: 1.1; background: rgba(var(--teal-rgb), .5); }
.player.is-playing .player__play { opacity: 0; pointer-events: none; }
.more { margin-top: 38px; text-align: center; }
.link { color: var(--mint); font-weight: 600; border-bottom: 1px solid rgba(126, 240, 212, .4); padding-bottom: 2px; transition: border-color .2s ease; }
.link:hover { border-bottom-color: var(--mint); }

/* ═════════════ Privacy: three zeros ═════════════ */
.zero { padding: 40px 0 170px; }
.zeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.zeros li { padding: 30px 34px 40px; }
.zeros li > * { position: relative; z-index: 1; }
.zeros__n { margin: -10px 0 4px; font-size: clamp(120px, 15vw, 210px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 10%, rgba(var(--teal-rgb), .9) 62%, rgba(var(--teal-rgb), 0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zeros h3 { margin-bottom: 10px; font-size: 28px; font-stretch: 108%; }

/* ═════════════ Final call ═════════════ */
.final { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 210px 0 0; text-align: center; overflow: clip; --p: 0; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final .gridlines { -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 70%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 70%, #000 20%, transparent 75%); }
.final__in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final p { font-size: 20px; margin-bottom: 14px; }
.mark--xl { font-size: 104px; margin-bottom: 18px; filter: drop-shadow(0 20px 50px rgba(var(--teal-rgb), .45)); }
/* The four tiles fly in and settle into the mark. */
.motion .mark--xl i { transition: none; }
.motion .mark--xl i:nth-child(1) { transform: translate3d(calc((1 - var(--p)) * -340px), calc((1 - var(--p)) * -160px), 0) rotate(calc((1 - var(--p)) * -140deg)); }
.motion .mark--xl i:nth-child(2) { transform: translate3d(calc((1 - var(--p)) * -260px), calc((1 - var(--p)) * 220px), 0) rotate(calc((1 - var(--p)) * 110deg)); }
.motion .mark--xl i:nth-child(3) { transform: translate3d(calc((1 - var(--p)) * 300px), calc((1 - var(--p)) * 200px), 0) rotate(calc((1 - var(--p)) * -90deg)); }
.motion .mark--xl i:nth-child(4) { transform: translate3d(calc((1 - var(--p)) * 380px), calc((1 - var(--p)) * -200px), 0) rotate(calc((1 - var(--p)) * 180deg)); }
.final__word { margin-top: 60px; display: flex; justify-content: center; font-size: 25vw; font-weight: 900; font-stretch: 112%; letter-spacing: -0.06em; line-height: .74; height: .5em; user-select: none; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(var(--teal-rgb), .08) 70%, transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.motion .final__word { transform: translate3d(0, calc((1 - var(--p)) * 34%), 0); }

/* ── Footer ── */
.foot { position: relative; border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; background: var(--bg); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-left: auto; }
.foot__links a { transition: color .2s ease; }
.foot__links a:hover { color: var(--mint); }
.fine { flex-basis: 100%; margin-top: 6px; color: var(--t3); font-size: 13px; }

/* ── Reveal on scroll ── */
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(12px); transition: opacity .9s ease, transform 1s var(--ease), filter .9s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.motion [data-reveal].in { opacity: 1; transform: none; filter: none; }
.motion [data-tilt].in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.motion [data-tilt].is-live { transition: transform .18s ease-out, opacity .9s ease, filter .9s ease; transition-delay: 0s; }

/* ═════════════ Smaller screens ═════════════ */
@media (max-width: 1100px) {
  .float--clock { left: -2%; }
  .float--todo { right: -2%; width: 250px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__pill { display: flex; justify-content: space-between; gap: 18px; }
  .nav.is-stuck .nav__pill { max-width: 330px; }
  .hero { padding: 132px 0 100px; }
  .float--quote, .float--console, .float--todo { display: none; }
  .float--clock { left: 3%; top: -7%; }
  .float--clock .flip { font-size: 28px; }
  .float--preset { bottom: -7%; }

  .story { padding-top: 100px; }
  .scene, .scene:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 30px; align-content: center; width: calc(100% - 40px); margin-bottom: 80px; }
  .scene .scene__win { order: -1; }
  .motion .scene { padding-top: 84px; padding-bottom: 70px; height: 100svh; }
  .motion .story__pin { height: 100svh; }
  .motion .story__track { height: 760svh; }
  .scene__n { margin-bottom: 14px; }
  .scene h3 { margin-bottom: 12px; }
  .scene__text > p:last-child { font-size: 17px; }
  .scene__ghost { top: 30%; }

  .play-sec { padding: 110px 0 100px; }
  .tile--arrange { flex-direction: column; }
  .tile--arrange .tile__text { padding: 30px 28px 6px; }
  .tile--clock, .tile--console, .tile--todo, .tile--quote { grid-column: span 12; }
  .board { min-height: 400px; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zeros { grid-template-columns: minmax(0, 1fr); }
  .film { padding: 100px 0 110px; }
  .head { margin-bottom: 48px; }
}
@media (max-width: 600px) {
  .wrap, .stage, .film__frame { width: calc(100% - 32px); }
  .nav { inset: 10px 0 auto; }
  .nav__pill { width: calc(100% - 32px); height: 58px; padding-left: 18px; }
  .nav.is-stuck .nav__pill { height: 54px; }
  .cta { width: 100%; }
  .cta .btn { width: 100%; }
  .stage { margin-top: 64px; }
  .window { border-radius: 12px; }
  .window__bar { height: 34px; }
  .tab { height: 26px; font-size: 11px; }
  .float--preset { font-size: 11.5px; margin-left: -150px; padding: 7px 7px 7px 12px; }
  .float--preset b { padding: 5px 9px; }
  .ticker span { font-size: 24px; }
  .tile__text { padding: 24px 22px 28px; }
  .chips { padding-inline: 22px; }
  .flip--lg { font-size: 54px; }
  .face .oclock { font-size: 68px; }
  .widget--quote { font-size: 19px; }
  .oclock { font-size: 50px; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .player { border-radius: 16px; }
  .player__ring { width: 84px; height: 84px; }
  .mark--xl { font-size: 76px; }
  .foot__links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ═════════════ Market ═════════════
   Three real presets from the market, fanned out beside the pitch. They drift
   at different speeds as the section passes (--p runs 0 to 1). */
.mkt { position: relative; padding: 150px 0 160px; --p: .5; overflow-x: clip; }
.mkt::before { content: ''; position: absolute; inset: 10% -10% 10% 40%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(var(--teal-rgb), .16), transparent 70%); }
.mkt__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 70px; align-items: center; }
.mkt__text h2 { font-size: clamp(36px, 4.6vw, 62px); }
.mkt__text > p:not(.eyebrow) { margin-top: 24px; max-width: 520px; font-size: 19px; }
.mkt__text .cta { justify-content: flex-start; margin-top: 34px; }
.mkt__points { display: grid; gap: 10px; margin-top: 34px; color: var(--t2); font-size: 16px; }
.mkt__points li { position: relative; padding-left: 26px; }
.mkt__points li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); rotate: -45deg; }
.mkt__points b { color: var(--t1); font-weight: 600; }

.mkt__cards { position: relative; height: 520px; }
.mkt-card { position: absolute; display: flex; flex-direction: column; width: 62%; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #0e1217; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transition: border-color .3s ease, box-shadow .3s ease, opacity .9s ease, transform 1s var(--ease), filter .9s ease; }
.mkt-card:hover, .mkt-card:focus-visible { z-index: 5; border-color: rgba(var(--teal-rgb), .6); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(var(--teal-rgb), .22); }
.mkt-card--a { left: 0; top: 60px; z-index: 2; rotate: -5deg; }
.mkt-card--b { right: 0; top: 0; z-index: 1; rotate: 4deg; }
.mkt-card--c { left: 19%; top: 250px; z-index: 3; rotate: 1.5deg; }
.motion .mkt-card--a { translate: 0 calc((var(--p) - .5) * -70px); }
.motion .mkt-card--b { translate: 0 calc((var(--p) - .5) * 60px); }
.motion .mkt-card--c { translate: 0 calc((var(--p) - .5) * -130px); }
.mkt-card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .04) 70%) 0 0 / 300% 100%; }
.mkt-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mkt-card__price { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: rgba(6, 9, 12, .78); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 13px; font-weight: 800; }
.mkt-card__price.is-free { color: var(--mint); border-color: rgba(var(--teal-rgb), .5); }
.mkt-card__body { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 18px 16px; }
.mkt-card__body b { color: var(--t1); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkt-card__body i { flex: none; color: var(--t3); font-size: 13.5px; font-style: normal; }
.mkt__cards.is-empty { display: none; }
.mkt__in.is-solo { grid-template-columns: minmax(0, 1fr); text-align: center; }
.mkt__in.is-solo .mkt__text > p, .mkt__in.is-solo .mkt__points { margin-inline: auto; }
.mkt__in.is-solo .cta { justify-content: center; }
.mkt__in.is-solo .mkt__points { width: fit-content; text-align: left; }

@media (max-width: 900px) {
  .mkt { padding: 100px 0 110px; }
  .mkt__in { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .mkt__cards { height: auto; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; margin: 0 auto; }
  .mkt-card--c { top: 48%; }
}
@media (max-width: 600px) {
  .mkt-card { width: 66%; border-radius: 16px; }
  .mkt-card__body { padding: 10px 12px 12px; }
  .mkt-card__body b { font-size: 14.5px; }
  .mkt-card__body i { display: none; }
  .mkt__text .cta .btn { width: 100%; }
}

/* ═════════════ Questions ═════════════
   Two columns of question and answer, all of it readable without a click. */
.faq { padding: 0 0 170px; }
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.faq__item { padding: 28px 30px 30px; border-radius: var(--r, 22px); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); transition: border-color .3s ease, opacity .9s ease, transform 1s var(--ease), filter .9s ease; }
.faq__item:hover { border-color: var(--line-2); }
.faq__item dt { color: var(--t1); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.faq__item dd { margin: 12px 0 0; font-size: 16.5px; line-height: 1.6; }
@media (max-width: 900px) {
  .faq { padding-bottom: 110px; }
  .faq__list { grid-template-columns: minmax(0, 1fr); }
  .faq__item { padding: 22px 22px 24px; }
  .faq__item dt { font-size: 18px; }
}
