/* AudioMSTR.com
   The site borrows MasterTrack's own parts: the black display, its dark
   inset boxes, the liquid-gold panel, the gold knobs with their cyan
   pointer, and the plug-in's label pills and colours. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* MasterTrack's colours, from the plug-in's source */
  --display: #0a0a0c;      /* display background */
  --inset: #14141a;        /* meter and waveform boxes */
  --line: #2a2a32;         /* box outlines */
  --gold: #ffc33a;         /* labels, preset name, MASTER */
  --cyan: #00e5ff;         /* knob pointer, ring start */
  --red: #ff2a2a;          /* ORIGINAL, ring end */
  --green: #00ff55;        /* switches that are on */
  --text: #f4f4f5;
  --soft: #d4d4d8;
  --muted: #a1a1aa;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-face: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--display);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img, svg, canvas { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--display); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--gold); color: var(--display); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header ------------------------------------------------------------ */

.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }

.wordmark {
  font: 800 1.3rem/1 var(--display-face);
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--soft);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }

/* Buttons and pills ------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { border-color: var(--gold); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--display); }
.btn-gold:hover { background: #ffd36a; border-color: #ffd36a; }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { border-color: var(--line); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The plug-in's label: bold capitals in a dark rounded box. Used only for
   the names printed on MasterTrack's own panel. */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--display);
  color: var(--text);
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pill-gold { color: var(--gold); border-color: rgba(255, 195, 58, 0.55); }
.pill-red { color: var(--red); border-color: rgba(255, 42, 42, 0.55); }
.pill-green { color: var(--green); border-color: rgba(0, 255, 85, 0.45); }

button.pill { cursor: pointer; }
button.pill:hover { border-color: var(--gold); }

.price-line { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }
.price-line[hidden] { display: none; }
.price-line strong { color: var(--text); font-weight: 600; }

/* Hero: the display over the gold panel, as on the plug-in ---------- */

.hero-display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 84px) clamp(32px, 4.5vw, 60px);
}

.hero h1, .product-head h1 {
  font: 800 clamp(3rem, 6.2vw, 5.25rem)/0.92 var(--display-face);
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.lede { font-size: clamp(1.1rem, 1.55vw, 1.3rem); line-height: 1.5; color: var(--soft); max-width: 34ch; margin: 0 0 12px; }
.platforms { color: var(--muted); margin: 0 0 28px; }

.scope {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 8.2;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.scope canvas { width: 100%; height: 100%; }
.scope .pill { position: absolute; left: 12px; padding: 4px 7px; font-size: 0.7rem; }
.scope .badge-l { top: 12px; }
.scope .badge-r { bottom: 12px; }

.hero-panel {
  position: relative;
  border-top: 1px solid rgba(255, 195, 58, 0.7);
  background: #3a2a08 url("../img/panel-prime-960.jpg") center 58% / cover no-repeat;
  background-image: image-set(url("../img/panel-prime-1920.webp") type("image/webp"), url("../img/panel-prime-1920.jpg") type("image/jpeg"));
  box-shadow: inset 0 26px 30px -18px rgba(0, 0, 0, 0.9);
}
.hero-panel[data-character="pressure"] {
  background-color: #1d1a16;
  background-image: url("../img/panel-pressure-960.jpg");
  background-image: image-set(url("../img/panel-pressure-1536.webp") type("image/webp"), url("../img/panel-pressure-1536.jpg") type("image/jpeg"));
}
@media (max-width: 720px) {
  .hero-panel { background-image: image-set(url("../img/panel-prime-960.webp") type("image/webp"), url("../img/panel-prime-960.jpg") type("image/jpeg")); }
  .hero-panel[data-character="pressure"] { background-image: image-set(url("../img/panel-pressure-960.webp") type("image/webp"), url("../img/panel-pressure-960.jpg") type("image/jpeg")); }
}

.panel-knobs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(8px, 3vw, 40px);
  padding-block: clamp(26px, 4vw, 44px) clamp(14px, 2vw, 22px);
}

.knob-unit { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.knob-unit .pill { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45); }

.knob {
  --size: clamp(96px, 13vw, 168px);
  --rot: 0deg;
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  touch-action: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.knob:active { cursor: grabbing; }
.knob-drive { --size: clamp(176px, 25vw, 300px); }
.knob img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(var(--rot));
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.knob .ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ring-track { fill: none; stroke: rgba(0, 0, 0, 0.55); stroke-width: 4; stroke-linecap: round; }
.ring-value { fill: none; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(0, 229, 255, 0.55)); }
.knob:focus-visible { outline-offset: 10px; border-radius: 50%; }

.knob-value {
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(10, 10, 12, 0.78);
  color: var(--text);
  font: 600 0.8rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.panel-switches {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 0 clamp(18px, 2.4vw, 26px);
}
.segmented { display: inline-flex; gap: 6px; }
.segmented .pill[aria-pressed="true"] { color: var(--gold); border-color: rgba(255, 195, 58, 0.75); }
.panel-hint {
  margin: 0;
  padding: 6px 10px;
  border-radius: 7px;
  background: rgba(10, 10, 12, 0.7);
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: center;
}
.compare[aria-pressed="false"] { color: var(--gold); border-color: rgba(255, 195, 58, 0.75); }
.compare[aria-pressed="true"] { color: var(--red); border-color: rgba(255, 42, 42, 0.75); }

/* Sections ---------------------------------------------------------- */

.section { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section h2 {
  font: 800 clamp(2rem, 4.2vw, 3rem)/1.04 var(--display-face);
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 22ch;
}
.section-head p { color: var(--soft); max-width: 58ch; margin: 16px 0 0; font-size: 1.075rem; }

/* Platforms: four bays of one rack */
.rack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.rack-bay { padding: 28px 24px 32px 0; }
.rack-bay + .rack-bay { border-left: 1px solid var(--line); padding-left: 24px; }
.rack-bay h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 10px; }
.rack-bay p { margin: 0 0 10px; color: var(--soft); }
.rack-bay .req { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Feature rows */
.features { border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.feature h3 { font: 800 clamp(1.5rem, 2.4vw, 1.9rem)/1.12 var(--display-face); letter-spacing: -0.02em; margin: 0 0 14px; }
.feature p { color: var(--soft); margin: 0; max-width: 46ch; }
.feature figure { margin: 0; }

.inset {
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill-row .pill { font-size: 0.85rem; padding: 9px 14px; }
.pill-note { color: var(--muted); font-size: 0.9rem; margin: 18px 0 0; }

.lufs { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: start; }
.lufs ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lufs li {
  padding: 10px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  text-align: center;
  font: 700 0.85rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.lufs li.is-target { color: var(--gold); border-color: rgba(255, 195, 58, 0.75); }

.screen-shot { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }
.feature figcaption, .figure-caption { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

.text-link { color: var(--gold); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.after-features { margin: 32px 0 0; }

/* License box */
.license {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.license h2 { margin-bottom: 24px; }
.terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.terms li { position: relative; padding-left: 26px; color: var(--soft); }
.terms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.buy-box .price-big { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display-face); letter-spacing: -0.03em; margin: 0 0 6px; }
.buy-box .price-big:empty { display: none; }
.buy-box p { color: var(--muted); margin: 0 0 22px; }
.buy-box .actions { flex-direction: column; }
.buy-box .btn { width: 100%; }
.buy-box .small { font-size: 0.9rem; margin: 18px 0 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 20px;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 20px; color: var(--soft); max-width: 70ch; }
.faq details > div p { margin: 0 0 10px; }

/* Product page ------------------------------------------------------ */

.product-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 84px);
}
.product-icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }

.control-groups { display: grid; gap: clamp(40px, 6vw, 72px); }
.control-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.control-group > h3 { font: 800 1.5rem/1.15 var(--display-face); letter-spacing: -0.02em; margin: 0; }
.control-group > div > p { color: var(--soft); margin: 0 0 20px; max-width: 56ch; }

.controls { margin: 0; display: grid; gap: 18px; }
.controls > div { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: 16px; align-items: baseline; }
.controls dt .pill + .pill { margin-left: 4px; }
.controls dt { margin: 0; }
.controls dd { margin: 0; color: var(--soft); }

.characters { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); margin-top: 8px; }
.characters figure { margin: 0; }
.characters figcaption { margin-top: 12px; color: var(--soft); }
.characters figcaption .pill { margin-right: 8px; }

.presets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.presets li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 195, 58, 0.45);
  border-radius: 8px;
  background: var(--display);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.table-scroll { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
.spec-table thead th { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.spec-table tbody th { font-weight: 600; white-space: nowrap; }
.spec-table td { color: var(--soft); }
.notes { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); max-width: 72ch; }

.try { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.try .downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.try .downloads .btn.is-yours { order: -1; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; color: var(--soft); }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}
.small { font-size: 0.92rem; color: var(--muted); }

/* Text pages (support, legal) --------------------------------------- */

.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 32px); }
.page-head h1 { font: 800 clamp(2.4rem, 5.5vw, 4rem)/1 var(--display-face); letter-spacing: -0.035em; margin: 0 0 16px; }
.page-head p { color: var(--soft); max-width: 60ch; margin: 0; font-size: 1.1rem; }

.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 9vw, 120px); }
.toc { position: sticky; top: 24px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { color: var(--muted); text-decoration: none; padding: 6px 0 6px 16px; font-size: 0.95rem; border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover { color: var(--text); border-left-color: var(--gold); }

.prose { max-width: 70ch; }
.prose > section { padding-block: 8px 28px; scroll-margin-top: 24px; }
.prose > section + section { border-top: 1px solid var(--line); padding-top: 36px; }
.prose h2 { font: 800 1.75rem/1.15 var(--display-face); letter-spacing: -0.02em; margin: 0 0 16px; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--gold); }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { font-size: 0.92em; background: var(--inset); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.prose .fill-in { color: var(--display); background: var(--gold); border-radius: 4px; padding: 0 5px; font-weight: 600; }
.updated { color: var(--muted); font-size: 0.95rem; }

.account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 40px; }

/* Footer ------------------------------------------------------------ */

.site-footer { border-top: 1px solid var(--line); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 48px 32px; }
.footer-brand p { color: var(--muted); margin: 14px 0 0; max-width: 32ch; }
.site-footer h2 { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; color: var(--soft); overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; }
.footer-base { color: var(--muted); font-size: 0.9rem; }
.footer-base p { margin: 0; padding-block: 20px 28px; border-top: 1px solid var(--line); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: min(92vw, 460px);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--inset);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 50;
}

/* Narrower screens ----------------------------------------------------- */

@media (max-width: 960px) {
  .hero-display, .product-head, .feature, .license, .try { grid-template-columns: minmax(0, 1fr); }
  .rack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rack-bay:nth-child(3) { border-left: 0; padding-left: 0; }
  .rack-bay:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .control-group { grid-template-columns: minmax(0, 1fr); }
  .with-toc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border-left: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0; font-size: 0.9rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.9rem; }
  .wordmark { font-size: 1.15rem; }
  .rack { grid-template-columns: minmax(0, 1fr); }
  .rack-bay, .rack-bay + .rack-bay { border-left: 0; padding-left: 0; padding-right: 0; }
  .rack-bay + .rack-bay { border-top: 1px solid var(--line); }
  .scope { aspect-ratio: 16 / 10; }
  .panel-knobs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; }
  .knob { --size: 78px; }
  .knob-drive { --size: 150px; }
  .knob-unit .pill { font-size: 0.66rem; padding: 5px 7px; letter-spacing: 0.04em; }
  .panel-switches { flex-wrap: wrap; justify-content: center; }
  .panel-hint { order: 3; flex-basis: 100%; background: transparent; padding: 0; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 3px #000; }
  .characters { grid-template-columns: minmax(0, 1fr); }
  .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lufs { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .wordmark { font-size: 1.05rem; }
  .site-nav { gap: 11px; }
  .site-nav a { font-size: 0.84rem; }
  .knob { --size: 66px; }
  .knob-drive { --size: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.controls dt.plain { font-weight: 600; color: var(--text); }

/* PRIME / PRESSURE button and GLUE's gain-reduction arc, as on the plug-in */
.character[aria-pressed="false"] { color: var(--gold); border-color: rgba(255, 195, 58, 0.75); }
.character[aria-pressed="true"] { color: #d08b57; border-color: rgba(208, 139, 87, 0.75); }
.ring-gr { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; opacity: 0.9; }

/* Real screenshots */
.lineup { position: relative; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0 14% 5% 0; }
.lineup-desk img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); }
.lineup-phone { position: absolute; right: 0; bottom: 0; width: 23%; }
.lineup-phone img { width: 100%; height: auto; border-radius: 11% / 5.4%; border: 3px solid #26262e; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6); }

.phones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 2vw, 24px); align-items: end; margin: 0; }
.phones figure { margin: 0; }
.phones img { width: 100%; height: auto; border: 2px solid #26262e; }
.phones .portrait img { border-radius: 11% / 5.4%; }
.phones .landscape img { border-radius: 5.2% / 10.6%; }
.phones figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 640px) {
  .phones { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .phones .landscape { grid-column: 1 / -1; }
  .lineup { padding-right: 18%; }
  .lineup-phone { width: 27%; }
}
