/* SPDX-License-Identifier: GPL-3.0-only */
:root {
  color-scheme: dark;
  --bg: #101110; --panel: #1c1e1b; --ink: #f1f0e9; --muted: #b7b9ae;
  --line: #42453d; --orange: #ff6500; --green: #63ff42; --black: #090a08;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s6: 1.5rem;
  --s8: 2rem; --s12: 3rem; --s16: 4rem; --s24: 6rem;
  --body: 1rem; --small: .875rem; --h3: 1.5rem;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --measure: 62ch; --content: 80rem;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--body)/1.65 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .15em; }
a:active { opacity: .75; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; image-rendering: pixelated; }
figure, dl, dd { margin: 0; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: var(--s4); }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.05; letter-spacing: -.04em; }
h3 { font-size: var(--h3); line-height: 1.2; letter-spacing: -.02em; }
p { max-width: var(--measure); }
.shell { width: min(100% - clamp(2rem, 7vw, 6rem), var(--content)); margin-inline: auto; }
.section { padding-block: var(--s24); }
.eyebrow { font: var(--small)/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s6); color: var(--muted); }
.lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--muted); }
.small, figcaption { font-size: var(--small); color: var(--muted); }
.skip { position: absolute; inset: var(--s4) auto auto var(--s4); z-index: 2; padding: var(--s4); background: var(--green); color: var(--black); transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead, .footer-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.masthead { padding-block: var(--s6); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; font-size: var(--h3); font-weight: 900; letter-spacing: -.06em; text-decoration: none; }
.status-dot { width: var(--s2); height: var(--s2); border-radius: 50%; background: var(--green); }
nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font: var(--small)/1.5 var(--mono); text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; gap: var(--s12); padding-block: var(--s16); align-items: center; }
.hero h1 { font-size: clamp(6rem, 15vw, 13rem); line-height: .85; letter-spacing: -.075em; margin: var(--s8) 0; color: var(--orange); }
.hero-line { font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.hero .lead { margin-top: var(--s6); max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-block: var(--s8) var(--s6); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s6); min-height: 52px; padding: var(--s3) var(--s6); font-weight: 700; text-decoration: none; border: 1px solid var(--line); }
.button:hover { opacity: .85; }
.primary { background: var(--orange); color: var(--black); border-color: transparent; }
.secondary { background: var(--panel); }
.hero-note { font-size: var(--small); color: var(--muted); }
.hero-screen { width: 100%; max-width: 34rem; justify-self: center; }
.screen-frame { background: var(--black); padding: var(--s6); }
.hero-screen img { width: 100%; }
.hero-screen figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); font-family: var(--mono); }
.spec-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: var(--s8); padding-block: var(--s8); }
.spec-strip dt { font: var(--small)/1.5 var(--mono); color: var(--muted); }
.spec-strip dd { font-size: clamp(3rem, 7vw, 6rem); line-height: 1; font-weight: 700; letter-spacing: -.06em; margin-top: var(--s3); }
.spec-strip div:first-child dd { color: var(--green); }
.section-heading { max-width: 51rem; margin-bottom: var(--s12); }
.section-heading .lead { margin-top: var(--s6); }
.section-heading.wide { max-width: 64rem; }
.sound-layout { display: grid; gap: var(--s8); align-items: start; }
.screen-figure { min-width: 0; }
.screen-figure img { width: 100%; background: var(--black); }
.screen-figure figcaption { margin-top: var(--s4); }
.sound-copy { align-self: center; }
.sound-copy p, .sound-copy .text-link { margin-top: var(--s6); }
.sound-copy p { color: var(--muted); }
.text-link { display: inline-block; padding-block: var(--s3); font-weight: 700; }
.kit-line { margin-top: var(--s12); padding-top: var(--s8); border-top: 1px solid var(--line); display: grid; gap: var(--s4); }
.kit-line p { max-width: none; font-family: var(--mono); }
.kit-line span { color: var(--orange); margin-inline: var(--s2); }
.listening, .performance { background: var(--panel); }
.listening-grid { display: grid; gap: var(--s12); align-items: center; }
.listening .eyebrow { color: var(--green); }
.listening .lead { margin-block: var(--s6); }
.listening p:not(.lead):not(.eyebrow):not(.audio-label) { color: var(--muted); }
.audio-block { min-width: 0; border-top: 1px solid var(--line); padding-top: var(--s6); }
.audio-label { font-family: var(--mono); margin-bottom: var(--s6); }
audio { display: block; width: 100%; min-width: 0; }
.audio-block .text-link { margin-top: var(--s4); }
.screen-grid { display: grid; gap: var(--s8); }
.effects-list { display: grid; gap: var(--s6) var(--s12); margin-top: var(--s12); }
.effects-list div { border-top: 1px solid var(--line); padding-top: var(--s4); }
.effects-list dt { font-family: var(--mono); margin-bottom: var(--s2); }
.effects-list dd { color: var(--muted); }
.performance-grid { display: grid; gap: var(--s12); }
.performance-grid .screen-figure { max-width: 26rem; }
.performance-grid h3 { margin-top: var(--s8); }
.performance-grid p { color: var(--muted); margin-top: var(--s4); }
.workflow-heading { display: grid; gap: var(--s8); align-items: end; margin-bottom: var(--s12); }
.control-guide { margin-top: var(--s12); display: grid; gap: var(--s8); }
.control-guide div { border-top: 1px solid var(--line); padding-top: var(--s6); }
.control-guide dt { font-family: var(--mono); color: var(--green); margin-bottom: var(--s3); }
.control-guide dd { color: var(--muted); }
.extra-screens { margin-top: var(--s12); border-top: 1px solid var(--line); }
summary { padding-block: var(--s6); cursor: pointer; font-family: var(--mono); }
summary:hover { text-decoration: underline; }
summary:active { opacity: .75; }
.extra-screens .screen-grid { max-width: 40rem; padding-bottom: var(--s8); }
.closing { border-top: 1px solid var(--line); display: grid; gap: var(--s12); align-items: center; }
.closing .lead { margin-block: var(--s6) var(--s8); }
.release-note { padding: var(--s8); background: var(--panel); }
.release-note p { margin-top: var(--s6); color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding-block: var(--s8); }
.footer p { font-size: var(--small); color: var(--muted); max-width: 110ch; margin-top: var(--s6); }
@media (min-width: 700px) {
  .spec-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sound-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sound-copy { grid-column: 2; grid-row: 1 / 3; }
  .sound-layout > .screen-figure { max-width: 22rem; }
  .three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two, .performance-grid, .effects-list, .control-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.1fr .9fr; }
  .sound-layout { grid-template-columns: .8fr 1.2fr .8fr; }
  .sound-copy { grid-column: auto; grid-row: auto; }
  .listening-grid, .workflow-heading, .closing { grid-template-columns: 1.2fr 1fr; }
  .effects-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .control-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .section { padding-block: var(--s16); }
  .screen-figure { max-width: 26rem; }
  .hero-screen { max-width: 26rem; }
  .sound-copy { order: -1; }
  .masthead { gap: var(--s2); }
  nav { gap: var(--s2) var(--s4); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
