/* VOICE occasion: a product's own page, calm and sure of itself, with one playful mascot
   IDEA the app's run track: a request travels station by station from talk to delivered files
   PICTURE the real app window, large, the mascot peeking over its edge; the engine as a ring of particles that takes work in and gives files out
   COLOUR the icon's indigo night (#14122b), ink #f1effa, violet #8b7cff and teal #5ee7df from the app, octopus coral #ff5b50 for the one action
   TYPE Inter, self-hosted: its display cut at 700 for titles, its text cut at 400
   LAYOUT laptop: headline left, lead and download right, the window full width below; phone: headline, lead, button, window
   MOTION one costly moment (the engine's ring, a canvas that sleeps off screen); the rest is cheap: an entrance, reveals,
          the lit track, the route, a marquee, pointer light. Exit easing cubic-bezier(.16,1,.3,1); each property has one writer;
          reduced motion shows every final state, and a pause button stops what loops. */

@font-face { font-family: Inter; src: url(inter.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root { color-scheme: dark; --bg: #14122b; --bg2: #1b1839; --deep: #0d0d1a; --ink: #f1effa; --soft: #bcb8d8; --faint: #9a96bb; --line: rgba(255, 255, 255, .1); --violet: #b3a9ff; --teal: #5ee7df; --green: #3ddc97; --coral: #ff5b50; --coral-hi: #ff786f; --coral-ink: #1d0a0c; --amber: #f5b74f; --max: 1240px; --gap: 24px; --ease: cubic-bezier(.16, 1, .3, 1); --pop: cubic-bezier(.34, 1.56, .64, 1); --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-optical-sizing: auto; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; }
h3 { font-size: 20px; line-height: 1.25; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-size: .88em; }
section[id] { scroll-margin-top: 72px; }

.band { padding-block: clamp(56px, 8vw, 112px); padding-left: max(16px, 5vw, calc((100% - var(--max)) / 2), env(safe-area-inset-left, 0px)); padding-right: max(16px, 5vw, calc((100% - var(--max)) / 2), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.small { font-size: 14px; color: var(--faint); }

/* Buttons: the magnet writes `translate`, the press writes `scale` */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; background: var(--coral); color: var(--coral-ink); font-weight: 650; font-size: 17px; text-decoration: none; white-space: nowrap; transition: background .2s, translate .35s var(--ease), scale .15s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .42) 50%, transparent 70%); translate: -120% 0; transition: translate .8s var(--ease); pointer-events: none; }
.btn:hover { background: var(--coral-hi); color: var(--coral-ink); }
.btn:hover::after { translate: 120% 0; }
.btn:active { scale: .96; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid rgba(255, 255, 255, .24); min-height: 48px; font-size: 15.5px; white-space: normal; text-align: center; }
.btn-line::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%); }
.btn-line:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }
.arrow { font-weight: 600; text-decoration: none; }
.arrow::after { content: "→"; display: inline-block; margin-left: .3em; transition: translate .3s var(--ease); }
.arrow:hover { text-decoration: underline; }
.arrow:hover::after { translate: 4px 0; }

/* Navigation, with how far the page has been read */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding-block: 14px; background: rgba(20, 18, 43, .95); border-bottom: 1px solid var(--line); transition: translate .45s var(--ease); }
.nav.away { translate: 0 -100%; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--violet) 60%, var(--coral)); transform-origin: 0 50%; scale: 0 1; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; transition: rotate .6s var(--pop); }
.brand:hover { color: var(--ink); }
.brand:hover img { rotate: -12deg; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a, .lang { position: relative; color: var(--soft); text-decoration: none; font-size: 15px; white-space: nowrap; }
.langs { display: flex; gap: 18px; }
.lang-short { display: none; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--teal); scale: 0 1; transform-origin: 0 50%; transition: scale .35s var(--ease); }
.links a:hover::after { scale: 1 1; }
.links a:hover, .lang:hover { color: var(--ink); }
@media (max-width: 760px) { .links { display: none; } .langs { margin-left: auto; } }
@media (max-width: 560px) { .langs { gap: 14px; } .lang-long { display: none; } .lang-short { display: inline; font-weight: 600; letter-spacing: .02em; } }
@media (max-width: 480px) { .nav { gap: 12px; } .btn-small { padding: 0 12px; } }
@media (max-width: 400px) { .nav .brand span { display: none; } }

/* First screen */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 0; }
.hero-top { display: grid; gap: 28px 64px; align-items: end; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--soft); max-width: 34em; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.get-others { color: var(--soft); font-size: 15px; }
.get-meta { margin-top: 12px; color: var(--faint); font-size: 14px; }
.get-intel { margin-top: 8px; color: var(--amber); font-size: 14px; }
.window { position: relative; margin: clamp(72px, 8vw, 104px) 0 0; }
.frame { position: relative; z-index: 1; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); background: #0b0d12; }
.frame > img { width: 100%; }
.sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .08) 50%, transparent 62%); translate: -110% 0; pointer-events: none; }
.lights i { position: absolute; top: 1.85%; width: .94%; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(1) { left: 1.1%; }
.lights i:nth-child(2) { left: 2.66%; background: #febc2e; }
.lights i:nth-child(3) { left: 4.22%; background: #28c840; }
.mascot { position: absolute; z-index: 0; right: 7%; top: 0; width: clamp(84px, 10vw, 140px); transform: translateY(-60%); }
@media (min-width: 900px) { .hero-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* The run's log, replayed over the window */
.events { position: absolute; z-index: 2; left: -2.5%; bottom: 9%; width: min(360px, 32%); padding: 12px 14px 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(13, 14, 23, .95); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); font-size: 12.5px; }
.events-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--ink); font-weight: 600; font-size: 13px; }
.events-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.events-head .chip { transition: opacity .3s; }
.events-list { list-style: none; margin: 0; padding: 0; display: grid; }
.events-list li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, .06); white-space: nowrap; overflow: hidden; }
.events-list li.new { animation: slot .6s var(--ease) both; }
.events-list time { font-family: var(--mono); font-size: 12px; color: #7d84a0; }
.what { overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 12px; color: #8b93a7; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.chip-violet { color: #b3a9ff; background: rgba(139, 124, 255, .12); border-color: rgba(139, 124, 255, .35); }
.chip-teal { color: #5ee7df; background: rgba(94, 231, 223, .1); border-color: rgba(94, 231, 223, .35); }
.chip-amber { color: #f5b74f; background: rgba(245, 183, 79, .1); border-color: rgba(245, 183, 79, .38); }
.chip-green { color: #3ddc97; background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .35); }
@media (max-width: 760px) { .events { display: none; } }

/* Section heads: the point on the left, the detail on the right */
.head { display: grid; gap: 16px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head p, .head-side > p { color: var(--soft); max-width: 36em; }
.head-side { display: grid; gap: 14px; }
@media (min-width: 900px) { .head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* Screenshots: a whole one, or a part of a 2560×1600 one */
.shot { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .13); background: #0b0d12; transition: border-color .5s, opacity .9s var(--ease), transform .9s var(--ease); }
.shot img { width: 100%; }
.crop { position: relative; }
.crop img { position: absolute; max-width: none; width: calc(100% / var(--w)); left: calc(-100% * var(--x) / var(--w)); top: calc(-100% * var(--y) / var(--h)); }

/* How a piece of work goes: four steps on one track, lit as the page is read */
.steps-wrap { position: relative; }
.track { position: absolute; left: 14px; top: var(--t0, 0); height: var(--len, 0); width: 2px; z-index: 1; pointer-events: none; }
.track-fill { position: absolute; inset: 0; background: var(--teal); box-shadow: 0 0 12px rgba(94, 231, 223, .55); transform-origin: 50% 0; scale: 1 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: clamp(44px, 6vw, 80px); --step-gap: clamp(44px, 6vw, 80px); }
.step { position: relative; display: grid; gap: 22px 56px; align-items: start; padding-left: 48px; counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--teal); background: var(--bg); color: var(--teal); font-size: 14px; font-weight: 700; display: grid; place-items: center; transition: background .4s, color .4s, box-shadow .5s, scale .5s var(--pop); }
.step::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: calc(-1 * var(--step-gap)); width: 2px; background: rgba(94, 231, 223, .3); }
.step:last-child::after { display: none; }
.step.lit::before { background: var(--teal); color: var(--deep); box-shadow: 0 0 0 7px rgba(94, 231, 223, .14); scale: 1.08; }
.step.lit .shot { border-color: rgba(94, 231, 223, .5); }
.step-text { display: grid; gap: 10px; padding-top: 1px; }
.step-text h3 { font-size: clamp(21px, 2vw, 26px); }
.step-text p { color: var(--soft); max-width: 30em; }
.step > .shot:not(.crop) { max-width: 560px; }
@media (min-width: 900px) { .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* The route every run takes */
.route-band { background: var(--deep); }
.route { position: relative; padding-top: 64px; --c: calc((100% - 4 * var(--gap)) / 5); }
.stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.stations li { position: relative; padding-top: 38px; display: grid; gap: 8px; align-content: start; }
.stations li::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--deep); transition: scale .6s var(--pop) calc(var(--i) * .22s); }
.stations li::after { content: ""; position: absolute; left: 9px; top: 7.5px; width: calc(100% + var(--gap)); height: 3px; background: var(--teal); transform-origin: 0 50%; transition: scale .7s var(--ease) calc(var(--i) * .22s + .1s); }
.stations li:last-child::after { display: none; }
.stations h3 { font-size: 19px; }
.stations p { color: var(--soft); font-size: 15.5px; }
.ping { position: absolute; left: 0; top: 0; z-index: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; pointer-events: none; }
.loop { position: absolute; top: 24px; left: calc(var(--c) + var(--gap) + 8px); width: calc(2 * (var(--c) + var(--gap)) + 2px); height: 50px; border: 2px dashed rgba(94, 231, 223, .6); border-bottom: 0; border-radius: 18px 18px 0 0; transition: opacity .8s var(--ease) 1.2s; }
.loop::after { content: ""; position: absolute; left: -7px; bottom: -6px; border: 6px solid transparent; border-top: 8px solid var(--teal); }
.loop span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -55%); padding: 0 12px; background: var(--deep); color: var(--teal); font-size: 14px; white-space: nowrap; }
.loop-note { display: none; color: var(--teal); font-size: 15px; margin-top: 18px; }
.token { position: absolute; top: 66px; left: 0; margin-left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 91, 80, .28), 0 0 18px rgba(255, 91, 80, .6); z-index: 2; opacity: 0; }
.motion .route:not(.in) .stations li::before { scale: 0; }
.motion .route:not(.in) .stations li::after { scale: 0 1; }
.motion .route:not(.in) .loop { opacity: 0; }
.route.in .token, html:not(.motion) .token { animation: travel 10s ease-in-out 1.4s infinite; }
.route.in .ping, html:not(.motion) .ping { animation: ping 10s linear calc(1.4s + var(--at)) infinite; }
@keyframes travel {
  0% { left: 0; opacity: 0; }
  3%, 9% { left: 0; opacity: 1; }
  19%, 27% { left: calc(var(--c) + var(--gap)); }
  37%, 45% { left: calc(2 * (var(--c) + var(--gap))); }
  55%, 63% { left: calc(3 * (var(--c) + var(--gap))); }
  73%, 95% { left: calc(4 * (var(--c) + var(--gap))); opacity: 1; }
  100% { left: calc(4 * (var(--c) + var(--gap))); opacity: 0; }
}
@keyframes ping { 0% { opacity: .95; scale: 1; } 14% { opacity: 0; scale: 2.8; } 100% { opacity: 0; scale: 2.8; } }
@media (max-width: 860px) {
  .route { padding-top: 0; }
  .stations { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stations li { padding: 0 0 0 40px; }
  .stations li::before { top: 4px; }
  .stations li::after { left: 7.5px; top: 13px; width: 3px; height: calc(100% + 28px); transform-origin: 50% 0; }
  .motion .route:not(.in) .stations li::after { scale: 1 0; }
  .loop, .token, .ping { display: none; }
  .loop-note { display: block; padding-left: 40px; }
}

/* Features, with a light that follows the pointer */
.panel { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 28px; align-content: start; transition: border-color .35s; }
.glow { background: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 124, 255, .14), transparent 62%), var(--bg2); }
.glow:hover { border-color: rgba(179, 169, 255, .32); }
.panel-text { display: grid; gap: 12px; align-content: start; }
.panel-text h3 { font-size: clamp(21px, 2vw, 26px); }
.panel-text p { color: var(--soft); }
.wide { margin-bottom: var(--gap); }
.pair { display: grid; gap: var(--gap); }
.ticks, .nos { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li, .nos dt { position: relative; padding-left: 28px; }
.ticks li { color: var(--soft); font-size: 15.5px; }
.ticks li::before, .nos dt::before { content: ""; position: absolute; left: 3px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.more { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; gap: 32px; }
.more li { position: relative; padding-top: 18px; display: grid; gap: 8px; align-content: start; border-top: 1px solid rgba(255, 255, 255, .18); }
.more li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--teal); scale: 0 1; transform-origin: 0 50%; transition: scale .6s var(--ease); }
.more li:hover::before { scale: 1 1; }
.more h3 { font-size: 18px; transition: color .3s; }
.more li:hover h3 { color: var(--teal); }
.more p { color: var(--soft); font-size: 15.5px; }
@media (min-width: 600px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; } }
@media (min-width: 1040px) { .more { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* The runtimes, on a field of the mascot's colour: a list, or a marquee when motion is welcome */
.runtimes { background: var(--coral); color: var(--coral-ink); display: grid; gap: 28px 64px; overflow: hidden; }
.runtimes-text { display: grid; gap: 16px; align-content: start; }
.runtimes p { color: #3a1214; }
.runtimes-note { font-size: 15.5px; align-self: end; max-width: 40em; }
.names { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.names li { font-size: clamp(20px, 2.5vw, 32px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; padding: 14px 0; border-top: 1.5px solid rgba(29, 10, 12, .28); }
.marquee { display: none; }
.marquee .row { overflow: hidden; }
.track-x { display: flex; width: max-content; animation: slide 40s linear infinite; }
.row-back .track-x { animation-duration: 46s; animation-direction: reverse; }
.track-x span { display: inline-flex; align-items: center; gap: .5em; padding-right: .5em; font-size: clamp(40px, 7vw, 104px); font-weight: 750; letter-spacing: -.04em; line-height: 1.12; white-space: nowrap; }
.track-x span::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: currentColor; opacity: .35; }
.row-back span { color: #fff4f2; }
.marquee:hover .track-x { animation-play-state: paused; }
@keyframes slide { to { translate: -50% 0; } }
@media (min-width: 900px) { .runtimes { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .names { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) {
  .marquee { display: grid; gap: 2px; grid-column: 1 / -1; width: 100vw; margin-left: calc(50% - 50vw); }
  .names { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Privacy */
.privacy { background: var(--deep); display: grid; gap: 40px 64px; }
.privacy-text { display: grid; gap: 18px; align-content: start; }
.privacy-text > p { color: var(--soft); }
.nos { margin-top: 10px; gap: 16px; }
.nos dt { font-weight: 650; }
.nos dd { margin: 2px 0 0 28px; color: var(--soft); font-size: 15.5px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
caption { text-align: left; font-weight: 650; font-size: 19px; padding-bottom: 12px; color: var(--ink); }
th { text-align: left; font-weight: 600; color: var(--faint); font-size: 14px; padding: 10px 16px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); transition: color .3s; }
td:first-child { color: var(--ink); width: 44%; }
tr:hover td { color: var(--ink); }
.privacy-table .small { margin-top: 16px; }
@media (min-width: 960px) { .privacy { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (max-width: 600px) {
  .stack thead { display: none; }
  .stack tr { display: grid; gap: 4px; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .stack td { display: block; border: 0; padding: 0; width: auto; }
  .stack td::before { content: attr(data-l); display: block; font-size: 13px; color: var(--faint); }
}

/* The engine: what goes in, the ring, what comes out */
.core { position: relative; height: clamp(420px, 40vw, 520px); margin: 0 0 clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.core-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.core-in, .core-out { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.core-in li, .core-out li { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(20, 18, 43, .94); color: var(--ink); font-size: 14.5px; white-space: nowrap; }
.core-out li { justify-self: end; }
.core-in li::before, .core-out li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.core-ring { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; pointer-events: none; }
.core-ring span { padding: 4px 11px; border-radius: 999px; background: rgba(20, 18, 43, .8); color: var(--ink); font-size: 13px; font-weight: 650; }
@media (max-width: 960px) {
  .core { height: auto; grid-template-columns: minmax(0, 1fr); }
  .core-in, .core-out { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 560px); justify-self: center; }
  .core-in li, .core-out li { justify-self: stretch; border-radius: 14px; padding: 8px 12px; font-size: 13.5px; line-height: 1.3; white-space: normal; }
  .core-out li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }
  .core-ring { height: 280px; }
}
.engine-needs { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 28px 48px; }
.engine-needs h3 { font-size: 19px; margin-bottom: 14px; }
.install { display: grid; gap: 10px; align-content: start; }
.install h3 { margin-bottom: 4px; }
.needs { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--soft); font-size: 15.5px; }
.needs li::marker, .first li::marker { color: var(--teal); font-weight: 700; }
.cmd-label { font-size: 14px; color: var(--faint); }
pre { margin: 0; overflow-x: auto; background: #0b0d12; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: var(--ink); font-size: 14px; line-height: 1.5; }
@media (min-width: 900px) { .engine-needs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Download */
.download { background: var(--bg2); }
.oses { display: grid; gap: var(--gap); }
.os { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 14px; align-content: start; transition: translate .4s var(--ease), border-color .3s, opacity .9s var(--ease), transform .9s var(--ease); }
.os:hover { translate: 0 -5px; border-color: rgba(255, 255, 255, .22); }
.os h3 { font-size: 26px; }
.os-sub { color: var(--soft); font-size: 15.5px; }
.first { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--soft); font-size: 15px; }
.first b { color: var(--ink); font-weight: 600; }
.first code { overflow-wrap: anywhere; color: var(--ink); }
.os.is-yours { border: 1.5px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, conic-gradient(from var(--a), var(--coral), rgba(255, 91, 80, .12) 25%, var(--teal) 50%, rgba(94, 231, 223, .12) 75%, var(--coral)) border-box; animation: spin 7s linear infinite; }
.os.is-yours .btn-line { background: var(--coral); border-color: var(--coral); color: var(--coral-ink); font-weight: 650; }
.os.is-yours .btn-line::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .42) 50%, transparent 70%); }
.os.is-yours .btn-line:hover { background: var(--coral-hi); }
.all { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
@keyframes spin { to { --a: 360deg; } }
@media (min-width: 900px) { .oses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Closing: the mascot looks at the pointer and jumps when clicked */
.closing { display: grid; gap: 24px 56px; align-items: center; justify-content: center; grid-template-columns: auto minmax(0, 660px); }
.closing-art { position: relative; width: clamp(150px, 22vw, 300px); }
.closing-mascot { position: relative; z-index: 1; width: 100%; transform-origin: 50% 85%; cursor: pointer; }
.bubble { position: absolute; left: var(--x); bottom: 14%; width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid rgba(179, 169, 255, .5); background: rgba(179, 169, 255, .08); opacity: 0; }
.closing h2 { font-size: clamp(34px, 4.4vw, 58px); }
.closing p { color: var(--soft); margin: 14px 0 26px; }
@media (max-width: 640px) { .closing { grid-template-columns: minmax(0, 1fr); justify-content: start; } .closing-art { width: 150px; } }

/* Footer */
.foot { background: var(--deep); border-top: 1px solid var(--line); padding-block: 40px 48px; display: grid; gap: 10px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--soft); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--ink); }

/* The pause button, for whoever wants the page still (WCAG 2.2.2) */
.pause { position: fixed; left: 16px; bottom: 16px; z-index: 12; display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(13, 13, 26, .94); color: var(--soft); font: 600 13.5px Inter, system-ui, sans-serif; cursor: pointer; transition: color .2s, border-color .2s; }
.pause::before { content: ""; width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.pause:hover { color: var(--ink); border-color: rgba(255, 255, 255, .35); }
.still .pause::before { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.motion .pause { display: inline-flex; }
@media (max-width: 760px) { .pause { width: 40px; padding: 0; justify-content: center; } .pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.still *, .still *::before, .still *::after { animation-play-state: paused !important; }

/* Motion: everything below runs only for people who have not asked for less */
@media (prefers-reduced-motion: no-preference) {
  .frame { animation: land 1.25s var(--ease) backwards; }
  .sheen { animation: sheen 1.6s var(--ease) 1s both; }
  .w > span { animation: rise 1s var(--ease) calc(.15s + var(--i) * .07s) both; }
  .lead { animation: soft .9s var(--ease) .45s both; }
  .get { animation: soft .9s var(--ease) .58s both; }
  .get-meta { animation: soft .9s var(--ease) .68s both; }
  .events { animation: soft 1s var(--ease) 1.15s backwards; }
  .mascot { animation: peek .9s var(--pop) .95s backwards, float 5s ease-in-out 1.85s infinite; }
  .closing-mascot { animation: bob 5.5s ease-in-out infinite; }
  .closing-mascot.jump { animation: jump .8s var(--ease); }
  .bubble { animation: bubble var(--t) ease-in var(--d) infinite; }
  .motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) calc(var(--d, 0) * .1s), transform .9s var(--ease) calc(var(--d, 0) * .1s), border-color .35s, translate .4s var(--ease); }
  .motion [data-reveal].in { opacity: 1; transform: none; }
}
@keyframes land { from { opacity: 0; transform: perspective(1600px) rotateX(16deg) translateY(56px) scale(.96); } }
@keyframes sheen { to { translate: 110% 0; } }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes soft { from { opacity: 0; translate: 0 14px; } }
@keyframes slot { from { opacity: 0; translate: 0 -8px; } }
@keyframes peek { from { transform: translateY(15%); opacity: 0; } 30% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(-60%) rotate(0); } 50% { transform: translateY(-67%) rotate(-3deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes jump { 0% { transform: none; } 16% { transform: scale(1.12, .86); } 42% { transform: translateY(-40px) scale(.92, 1.1) rotate(4deg); } 70% { transform: translateY(0) scale(1.06, .94); } 100% { transform: none; } }
@keyframes bubble { 0% { opacity: 0; transform: translateY(0) scale(.6); } 14% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -230px) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .token, .ping { display: none; }
}
