:root {
  color-scheme: dark;
  --navy: #0d0d2e;
  --navy-2: #15153d;
  --navy-3: #1f1f52;
  --line: #2c2c62;
  --cream: #f2e8cf;
  --cream-dim: #b9b3c8;
  --muted: #8783a6;
  --red: #e4574c;
  --red-soft: #e4574c26;
  --red-btn: #c93d33;
  --red-btn-hover: #b8352b;
  --green: #9be48f;
  --display: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--cream);
  font: 400 16px/1.6 var(--body);
  padding-inline: 20px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin-inline: auto; }

/* faceplate label style: spaced caps, like engraving on an amplifier */
.plate {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* nav */
nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  margin-inline: -20px; padding-inline: 20px;
}
nav .inner { display: flex; align-items: center; gap: 24px; width: 100%; max-width: 1120px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .04em; }
.brand svg { width: 30px; height: 30px; }
nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 14px; }
nav .links a { text-decoration: none; color: var(--cream-dim); }
nav .links a:hover { color: var(--cream); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font: 600 14px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--cream);
}
.btn:hover { border-color: var(--cream-dim); }
/* darker than --red so white label text passes WCAG AA (5:1) */
.btn.primary { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.btn.primary:hover { background: var(--red-btn-hover); }
nav .btn { padding: 8px 14px; color: #fff !important; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  padding-block: 72px 56px;
}
.hero h1 .plate { display: block; margin-bottom: 16px; font-size: 11px; line-height: 1.6; letter-spacing: .16em; }
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -.03em;
  margin: 16px 0 20px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead { font-size: 19px; color: var(--cream-dim); max-width: 34em; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.hero .meta b { color: var(--cream-dim); font-weight: 500; }

/* VU meter */
.meter {
  position: relative;
  background: linear-gradient(180deg, #f6eed9, #e9dcbb);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: 0 0 0 10px var(--navy-2), 0 0 0 11px var(--line), 0 30px 80px -20px #000a;
  color: #2a2320;
}
.meter svg { display: block; width: 100%; height: auto; }
.meter .readout {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font: 500 12px/1.4 var(--mono); color: #5d534a; border-top: 1px solid #cbbd98; padding-top: 12px; margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.meter .readout span b { color: #2a2320; font-weight: 600; }
.meter-label { margin-top: 22px; text-align: center; }

/* signal chain */
.chain { border-block: 1px solid var(--line); padding-block: 28px; }
.chain .head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.chain ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.chain li { position: relative; padding: 14px 16px 14px 0; }
.chain li + li { padding-left: 16px; border-left: 1px dashed var(--line); }
.chain li .n { font: 600 11px var(--mono); color: var(--red); }
.chain li strong { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; margin: 4px 0 2px; }
.chain li span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }

section { padding-block: 88px 0; }
h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 3.3vw, 40px); line-height: 1.08; letter-spacing: -.02em;
  margin: 12px 0 16px; text-wrap: balance; max-width: 18em;
}
.sub { color: var(--cream-dim); max-width: 40em; margin: 0; font-size: 17px; }

/* ways to run */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mode { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: var(--navy-2); display: flex; flex-direction: column; gap: 12px; }
.mode h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0; }
.mode p { margin: 0; color: var(--cream-dim); font-size: 15px; }
.mode .where { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font: 12px/1.6 var(--mono); color: var(--muted); }

/* feature bands */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.band.flip .copy { order: 2; }
.band ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.band li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--cream-dim); font-size: 15px; }
.band li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--red); }
.phones { display: flex; justify-content: center; gap: 18px; }
.phone {
  width: min(230px, 44%); aspect-ratio: 430/932; max-width: 100%;
  border-radius: 30px; padding: 7px; background: #05051a;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -25px #000;
  overflow: hidden;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; display: block; }
.phones .phone:nth-child(2) { transform: translateY(36px); }

/* formats */
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.formats span { font: 600 12px var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--cream-dim); }

/* install */
.install { margin-top: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--navy-2); overflow: hidden; }
.tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 0 0 auto; background: none; border: 0; color: var(--muted); cursor: pointer;
  font: 600 14px var(--body); padding: 16px 20px; border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--red); }
.panel { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.panel p { margin: 0; color: var(--cream-dim); font-size: 15px; }
.cmd { display: flex; align-items: stretch; background: #07071d; border: 1px solid var(--line); border-radius: 10px; }
.cmd pre { margin: 0; padding: 14px 16px; overflow-x: auto; flex: 1; font: 13px/1.6 var(--mono); color: var(--cream); }
.cmd pre .p { color: var(--red); user-select: none; }
.cmd button { flex: 0 0 auto; background: none; border: 0; border-left: 1px solid var(--line); color: var(--muted); font: 600 12px var(--body); padding: 0 16px; cursor: pointer; }
.cmd button:hover { color: var(--cream); }

/* compare */
.compare-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--navy-2); }
thead th:nth-child(2) { color: var(--cream); }
tbody td:nth-child(2) { background: var(--red-soft); color: var(--cream); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--cream-dim); }
.yes { color: var(--green); }

footer { margin-top: 110px; padding-block: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; font-size: 14px; color: var(--muted); }
footer .cols { display: flex; flex-wrap: wrap; gap: 20px 48px; }
footer .cols div { display: grid; gap: 6px; }
footer a { text-decoration: none; color: var(--cream-dim); }
footer a:hover { color: var(--cream); }

@media (max-width: 900px) {
  .hero, .band { grid-template-columns: 1fr; gap: 40px; }
  .band.flip .copy { order: 0; }
  .modes { grid-template-columns: 1fr; }
  .chain ol { grid-template-columns: repeat(3, 1fr); }
  .chain li:nth-child(4) { border-left: 0; padding-left: 0; }
  nav .links a.hide-sm { display: none; }
}
@media (max-width: 520px) {
  .chain ol { grid-template-columns: 1fr 1fr; }
  .chain li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .chain li:nth-child(4) { border-left: 1px dashed var(--line); padding-left: 16px; }
  nav .links { gap: 14px; }
  .hero { padding-block: 40px 40px; }
  section { padding-block: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.note { margin-top: 16px; font-size: 14px; }
.footer-brand { margin-bottom: 8px; }
#vu text { font-family: var(--display); }
footer .privacy { margin-top: 6px; max-width: 34em; font-size: 13px; }
footer .privacy a { text-decoration: underline; }

/* desktop window with a phone overlapping its corner */
.combo { position: relative; padding-bottom: 22%; padding-left: 14%; }
.combo .window {
  border-radius: 12px; overflow: hidden; background: #05051a;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -25px #000;
}
.combo .window .bar { display: flex; gap: 6px; padding: 9px 12px; background: var(--navy-3); }
.combo .window .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.combo .window img { display: block; width: 100%; height: auto; }
.combo .phone { position: absolute; left: 0; bottom: 0; width: 26%; border-radius: 22px; padding: 5px; }
.combo .phone img { border-radius: 18px; }
