/* ==========================================================================
   STADIUM-1 — website.
   Same moulded plastic as the app (app/css/plastic.css): slabs of stone
   plastic on a darker table, recessed wells, rubbery keys, printed mono
   labels and one signal-orange accent.
   ========================================================================== */

:root {
  --table: #8f8c85;
  --table-ink: #1e1e1c;
  --table-print: #2c2a26;
  --body: #d3d0c7;
  --body-hi: #dfdcd4;
  --body-lo: #c3bfb5;
  --well: #c4c0b6;
  --well-shadow: rgba(40, 36, 28, .22);
  --edge-light: rgba(255, 255, 255, .55);

  --ink: #1e1e1c;
  --print: #4a4843;
  --print-faint: rgba(30, 30, 28, .22);

  --accent: #ff5a1f;
  --accent-deep: #d8430f;
  --led-off: #9d988d;

  --key: #e6e3db;
  --key-lo: #d2cec5;
  --key-edge: #a9a499;
  --key-ink: #2a2927;

  --knob: #2b2b29;
  --knob-hi: #45443f;
  --knob-lo: #171716;
  --knob-mark: #f3f1ea;

  --screen: #b3b7a8;
  --screen-lo: #a2a697;
  --screen-ink: #1c2019;

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Consolas', monospace;

  /* bead-blasted plastic grain */
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.48  0 0 0 0 0.45  0 0 0 0.42 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --slab-radius: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  background: var(--table);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--table);
  background-image: var(--noise);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
button, input { font-family: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(27px, 4.2vw, 42px); font-weight: 800; max-width: 22ch; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }

.print {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--print);
}
.mono-caps { font-family: var(--mono); font-size: .86em; letter-spacing: .04em; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--body-hi);
  font-weight: 700;
}
.skip:focus { top: 12px; }

[hidden] { display: none !important; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------------------------------------------------------------- slabs --- */
/* a moulded plastic slab, like the app's device body */
.slab,
.panel > .wrap {
  position: relative;
  isolation: isolate;
  border-radius: var(--slab-radius);
  background: radial-gradient(120% 90% at 20% 0%, var(--body-hi) 0%, var(--body) 45%, var(--body-lo) 100%);
  box-shadow:
    inset 0 1.5px 0 var(--edge-light),
    inset 0 -3px 6px rgba(0, 0, 0, .12),
    0 2px 0 rgba(0, 0, 0, .12),
    0 30px 60px -18px rgba(0, 0, 0, .45),
    0 10px 20px -10px rgba(0, 0, 0, .3);
}
.slab::before,
.panel > .wrap::before,
.device::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: .55;
  mix-blend-mode: multiply;
  background-image: var(--noise);
}

.panel { padding: 0 16px; margin: 0 0 28px; }
.panel > .wrap { padding: 56px 48px; }
.panel > .wrap.narrow { max-width: 900px; }

.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 90, 31, .6), inset 0 -1px 1px rgba(0, 0, 0, .2);
}
.panel h2 { margin-bottom: 36px; }

/* --------------------------------------------------------------- wells --- */
.well {
  position: relative;
  border-radius: 16px;
  background: var(--well);
  box-shadow:
    inset 0 2px 5px var(--well-shadow),
    inset 0 1px 1px var(--well-shadow),
    0 1px 0 var(--edge-light);
}

/* ---------------------------------------------------------------- keys --- */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--key-ink);
  background: linear-gradient(180deg, var(--key) 0%, var(--key-lo) 100%);
  box-shadow:
    0 3px 0 var(--key-edge),
    0 5px 8px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: transform .05s ease, box-shadow .05s ease, filter .1s ease;
  user-select: none;
  white-space: nowrap;
}
.key:hover { filter: brightness(1.03); text-decoration: none; }
.key:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--key-edge), 0 1px 2px rgba(0, 0, 0, .2), inset 0 1px 2px rgba(0, 0, 0, .08);
}
.key:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 11px; }
.key.small { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.key.big { padding: 15px 24px; font-size: 16px; border-radius: 14px; }

.key.accent {
  color: var(--ink);
  background: linear-gradient(180deg, #ff6a33 0%, var(--accent) 100%);
  box-shadow:
    0 3px 0 var(--accent-deep),
    0 6px 12px rgba(150, 40, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}
.key.accent:active { box-shadow: 0 0 0 var(--accent-deep), 0 1px 2px rgba(0, 0, 0, .2), inset 0 1px 2px rgba(0, 0, 0, .12); }
.key .glyph { font-size: .75em; }

/* a key that is there but not ready ("coming soon") */
.key.is-soon,
.key.is-soon:hover,
.key.is-soon:active {
  color: var(--print);
  background: linear-gradient(180deg, var(--body-hi) 0%, var(--body-lo) 100%);
  box-shadow: 0 2px 0 var(--key-edge), inset 0 1px 0 rgba(255, 255, 255, .45);
  transform: none;
  filter: none;
  cursor: not-allowed;
}

.key.fake { cursor: default; pointer-events: none; }

.led {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--led-off);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .35);
  flex-shrink: 0;
}
.led.on { background: var(--accent); box-shadow: 0 0 8px var(--accent), inset 0 -1px 1px rgba(0, 0, 0, .2); }

/* -------------------------------------------------------------- topbar --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px 0;
}
.topbar-in {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--body-hi), var(--body));
  box-shadow:
    inset 0 1.5px 0 var(--edge-light),
    inset 0 -2px 4px rgba(0, 0, 0, .1),
    0 2px 0 rgba(0, 0, 0, .12),
    0 14px 28px -14px rgba(0, 0, 0, .45);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark b { font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.wordmark .print { font-size: 11px; }
.wordmark-dot {
  align-self: center;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 -2px 2px rgba(0, 0, 0, .2), 0 1px 0 var(--edge-light);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.key) {
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--print);
}
.nav a:not(.key):hover { color: var(--ink); background: rgba(0, 0, 0, .05); }
.nav .key { margin-left: 8px; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .wordmark .print { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .led { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
  .nav:not(.nav-simple) {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 16px;
    background: var(--body);
    box-shadow: inset 0 1.5px 0 var(--edge-light), 0 18px 30px -12px rgba(0, 0, 0, .45);
  }
  .js .nav:not(.is-open):not(.nav-simple) { display: none; }
  .nav a:not(.key) { padding: 12px; }
  .nav:not(.nav-simple) .key { margin: 8px 0 2px; }
  .nav-simple a:not(.key) { padding: 8px 6px; }
}
/* without JavaScript the menu simply stays open under the bar */
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 860px) {
  html:not(.js) .topbar-in { flex-wrap: wrap; }
  html:not(.js) .nav:not(.nav-simple) { position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; padding: 0; background: none; }
}

/* ---------------------------------------------------------------- hero --- */
.hero { padding: 56px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}
.hero-copy { color: var(--table-ink); }
.hero .print { color: var(--table-print); }
.label-line { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero h1 { margin-bottom: 22px; }
.lede { font-size: clamp(18px, 2vw, 21px); max-width: 34ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.small-print { text-transform: none; letter-spacing: .02em; font-size: 13px; }

/* the stylised device */
.hero-device { min-width: 0; }
.device {
  position: relative;
  isolation: isolate;
  padding: 18px 22px 22px;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 20% 0%, var(--body-hi) 0%, var(--body) 45%, var(--body-lo) 100%);
  box-shadow:
    inset 0 1.5px 0 var(--edge-light),
    inset 0 -3px 6px rgba(0, 0, 0, .12),
    0 2px 0 rgba(0, 0, 0, .12),
    0 40px 70px -20px rgba(0, 0, 0, .55),
    0 12px 24px -10px rgba(0, 0, 0, .35);
  transform: rotate(-1.2deg);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.device-name b { font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.device-name span {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--print);
}
.screws { display: flex; gap: 8px; }
.screws i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--body-hi), var(--body-lo));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), 0 1px 0 var(--edge-light);
}

.device-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.screen-well { padding: 9px; }
.lcd {
  height: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 9px;
  font-family: var(--mono);
  color: var(--screen-ink);
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 40%),
    var(--screen);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.lcd-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.lcd-small { font-size: 10px; letter-spacing: .1em; opacity: .75; }
.lcd-main {
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.lcd-meter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  align-items: end;
  height: 28px;
  margin-top: auto;
}
.lcd-meter i {
  display: block;
  height: 30%;
  background: var(--screen-ink);
  opacity: .78;
  animation: meter 1.6s ease-in-out infinite;
}
.lcd-meter i:nth-child(3n)   { animation-delay: -.4s; }
.lcd-meter i:nth-child(3n+1) { animation-delay: -.9s; }
.lcd-meter i:nth-child(4n)   { animation-delay: -1.3s; animation-duration: 1.9s; }
.lcd-meter i:nth-child(5n)   { animation-delay: -.2s; animation-duration: 1.3s; }
@keyframes meter {
  0%, 100% { height: 25%; }
  35% { height: 90%; }
  60% { height: 55%; }
}

.stand-well {
  padding: 10px 10px 26px;
  min-height: 150px;
}
.stand {
  position: relative;
  height: 100%;
  min-height: 118px;
  /* tiers of fans, seen from the pitch */
  background-image: radial-gradient(circle, rgba(74, 72, 67, .55) 0 1.7px, transparent 2.2px);
  background-size: 11px 10px;
  -webkit-clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
          clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}
.fan, .you {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
}
.fan {
  background: var(--accent);
  box-shadow: 0 0 7px rgba(255, 90, 31, .8);
  animation: hear 2.4s ease-out infinite;
  animation-delay: var(--d);
}
.you {
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--well), 0 0 0 4.5px var(--ink);
}
@keyframes hear {
  0% { opacity: .25; transform: scale(.7); }
  12% { opacity: 1; transform: scale(1.15); }
  55% { opacity: .85; transform: scale(1); }
  100% { opacity: .25; transform: scale(.7); }
}
.well-label {
  position: absolute;
  left: 12px; right: 12px; bottom: 6px;
  font-size: 9.5px;
  text-align: center;
}

.device-controls {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--print-faint);
}
.knob-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.knob {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: repeating-conic-gradient(var(--knob-lo) 0deg 5deg, var(--knob-hi) 5deg 10deg);
  box-shadow:
    0 3px 0 var(--knob-lo),
    0 6px 10px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(0, 0, 0, .35);
}
.knob-cap {
  width: 80%; height: 80%;
  border-radius: 50%;
  display: grid;
  place-items: start center;
  background: radial-gradient(circle at 35% 28%, var(--knob-hi) 0%, var(--knob) 55%, var(--knob-lo) 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12), inset 0 -2px 3px rgba(0, 0, 0, .4);
  transform: rotate(var(--r, 0deg));
}
.knob-ind {
  display: block;
  width: 3px; height: 32%;
  margin-top: 9%;
  border-radius: 2px;
  background: var(--knob-mark);
}
.knob-unit:first-child .knob-ind { background: var(--accent); }
.knob-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.device-keys {
  display: flex;
  gap: 10px;
  margin-left: auto;
  padding-bottom: 6px;
}
.device-keys .key { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }

@media (max-width: 960px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-device { max-width: 600px; }
}
@media (max-width: 520px) {
  .device { padding: 14px 14px 16px; border-radius: 22px; transform: none; }
  .device-deck { grid-template-columns: minmax(0, 1fr); }
  .lcd { min-height: 0; }
  .lcd-meter { height: 20px; }
  .device-controls { gap: 14px; justify-content: space-between; }
  .knob { width: 44px; height: 44px; }
  .device-keys { margin-left: 0; width: 100%; justify-content: flex-end; }
  .cta-row .key { flex: 1 1 auto; }
}

/* --------------------------------------------------------------- steps --- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step { padding: 26px 24px 26px; }
.step h3 { margin: 18px 0 10px; }
.step p { color: var(--print); }
.step-no {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--screen-ink);
  background: var(--screen);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .28), 0 1px 0 var(--edge-light);
}
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------- cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.card {
  padding: 22px 20px 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--key) 0%, var(--key-lo) 100%);
  box-shadow:
    0 3px 0 var(--key-edge),
    0 8px 14px -6px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}
.card h3 { margin: 16px 0 8px; font-size: 18px; }
.card p { font-size: 15.5px; color: var(--print); }

/* little printed glyphs, drawn in CSS */
.card-ico {
  position: relative;
  display: block;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--well);
  box-shadow: inset 0 2px 4px var(--well-shadow), 0 1px 0 var(--edge-light);
}
.card-ico::before,
.card-ico::after { content: ''; position: absolute; }
/* chant: a sung line */
.ico-chant::before {
  left: 9px; right: 9px; top: 14px; height: 14px;
  border: 2.5px solid var(--ink);
  border-color: var(--ink) transparent transparent transparent;
  border-radius: 50% 50% 0 0;
}
.ico-chant::after { left: 9px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
/* ragged: dots out of line */
.ico-ragged::before {
  inset: 0;
  background:
    radial-gradient(circle at 12px 16px, var(--ink) 0 3px, transparent 3.5px),
    radial-gradient(circle at 22px 20px, var(--ink) 0 3px, transparent 3.5px),
    radial-gradient(circle at 32px 15px, var(--accent) 0 3px, transparent 3.5px),
    radial-gradient(circle at 15px 30px, var(--ink) 0 3px, transparent 3.5px),
    radial-gradient(circle at 27px 32px, var(--ink) 0 3px, transparent 3.5px);
}
/* distance: rings spreading */
.ico-distance::before {
  left: 8px; top: 8px; width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 3.5px, transparent 4px, transparent 7px, var(--ink) 7.5px 9px, transparent 9.5px 12px, rgba(30, 30, 28, .45) 12.5px 14px, transparent 14.5px);
}
/* mix: a fader */
.ico-mix::before { left: 9px; right: 9px; top: 20.5px; height: 3px; border-radius: 2px; background: var(--ink); }
.ico-mix::after { left: 23px; top: 14px; width: 9px; height: 16px; border-radius: 3px; background: var(--accent); box-shadow: 0 1px 0 var(--accent-deep); }
/* far crowd: many small dots */
.ico-far::before {
  inset: 8px;
  background-image: radial-gradient(circle, rgba(30, 30, 28, .75) 0 1.3px, transparent 1.8px);
  background-size: 5px 5px;
  border-radius: 4px;
}
.ico-far::after { left: 19px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* stand: a trapezoid of dots */
.ico-stand::before {
  left: 7px; right: 7px; top: 10px; bottom: 10px;
  background-image: radial-gradient(circle, var(--ink) 0 1.6px, transparent 2px);
  background-size: 6px 6px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}
.ico-stand::after { left: 25px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: -10px 6px 0 var(--accent); }
/* knobs */
.ico-knobs::before {
  left: 8px; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--knob-hi), var(--knob-lo));
  box-shadow: 0 2px 0 var(--knob-lo);
}
.ico-knobs::after { left: 30px; top: 16px; width: 6px; height: 12px; border-radius: 2px; background: var(--accent); }
/* lock: stays local */
.ico-lock::before {
  left: 14px; top: 9px; width: 16px; height: 14px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.ico-lock::after { left: 11px; top: 21px; width: 22px; height: 15px; border-radius: 3px; background: var(--ink); box-shadow: inset 0 0 0 5.5px var(--ink), inset 0 0 0 9px var(--accent); }

@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .cards { grid-template-columns: minmax(0, 1fr); } }

/* factory sounds */
.presets { padding: 20px 22px 22px; }
.presets > .print { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.legend-free {
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.preset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.preset-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--key-ink);
  background: linear-gradient(180deg, var(--key) 0%, var(--key-lo) 100%);
  box-shadow: 0 2px 0 var(--key-edge), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.preset-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--led-off);
}
.preset-list li.free::before { background: var(--accent); box-shadow: 0 0 5px var(--accent); }
.preset-list li.soon { background: transparent; box-shadow: inset 0 0 0 1px var(--print-faint); color: var(--print); }

/* --------------------------------------------------------------- demos --- */
.demos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.demo { margin: 0; padding: 20px 20px 18px; }
.demo figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.demo-title { font-size: 19px; font-weight: 700; }
.player {
  display: flex;
  align-items: center;
  gap: 14px;
}
.player .key { width: 52px; height: 46px; padding: 0; flex-shrink: 0; }
.player .key svg { width: 16px; height: 16px; fill: currentColor; }
.player .key[aria-pressed="true"] { color: var(--accent-deep); }
.player-time {
  flex-shrink: 0;
  min-width: 82px;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  color: var(--screen-ink);
  background: var(--screen);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .28);
}

/* the scrub bar: a groove in the plastic */
.player input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
  --pct: 0%;
}
.player input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) 0 var(--pct), rgba(40, 36, 28, .2) var(--pct));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
}
.player input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(40, 36, 28, .2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
}
.player input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--accent); }
.player input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 22px;
  margin-top: -7px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--key), var(--key-lo));
  box-shadow: 0 2px 0 var(--key-edge), 0 2px 4px rgba(0, 0, 0, .25);
}
.player input[type="range"]::-moz-range-thumb {
  width: 16px; height: 22px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--key), var(--key-lo));
  box-shadow: 0 2px 0 var(--key-edge), 0 2px 4px rgba(0, 0, 0, .25);
}
.player input[type="range"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (max-width: 760px) { .demos { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .player-time { min-width: 0; font-size: 11px; } .player { gap: 10px; } }

/* ----------------------------------------------------------------- who --- */
.who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.who-item { padding: 4px 28px 4px; border-left: 1px solid var(--print-faint); }
.who-item:first-child { padding-left: 0; border-left: 0; }
.who-item h3 { font-size: 22px; margin-bottom: 12px; }
.who-item h3 .print { display: block; margin-bottom: 8px; font-size: 11.5px; letter-spacing: .12em; }
.who-item p { color: var(--print); }
@media (max-width: 820px) {
  .who { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .who-item, .who-item:first-child { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--print-faint); }
  .who-item:first-child { border-top: 0; padding-top: 0; }
}

/* ------------------------------------------------------------- pricing --- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 28px;
  border-radius: 20px;
  background: var(--well);
  box-shadow: inset 0 2px 6px var(--well-shadow), inset 0 1px 1px var(--well-shadow), 0 1px 0 var(--edge-light);
}
.plan.pro {
  background: linear-gradient(180deg, var(--key) 0%, var(--key-lo) 100%);
  box-shadow:
    0 4px 0 var(--key-edge),
    0 18px 30px -14px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 0 0 2px rgba(255, 90, 31, .55);
}
.plan-head { margin-bottom: 20px; }
.plan-head h3 { font-size: 24px; margin-bottom: 12px; }
.plan-price { margin: 0 0 8px; }
.lcd-inline {
  display: inline-block;
  padding: 6px 14px 4px;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--screen-ink);
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 3px),
    var(--screen);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .3), 0 1px 0 var(--edge-light);
}
.plan-badge {
  position: absolute;
  top: 26px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ticks {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1 1 auto;
}
.ticks li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-top: 1px solid var(--print-faint);
  font-size: 15.5px;
  line-height: 1.4;
}
.ticks li:first-child { border-top: 0; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 4px; top: 15px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .2);
}
.ticks li.no::before { background: var(--led-off); }
.ticks li.no { color: var(--print); }
.plan-cta { align-self: flex-start; }
.buy-note { margin-top: 14px; text-transform: none; letter-spacing: .02em; font-size: 12.5px; }

@media (max-width: 760px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 24px 20px; }
  .plan-cta { align-self: stretch; }
}

/* ----------------------------------------------------------------- faq --- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 14px;
  background: var(--well);
  box-shadow: inset 0 2px 5px var(--well-shadow), 0 1px 0 var(--edge-light);
}
.faq summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background:
    linear-gradient(var(--knob-mark), var(--knob-mark)) center / 10px 2px no-repeat,
    linear-gradient(var(--knob-mark), var(--knob-mark)) center / 2px 10px no-repeat,
    radial-gradient(circle at 35% 30%, var(--knob-hi), var(--knob-lo));
  box-shadow: 0 2px 0 var(--knob-lo);
  transition: transform .15s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 10px no-repeat,
    radial-gradient(circle at 35% 30%, var(--knob-hi), var(--knob-lo));
}
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.faq-body { padding: 0 22px 20px; color: var(--print); font-size: 16px; }
.faq-body a { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------- closer --- */
.closer { padding: 40px 0 56px; }
.closer-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
  color: var(--table-ink);
}
.closer h2 { max-width: none; }

/* -------------------------------------------------------------- footer --- */
.footer { padding: 0 0 36px; color: var(--table-ink); }
.footer-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(30, 30, 28, .25);
}
.footer .print { color: var(--table-print); }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.footer-links a { font-weight: 600; font-size: 15px; }

/* ------------------------------------------------------------- legal --- */
.legal-main { padding: 36px 0 40px; }
.legal-doc { max-width: 860px; padding: 48px 52px 52px; }
.panel > .wrap.legal-doc { max-width: 860px; }
.legal-doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.legal-doc h2 { font-size: 22px; max-width: none; margin: 34px 0 10px; }
.legal-doc h3 { font-size: 17px; margin: 20px 0 6px; }
.legal-doc p, .legal-doc li { font-size: 16px; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin: 0 0 .8em; }
.legal-doc li { margin-bottom: 6px; }
.legal-meta { margin-bottom: 26px; }
.legal-back { display: inline-flex; margin-bottom: 26px; }

.draft-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 30px;
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .07) 0 10px, transparent 10px 20px),
    var(--accent);
  box-shadow: 0 3px 0 var(--accent-deep), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.draft-banner strong { font-family: var(--mono); letter-spacing: .06em; }
.draft-banner .led { margin-top: 7px; background: var(--ink); box-shadow: none; }
.draft-sub { display: block; font-weight: 500; font-size: 15px; margin-top: 2px; }
.draft-banner .ph { background: rgba(255, 255, 255, .35); }

/* text the owner must fill in */
.ph {
  padding: 0 4px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: .88em;
  color: var(--ink);
  background: rgba(255, 90, 31, .22);
  box-shadow: inset 0 0 0 1px rgba(216, 67, 15, .45);
}

/* ------------------------------------------------------------ small --- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --slab-radius: 20px; }
  .topbar { padding: 8px 10px 0; }
  .topbar-in { padding: 8px 8px 8px 14px; }
  .panel { padding: 0 10px; margin-bottom: 18px; }
  .panel > .wrap { padding: 32px 18px; }
  .panel h2 { margin-bottom: 26px; }
  .step { padding: 22px 18px; }
  .legal-doc, .panel > .wrap.legal-doc { padding: 30px 18px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lcd-meter i, .fan { animation: none; }
  .fan { opacity: 1; }
  .lcd-meter i:nth-child(odd) { height: 60%; }
  .lcd-meter i:nth-child(even) { height: 40%; }
}
