:root {
  --ink: #12140e;
  --paper: #f4efe4;
  --muted: #b7b2a6;
  --line: rgba(244, 239, 228, 0.16);
  --voice: #d6ff4a;
  --floor: #e07a3d;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(214, 255, 74, 0.08), transparent 60%),
    var(--ink);
  color: var(--paper);
  font-family: Outfit, "Avenir Next", sans-serif;
  font-weight: 400;
  line-height: 1.45;
}

body {
  min-height: 100vh;
  padding: 28px 28px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.bar, footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  letter-spacing: 0.04em;
}

.mark {
  color: inherit;
  text-decoration: none;
  font-weight: 560;
}

.who, footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero { padding: 64px 0 36px; max-width: 18em; }

.kicker {
  margin: 0 0 12px;
  color: var(--voice);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, .meters {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.96;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}

.lede {
  margin: 22px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero { max-width: none; }

.hero .lede { max-width: 36em; }

.bench {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 36px;
  align-items: end;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}

.readout h2 {
  margin: 0;
  font-size: 1.3rem;
}

.meters {
  margin: 8px 0 0;
  font-size: 4.4rem;
  line-height: 0.9;
}

.unit {
  margin-left: 6px;
  font-family: Outfit, sans-serif;
  font-size: 1.1rem;
  color: var(--muted);
}

.volume {
  margin: 8px 0 18px;
  font-variant-numeric: tabular-nums;
}

#gain { color: var(--voice); }

.slider-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  margin: 8px 0 14px;
  background: var(--paper);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--voice);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--voice);
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plot { color: var(--voice); min-width: 0; }

svg { width: 100%; height: auto; display: block; }

#mark {
  stroke: var(--floor);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

#you { fill: var(--voice); }

.axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts p { margin: 0; color: var(--muted); }

.facts strong {
  display: block;
  color: var(--paper);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.hosts h2 { margin: 0 0 8px; font-size: 2rem; }

.hosts dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 18px 0 0;
}

.hosts dt {
  font-weight: 560;
  margin-bottom: 6px;
}

.hosts dd {
  margin: 0;
  color: var(--muted);
}

footer { margin-top: 56px; }

@media (max-width: 800px) {
  body { padding: 20px 18px 40px; }
  .bench, .facts, .hosts dl { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .meters { font-size: 3.6rem; }
}
