@font-face {
  font-family: 'Barlow Condensed';
  src: url('type/BarlowCondensed-ExtraBold-latin.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #0d0e1c;
  --ink: #fff;
  --soft: rgba(255, 255, 255, .7);
  --cream: #fff4c6;
  --pink: #ff9ec4;
  --rose: #ff8fb8;
  --peach: #ffb37c;
  --lime: #e6ff9c;
  --violet: #38365d;
  --plum: #31223e;
  --indigo: #21254c;
  --radius: 25px;
  --ribbon: 0px;
  --bar: 84px;
  --line: rgba(255, 255, 255, .09);
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: min(1066px, 100vw - 2 * var(--gutter));
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --glide: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 90; padding: 10px 16px; border-radius: 999px; background: #fff; color: #17122b; font-weight: 700; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: var(--wrap); margin-inline: auto; }

.eyebrow { font: 800 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }

.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--pink); color: #2a1030; font: 700 15px/1 var(--text); white-space: nowrap; transition: transform .25s var(--glide), filter .25s; }
.pill:hover { transform: translateY(-2px); filter: brightness(1.08); }
.pill-cream { background: var(--cream); color: #2a1030; }

/* The header. It becomes compact once the hero scrolls beneath it. */
.top-anchor { height: 0; margin: 0; padding: 0; }

.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: var(--bar); padding: 0 var(--gutter); background: linear-gradient(180deg, rgba(13,14,28,.86), rgba(13,14,28,.38) 68%, transparent); color: #fff; pointer-events: none; transition: height .22s ease, background .22s ease; }
.bar.is-deep { height: 68px; background: rgba(13,14,28,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.1); }
.bar > * { pointer-events: auto; }
.logo img { width: auto; height: calc(var(--bar) - 14px); transition: height .22s ease; filter: drop-shadow(0 4px 14px rgba(8, 6, 24, .55)); }
.bar.is-deep .logo img { height: 50px; }
.bar-actions { display: flex; align-items: center; gap: 12px; }
.header-social { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; color: #fff; background: rgba(13,14,28,.64); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; transition: border-color .2s, background .2s; }
.header-social[href]:hover { border-color: rgba(255,255,255,.5); background: rgba(13,14,28,.9); }
.header-social svg, .header-social img { display: block; width: 32px; height: 32px; }
.header-social img { object-fit: contain; }
.bar-cta { height: 38px; padding: 0 18px; font-size: 14px; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .3s var(--glide), visibility 0s linear .3s; }
.bar.is-deep .bar-cta { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.burger { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; color: #fff; background: rgba(13,14,28,.64); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.burger i { display: block; width: 26px; height: 4px; border-radius: 1px; background: currentColor; }

/* The stream and its chat open the page. The picture keeps its shape and the chat is as tall as the picture. */
.live { --chat: clamp(300px, 25vw, 380px); --w: max(600px, min(1480px, 100vw - 2 * var(--gutter), (100svh - var(--bar) - 64px) * 16 / 9 + var(--chat))); display: grid; justify-content: center; align-content: center; min-height: 100svh; padding: calc(var(--bar) + 24px) 0 40px; scroll-margin-top: var(--ribbon); background: linear-gradient(180deg, rgba(13,14,28,.12), rgba(13,14,28,.22) 65%, var(--bg)), url('art/hero-gta-vi.webp') center / cover no-repeat; }
.live-panel { display: grid; grid-template-columns: minmax(0, 1fr) var(--chat); width: var(--w); overflow: hidden; border-radius: var(--radius); background: #15162c; box-shadow: 0 30px 80px rgba(4, 4, 14, .55); }
.live-screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.live-screen > video, .live-screen > iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.live-cover { position: absolute; inset: 0; display: grid; align-content: end; justify-items: start; gap: 8px; padding: clamp(18px, 2.6vw, 38px); background: linear-gradient(rgba(13, 14, 28, .1) 40%, rgba(13, 14, 28, .88)); transition: opacity .35s, visibility .35s; }
.live-screen.is-playing .live-cover { opacity: 0; visibility: hidden; }
.live-cover .play-big { position: absolute; left: 50%; top: 50%; margin: -42px 0 0 -42px; }
.live-cover-title { font: 800 clamp(26px, 3.2vw, 46px)/.95 var(--display); text-transform: uppercase; color: var(--cream); }

.chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; border-left: 1px solid var(--line); }
.chat-head { padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.chat-head h2 { font: 800 17px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); }
.chat-room { position: relative; min-height: 0; }
.chat-room ol { position: absolute; inset: 0; margin: 0; padding: 8px 20px; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.chat-message { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; padding: 7px 0; overflow: hidden; font-size: 14.5px; line-height: 1.4; }
.chat-author { grid-area: 1 / 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--pink); }
.chat-time { grid-area: 1 / 2; font-size: 11.5px; line-height: 1.6; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }
.chat-body { grid-area: 2 / 1 / 3 / -1; overflow-wrap: anywhere; }
.chat-empty { position: absolute; inset: 0; display: grid; place-content: center; padding: 24px; text-align: center; color: var(--soft); pointer-events: none; }
.chat-empty[hidden] { display: none; }
.chat-empty p { max-width: 18ch; font-size: 14.5px; }
.chat-compose { display: grid; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.chat-compose form { display: grid; gap: 8px; }
.chat-line { display: flex; gap: 8px; }
.chat-compose input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--ink); font: 15px/1 var(--text); }
.chat-compose .chat-name { width: 100%; height: 36px; font-size: 13.5px; font-weight: 700; color: var(--pink); }
.chat-compose input::placeholder { color: rgba(255, 255, 255, .45); font-weight: 400; }
.chat-compose input:focus-visible { outline: 0; border-color: var(--pink); }
.chat-compose button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #2a1030; transition: opacity .2s, transform .25s var(--glide); }
.chat-compose button:not(:disabled):hover { transform: translateY(-2px); }
.chat-compose button:disabled { opacity: .35; cursor: default; }
.chat-compose button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chat-compose small { min-height: 1.4em; padding: 0 6px; font-size: 12px; color: rgba(255, 255, 255, .5); }

/* The cover: the collage recedes and the wordmark passes the viewer. */
.logo-story { --collage-depth: 0px; --collage-opacity: 1; --logo-depth: 0px; --logo-opacity: 1; position: relative; z-index: 2; pointer-events: none; }
.js .logo-story { height: 167.2svh; }
.logo-stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.logo-art { position: relative; width: min(94vw, 1800px, 154svh); aspect-ratio: 1992 / 1141; perspective: 1200px; perspective-origin: 51% 53%; }
.logo-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 51% 53%; backface-visibility: hidden; }
.logo-backdrop { position: absolute; inset: 0; transform: translate3d(0, 0, var(--collage-depth)); opacity: var(--collage-opacity); }
.logo-forward { transform: translate3d(0, 0, var(--logo-depth)); opacity: var(--logo-opacity); }
.logo-story.is-active .logo-backdrop, .logo-story.is-active .logo-forward { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .js .logo-story { height: auto; }
  .logo-stage { position: relative; }
  .logo-backdrop, .logo-forward { transform: none; opacity: 1; }
}

/* The agents: the trailer pulls back and its pixels rebuild the androids into the human pair. */
.agent-reveal { position: relative; z-index: 1; }
.js .agent-reveal { height: 505svh; margin-top: -100svh; }
.js .agent-reveal + .about { position: relative; z-index: 2; margin-top: -100svh; min-height: 100svh; background: var(--bg); }
.agent-stage { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(20px, 4vw, 72px); height: 100svh; padding: var(--bar) var(--gutter) 0; overflow: hidden; opacity: var(--agents-intro, 1); }
.agent-portrait { position: relative; opacity: var(--portrait-intro, 1); grid-column: 2; grid-row: 1; align-self: end; height: min(88svh, 1100px); min-width: 0; transform: translate3d(var(--duo-offset, 0vw), var(--duo-y, 0svh), 0) scale(var(--duo-scale, 1)); transform-origin: 50% 30%; }
.agent-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.android-duo { opacity: var(--android-opacity, 1); }
.human-duo { opacity: var(--human-opacity, 0); }
.duo-material { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.duo-particles { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.agent-stage { isolation: isolate; background: var(--bg); }
.agent-trailer { position: relative; z-index: 2; grid-column: 1; grid-row: 1; min-width: 0; opacity: var(--trailer-opacity, 1); transform: translate3d(var(--trailer-x, 0vw), var(--trailer-offset, 0svh), 0) scale(var(--trailer-scale, 1)); }
.agent-trailer-label { opacity: var(--trailer-label-opacity, 1); margin-bottom: 16px; color: var(--cream); font: 800 clamp(20px, 2.4vw, 38px)/1 var(--display); text-transform: uppercase; }
.agent-trailer-screen { position: relative; aspect-ratio: 16 / 9; background: #050509; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.agent-trailer-screen video, .agent-trailer-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.agent-trailer-fallback { margin-top: 12px; font-size: 14px; color: var(--soft); }
.agent-trailer-fallback a { color: var(--cream); }
.agent-reveal.is-active .agent-portrait, .agent-reveal.is-active .agent-trailer { will-change: transform, opacity; }
@media (max-width: 760px) {
  .agent-stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 12px; padding: var(--bar) var(--gutter) 28px; }
  .agent-portrait { grid-column: 1; grid-row: 2; height: 100%; max-height: 54svh; width: 100%; transform-origin: 50% 25%; }
  .agent-trailer { grid-column: 1; grid-row: 1; width: min(100%, 540px); justify-self: center; }
  .agent-trailer-label { margin-bottom: 10px; font-size: 20px; }
  .agent-trailer { transform: none; }
  .agent-trailer-screen { overflow: visible; }
  .agent-trailer-screen video { position: absolute; left: var(--video-cover-x, 0px); top: var(--video-cover-y, 0px); width: calc(100% + var(--video-cover-width, 0px)); height: calc(100% + var(--video-cover-height, 0px)); max-width: none; object-fit: cover; border-radius: var(--video-cover-radius, 18px); }
}
@media (max-width: 760px) and (max-height: 620px) and (orientation: landscape) {
  .agent-stage { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-rows: 1fr; gap: 16px; padding-bottom: 16px; }
  .agent-portrait { grid-column: 2; grid-row: 1; max-height: 100%; }
  .agent-trailer { grid-column: 1; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .agent-reveal { height: auto; margin-top: 0; }
  .js .agent-reveal + .about { margin-top: 0; min-height: 0; }
  .agent-stage { position: relative; }
  .agent-portrait, .agent-trailer { transform: none; opacity: 1; }
}

.play-big { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; background: #fff; color: #17122b; box-shadow: 0 10px 40px rgba(13, 14, 28, .45); transition: box-shadow .25s; }
.play-big:hover { box-shadow: 0 0 0 10px rgba(255, 255, 255, .25), 0 10px 40px rgba(13, 14, 28, .45); }
.play-big svg { width: 36px; height: 36px; fill: currentColor; }

/* What this is: one sentence, three equal steps and the way to the docs, all centred. */
.about { display: grid; align-content: center; padding: calc(68px + clamp(28px, 4.5vh, 56px)) 0 clamp(28px, 4.5vh, 56px); }
.about .wrap { display: grid; justify-items: center; gap: clamp(28px, 3.2vw, 40px); }
.about-head { display: grid; justify-items: center; gap: 16px; text-align: center; }
.about-head h2 { font: 800 clamp(46px, 5.6vw, 76px)/.92 var(--display); text-transform: uppercase; color: var(--cream); }
.about-head h2 br { display: none; }
.about-head p:not(.eyebrow) { max-width: 56ch; }
.about .eyebrow { color: var(--pink); }
.about-head p:not(.eyebrow), .step p:not(.eyebrow), .about-more p { font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, .9); text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: 100%; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius); background: linear-gradient(170deg, var(--violet), var(--plum)); }
.step img { width: 100%; height: auto; max-height: 24svh; aspect-ratio: 4 / 3; object-fit: cover; }
.step-copy { display: grid; align-content: start; justify-items: center; gap: 10px; padding: clamp(20px, 2.4vw, 30px) clamp(16px, 2vw, 26px) clamp(24px, 2.8vw, 34px); text-align: center; }
.step h3 { font: 800 clamp(27px, 2.8vw, 36px)/.98 var(--display); text-transform: uppercase; color: var(--cream); text-wrap: balance; }
.about-more { display: grid; justify-items: center; gap: 14px; text-align: center; }

/* The docs: one centred column. The learning demo and the four steps below it are as wide as the page. */
.docs { width: min(680px, 100vw - 2 * var(--gutter)); margin-inline: auto; padding: calc(var(--bar) + clamp(40px, 8vh, 90px)) 0 clamp(64px, 10vh, 110px); }
.docs-head { display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(40px, 7vh, 72px); text-align: center; }
.docs-head .eyebrow, .docs section .eyebrow { color: var(--pink); }
.docs-head h1 { font: 800 clamp(46px, 6.6vw, 88px)/.92 var(--display); text-transform: uppercase; color: var(--cream); }
.docs-head p:not(.eyebrow), .docs section p:not(.eyebrow) { font-weight: 500; line-height: 1.55; color: rgba(255, 255, 255, .9); text-wrap: balance; }
.docs-head p:not(.eyebrow) { max-width: 46ch; }
.docs section { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; padding: clamp(28px, 4.6vh, 44px) 0; border-top: 1px solid var(--line); text-align: center; }
.docs section > p:not(.eyebrow) { max-width: 58ch; }
.docs section h2 { font: 800 clamp(30px, 3.6vw, 42px)/.98 var(--display); text-transform: uppercase; color: var(--cream); text-wrap: balance; }

/* The demo: a driver learning a road, drawn by learn.js. Readouts and a button sit above the picture. */
/* Both reach past the text column by the same amount on either side. */
.learn, .loop { justify-self: stretch; margin-inline: calc((100% - var(--wrap)) / 2); }
.learn { display: grid; justify-items: center; gap: 14px; margin-block: clamp(14px, 2.4vh, 22px) 0; }
.learn-panel { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); background: linear-gradient(170deg, var(--violet), var(--plum)); }
/* The demo opens like a trailer: a title card that covers the panel, then fades into the picture. */
.learn-title { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: clamp(8px, 1.5vw, 20px); background: #222338; color: #fff; font: 700 clamp(17px, 4.4vw, 54px)/1 'Avenir Next', 'Century Gothic', Futura, Montserrat, var(--text); text-transform: uppercase; text-shadow: .04em .03em 0 #e03bd8; opacity: 0; visibility: hidden; }
.learn-title span { padding-left: .3em; letter-spacing: .3em; opacity: 0; }
.learn-title span + span { padding-left: .46em; font-size: .56em; letter-spacing: .46em; }
.learn.is-titled .learn-title { opacity: 1; visibility: visible; }
.learn.is-rolling .learn-title { animation: title-card 2.8s ease both; }
.learn.is-rolling .learn-title span { animation: title-text 2.8s ease both; }
@keyframes title-card { 0%, 80% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes title-text { 0% { opacity: 0; transform: scale(.97); } 24%, 72% { opacity: 1; } 100% { opacity: 0; transform: scale(1.03); } }
.learn-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px clamp(16px, 2.2vw, 26px) 4px; }
.learn-read { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; font: 800 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.learn-read:last-child { justify-content: flex-end; }
.learn-read b { font-size: 26px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--cream); transition: color .3s; }
.learn.is-there .learn-read b { color: var(--lime); }
.learn-again { height: 36px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; font: 700 14px/1 var(--text); white-space: nowrap; transition: border-color .2s, color .2s; }
.learn-again:hover { border-color: var(--pink); color: var(--pink); }
.learn canvas { display: block; width: 100%; aspect-ratio: 5 / 2; }
.learn figcaption { max-width: 62ch; font-size: 14px; line-height: 1.5; color: var(--soft); text-wrap: balance; }

/* The loop in four steps. A light travels through them, one after the other. */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-block: clamp(8px, 1.4vh, 14px); padding: 0; list-style: none; }
.loop li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 22px 16px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .035); animation: beat 6s calc(var(--beat) * 1.5s - 6s) infinite; }
.loop svg { width: 28px; height: 28px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loop h3 { font: 800 clamp(24px, 2.4vw, 30px)/1 var(--display); text-transform: uppercase; color: var(--cream); }
.docs section .loop p { font-size: 15px; line-height: 1.4; }
@keyframes beat {
  0%, 28%, 100% { border-color: var(--line); background: rgba(255, 255, 255, .035); transform: none; }
  5%, 22% { border-color: var(--lime); background: rgba(230, 255, 156, .07); transform: translateY(-4px); }
}

.docs-end { display: grid; justify-items: center; padding-top: clamp(28px, 5vh, 48px); border-top: 1px solid var(--line); }
.bar-static { position: absolute; }
.bar-static .bar-cta { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

/* Blocks rise into place when they come into view. */
.js .rise { opacity: 0; transform: translateY(46px); transition: opacity .8s ease, transform .9s var(--glide); }
.js .rise.in { opacity: 1; transform: none; }

/* The menu. */
dialog { max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--ink); }
dialog::backdrop { background: rgba(8, 8, 20, .92); backdrop-filter: blur(8px); }
.close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 26px; line-height: 1; transition: background .2s; }
.close:hover { background: rgba(255, 255, 255, .24); }
.sheet { width: 100vw; height: 100dvh; padding: 22px var(--gutter) 40px; background: linear-gradient(160deg, #241a4a, var(--bg) 62%); }
.sheet[open] { display: grid; grid-template-rows: auto 1fr; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; }
.sheet-bar h2 { font: 800 16px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.sheet nav { display: grid; align-content: center; gap: 4px; }
.sheet nav a { width: max-content; max-width: 100%; font: 800 clamp(40px, 8vw, 84px)/1.02 var(--display); text-transform: uppercase; color: var(--cream); transition: color .2s, transform .3s var(--glide); }
.sheet nav a:hover { color: var(--pink); transform: translateX(10px); }

/* Below this width the chat moves under the picture. */
@media (max-width: 900px) {
  .live { --w: calc(100vw - 2 * var(--gutter)); }
  .live-panel { grid-template-columns: minmax(0, 1fr); }
  .chat { height: min(400px, 54svh); border-left: 0; border-top: 1px solid var(--line); }
  .chat-compose input { font-size: 16px; }
}

@media (max-width: 760px) {
  :root { --bar: 68px; }
  .bar.is-deep { height: 64px; }
  .bar.is-deep .logo img { height: 46px; }
  .header-social svg, .header-social img { width: 28px; height: 28px; }
  .bar-actions { gap: 8px; }
  .bar-cta { display: none; }
  .live-cover .play-big { width: 64px; height: 64px; margin: -40px 0 0 -32px; }
  .live-cover .play-big svg { width: 28px; height: 28px; }
  .about-head h2 br { display: inline; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step img { max-height: none; aspect-ratio: 16 / 9; }
  .learn canvas { aspect-ratio: 8 / 5; }
  .learn-hud { gap: 8px; padding: 12px 14px 2px; }
  .learn-read { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 11px; }
  .learn-read:last-child { align-items: flex-end; }
  .learn-read b { font-size: 20px; }
  .learn-again { height: 32px; padding: 0 12px; font-size: 13px; }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .loop li { padding: 18px 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .loop li { animation: none; }
  .learn .learn-title { display: none; }
}
