:root {
  color-scheme: dark;
  --bg: #101011;
  --surface: #171719;
  --surface2: #1c1c1e;
  --line: #353334;
  --line-soft: #292829;
  --text: #ece9e4;
  --muted: #aaa6a2;
  --dim: #777370;
  --red: #c75f57;
  --red-bright: #f29a88;
  --left: #b4a08e;
  --right: #899da6;
  --signal: #c75f57;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-width: 320px;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 75% 1%, #40201d29, transparent 53%),
    repeating-linear-gradient(90deg, transparent 0 119px, #ffffff03 120px 121px);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
p {
  line-height: 1.62;
}
small {
  font-size: 0.75rem;
}
.shell {
  width: min(100% - 60px, 1320px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--red);
  padding: 10px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.overline {
  font:
    500 0.67rem "DM Mono",
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.site-header {
  height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}
.brand span {
  color: var(--red-bright);
  font-weight: 500;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 27px;
}
.site-header nav a,
.nav-button {
  border: 0;
  background: none;
  padding: 7px 0;
  font-size: 0.77rem;
  color: var(--muted);
}
.site-header nav a:hover,
.nav-button:hover,
.nav-active {
  color: var(--text) !important;
}
.nav-active {
  box-shadow: 0 1px var(--red);
}
.site-footer {
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  padding: 25px 0 40px;
  color: var(--dim);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer a:hover {
  color: var(--text);
}
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--red);
  border: 1px solid var(--red);
  color: #111;
  font-weight: 700;
  min-height: 48px;
  padding: 0 17px;
  font-size: 0.86rem;
}
.action-button:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
}
.quiet-button {
  background: none;
  border: 0;
  border-bottom: 1px solid #615655;
  color: var(--muted);
  padding: 5px 0;
  font-size: 0.75rem;
  text-align: left;
}
.quiet-button:hover {
  color: var(--text);
  border-color: var(--red-bright);
}
.quiet-button.danger {
  color: #e09289;
}
.text-action {
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 7px;
}
.text-action span {
  color: var(--red-bright);
}
/* Entry */
.landing-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 1fr);
  gap: 5.5%;
  padding-top: 90px;
}
.landing-intro {
  padding-top: 18px;
}
.landing-intro h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  max-width: 670px;
  margin: 20px 0 24px;
}
.landing-intro > p {
  font-size: 1.08rem;
  max-width: 540px;
  color: #c2bdb8;
}
.landing-intro .action-button {
  margin-top: 18px;
}
.landing-notation {
  display: flex;
  gap: 25px;
  color: var(--dim);
  font:
    400 0.65rem "DM Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 52px;
}
.landing-apparatus {
  border: 1px solid #514241;
  background: linear-gradient(145deg, #1b1b1d, #121213 78%);
  box-shadow: 0 30px 90px #0006;
  align-self: start;
}
.apparatus-head,
.instrument-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  font:
    400 0.64rem "DM Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9c918e;
}
.apparatus-head span:last-child {
  color: var(--red-bright);
}
.apparatus-body {
  padding: 45px 32px 29px;
}
.apparatus-body h2 {
  font-size: 1.55rem;
  margin: 14px 0 35px;
}
.demo-surface {
  min-height: 130px;
  padding: 22px;
  border: 1px solid #69504c;
  background: #0d0d0e;
  cursor: text;
  font:
    500 clamp(1.6rem, 3vw, 2.5rem) "DM Mono",
    monospace;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.demo-surface:focus {
  outline: none;
  border-color: var(--red-bright);
}
.demo-surface #demo-typed {
  color: var(--red-bright);
}
.demo-surface #demo-remaining {
  color: #c5bfba;
}
.demo-surface.touch {
  box-shadow: inset 0 0 0 2px #865f57;
}
.demo-surface.misfire {
  border-color: #ef9a8f;
  animation: nudge 0.18s linear;
}
.demo-surface[data-complete="true"] {
  border-color: #8c948b;
}
.apparatus-body > p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 20px 0 27px;
}
.demo-bottom {
  display: flex;
  justify-content: space-between;
  font:
    400 0.69rem "DM Mono",
    monospace;
  color: var(--dim);
}
.method-section {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 10%;
  border-top: 1px solid var(--line);
  margin-top: 130px;
  padding: 75px 0 85px;
}
.method-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  margin: 17px 0;
}
.method-intro p {
  color: var(--muted);
}
.method-sequence {
  border-top: 1px solid var(--line);
}
.method-sequence > div {
  display: grid;
  grid-template-columns: 45px 165px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.method-sequence b {
  font:
    500 0.68rem "DM Mono",
    monospace;
  color: var(--red-bright);
}
.method-sequence span {
  font-weight: 600;
}
.method-sequence p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.landing-end {
  grid-column: 1/-1;
  background: #1a191a;
  border-left: 2px solid var(--red);
  padding: 35px;
  margin-bottom: 100px;
}
.landing-end p {
  font-size: 1.25rem;
  margin: 13px 0 26px;
}
/* Instrument */
.app-main {
  min-height: calc(100vh - 140px);
  padding-top: 36px;
  padding-bottom: 90px;
}
.app-body {
  transition: background-color 0.3s;
}
.app-body[data-signal="steady"] {
  --signal: #a9a092;
}
.app-body[data-signal="unstable"] {
  --signal: #db756d;
}
.app-body[data-phase="2"],
.app-body[data-phase="3"] {
  --red: #c46a60;
}
.app-body[data-phase="4"] {
  --red: #ba7163;
}
.instrument-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}
.instrument-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}
.instrument-mark {
  width: 40px;
  height: 40px;
  border: 1px solid #6d4541;
  display: grid;
  place-items: center;
  color: var(--red-bright);
  font-size: 1.2rem;
}
.instrument-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  margin: 6px 0 3px;
}
.instrument-head p {
  margin: 0;
  color: var(--dim);
  font-size: 0.78rem;
}
.signal-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
}
.signal-wrap small,
.signal-wrap strong {
  display: block;
}
.signal-wrap small {
  color: var(--dim);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.signal-wrap strong {
  font:
    500 0.78rem "DM Mono",
    monospace;
  color: var(--signal);
  margin-top: 4px;
}
.signal-bars {
  display: flex;
  gap: 3px;
  align-items: end;
  height: 24px;
}
.signal-bars i {
  width: 3px;
  height: 40%;
  background: var(--signal);
  opacity: 0.35;
  transition:
    height 0.15s,
    opacity 0.15s;
}
.signal-bars i:nth-child(2) {
  height: 67%;
}
.signal-bars i:nth-child(3) {
  height: 100%;
}
.signal-bars i:nth-child(4) {
  height: 60%;
}
.signal-bars i:nth-child(5) {
  height: 80%;
}
.app-body[data-signal="steady"] .signal-bars i {
  opacity: 0.85;
}
.app-body[data-signal="unstable"] .signal-bars i:nth-child(even) {
  height: 25%;
  opacity: 0.2;
}
.instrument {
  border: 1px solid #54403e;
  background: linear-gradient(155deg, #191819, #121213 65%);
  box-shadow: 0 25px 75px #0005;
  position: relative;
}
.instrument:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--signal);
  opacity: 0.65;
  transition: background 0.25s;
}
.instrument-top {
  justify-content: flex-start;
  padding: 13px 22px;
}
.instrument-top span:first-child {
  color: var(--red-bright);
}
.instrument-top span:last-child {
  margin-left: auto;
  color: #d5b2aa;
}
.instrument-core {
  padding: 38px clamp(24px, 5vw, 72px) 30px;
}
.target-readout {
  display: flex;
  align-items: baseline;
  gap: 17px;
  min-height: 46px;
}
.target-readout > span:first-child {
  font:
    400 0.68rem "DM Mono",
    monospace;
  text-transform: uppercase;
  color: var(--dim);
  letter-spacing: 0.08em;
}
.target-readout strong {
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.target-readout #streak-note {
  margin-left: auto;
  color: var(--red-bright);
  font:
    400 0.7rem "DM Mono",
    monospace;
}
.lesson-description {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 22px;
}
.typing-area {
  min-height: 190px;
  border: 1px solid #625451;
  background: #0c0c0d;
  padding: 26px 28px 22px;
  cursor: text;
  position: relative;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.typing-area:hover {
  border-color: #89625b;
}
.typing-area:focus {
  outline: none;
  border-color: var(--red-bright);
  box-shadow:
    0 0 0 1px #b4675a55,
    inset 0 0 35px #ba4d3210;
}
.typing-area.error-flash {
  animation: misfire 0.23s ease;
}
.typing-area.good-touch {
  animation: goodtouch 0.17s ease;
}
.prompt {
  font:
    500 clamp(1.16rem, 2.15vw, 1.75rem)/2.05 "DM Mono",
    monospace;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
.prompt span {
  border-radius: 2px;
  transition:
    color 0.08s,
    background 0.08s;
}
.prompt .done {
  color: #6c746e;
}
.prompt .pending {
  color: #bcb5ae;
}
.prompt .current {
  background: #e5d8ca;
  color: #111;
  box-shadow: 0 0 0 3px #e5d8ca;
}
.typing-instruction {
  font:
    400 0.65rem "DM Mono",
    monospace;
  color: var(--dim);
  letter-spacing: 0.06em;
  margin: 15px 0 0;
  text-transform: uppercase;
}
.run-progress {
  height: 2px;
  background: #413a38;
  margin-top: 0;
}
.run-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--signal);
  transition: width 0.14s;
}
.live-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 23px;
}
.live-metrics > div {
  border-right: 1px solid var(--line-soft);
  padding-left: 19px;
}
.live-metrics > div:first-child {
  padding-left: 0;
}
.live-metrics > div:last-child {
  border: 0;
}
.live-metrics small {
  display: block;
  font-size: 0.66rem;
  color: var(--dim);
  margin-bottom: 4px;
}
.live-metrics strong {
  font:
    500 1.5rem "DM Mono",
    monospace;
  letter-spacing: -0.06em;
}
.live-metrics .velocity strong {
  color: #9c9691;
}
.instrument-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  padding: 12px 22px;
  color: var(--dim);
  font-size: 0.72rem;
}
.result {
  border-left: 2px solid var(--red);
  background: #28201e;
  padding: 16px 19px;
  margin-top: 25px;
}
.result strong {
  display: block;
  color: #f3d8d2;
  font-size: 0.85rem;
}
.result p {
  font-size: 0.85rem;
  color: #c9b9b4;
  margin: 5px 0 12px;
}
.result .quiet-button {
  color: var(--text);
}
/* Guide and controls */
.under-instrument {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 35px;
  margin-top: 30px;
}
.keyboard-section {
  padding: 8px 4px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.section-heading p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 8px 0 0;
}
.section-heading label,
.rail-section label,
.calibration label {
  font-size: 0.7rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
.section-heading select,
.rail-section select,
.calibration input,
.calibration select {
  background: #1c1b1c;
  color: var(--text);
  border: 1px solid #504b49;
  border-radius: 0;
  padding: 8px 10px;
  min-height: 36px;
}
.keyboard {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin: 25px auto 17px;
}
.keyboard-row {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.key {
  position: relative;
  width: 8%;
  max-width: 65px;
  min-height: 43px;
  border: 1px solid #484543;
  background: #1c1c1e;
  display: grid;
  place-items: center;
  color: #c5c0ba;
  font:
    400 0.75rem "DM Mono",
    monospace;
  transition:
    transform 0.11s,
    background 0.11s,
    box-shadow 0.11s;
}
.key.left {
  border-bottom: 2px solid var(--left);
}
.key.right {
  border-bottom: 2px solid var(--right);
}
.key.space {
  width: 42%;
  max-width: none;
}
.key.home:after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 10px;
  height: 2px;
  background: #d8c2b2;
}
.key.expected {
  background: #935147;
  border-color: #c57a6f;
  color: #fff;
  box-shadow: 0 0 17px #bd625233;
}
.key.pressed {
  transform: translateY(3px);
  background: #ae7063;
  box-shadow: inset 0 3px 7px #0009;
}
.key.wrong-press {
  background: #603b3b;
}
.keyboard.key-only .key:not(.expected) {
  border-bottom-color: #484543;
}
.keyboard.hidden {
  display: none;
}
.finger-legend {
  display: flex;
  gap: 20px;
  color: var(--dim);
  font-size: 0.69rem;
}
.finger-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
}
.left-dot {
  background: var(--left);
}
.right-dot {
  background: var(--right);
}
.session-rail {
  border-left: 1px solid var(--line-soft);
  padding-left: 24px;
}
.rail-section {
  display: grid;
  gap: 15px;
  padding: 8px 0 25px;
}
.rail-details {
  border-top: 1px solid var(--line-soft);
  padding: 15px 0;
}
.rail-details summary,
.calibration summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 600;
}
.rail-details summary::-webkit-details-marker,
.calibration summary::-webkit-details-marker {
  display: none;
}
.rail-details summary:after {
  content: "+";
  color: var(--red-bright);
}
.rail-details[open] summary:after {
  content: "−";
}
.rail-details summary span {
  margin-left: auto;
  color: var(--dim);
  font:
    400 0.66rem "DM Mono",
    monospace;
}
.path-list {
  margin-top: 18px;
  max-height: 340px;
  overflow: auto;
}
.path-item {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 0 8px;
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 0;
  color: var(--dim);
  font-size: 0.73rem;
}
.path-item b {
  font:
    400 0.67rem "DM Mono",
    monospace;
}
.path-item small {
  grid-column: 2;
  color: var(--dim);
  font-size: 0.62rem;
}
.path-item.current {
  color: var(--text);
}
.path-item.done {
  color: #b4a9a1;
}
.meter {
  height: 2px;
  background: #403a39;
  margin: 22px 0 12px;
}
.meter i {
  display: block;
  background: var(--red);
  height: 100%;
}
.rail-details p {
  font-size: 0.75rem;
  color: var(--muted);
}
.session-plan div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding: 8px 0;
  font-size: 0.69rem;
}
.session-plan span {
  color: var(--red-bright);
}
.session-plan b {
  font-weight: 400;
  color: var(--muted);
}
.calibration {
  margin-top: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.calibration summary {
  align-items: center;
  color: var(--text);
}
.calibration summary span {
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 400;
}
.calibration-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  padding: 30px 0 15px;
}
.calibration h2 {
  font-size: 1.8rem;
  margin: 12px 0;
}
.calibration p {
  color: var(--muted);
  font-size: 0.84rem;
}
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.setup-grid .action-button {
  justify-self: start;
  align-self: end;
}
/* Record */
.record-head {
  padding: 15px 0 35px;
  border-bottom: 1px solid var(--line);
}
.record-head h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 12px 0;
}
.record-head p {
  margin: 0;
  color: var(--muted);
}
.record-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 9%;
}
.record-section {
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.record-section h2 {
  font-size: 1.75rem;
  margin: 13px 0;
}
.record-section p {
  color: var(--muted);
  font-size: 0.86rem;
}
.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.summary-stats div {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.summary-stats strong {
  display: block;
  font:
    500 1.4rem "DM Mono",
    monospace;
}
.summary-stats small {
  color: var(--dim);
  font-size: 0.6rem;
  text-transform: uppercase;
}
.history-chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 9px;
  border-bottom: 1px solid #68605d;
  margin-top: 35px;
}
.history-bar {
  position: relative;
  flex: 1;
  max-width: 36px;
  min-height: 3px;
  background: var(--red);
}
.history-bar span {
  position: absolute;
  bottom: calc(100% + 4px);
  font:
    0.6rem "DM Mono",
    monospace;
  color: var(--muted);
}
.key-stats {
  display: grid;
  gap: 11px;
}
.key-stat {
  display: flex;
  align-items: center;
  gap: 9px;
  font:
    0.7rem "DM Mono",
    monospace;
}
.key-stat b {
  width: 13px;
}
.key-stat i {
  display: block;
  height: 3px;
  background: var(--red);
}
.key-stat span {
  margin-left: auto;
  color: var(--dim);
}
.empty-state {
  color: var(--dim);
}
@keyframes nudge {
  25% {
    transform: translateX(-2px);
  }
  75% {
    transform: translateX(2px);
  }
}
@keyframes misfire {
  50% {
    border-color: #ec8b7e;
    box-shadow: inset 0 0 22px #ad413021;
  }
}
@keyframes goodtouch {
  50% {
    box-shadow: inset 0 0 20px #af705817;
  }
}
@media (max-width: 900px) {
  .landing-main {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .method-section,
  .record-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .method-section {
    margin-top: 60px;
  }
  .under-instrument {
    grid-template-columns: 1fr;
  }
  .session-rail {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .rail-details {
    border-top: 0;
  }
  .calibration-inner {
    grid-template-columns: 1fr;
  }
  .landing-apparatus {
    max-width: 690px;
  }
}
@media (max-width: 620px) {
  .shell {
    width: min(100% - 30px, 1320px);
  }
  .site-header {
    height: 58px;
  }
  .site-header nav {
    gap: 13px;
  }
  .site-header nav a,
  .nav-button {
    font-size: 0.69rem;
  }
  .brand {
    font-size: 0.7rem;
  }
  .landing-main {
    padding-top: 48px;
  }
  .landing-intro h1 {
    font-size: 2.8rem;
  }
  .landing-notation {
    flex-direction: column;
    gap: 7px;
    margin-top: 30px;
  }
  .apparatus-body {
    padding: 30px 19px 20px;
  }
  .method-sequence > div {
    grid-template-columns: 30px 1fr;
    gap: 5px 12px;
  }
  .method-sequence p {
    grid-column: 2;
  }
  .method-section {
    padding: 55px 0;
  }
  .landing-end {
    padding: 24px;
    margin-bottom: 50px;
  }
  .instrument-head {
    align-items: start;
  }
  .instrument-mark {
    display: none;
  }
  .instrument-head h1 {
    font-size: 1.8rem;
  }
  .signal-wrap {
    gap: 7px;
  }
  .signal-bars {
    display: none;
  }
  .signal-wrap small {
    font-size: 0.55rem;
  }
  .signal-wrap strong {
    font-size: 0.68rem;
  }
  .instrument-top {
    font-size: 0.55rem;
    padding: 12px;
  }
  .instrument-core {
    padding: 26px 17px 22px;
  }
  .target-readout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 13px;
  }
  .target-readout strong {
    font-size: 1.15rem;
  }
  .target-readout #streak-note {
    grid-column: 2;
    margin-left: 0;
  }
  .typing-area {
    padding: 18px;
    min-height: 180px;
  }
  .prompt {
    font-size: 1.15rem;
  }
  .live-metrics strong {
    font-size: 1.13rem;
  }
  .live-metrics > div {
    padding-left: 8px;
  }
  .live-metrics small {
    font-size: 0.58rem;
  }
  .instrument-foot {
    padding: 11px 14px;
  }
  .instrument-foot span {
    max-width: 185px;
  }
  .section-heading {
    display: block;
  }
  .section-heading label {
    margin-top: 15px;
  }
  .key {
    min-height: 30px;
    font-size: 0.59rem;
  }
  .session-rail {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rail-details {
    border-top: 1px solid var(--line-soft);
  }
  .setup-grid,
  .summary-stats {
    grid-template-columns: 1fr 1fr;
  }
  .calibration summary span {
    max-width: 110px;
    text-align: right;
  }
  .site-footer {
    gap: 15px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   BLACK LATCH // TYPE
   DEAD AIR / ANALOG HORROR OVERRIDE
   ========================================================= */

:root {
    --bl-black: #080906;
    --bl-panel: #10110d;
    --bl-paper: #d3d0c5;
    --bl-muted: #7f8076;
    --bl-green: #7f9063;
    --bl-amber: #a98f5e;
    --bl-red: #85413b;
    --bl-line: rgba(211, 208, 197, 0.12);
}

/* PAGE */

body.landing {
    background:
        radial-gradient(
            circle at 77% 38%,
            rgba(100, 120, 78, 0.09),
            transparent 31%
        ),
        radial-gradient(
            circle at 20% 85%,
            rgba(137, 102, 58, 0.04),
            transparent 35%
        ),
        var(--bl-black);

    color: var(--bl-paper);
}

/* subtle scanline / dirty-glass layer */

body.landing::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.012) 0,
            rgba(255,255,255,0.012) 1px,
            transparent 1px,
            transparent 4px
        );

    opacity: 0.32;
}

/* edge darkness */

body.landing::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;

    box-shadow:
        inset 0 0 180px rgba(0,0,0,0.72),
        inset 0 0 40px rgba(0,0,0,0.35);
}

/* MAIN LAYOUT */

.landing-main {
    position: relative;
}

.bl-entry-copy {
    padding-top: clamp(70px, 10vh, 140px);
    padding-bottom: clamp(55px, 8vh, 110px);

    max-width: 900px;
}

/* PHYSICAL LABEL */

.bl-tape-label {
    display: inline-block;

    margin-bottom: 34px;
    padding: 7px 11px;

    background: #c7c0ad;
    color: #181912;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.14em;

    transform: rotate(-1deg);

    box-shadow:
        0 5px 18px rgba(0,0,0,0.35);
}

/* LITTLE IDENTIFIER */

.bl-eyebrow {
    margin: 0 0 19px;

    color: var(--bl-green);

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;

    letter-spacing: 0.18em;
}

/* HEADLINE */

.bl-entry-copy h1 {
    margin: 0;

    max-width: 780px;

    color: var(--bl-paper);

    font-size: clamp(42px, 6vw, 88px);
    line-height: 0.91;

    letter-spacing: -0.045em;
    text-transform: uppercase;
}

/* MAIN SENTENCE */

.bl-lead {
    margin: 34px 0 8px;

    max-width: 650px;

    color: #bbb8ae;

    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.3;
}

/* SECONDARY COPY */

.bl-secondary {
    max-width: 560px;

    margin: 0;

    color: var(--bl-muted);

    font-size: 15px;
    line-height: 1.7;
}

/* PHYSICAL CONTROL BUTTON */

.bl-enter {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    margin-top: 34px;
    padding: 16px 18px;

    background:
        linear-gradient(
            rgba(255,255,255,0.025),
            rgba(0,0,0,0.08)
        ),
        #171813;

    border: 1px solid rgba(211,208,197,0.18);
    border-left: 3px solid var(--bl-green);

    color: #d8d3c7;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.13em;
    text-decoration: none;

    box-shadow:
        0 14px 35px rgba(0,0,0,0.32);

    transition:
        transform 120ms ease,
        border-color 120ms ease,
        background 120ms ease;
}

.bl-enter:hover {
    transform: translateY(-2px);

    background: #1c1e18;

    border-color: rgba(211,208,197,0.32);
    border-left-color: var(--bl-green);
}

.bl-enter:active {
    transform: translateY(1px);
}

/* LITTLE MACHINE LABELS */

.bl-status-row {
    display: flex;
    flex-wrap: wrap;

    gap: 28px;

    margin-top: 18px;

    color: #5f6159;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 9px;

    letter-spacing: 0.13em;
}

/* =========================================================
   EXISTING INTERACTIVE APPARATUS
   Turn it into old broadcast equipment
   ========================================================= */

.landing-apparatus {
    position: relative;

    margin-top: 25px;
    margin-bottom: 100px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.018),
            rgba(0,0,0,0.14)
        ),
        #11120e;

    border: 1px solid rgba(211,208,197,0.13);

    border-radius: 4px;

    box-shadow:
        0 35px 80px rgba(0,0,0,0.43),
        inset 0 1px rgba(255,255,255,0.04);
}

/* greenish dead CRT light */

.landing-apparatus::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -120px;
    top: -160px;

    background:
        radial-gradient(
            circle,
            rgba(112, 134, 82, 0.12),
            transparent 67%
        );

    filter: blur(20px);

    pointer-events: none;
}

/* scanlines inside apparatus */

.landing-apparatus::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(190,220,160,0.015) 0,
            rgba(190,220,160,0.015) 1px,
            transparent 1px,
            transparent 5px
        );

    opacity: 0.65;
}

/* header strip */

.apparatus-head {
    position: relative;
    z-index: 1;

    border-bottom: 1px solid var(--bl-line);

    color: #77796f;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 10px;

    letter-spacing: 0.15em;
}

/* status now feels like an indicator instead of SaaS text */

#demo-signal {
    color: var(--bl-green);

    text-shadow:
        0 0 12px rgba(127,144,99,0.18);
}

/* main apparatus content */

.apparatus-body {
    position: relative;
    z-index: 1;
}

/* tone down old overline */

.apparatus-body .overline {
    color: #65685e;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;

    letter-spacing: 0.15em;
}

/* current key instruction */

#demo-cue {
    color: #c9c6bb;

    text-shadow:
        0 0 18px rgba(140,160,110,0.06);
}

/* =========================================================
   KILL SOME OF THE GENERIC RED ACCENT
   ========================================================= */

.action-button,
.text-action {
    background-color: #171813;
    color: var(--bl-paper);
}

a {
    accent-color: var(--bl-green);
}

/* =========================================================
   MOTION
   ========================================================= */

@keyframes bl-flicker {
    0%   { opacity: 1; }
    49%  { opacity: 1; }
    50%  { opacity: 0.965; }
    51%  { opacity: 1; }
    93%  { opacity: 1; }
    94%  { opacity: 0.985; }
    100% { opacity: 1; }
}

.landing-apparatus {
    animation: bl-flicker 8s infinite;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {
    .bl-entry-copy h1 {
        font-size: clamp(40px, 12vw, 62px);
    }

    .bl-enter {
        width: 100%;
    }

    .bl-status-row {
        flex-direction: column;
        gap: 7px;
    }
}
.bl-entry-copy {
    padding-top: 60px;
    padding-bottom: 45px;
    max-width: 720px;
}

.bl-entry-copy h1 {
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 0.94;
}

.bl-lead {
    margin-top: 24px;
}
.landing-main {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
    min-height: calc(100vh - 90px);
}

.landing-apparatus {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 1000px) {
    .landing-main {
        display: block;
        min-height: auto;
    }

    .landing-apparatus {
        margin-top: 40px;
        margin-bottom: 80px;
    }
}

/* TYPE art direction: a working station in the same world as DEAD AIR. */
:root {
  --bg: #0b0c0a;
  --surface: #171913;
  --surface2: #1d2019;
  --line: #55574c;
  --line-soft: #3c3f36;
  --text: #e9e4d7;
  --muted: #bab7a8;
  --dim: #aaa99a;
  --red: #9fa881;
  --red-bright: #c9bc92;
  --left: #b9aa86;
  --right: #8ca49a;
  --signal: #b7aa79;
}
body { background: var(--bg); }
body:before { background: radial-gradient(ellipse at 82% 0%, rgba(93,105,75,.12), transparent 45%); }
:focus-visible { outline-color: #ddd2a6; }
.skip { background: #a3ac85; color: #10130e; }
.overline { color: #b7af8d; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .68rem; font-weight: 650; letter-spacing: .075em; text-transform: none; }
.site-header { height:62px; border-bottom:1px solid #42463c; }
.brand { letter-spacing:.025em; font-weight:750; }
.brand span { margin-left:.45rem; color:#bbb18e; font-weight:650; }
.site-header nav { gap:24px; }
.site-header nav a,.nav-button { color:#c7c4b7; font-size:.8rem; }
.nav-active { box-shadow:0 2px #a7a981; }
.site-footer { color:#9d9e8f; text-transform:none; letter-spacing:.025em; }
.quiet-button { color:#d1cbb7; border-color:#777564; }
.quiet-button:hover { border-color:#c3b996; }
.action-button { background:#9fa881; border-color:#9fa881; color:#11140f; }
.action-button:hover { background:#c1c9a2; border-color:#c1c9a2; }
.text-action { border-color:#a4aa83; }
.text-action span { color:#b6b88f; }

/* The entry stays playable, with the room as quiet context. */
body.landing { background: linear-gradient(90deg,rgba(7,9,7,.95),rgba(7,9,7,.84) 50%,rgba(7,9,7,.72)), url('/assets/dead-air-art.jpg') 60% center/cover fixed no-repeat, #0b0c0a; }
body.landing::after { box-shadow:inset 0 0 90px rgba(0,0,0,.45); }
.landing-main { grid-template-columns:minmax(0,.78fr) minmax(440px,1.22fr); gap:clamp(35px,5vw,70px); min-height:calc(100svh - 62px); padding-top:4.5rem; padding-bottom:3rem; align-items:center; }
.bl-entry-copy { padding:0; max-width:540px; }
.bl-tape-label { margin-bottom:1.7rem; padding:7px 11px; background:#b9b29b; color:#1a1d17; font-size:.67rem; letter-spacing:.07em; box-shadow:0 3px 14px #0009; }
.bl-eyebrow { color:#c0bd9f; font-family:inherit; font-size:.7rem; letter-spacing:.09em; text-transform:none; }
.bl-entry-copy h1 { max-width:530px; font-size:clamp(2.9rem,4.3vw,4.9rem); line-height:1.02; letter-spacing:-.06em; text-transform:none; }
.bl-lead { margin:1.6rem 0 .6rem; color:#e0dbca; font-size:clamp(1.15rem,1.7vw,1.45rem); }
.bl-secondary { color:#c2c0b2; font-size:.94rem; }
.bl-enter { margin-top:1.8rem; background:linear-gradient(#303429,#1d211a); color:#f0ead6; border:1px solid #727966; border-bottom-color:#131710; border-left:3px solid #a0a781; box-shadow:0 5px 0 #0b0d0a,0 17px 30px #0007; font-family:inherit; font-size:.82rem; letter-spacing:.02em; text-transform:none; }
.bl-enter:hover { background:#343a2d; border-color:#a3aa88; transform:translateY(-1px); }
.bl-enter:active { transform:translateY(3px); box-shadow:0 2px 0 #0b0d0a,0 7px 15px #0008; }
.bl-status-row { color:#b8b7a7; font-family:inherit; font-size:.68rem; letter-spacing:.03em; text-transform:none; }
.landing-apparatus { margin:0; border:1px solid #6b6d5b; border-radius:3px; background:linear-gradient(145deg,#292d26,#151812 56%,#10130f); box-shadow:0 28px 90px #000b,inset 0 1px #77796355; animation:none; }
.landing-apparatus::before { width:340px; height:340px; background:radial-gradient(circle,rgba(149,165,112,.085),transparent 65%); }
.landing-apparatus::after { opacity:.3; }
.apparatus-head,.instrument-top { color:#cbc3a9; border-bottom-color:#5b5e50; font-family:ui-sans-serif,system-ui,sans-serif; font-size:.69rem; letter-spacing:.055em; text-transform:none; }
.apparatus-head span:last-child { color:#c6bc8e; }
.apparatus-body { padding:clamp(1.5rem,3vw,2.8rem); }
.apparatus-body .overline { color:#b9b89e; font-family:inherit; }
.apparatus-body h2 { margin:1rem 0 2rem; font-size:1.6rem; }
.demo-surface { position:relative; min-height:155px; padding:1.7rem; border:11px solid #252a24; border-radius:14px 14px 20px 20px / 11px 11px 22px 22px; outline:1px solid #777a66; background:radial-gradient(ellipse at 50% 35%,#1b2b1f,#09140d 75%); box-shadow:inset 0 0 30px #000,0 5px 0 #0a0c09,0 14px 28px #0009; color:#dddcc9; letter-spacing:.1em; text-shadow:0 0 8px rgba(165,189,132,.22); }
.demo-surface:before,.typing-area:before { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(224,232,208,.025) 3px 4px); opacity:.6; }
.demo-surface:focus { outline:1px solid #c7c99e; border-color:#343d32; box-shadow:inset 0 0 30px #000,0 0 0 2px #b6bd92,0 14px 28px #0009; }
.demo-surface #demo-typed { color:#c6d6ac; }.demo-surface #demo-remaining { color:#e6e4ce; }
.demo-surface.touch { box-shadow:inset 0 0 25px #b9ce9e33,0 5px 0 #0a0c09,0 14px 28px #0009; }
.demo-surface.misfire { border-color:#8e5d56; }
.method-section { margin-top:4.5rem; padding:4rem 0 5rem; border-top-color:#636655; }
.method-intro h2 { font-size:clamp(2rem,3.2vw,3.2rem); }.method-intro p,.method-sequence p { color:#cbc7b9; }
.method-sequence b { color:#c7bc91; }.landing-end { background:linear-gradient(90deg,#272b20,#151912); border-left-color:#a3aa84; }

/* The active lesson is the face of the machine. */
.app-body { background:linear-gradient(180deg,rgba(9,11,9,.79),#0b0c0a 430px),url('/assets/dead-air-art.jpg') 50% top/cover no-repeat,#0b0c0a; }
.app-main { padding-top:1.5rem; padding-bottom:4rem; }
.instrument-head { margin-bottom:1rem; }.instrument-mark { border:1px solid #777863; color:#c5bd96; background:linear-gradient(#33392d,#161b14); box-shadow:inset 0 1px #ada98d33; }
.instrument-head h1 { margin:.35rem 0 .15rem; font-size:clamp(1.65rem,2.7vw,2.35rem); }.instrument-head p { color:#bab9aa; }
.signal-wrap { padding:.5rem .7rem; border:1px solid #4e5347; background:#171c16; }.signal-wrap small { color:#b9b9a7; letter-spacing:.04em; text-transform:none; }.signal-wrap strong { color:var(--signal); font-family:ui-sans-serif,system-ui,sans-serif; font-weight:650; }
.app-body[data-signal="steady"] { --signal:#a9bd8c; }.app-body[data-signal="unstable"] { --signal:#d78f7b; }
.app-body[data-phase="2"],.app-body[data-phase="3"] { --red:#abb891; }.app-body[data-phase="4"] { --red:#b8c69a; }
.instrument { border:1px solid #777969; border-radius:4px; background:linear-gradient(145deg,#292d25,#191d18 52%,#141813); box-shadow:0 5px 0 #090c09,0 24px 65px #000b,inset 0 1px #b4b59a33; }
.instrument:before { width:3px; background:var(--signal); opacity:.8; box-shadow:0 0 9px var(--signal); }
.instrument-top { padding:.72rem 1.4rem; background:rgba(3,6,3,.21); }
.instrument-top span:first-child { color:#d0c5a4; }.instrument-top span:last-child { color:#eee1b7; font-weight:700; }
.instrument-core { padding:1.45rem clamp(1.1rem,4vw,3rem) 1.15rem; }
.target-readout { min-height:2.4rem; gap:1rem; }.target-readout > span:first-child { color:#c0bcaa; font-family:inherit; font-size:.7rem; letter-spacing:.035em; text-transform:none; }.target-readout strong { color:#f2ebd7; font-size:1.25rem; }.target-readout #streak-note { color:#c6c89c; }
.lesson-description { color:#c5c1b1; margin:0 0 .8rem; }
.typing-area { min-height:158px; padding:1.4rem 1.6rem 1.1rem; border:12px solid #30362e; border-radius:16px 16px 20px 20px / 12px 12px 20px 20px; outline:1px solid #747e68; background:radial-gradient(ellipse at 50% 30%,#1d3021,#0b170e 78%); box-shadow:inset 0 0 35px #000c,0 5px 0 #0d100c,0 12px 20px #0008; }
.typing-area:hover { border-color:#384338; }.typing-area:focus { outline:2px solid #d0d7a9; outline-offset:2px; border-color:#384338; box-shadow:inset 0 0 35px #000c,0 5px 0 #0d100c,0 0 28px rgba(171,195,137,.16); }
.prompt { position:relative; z-index:1; font-size:clamp(1.2rem,2vw,1.8rem); line-height:1.8; color:#e5e9d2; text-shadow:0 0 9px rgba(171,195,137,.14); }.prompt .done { color:#a0b19a; }.prompt .pending { color:#e3e1d2; }.prompt .current { color:#0b170e; background:#d9e3bd; box-shadow:0 0 0 3px #d9e3bd,0 0 13px rgba(193,223,159,.35); }
.typing-instruction { position:relative; z-index:1; color:#c6cbb4; font-family:inherit; font-size:.7rem; letter-spacing:0; text-transform:none; }
.run-progress { height:4px; background:#515447; margin:1rem .1rem 0; box-shadow:inset 0 1px 2px #0009; }.run-progress i { background:#b7c39a; box-shadow:0 0 8px rgba(183,195,154,.36); }
.live-metrics { padding-top:1.1rem; }.live-metrics > div { border-color:#55594b; }.live-metrics small { color:#c3c1b3; font-size:.71rem; }.live-metrics strong { color:#f1ead8; font-size:1.35rem; }.live-metrics .velocity strong { color:#c9c7b3; }
.instrument-foot { border-top-color:#55584c; padding:.72rem 1.4rem; color:#bdb9a9; background:rgba(3,6,3,.18); }
.result { background:#202b20; border-left-color:#a9ba8d; }.result strong { color:#e2e7d2; }.result p { color:#cbd0bd; }
.under-instrument { grid-template-columns:minmax(0,1fr) 260px; gap:1.4rem; margin-top:1.7rem; }.keyboard-section { padding:1.2rem; border:1px solid #4c5144; background:linear-gradient(160deg,#242921,#171b16); box-shadow:inset 0 1px #a2a98d22,0 18px 30px #0006; }
.section-heading p { color:#c8c5b5; }.section-heading label,.rail-section label,.calibration label { color:#ccc7b5; }
.section-heading select,.rail-section select,.calibration input,.calibration select { color:#ece7d8; background:#22271f; border-color:#737968; }
.keyboard { max-width:760px; margin:1.3rem auto 1rem; gap:5px; }.keyboard-row { gap:5px; }
.key { min-height:42px; border:1px solid #62685a; border-bottom:4px solid #32382e; border-radius:4px 4px 5px 5px; background:linear-gradient(150deg,#3b4438,#272e26); color:#eee9d9; box-shadow:inset 0 1px #b7baa044,0 2px 2px #000a; }
.key.left { border-bottom-color:#a59677; }.key.right { border-bottom-color:#788f84; }
.key.home:after { bottom:8px; width:12px; height:2px; background:#ece4c4; border-radius:2px; }
.key.expected { background:linear-gradient(#899778,#5f715c); border-color:#bdcca6; border-bottom-color:#5e7458; color:#fff; box-shadow:0 0 0 1px #b9c7a369,0 0 13px #a0bc8133; }
.key.pressed { transform:translateY(3px); background:#74876d; border-bottom-width:1px; box-shadow:inset 0 3px 8px #0008; }.key.wrong-press { background:#744a43; border-color:#ad786c; }
.finger-legend { color:#c8c4b3; }.session-rail { padding:1.15rem; border:1px solid #4d5247; background:#161a15; align-self:start; }.rail-section { padding:0 0 1rem; }.rail-details { border-color:#51584a; }.rail-details summary:after { color:#c1bc92; }.rail-details summary span { color:#bcb9a7; }
.path-item,.session-plan div { border-color:#484f44; }.path-item.done { color:#c5c7ae; }.meter i { background:#a5b68b; }.session-plan span { color:#c7c29d; }
.calibration { border-color:#555a4d; }.calibration p { color:#c6c2b2; }
.record-head { border-color:#686c5b; }.record-head h1 { font-size:clamp(2.1rem,3.4vw,3.1rem); }.record-head p,.record-section p { color:#c8c3b4; }.record-section { border-color:#585d50; }.record-section h2 { font-size:1.5rem; }
.summary-stats div { border-top-color:#6a6b59; }.summary-stats small { color:#c4c0af; }.history-chart { border-color:#8c8f75; }.history-bar,.key-stat i { background:#aebc91; }.key-stat span { color:#c5c0af; }
@keyframes goodtouch { 50% { box-shadow:inset 0 0 23px rgba(181,213,151,.23),0 5px 0 #0d100c; } }
@keyframes misfire { 50% { border-color:#916058; box-shadow:inset 0 0 25px rgba(168,65,48,.22),0 5px 0 #0d100c; } }
@media(max-width:1000px) { .landing-main { display:flex; flex-direction:column; align-items:stretch; gap:0; min-height:auto; padding-top:2rem; }.landing-apparatus { order:-1; width:100%; max-width:720px; margin:0 0 2.5rem; }.bl-entry-copy { max-width:650px; }.method-section { display:grid; grid-template-columns:1fr; }.landing-end { margin-top:0; } }
@media(max-width:900px) { .under-instrument { grid-template-columns:1fr; }.session-rail { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; padding:1rem; border:1px solid #4d5247; }.rail-details { border-top:0; } }
@media(max-width:620px) { .site-header { height:58px; }.site-header nav { gap:.8rem; }.brand span { margin-left:.15rem; }.landing-main { padding-top:2.5rem; }.bl-entry-copy h1 { font-size:clamp(2.6rem,11vw,3.8rem); }.bl-enter { width:100%; }.bl-status-row { flex-direction:row; gap:.8rem; }.landing-apparatus { margin:2rem 0 3.5rem; }.apparatus-body { padding:1.35rem; }.demo-surface { padding:1.15rem; min-height:135px; font-size:1.4rem; }.method-section { margin-top:2rem; }.app-main { padding-top:1rem; }.instrument-head { gap:.7rem; }.instrument-head h1 { font-size:1.55rem; }.signal-wrap { padding:.35rem .5rem; }.instrument-core { padding:1.1rem .8rem .95rem; }.instrument-top { padding:.65rem .8rem; }.typing-area { min-height:150px; padding:1rem; border-width:9px; }.prompt { font-size:1.2rem; }.live-metrics strong { font-size:1.1rem; }.instrument-foot { padding:.7rem .8rem; }.keyboard-section { padding:.8rem .5rem; }.key { min-height:31px; }.session-rail { grid-template-columns:1fr; }.rail-details { border-top:1px solid #51584a; }.record-head h1 { font-size:2.2rem; } }
@media(prefers-reduced-transparency:reduce) { body.landing { background:linear-gradient(#0b0c0aef,#0b0c0aef),url('/assets/dead-air-art.jpg') center/cover no-repeat; }.app-body { background:#0b0c0a; } }
@media(max-width:560px) { .site-header.shell { height:auto; min-height:62px; flex-wrap:wrap; gap:.45rem; padding:10px 0; }.site-header nav { width:100%; justify-content:space-between; gap:.45rem; }.site-header nav a,.nav-button { font-size:.71rem; } }
.bl-challenge-link { margin:.85rem 0 0; font-size:.82rem; }.bl-challenge-link a { color:#d0d6bb; border-bottom:1px solid #849278; padding-bottom:.2rem; }
