/* infinitegame.online — the landing page.
   Tokens come from the design (palette "best"): cool neutrals, lime only on actions,
   violet for depth, cyan for highlights. */

:root {
  --bg: #0a0c12;
  --surface: #0f1219;
  --surface-2: #161b26;
  --border: #1e2433;
  --text-primary: #f3f5f9;
  --text-secondary: #a3abbd;
  --text-muted: #7c86a0;
  --accent: #c8ff3d;
  --accent-ink: #0a0b05;
  --violet: #7457ff;
  --violet-soft: #b3a4ff;
  --cyan: #4fe3ff;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 12px;
  --max: 1440px;
  --pad: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

canvas[data-shader] {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
canvas.shader-failed { visibility: hidden; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow.accent { color: var(--accent); }
.eyebrow.cyan { color: var(--cyan); }
.eyebrow.violet { color: var(--violet-soft); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.icon { width: 1em; height: 1em; flex: none; }

/* Buttons: lime is the one action colour and appears nowhere decorative. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 32px rgba(200, 255, 61, 0.25); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary { background: var(--surface-2); border: 1px solid var(--border); }
.btn-secondary:hover { background: #1b2130; }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn-ghost { padding: 9px 14px; font-size: 14px; font-weight: 500; }
.btn .icon { width: 16px; height: 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); background: rgba(10, 12, 18, 0.85); backdrop-filter: blur(16px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 8px; }
.nav-links a:hover { color: var(--text-primary); }
.badge-ai { font-family: var(--font-mono); font-size: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(116, 87, 255, 0.15); border: 1px solid rgba(116, 87, 255, 0.4); color: var(--violet-soft); }
.nav-actions { display: flex; gap: 6px; align-items: center; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 9px; }
.nav-toggle .icon { width: 20px; height: 20px; }

/* Hero copy */
.hero { padding: 56px var(--pad) 40px; text-align: center; }
.hero-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.lockup { display: flex; align-items: center; gap: 12px; }
.lockup .mark { width: 64px; height: 36px; }
.lockup .word { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.lockup .tld { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

.headline { font-size: clamp(44px, 5.3vw, 76px); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; }
.headline .line { display: block; }
.headline .muted { color: var(--text-muted); }
/* The reveal and the sweep are driven from main.js through two custom properties, so the
   text is always visible when scripts do not run and the timing never depends on CSS clocks. */
.headline .reveal { display: inline-block; clip-path: inset(0 var(--clip, 0%) 0 0); }

/* The pixel light sweep: a hard-stepped lime band crossing the text every six seconds,
   line 1 first, line 3 a beat later. */
.shine { position: relative; }
.shine::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--accent);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px), linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-composite: source-in;
  mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px), linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%);
  mask-composite: intersect;
  -webkit-mask-size: 100% 100%, 300% 100%;
  mask-size: 100% 100%, 300% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
  mask-repeat: repeat, no-repeat;
  -webkit-mask-position: 0 0, var(--sweep, 150%) 0;
  mask-position: 0 0, var(--sweep, 150%) 0;
  pointer-events: none;
}

/* The rolling word: the current word slides up and the next takes its place. */
.headline .roll { display: inline-grid; grid-template-areas: "w"; text-align: left; vertical-align: top; overflow: hidden; height: 1.02em; }
.roll > span { grid-area: w; will-change: transform, opacity; }

.subhead { font-size: 17px; line-height: 1.55; color: var(--text-secondary); max-width: 640px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.proof { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.avatars { display: flex; }
.avatars span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; }
.avatars span:first-child { margin-left: 0; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.proof .sep { color: var(--text-muted); }

/* Stage: the island assembling, and the composer over it */
.stage { position: relative; height: 600px; overflow: hidden; }
.stage .world { position: absolute; inset: 0; }
.stage .world canvas { object-fit: cover; }
.stage .fade-top, .stage .fade-bottom { position: absolute; left: 0; right: 0; pointer-events: none; }
.stage .fade-top { top: 0; height: 160px; background: linear-gradient(180deg, var(--bg), transparent); }
.stage .fade-bottom { bottom: 0; height: 220px; background: linear-gradient(180deg, transparent, rgba(10, 12, 18, 0.9)); }
.stage-inner { position: relative; max-width: var(--max); margin: 0 auto; height: 100%; }

.build-log { position: absolute; left: var(--pad); top: 150px; display: flex; flex-direction: column; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; border-radius: 7px; background: rgba(10, 12, 18, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); font-size: 12px; }
.chip .key { font-weight: 600; }
.chip .val { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
.chip .icon { width: 12px; height: 12px; color: var(--accent); }
.chip.pending { opacity: 0.55; }
.chip.pending .icon { color: var(--text-muted); animation: spin 1.4s linear infinite; }
.build-log .chip { opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
.build-log .chip.shown { opacity: 1; transform: none; }
.build-log .chip.shown.pending { opacity: 0.55; }
@keyframes spin { to { transform: rotate(360deg); } }

.composer {
  position: absolute; left: 50%; bottom: 50px; transform: translateX(-50%);
  width: min(760px, calc(100% - 2 * var(--pad)));
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px 16px 14px 18px; border-radius: 18px;
  background: rgba(15, 18, 25, 0.94); border: 1px solid rgba(200, 255, 61, 0.33);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 40px rgba(200, 255, 61, 0.12);
  backdrop-filter: blur(24px);
}
.composer .input-row { display: flex; align-items: center; gap: 14px; }
.composer .wand { width: 36px; height: 36px; border-radius: 10px; background: rgba(116, 87, 255, 0.15); display: grid; place-items: center; color: var(--violet-soft); flex: none; }
.composer .wand .icon { width: 18px; height: 18px; }
.composer .typed { flex: 1; font-size: 18px; font-weight: 500; min-height: 1.4em; }
.composer .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -0.1em; margin-left: 1px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer .hint { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.composer .action-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.suggestions { display: flex; gap: 6px; flex-wrap: wrap; }
.suggestions button { font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text-secondary); }
.suggestions button:hover { border-color: var(--text-muted); color: var(--text-primary); }
.progress { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; }
.ring { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--accent) var(--pct, 62%), rgba(255, 255, 255, 0.12) 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.composer .play { opacity: 0.6; transition: opacity 0.4s; }
.composer .play.ready { opacity: 1; }
.composer .right { display: flex; align-items: center; gap: 10px; }

/* Sections */
.section { padding: 120px var(--pad); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.section-head .title { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin-top: 16px; }
.section-head .desc { font-size: 17px; color: var(--text-secondary); margin-top: 16px; max-width: 640px; }
.section-head .side { font-size: 16px; line-height: 1.55; color: var(--text-secondary); max-width: 400px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.link .icon { width: 16px; height: 16px; }

/* Games */
.bento { display: grid; grid-template-columns: 760px 1fr; gap: 16px; height: 672px; }
.card { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.card-saga { justify-content: flex-end; }
.card-saga .art { position: absolute; inset: 0; }
.card-saga .art canvas { object-fit: cover; }
.card-saga .overlay { position: relative; padding: 120px 32px 32px; background: linear-gradient(180deg, transparent, rgba(10, 12, 18, 0.9) 55%, var(--bg)); display: flex; flex-direction: column; gap: 14px; }
.tagline { display: flex; align-items: center; gap: 10px; }
.tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.card-saga h3 { font-size: 48px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.card-saga p { font-size: 16px; color: var(--text-secondary); max-width: 520px; }
.card-saga .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; }
.online { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.card-game .art { height: 160px; }
.card-game .art canvas { object-fit: cover; }
.card-game .info { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.card-game .genre { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-muted); }
.card-game h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.card-game p { font-size: 14px; color: var(--text-secondary); line-height: 1.45; }
.card-game .tags { display: flex; gap: 6px; padding-top: 6px; }
.card-game .tags span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; padding: 4px 8px; border-radius: 5px; border: 1px solid var(--border); color: var(--text-secondary); }
.card-yours { padding: 24px; justify-content: space-between; background: radial-gradient(160% 160% at 100% 0%, rgba(116, 87, 255, 0.25), var(--surface)); border-color: rgba(116, 87, 255, 0.4); }
.card-yours .genre { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--violet-soft); }
.card-yours h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 12px 0; }
.card-yours p { font-size: 14px; color: var(--text-secondary); }

/* Studio */
.studio { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 120px var(--pad) 120px 64px; }
.studio .wrap { display: grid; grid-template-columns: 380px 1fr; gap: 64px; padding: 0; }
.studio-text { display: flex; flex-direction: column; gap: 20px; }
.studio-text .title { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.studio-text .desc { font-size: 17px; line-height: 1.55; color: var(--text-secondary); }
.steps { margin-top: 16px; }
.step { display: flex; gap: 16px; padding: 18px 0 18px 16px; border-left: 1px solid var(--border); }
.step.active { border-left: 2px solid var(--accent); }
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.step.active .num { color: var(--accent); }
.step h3 { font-size: 17px; font-weight: 600; color: var(--text-secondary); }
.step.active h3 { color: var(--text-primary); }
.step p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.app { border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid #242b3c; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; }
.app .chrome { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.app .dots { display: flex; gap: 6px; }
.app .dots span { width: 10px; height: 10px; border-radius: 50%; background: #1e2433; }
.app .url { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 7px; background: var(--surface-2); font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
.app .url .icon { width: 11px; height: 11px; color: var(--text-muted); }
.app .body { display: grid; grid-template-columns: 250px 1fr 230px; height: 540px; }
.app .chat { border-right: 1px solid var(--border); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.app .msg { padding: 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px; line-height: 1.45; }
.app .ai { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.app .ai .head { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--violet-soft); }
.app .ai .head .icon { width: 14px; height: 14px; }
.app .ai li { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.app .ai li .icon { width: 12px; height: 12px; color: var(--accent); }
.app .ai li b { font-weight: 500; }
.app .ai li span { color: var(--text-muted); }
.app .chat-input { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.app .chat-input .icon { width: 14px; height: 14px; color: var(--text-secondary); }
.app .preview { position: relative; overflow: hidden; }
.app .preview canvas { position: absolute; inset: 0; object-fit: cover; }
.app .hud { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; }
.app .hud span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; padding: 6px 10px; border-radius: 6px; background: rgba(10, 12, 18, 0.8); backdrop-filter: blur(10px); }
.app .inspector { border-left: 1px solid var(--border); padding: 14px; display: flex; flex-direction: column; gap: 16px; }
.app .code { padding: 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; line-height: 1.55; }
.app .code .c { color: var(--text-muted); } .app .code .k { color: var(--violet-soft); } .app .code .s { color: var(--cyan); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); }
.field .row b { font-family: var(--font-mono); font-weight: 400; color: var(--text-primary); }
.field .track { height: 4px; border-radius: 2px; background: var(--surface-2); }
.field .track i { display: block; height: 100%; border-radius: 2px; background: var(--violet-soft); }

/* Community */
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proof-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.proof-card .label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-muted); }
.proof-card .label .icon { width: 14px; height: 14px; color: var(--violet-soft); }
.proof-card .num { font-size: 64px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-top: 10px; }
.proof-card .desc { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin-top: 10px; }
.proof-card .cap { font-size: 13px; line-height: 1.4; color: var(--text-secondary); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.thumbs span { height: 46px; border-radius: 6px; }
.thumbs .more { display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 22px 24px; border-left: 2px solid var(--border); }
.quote p { font-size: 16px; line-height: 1.5; }
.quote .who { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; }
.quote .who i { width: 24px; height: 24px; border-radius: 50%; display: inline-block; }
.quote .who span { color: var(--text-muted); font-size: 11px; }
.stats-line { margin-top: 40px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-muted); }

/* Claim */
.claim { position: relative; overflow: hidden; height: 640px; border-top: 1px solid var(--border); text-align: center; }
.claim .glow { position: absolute; left: 0; right: 0; bottom: 0; height: 360px; }
.claim-inner { position: relative; padding: 120px var(--pad) 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.claim h2 { font-size: clamp(40px, 4.5vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.claim .desc { font-size: 18px; color: var(--text-secondary); }
.handle-form { display: flex; align-items: center; gap: 12px; width: min(560px, 100%); padding: 8px 8px 8px 20px; border-radius: 14px; background: rgba(15, 18, 25, 0.9); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65); backdrop-filter: blur(20px); }
.handle-form label { font-family: var(--font-mono); font-size: 15px; color: var(--text-muted); white-space: nowrap; }
.handle-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text-primary); font-family: var(--font-mono); font-size: 15px; }
.availability { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-secondary); }
.availability .icon { width: 14px; height: 14px; color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 64px var(--pad) 40px; }
.footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; gap: 16px; width: 320px; }
.brand .lockup .word { font-size: 16px; }
.brand p { font-size: 14px; color: var(--text-muted); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-secondary); }
.socials .icon { width: 15px; height: 15px; }
.cols { display: flex; gap: 80px; }
.cols h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 400; }
.cols li { margin-bottom: 14px; font-size: 14px; color: var(--text-secondary); }
.cols a:hover { color: var(--text-primary); }
.footer .bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-muted); }
.footer .legal { display: flex; gap: 24px; }

.badge { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.badge svg { width: 24px; height: 13px; }

/* Smaller screens */
@media (max-width: 1100px) {
  :root { --pad: 24px; }
  .bento { grid-template-columns: 1fr; height: auto; }
  .card-saga { min-height: 520px; }
  .studio { padding: 96px var(--pad); }
  .studio .wrap { grid-template-columns: 1fr; gap: 40px; }
  .app .body { grid-template-columns: 220px 1fr; height: 480px; }
  .app .inspector { display: none; }
  .proof-row, .quotes { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px var(--pad); width: 100%; font-size: 16px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding-top: 40px; }
  .section { padding: 80px var(--pad); }
  .stage { height: 520px; }
  .build-log { display: none; }
  .composer { bottom: 24px; padding: 12px; gap: 10px; }
  .composer .typed { font-size: 15px; }
  .composer .hint { display: none; }
  .composer .action-row { flex-direction: column; align-items: stretch; }
  .composer .right { justify-content: space-between; }
  .suggestions button:nth-child(n+3) { display: none; }
  .grid-2 { grid-template-columns: 1fr; grid-template-rows: auto; }
  .card-saga { min-height: 440px; }
  .card-saga h3 { font-size: 36px; }
  .app .body { grid-template-columns: 1fr; height: 360px; }
  .app .chat { display: none; }
  .proof-card .num { font-size: 48px; }
  .claim { height: auto; padding-bottom: 200px; }
  .handle-form { flex-direction: column; align-items: stretch; padding: 12px; }
  .handle-form .btn { justify-content: center; }
  .cols { gap: 32px; flex-wrap: wrap; }
  .footer .bottom { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .headline .reveal { animation: none; clip-path: none; }
  .shine::after { display: none; }
  .roll > span { transition: none; }
  .composer .caret { animation: none; }
}
