:root {
  color-scheme: dark;
  --bg: #0d0e18;
  --panel: #171829;
  --line: #2f2c47;
  --text: #f0eff8;
  --muted: #b3b1c9;
  --teal: #5ff0e5;
  --violet: #b6a3ff;
  --pink: #ff83b6;
  --amber: #ffdb95;
  --gutter: 16px;
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body { margin: 0; background: var(--bg); color: var(--text); }

a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(2.3rem, 7vw, 3.9rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 4vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
code, kbd { font: .9em ui-monospace, Consolas, monospace; }

.wrap { width: min(68rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(44rem, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--panel); padding: .4rem .7rem; z-index: 2; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 700; text-decoration: none; }
.brand img { display: block; }
.site-header nav { display: flex; gap: 1.1rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--text); }

.hero { padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); margin: 1rem 0 1.5rem; max-width: 34em; }
.status { display: inline-block; color: var(--amber); border: 1px solid #6b5c3d; border-radius: 99px; padding: .15rem .75rem; font-size: .88rem; margin-bottom: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-block; padding: .62rem 1.1rem; border-radius: .6rem; border: 1px solid #514b73; color: var(--text); text-decoration: none; font-weight: 600; }
.button.primary { background: var(--violet); border-color: transparent; color: #1b1438; }
.button:hover { border-color: var(--text); color: var(--text); }
.button.primary:hover { background: #cbbdff; color: #1b1438; border-color: transparent; }

/* The kit's layout: three wall lights above the screen, a speaker on each side. */
.room { position: relative; aspect-ratio: 16 / 10; border-radius: 1.1rem; overflow: hidden; background: #0a0b13; border: 1px solid var(--line); }
.glow { position: absolute; inset: 0; animation: drift 60s linear infinite; }
.glow span { position: absolute; border-radius: 50%; filter: blur(34px); opacity: .85; }
.glow .w1 { width: 42%; height: 62%; left: 2%; top: -24%; background: var(--teal); }
.glow .w2 { width: 42%; height: 62%; left: 29%; top: -28%; background: var(--violet); }
.glow .w3 { width: 42%; height: 62%; right: 2%; top: -24%; background: var(--pink); }
.glow .s1 { width: 30%; height: 62%; left: -10%; bottom: 0; background: var(--violet); }
.glow .s2 { width: 30%; height: 62%; right: -10%; bottom: 0; background: var(--teal); }
@keyframes drift { to { filter: hue-rotate(360deg); } }

.screen { position: absolute; left: 22%; right: 22%; top: 25%; bottom: 25%; border-radius: .4rem; border: 3px solid #05060b;
  background: linear-gradient(90deg, #1f8f8a, #5848a8 50%, #b24b7c); box-shadow: 0 0 0 1px #000; }
.stand { position: absolute; left: 46%; right: 46%; top: 75%; height: 7%; background: #05060b; }
.base { position: absolute; left: 39%; right: 39%; top: 82%; height: 2%; border-radius: 2px; background: #05060b; }
.speaker { position: absolute; width: 8%; height: 34%; top: 48%; border-radius: .45rem; background: #05060b; }
.speaker.left { left: 7%; }
.speaker.right { right: 7%; }

section.band { padding-block: clamp(2.2rem, 6vw, 3.6rem); border-top: 1px solid var(--line); }
.band > .wrap > h2, .band > .narrow > h2 { margin-bottom: .6rem; }
.intro { color: var(--muted); max-width: 38em; margin-bottom: 1.8rem; }

.modes { display: grid; gap: 1.6rem 2.2rem; }
.modes h3 { margin-bottom: .3rem; }
.modes p { color: var(--muted); margin: 0; }
.modes article { border-top: 2px solid var(--violet); padding-top: .8rem; }
.modes .teal { border-color: var(--teal); }
.modes .pink { border-color: var(--pink); }
.modes .amber { border-color: var(--amber); }

.shot { display: grid; gap: 2rem; align-items: center; }
.shot img { width: 100%; height: auto; display: block; border-radius: .8rem; border: 1px solid var(--line); }

.facts { margin: 0; padding: 0; list-style: none; }
.facts li { padding: .55rem 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }

.notice { border-left: 3px solid var(--amber); background: var(--panel); padding: .8rem 1rem; border-radius: 0 .5rem .5rem 0; margin: 1.4rem 0; }
.notice p:last-child { margin: 0; }

.page { padding-block: clamp(2rem, 6vw, 3.2rem) 3rem; }
.page h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: .7rem; }
.page h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.page .lead { color: var(--muted); font-size: 1.1rem; }

ol.steps { padding: 0; margin: 1.4rem 0; list-style: none; counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding: .55rem 0 .55rem 2.6rem; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: .5rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; background: var(--panel); border: 1px solid var(--line); color: var(--violet); }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .7rem .55rem 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding-block: 1.6rem 2.2rem; color: var(--muted); font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: .7rem; }
.site-footer p { margin: 0; }

@media (min-width: 52rem) {
  .hero { grid-template-columns: 1fr 1.05fr; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .shot { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
}
