/* Vux: vivid orange on charcoal, with IBM Plex self-hosted so no third party
   sees visitors. The same palette applies in every device appearance. */
@font-face { font-family: "Plex Sans"; src: url(/fonts/IBMPlexSans-Regular-Latin1.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(/fonts/IBMPlexSans-SemiBold-Latin1.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(/fonts/IBMPlexSans-Bold-Latin1.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url(/fonts/IBMPlexSansCondensed-SemiBold-Latin1.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url(/fonts/IBMPlexSansCondensed-Bold-Latin1.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/IBMPlexMono-Regular-Latin1.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/IBMPlexMono-Medium-Latin1.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #141414;
  --text: #F5F3EE;
  --muted: #A6A29A;
  --panel: #232323;
  --rule: rgb(166 162 154 / 24%);
  --accent-text: #FF7A00;
  --accent-hover: #FF9B3D;
  --signal: #FF7A00;
  --ink: #141414;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 40px 16px 64px; }
/* Headings and the name in Plex Sans Condensed. */
h1, h2, .brand { font-family: "Plex Condensed", "Plex Sans", sans-serif; }
h1 { font-size: 2.8rem; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 1.35rem; font-weight: 600; margin: 36px 0 8px; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:active { color: var(--signal); }
::selection { background: var(--signal); color: var(--ink); }
strong { font-weight: 600; }

/* The mark and name, linking home. */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; margin-bottom: 40px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }

/* Radio-display labels: mono, upper case, spaced. */
.eyebrow, .label { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 8px; }
.eyebrow a { text-decoration: none; }
.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }

/* A level meter, as in the app's listening state. Decoration only. */
.meter { display: flex; gap: 3px; height: 14px; margin: 0 0 28px; }
.meter i { width: 7px; border-radius: 2px; background: var(--rule); }
.meter i.on, .meter i.mid, .meter i.deep { background: var(--signal); }

.steps { padding-left: 1.2em; }
.steps h2 { margin-top: 24px; }
.steps li::marker, .features li::marker { font-family: var(--mono); color: var(--accent-text); }
pre, code, var { font-family: var(--mono); font-size: 0.88em; }
pre { background: var(--panel); border: 1px solid var(--rule); padding: 12px 14px; border-radius: 10px; white-space: pre-wrap; word-break: break-word; }
code { background: var(--panel); padding: 1px 5px; border-radius: 5px; }
var { color: var(--accent-text); font-style: normal; }
button, .button {
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: var(--accent-hover); color: var(--ink); }
button:active, .button:active { background: var(--signal); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
dt { font-weight: 600; margin-top: 16px; }
dd { margin: 4px 0 0; color: var(--muted); }
.aside { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
/* The demo video: full width, 16:9, rounded like the panels. */
.video { margin: 28px 0 8px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--rule); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-cover { position: relative; display: block; width: 100%; height: 100%; }
.video-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: var(--signal); color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.video-cover:hover .video-play { background: var(--accent-hover); }
.video-cover:focus-visible { outline-offset: -4px; }
@media (max-width: 480px) {
  .video-play { font-size: 0; gap: 0; padding: 12px; }
  .video-play span { font-size: 16px; line-height: 1; }
}
.status { background: var(--panel); border: 1px solid var(--rule); padding: 12px 14px; border-radius: 10px; color: var(--muted); }
.features { padding-left: 1.2em; }
.features li { margin: 8px 0; }
