/* getmucast.com. The owner's chosen design, "futuristic v2" (design-options-v2/06-futuristic): Mucast as a calm
   broadcast master-control room. Near-black and navy, signal yellow where the signal flows and for the one action,
   live red only for LIVE, Chakra Petch over IBM Plex Sans, Plex Mono only for live numbers. Dark only.
   Light only where signal flows: the mark's waves, the patch lines, the live tally.

   The production CSP allows no inline style, so nothing here is set from a style attribute: meter levels are .lv-*
   classes (generated by build.js from src/demo.json) and reveal delays are .d1-.d3.
   The page's shape (landscape or portrait) is whichever shape input is checked: :root:has(.shape-p:checked) is
   portrait. site.js keeps the two pickers in step; without JavaScript each still switches the page. */

@font-face { font-family: "Chakra Petch"; src: url("/assets/chakra-petch-500.8d805a2285.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/assets/chakra-petch-600.8a58828884.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* IBM Plex Sans and Mono, subset and renamed (the OFL reserves the name "Plex" for unmodified fonts). */
@font-face { font-family: "Mucast Sans"; src: url("/assets/mucast-sans-var.4e33eb6081.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mucast Mono"; src: url("/assets/mucast-mono-400.999b3ada6f.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mucast Mono"; src: url("/assets/mucast-mono-500.f2e6bada2c.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --void: #04070D;
  --deck: #070C16;
  --panel: #0A111E;
  --field: #0E1729;
  --line: #172238;
  --line-2: #24344F;
  --text: #E9EEF7;
  --text-2: #A7B6CD;
  --text-3: #8798B2;
  --signal: #FFD23F;
  --signal-hi: #FFE07A;
  --on-signal: #161100;
  --red: #FF5A4F;
  --red-text: #FF8C84;
  --red-fill: #D32A20;
  --green: #4BE08C;
  --amber: #FFB020;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --gutter: 40px;
  --max: 1280px;
  --display: "Chakra Petch", "Mucast Sans", system-ui, sans-serif;
  --sans: "Mucast Sans", system-ui, -apple-system, sans-serif;
  --mono: "Mucast Mono", ui-monospace, Menlo, monospace;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--void); }
body { margin: 0; background: var(--void); color: var(--text); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--signal); color: var(--on-signal); }
html { scrollbar-color: var(--line-2) var(--void); }
input, textarea, select { caret-color: var(--signal); accent-color: var(--signal); }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 210, 63, .7); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
img, svg { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
code { font-family: var(--mono); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; position: relative; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--signal); color: var(--on-signal); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1; letter-spacing: -.025em; }
h3 { font-size: 1.625rem; line-height: 1.1; letter-spacing: -.01em; }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--text-2); max-width: 54ch; text-wrap: pretty; }
.d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; }

/* One shape for the whole page; the live demo. */
:root:not(:has(.shape-p:checked)) .p, :root:has(.shape-p:checked) .l { display: none !important; }
.when-live { display: none !important; }
:root[data-live] .when-live { display: inline-flex !important; }
:root[data-live] .when-off { display: none !important; }

/* buttons: one shape, a single cut corner */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 17px/1 var(--sans); color: var(--on-signal); background: var(--signal);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.btn .ico { font-size: 19px; stroke-width: 2.2; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--signal-hi); } }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline-offset: 4px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.ghost { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border: 0; background: none; cursor: pointer; font-family: var(--sans); font-size: inherit; font-weight: 500; text-decoration: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 160ms ease, transform 140ms var(--ease-out); }
.ghost .ico { font-size: 17px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ghost:hover { box-shadow: inset 0 0 0 1px var(--text-3); } .ghost:hover .ico { transform: translateX(3px); } }
.ghost:active { transform: scale(.97); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(4, 7, 13, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 -1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; }
.brand .lockup { height: 28px; width: auto; }
.wordmark { font: 600 1.5rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; padding: 8px 12px; font: 500 15px/1 var(--sans); color: var(--text-2); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--text); } }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--signal); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; font: 500 15px/1 var(--sans); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { box-shadow: inset 0 0 0 1px var(--text-3); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; display: grid; padding: 6px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -12px rgba(0, 0, 0, .9);
  transform-origin: top right; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
@starting-style { .menu[open] nav { opacity: 0; transform: translateY(-4px) scale(.98); } }
.menu nav a { padding: 12px; font-size: 16px; color: var(--text); text-decoration: none; }
.menu nav a:hover { background: var(--field); }
.menu nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--signal); }

/* The download button before the first release: dimmed from the build's state, then made inert by site.js. */
.js .page-grid:has(.rel[data-state="pending"]) [data-dl], [data-dl][aria-disabled="true"] { background: none; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: none; pointer-events: none; }
[data-dl][aria-disabled="true"] .ico { display: none; }
/* ---------- hero: the program monitor ---------- */
.hero, .page-top { position: relative; isolation: isolate; padding: 92px 0 72px; }
.hero::before, .page-top::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(36, 52, 79, .38) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 52, 79, .38) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center -1px;
  -webkit-mask: radial-gradient(80% 60% at 50% 30%, #000 10%, transparent 75%); mask: radial-gradient(80% 60% at 50% 30%, #000 10%, transparent 75%); }
.hero-copy { display: grid; gap: 30px; }
.hero-copy .fade { display: grid; gap: 28px; max-width: 660px; }
.hero-copy .act-col { display: grid; justify-items: start; gap: 18px; }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); line-height: .94; letter-spacing: -.035em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .ln > span { display: block; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--text-2); max-width: 44ch; text-wrap: pretty; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { font-size: 15px; color: var(--text-3); display: flex; gap: 8px 20px; flex-wrap: wrap; }
.facts > span { display: inline-flex; align-items: flex-start; gap: 8px; }
.facts .dot { width: 7px; height: 7px; margin-top: calc(.8em - 3.5px); border-radius: 50%; background: var(--green); flex: none; }
.monitor { position: relative; margin-top: 72px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(7, 12, 22, .6); }
.corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--signal); pointer-events: none; }
.corner.tl { left: -1px; top: -1px; border-width: 2px 0 0 2px; } .corner.tr { right: -1px; top: -1px; border-width: 2px 2px 0 0; }
.corner.bl { left: -1px; bottom: -1px; border-width: 0 0 2px 2px; } .corner.br { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.readout { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 2px 4px 16px; font-size: 14px; color: var(--text-3); }
.readout b { color: var(--signal); font-weight: 500; }
.readout .mono { font-size: 13.5px; }
.win-note { margin-top: 16px; font-size: 15px; color: var(--text-3); }

/* ---------- Mucast's window (the app's own dark board, hairline edges) ---------- */
.win { --pad: 12px; position: relative; border-radius: 12px; overflow: hidden; container: win / inline-size; background: #0B1220; box-shadow: inset 0 0 0 1px #22314F, 0 30px 80px -40px rgba(0, 0, 0, .9);
  font: 400 13px/1.35 var(--ui); color: #F2F5FA; text-align: left; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; box-shadow: inset 0 -1px 0 #182540; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.tb { display: flex; gap: 2px; padding: 3px; border-radius: 8px; box-shadow: inset 0 0 0 1px #22314F; }
.tb span { display: grid; place-items: center; width: 28px; height: 24px; border-radius: 6px; color: #B0BCD1; }
.tb .ico { font-size: 15px; stroke-width: 1.7; }
.win-title { margin: 0 auto; font-weight: 600; font-size: 13px; color: #B0BCD1; transform: translateX(-40px); }
.win-body { display: grid; grid-template-columns: 204px minmax(0, 1fr) 332px; }
.side { padding: 10px 8px; background: #0E1729; box-shadow: inset -1px 0 0 #182540; }
.side .sh { font-size: 12px; font-weight: 600; color: #93A1BA; margin: 6px 8px 6px; }
.side .sh + ul { margin-bottom: 14px; }
.side li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 6px; font-size: 13px; }
.side li .k { margin-left: auto; color: #93A1BA; font-size: 12px; }
.side li.on { background: #1C2A44; }
.side li .dot { width: 7px; height: 7px; border-radius: 50%; background: #93A1BA; }
.side li.on .dot { background: #F2F5FA; }
:root[data-live] .side li.on .dot { background: var(--red); }
.side li .ico { font-size: 15px; color: #B0BCD1; stroke-width: 1.6; }
.side li .eye { margin-left: auto; }
.side .add { color: var(--signal); }
.side .add .ico { color: var(--signal); }
.stagecol { padding: var(--pad); display: flex; flex-direction: column; gap: 10px; min-width: 0; background: #060A13; }
.stage { position: relative; aspect-ratio: 16 / 9; background: #02040A; overflow: hidden; box-shadow: 0 0 0 1px #182540; transition: box-shadow 300ms ease; }
:root[data-live] .stage { box-shadow: 0 0 0 2px var(--red); }
.pic { position: absolute; top: 0; height: 100%; }
.pic-l { left: 0; width: 100%; transition: clip-path 560ms var(--ease-io), opacity 420ms ease; clip-path: inset(0 0 0 0); }
.pic-p { left: 34.18%; width: 31.64%; opacity: 0; transition: opacity 420ms ease 120ms; }
:root:has(.shape-p:checked) .pic-l { clip-path: inset(0 34.18% 0 34.18%); opacity: 0; }
:root:has(.shape-p:checked) .pic-p { opacity: 1; }
.cap { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: #B0BCD1; padding: 0 2px; }
.cap b { font-size: 15px; color: #F2F5FA; font-weight: 600; }
.mixer { display: grid; gap: 4px; margin-top: 4px; }
.mixh { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; font-size: 15px; }
.mixh b { font-weight: 600; }
.mixh span { font-size: 12.5px; color: #B0BCD1; padding: 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px #2B3B5B; }
.mix { display: grid; grid-template-columns: 112px minmax(0, 1fr) 74px; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 6px; background: #101A2C; }
.mix span:first-child { display: flex; align-items: center; gap: 7px; }
.mix .ico { font-size: 14px; color: #B0BCD1; stroke-width: 1.6; }
.meter { position: relative; height: 6px; background: #1A2640; overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; width: var(--v); background: linear-gradient(90deg, #3FBF6E 0 72%, #E7B53C 72% 88%, #E8574D 88%); background-size: calc(100% / var(--f)) 100%; }
.db { justify-self: end; white-space: nowrap; padding: 3px 6px; border-radius: 4px; background: #02040A; font: 500 12px/1.2 var(--mono); color: #DDE5F1; }
.board { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; min-width: 0; box-shadow: inset 1px 0 0 #182540; }
.air { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); color: #B0BCD1; }
.air .ring { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.air.when-live { background: var(--red-fill); color: #fff; box-shadow: none; font-family: var(--ui); }
.air.when-live .ring { background: #fff; box-shadow: none; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { opacity: .2; } }
.bh { font-size: 15px; font-weight: 600; display: flex; align-items: baseline; gap: 8px; }
.bh small { font-size: 12.5px; font-weight: 500; color: #B0BCD1; }
.bh .addb { margin-left: auto; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--signal); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, .45); }
.orows { display: grid; gap: 6px; }
.orow { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 20px; align-items: center; gap: 10px; height: 52px; padding: 0 12px; border-radius: 8px; background: #1C2A44; cursor: pointer; transition: background-color 150ms ease, box-shadow 200ms ease, transform 140ms var(--ease-out); }
.orow:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .orow:hover { background: #22324F; } }
.orow input, .key input { position: absolute; opacity: 0; pointer-events: none; }
.orow:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.orow:has(input:checked) { box-shadow: inset 0 0 0 2px var(--signal); }
.glyph { justify-self: center; border: 2px solid currentColor; border-radius: 3px; color: #B0BCD1; }
.glyph.gl { width: 28px; height: 16px; } .glyph.gp { width: 16px; height: 28px; }
.orow:has(input:checked) .glyph { color: var(--signal); }
.oname { font-size: 14px; font-weight: 600; display: block; }
.oname small { font-weight: 500; color: #B0BCD1; font-size: 12.5px; margin-left: 4px; }
.os { font-size: 12.5px; color: #B0BCD1; display: block; white-space: nowrap; }
.marks { display: flex; gap: 3px; }
.marks svg { width: 16px; height: 16px; border-radius: 4px; }
.radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #93A1BA; display: grid; place-items: center; color: var(--on-signal); }
.radio .ico { font-size: 13px; stroke-width: 3; opacity: 0; }
.orow:has(input:checked) .radio { background: var(--signal); box-shadow: none; }
.orow:has(input:checked) .radio .ico { opacity: 1; }
.hint { display: flex; gap: 7px; font-size: 12.5px; line-height: 1.4; color: #B0BCD1; padding: 0 2px; }
.hint .ico { font-size: 14px; margin-top: 1px; }
.drows { display: grid; gap: 5px; }
.drow { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; align-items: center; padding: 7px 10px; border-radius: 8px; background: #152137; }
.drow > svg { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 7px; }
.drow .nm { font-size: 14px; font-weight: 600; }
.st { justify-self: end; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.st > span, .golive > span { display: inline-flex; align-items: center; gap: 6px; }
.st .ico { font-size: 14px; }
.st.ready .ico { color: var(--green); }
.off-st { display: none; color: #B0BCD1; font-weight: 500; }
.fitline, .rate { grid-column: 2 / -1; font-size: 12.5px; color: #B0BCD1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fitline b { color: #F2F5FA; font-weight: 600; }
.fitline .ico { font-size: 12px; vertical-align: -1.5px; margin-right: 3px; display: inline-block; }
.fitline .star { color: var(--signal); }
.fitline .nope { color: var(--amber); }
.rate { display: none; align-items: center; gap: 8px; color: #F2F5FA; font-weight: 600; }
.rate i { width: 46px; height: 4px; background: linear-gradient(90deg, var(--green) var(--v, 96%), #22314F 0); }
.pill-live { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--red-fill); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
:root:not(:has(.shape-p:checked)) [data-l="unsupported"] .on-st, :root:has(.shape-p:checked) [data-p="unsupported"] .on-st { display: none !important; }
:root:not(:has(.shape-p:checked)) [data-l="unsupported"] .off-st, :root:has(.shape-p:checked) [data-p="unsupported"] .off-st { display: inline-flex; }
:root[data-live] .drow .fitline { display: none; }
:root[data-live] .drow .rate { display: flex; }
:root[data-live]:not(:has(.shape-p:checked)) .drow[data-l="unsupported"] .fitline, :root[data-live]:has(.shape-p:checked) .drow[data-p="unsupported"] .fitline { display: block; }
:root[data-live]:not(:has(.shape-p:checked)) .drow[data-l="unsupported"] .rate, :root[data-live]:has(.shape-p:checked) .drow[data-p="unsupported"] .rate { display: none; }
.upl { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #B0BCD1; margin-top: 2px; }
.upl .ico { font-size: 14px; }
.golive { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; border: 0; border-radius: 8px; cursor: pointer;
  font: 600 15px/1 var(--ui); color: var(--on-signal); background: var(--signal); transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.golive .ico { font-size: 18px; stroke-width: 2; }
@media (hover: hover) and (pointer: fine) { .golive:hover { background: var(--signal-hi); } }
.golive:active { transform: scale(.97); }
:root[data-live] .golive { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.golive .sq { width: 11px; height: 11px; border-radius: 2px; background: currentColor; }
@container win (max-width: 1020px) {
  .win-body { grid-template-columns: minmax(0, 1fr) 300px; }
  .side { display: none; }
}
@container win (max-width: 700px) {
  .win-body { grid-template-columns: 1fr; }
  .board { box-shadow: inset 0 1px 0 #182540; padding: 14px var(--pad) var(--pad); }
  .mixer { display: none; }
  .win-title { transform: none; }
}

/* ---------- sections ---------- */
.sec { padding: 120px 0; position: relative; }
.sec + .sec, .page-top + .sec { box-shadow: inset 0 1px 0 var(--line); }
.sec-h { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: end; margin-bottom: 64px; }

/* how it works: the signal path, through the mark drawn in light */
.path { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 300px); align-items: center; gap: 0; }
.path-src { padding: 14px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--panel); position: relative; }
.path-src .frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #02040A; }
.path-src .frame .pic { position: absolute; }
.path-src p { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--text-2); }
.path-src p b { color: var(--text); font-weight: 600; }
.router { position: relative; height: 380px; }
.router svg { width: 100%; height: 100%; overflow: visible; }
.router .wire { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.router .live-wire { fill: none; stroke: var(--signal); stroke-width: 1.5; filter: url(#glow-sm); }
.router .pulse { fill: none; stroke: #FFF4C7; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 420; filter: url(#glow-sm); animation: run 2.2s linear infinite; }
.router .pd1 { animation-delay: -.45s; } .router .pd2 { animation-delay: -.9s; } .router .pd3 { animation-delay: -1.35s; } .router .pd4 { animation-delay: -1.8s; }
@keyframes run { from { stroke-dashoffset: 430; } to { stroke-dashoffset: 0; } }
:root:not(:has(.shape-p:checked)) .router .x-l, :root:has(.shape-p:checked) .router .x-p { display: none; }
.router .mc { fill: none; stroke: #F4F7FF; stroke-width: 28; stroke-linejoin: round; }
.router .cover, .foot-mark .cover { fill: var(--void); stroke: none; }
.router .waves { fill: none; stroke: var(--signal); stroke-width: 16; stroke-linejoin: round; }
.js .router .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .router.in .draw { animation: draw 2s var(--ease-io) forwards; }
.js .router.in .draw.d2 { animation-delay: .35s; } .js .router.in .draw.d3 { animation-delay: .5s; } .js .router.in .draw.d4 { animation-delay: .65s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.outs { display: grid; }
.out { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 64px; box-shadow: inset 0 -1px 0 var(--line); transition: opacity 300ms ease; }
.out:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.out svg { width: 24px; height: 24px; border-radius: 6px; }
.out b { font: 600 17px/1.2 var(--display); display: block; }
.out small { font-size: 14px; color: var(--text-2); display: block; line-height: 1.3; }
.out .mb { font: 500 14px/1 var(--mono); color: var(--text); }
.out .off-st { font-size: 14px; color: var(--text-3); }
:root:not(:has(.shape-p:checked)) .out[data-l="unsupported"] b, :root:has(.shape-p:checked) .out[data-p="unsupported"] b { color: var(--text-3); }
:root:not(:has(.shape-p:checked)) .out[data-l="unsupported"] svg, :root:has(.shape-p:checked) .out[data-p="unsupported"] svg { opacity: .5; }
.phases { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; box-shadow: inset 0 1px 0 var(--line); }
.phase { padding: 30px 32px 0 0; }
.phase + .phase { padding-left: 32px; box-shadow: inset 1px 0 0 var(--line); }
.phase h3 { font-size: 1.375rem; }
.phase dl { margin-top: 18px; }
.phase dl div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; box-shadow: inset 0 -1px 0 var(--line); }
.phase dt { font-size: 16px; color: var(--text-2); }
.phase dd { font-size: 16px; font-weight: 600; text-align: right; white-space: nowrap; }

/* landscape or portrait: the routing matrix */
.matrix { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.3fr); align-items: stretch; }
.srcp { padding: 20px; display: flex; flex-direction: column; gap: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.srcp-h { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-2); }
.srcp-h b { color: var(--signal); font-weight: 500; }
.pgm { position: relative; aspect-ratio: 16 / 9; background: #02040A; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.pgm .pic { position: absolute; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.key { position: relative; display: grid; gap: 4px; padding: 14px 16px; cursor: pointer; background: var(--field); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 200ms ease, background-color 200ms ease, transform 140ms var(--ease-out); }
.key:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .key:hover { box-shadow: inset 0 0 0 1px var(--text-3); } }
.key:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.key b { font: 600 18px/1.1 var(--display); display: flex; align-items: center; gap: 10px; padding-right: 18px; }
.key small { font: 400 13.5px/1.3 var(--mono); color: var(--text-2); }
.key .led { position: absolute; right: 14px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.key:has(input:checked) { background: rgba(255, 210, 63, .08); box-shadow: inset 0 0 0 1.5px var(--signal); }
.key:has(input:checked) .led { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.srcp-f { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }
.srcp-f b { color: var(--text); font-weight: 500; }
.bus { position: relative; }
.bus::before { content: ""; position: absolute; left: 50%; top: 32px; bottom: 32px; width: 1.5px; margin-left: -.75px; background: var(--line-2); }
.bus::after { content: ""; position: absolute; left: 0; width: 50%; top: 50%; height: 1.5px; background: var(--signal); box-shadow: 0 0 8px rgba(255, 210, 63, .8); }
.routes { display: grid; }
.route { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 16px 4px 16px 0; box-shadow: inset 0 -1px 0 var(--line); transition: opacity 300ms ease; }
.route:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.route > svg { width: 24px; height: 24px; border-radius: 6px; }
.route .nm { font: 600 22px/1.1 var(--display); }
.route .st2 { font: 500 14px/1 var(--mono); color: var(--text); text-align: right; white-space: nowrap; }
.route .st2 .off { color: var(--red-text); font-family: var(--sans); font-weight: 500; }
.route .why { grid-column: 2 / -1; font-size: 16px; color: var(--text-2); line-height: 1.45; }
.route .why b { color: var(--text); font-weight: 600; }
.route .why b.rec { color: var(--signal); }
.route .why b.no { color: var(--red-text); }
.route::before { content: ""; position: absolute; right: 100%; top: 50%; width: 48px; height: 1.5px; background: var(--signal); box-shadow: 0 0 8px rgba(255, 210, 63, .75); transition: background-color 300ms ease, width 300ms var(--ease-out); }
.route::after { content: ""; position: absolute; right: 100%; top: 50%; width: 6px; height: 6px; margin-top: -2.25px; margin-right: 40px; border-radius: 50%; background: #FFF4C7; box-shadow: 0 0 8px var(--signal); animation: tap 1.5s linear infinite; }
@keyframes tap { from { transform: translateX(0); opacity: 1; } to { transform: translateX(40px); opacity: .2; } }
:root:not(:has(.shape-p:checked)) .route[data-l="supported"]::before, :root:has(.shape-p:checked) .route[data-p="supported"]::before { background: repeating-linear-gradient(90deg, var(--text-2) 0 6px, transparent 6px 10px); box-shadow: none; }
:root:not(:has(.shape-p:checked)) .route[data-l="supported"]::after, :root:has(.shape-p:checked) .route[data-p="supported"]::after { background: var(--text); box-shadow: none; animation-duration: 2.3s; }
:root:not(:has(.shape-p:checked)) .route[data-l="unsupported"]::before, :root:has(.shape-p:checked) .route[data-p="unsupported"]::before { width: 16px; background: var(--red); box-shadow: none; }
:root:not(:has(.shape-p:checked)) .route[data-l="unsupported"]::after, :root:has(.shape-p:checked) .route[data-p="unsupported"]::after { animation: none; width: 12px; height: 12px; margin-top: -5.25px; margin-right: 22px; border-radius: 0; background: none; box-shadow: none;
  background-image: linear-gradient(45deg, transparent 44%, var(--red) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--red) 44% 56%, transparent 56%); }
:root:not(:has(.shape-p:checked)) .route[data-l="unsupported"] .nm, :root:has(.shape-p:checked) .route[data-p="unsupported"] .nm { color: var(--text-2); }
:root:not(:has(.shape-p:checked)) .route[data-l="unsupported"] > svg, :root:has(.shape-p:checked) .route[data-p="unsupported"] > svg { opacity: .55; }
.mfoot { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.3fr); align-items: start; }
.totals { display: grid; gap: 6px; }
.totals .big { font: 600 2.5rem/1 var(--display); letter-spacing: -.01em; }
.totals .upl2 { font-size: 17px; color: var(--text-2); }
.totals .upl2 b { font: 500 17px/1 var(--mono); color: var(--signal); }
.mfoot .say { grid-column: 3; font-size: 17px; color: var(--text-2); text-wrap: pretty; }
.mfoot .say b { color: var(--text); font-weight: 600; }
.fine { margin-top: 40px; font-size: 15px; line-height: 1.55; color: var(--text-3); max-width: 86ch; }

/* features */
.f1 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.f1 .lead { margin-top: 18px; }
.measured { margin-top: 36px; box-shadow: inset 0 1px 0 var(--line); }
.measured div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--line); }
.measured dt { font: 500 1.625rem/1 var(--mono); color: var(--signal); letter-spacing: -.02em; white-space: nowrap; }
.measured dd { font-size: 17px; color: var(--text-2); line-height: 1.45; }
.note { margin-top: 20px; font-size: 14.5px; color: var(--text-3); line-height: 1.5; }
.tele { position: relative; padding: 20px 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.tele-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; font-size: 14px; color: var(--text-2); }
.tele table { width: 100%; border-collapse: collapse; }
.tele td { padding: 14px 6px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.tele td:first-child { padding-left: 0; width: 34px; }
.tele td:first-child svg { width: 24px; height: 24px; border-radius: 6px; }
.tele td.nm { font: 600 17px/1.2 var(--display); }
.tele td.rate2 { font: 500 14px/1 var(--mono); color: var(--text); white-space: nowrap; }
.tele td.note2 { color: var(--text-2); font-size: 15px; }
.tele td.s { text-align: right; padding-right: 0; }
.mbar { display: inline-block; width: 64px; height: 4px; background: var(--line-2); margin-left: 10px; vertical-align: middle; position: relative; }
.mbar i { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--green); }
.mbar.amber i { background: var(--amber); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font: 600 13px/1 var(--sans); white-space: nowrap; }
.chip.live { background: var(--red-fill); color: #fff; }
.chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.chip.slow { color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .6); }
.chip.retry { color: var(--amber); outline: 1px dashed rgba(255, 176, 32, .7); outline-offset: -1px; }
.chip.offc { color: var(--text-2); font-weight: 500; }
.chip .ico { font-size: 14px; }
.chip.rec { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.chip.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.rack { margin-top: 140px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.mod { padding: 44px 44px 48px 0; display: grid; gap: 22px; align-content: start; }
.mod + .mod { padding: 44px 0 48px 44px; box-shadow: inset 1px 0 0 var(--line); }
.mod p { font-size: 17px; color: var(--text-2); }
.mod .stat { color: var(--text); }
.mod .stat .mono { color: var(--signal); }
.frag { padding: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; }
.frag .r1 { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.frag .t { font: 500 24px/1 var(--mono); }
.frag .r1 .rw { margin-left: auto; font-size: 13px; color: var(--text-2); }
.frag .file { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; background: var(--field); }
.frag .file .ico { font-size: 26px; color: var(--text-2); stroke-width: 1.4; }
.frag .file span { font: 400 13px/1.3 var(--mono); color: var(--text-2); }
.frag .file b { font-size: 14px; font-weight: 600; display: block; }
.krow { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--line); }
.krow > svg { width: 28px; height: 28px; border-radius: 7px; }
.krow b { font-size: 15px; font-weight: 600; display: block; }
.krow small { font-size: 13px; color: var(--text-2); }
.act { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--signal); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, .5); white-space: nowrap; }
.kfoot { display: flex; align-items: center; gap: 8px; padding-top: 12px; font-size: 14px; color: var(--text-2); }
.kfoot .ico { font-size: 15px; color: var(--green); }
.ticks { display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 17px; line-height: 1.45; color: var(--text); }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; background: var(--signal); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.studio { margin-top: 140px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.studio .lead { margin-top: 18px; }
.more { margin-top: 30px; }
.more h4 { font: 600 19px/1.2 var(--display); }
.more ul { margin-top: 12px; }
.more li { font-size: 17px; line-height: 1.45; color: var(--text-2); padding: 8px 0; box-shadow: inset 0 -1px 0 var(--line); }
.hk { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); padding: 20px 22px; }
.hk-h { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); padding-bottom: 10px; }
.hk table { width: 100%; border-collapse: collapse; }
.hk td { padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; }
.hk td:last-child { text-align: right; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 9px; font: 500 15px/1 var(--ui); letter-spacing: .04em; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -2px 0 var(--line-2); background: var(--field); }
.scenes { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scn { padding: 10px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; }
.scn svg { width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 8px; }
.scn.on { box-shadow: inset 0 0 0 1.5px var(--red); }
.scn b { font-weight: 600; } .scn span { float: right; font: 500 13px/1.5 var(--mono); color: var(--text-2); }
.brb { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 8px; display: grid; place-items: center; background: #02040A; font: 600 15px/1 var(--display); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); text-align: center; padding: 0 6px; }

/* pricing */
.plans { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.spec { padding: 6px 24px 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.spec table { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; vertical-align: top; }
.spec thead th { font: 600 16px/1.2 var(--display); color: var(--text-2); padding-top: 20px; }
.spec thead th.pro { color: var(--signal); }
.spec tbody th { font-weight: 500; color: var(--text); width: 40%; }
.spec td { color: var(--text-2); }
.spec td.pro { color: var(--text); font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.chans { display: grid; gap: 10px; }
.chan { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 22px 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.chan .n { font: 600 22px/1.1 var(--display); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.chan .d { color: var(--text-2); font-size: 15.5px; grid-column: 1; grid-row: 2; }
.chan .amt { grid-column: 2; grid-row: 1 / span 2; font: 600 clamp(2rem, 3vw, 2.5rem)/1 var(--display); letter-spacing: -.01em; text-align: right; }
.chan .amt small { font: 500 15px/1 var(--display); color: var(--text-2); letter-spacing: 0; }
.chan .alt { grid-column: 2; grid-row: 3; font-size: 14px; color: var(--text-3); text-align: right; }
.chan.best { box-shadow: inset 0 0 0 1.5px var(--signal); }
.chan.best .amt { color: var(--signal); }
.tagrec { display: inline-flex; height: 24px; align-items: center; gap: 5px; padding: 0 9px; color: var(--signal); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, .5); font: 500 13px/1 var(--sans); }
.tagrec .ico { font-size: 12px; }
.free-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 18px; align-items: center; padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.free-row .amt { font: 600 2.5rem/1 var(--display); text-align: right; }
.free-row .fr-name { font: 600 21px/1.1 var(--display); color: var(--text); }
.free-row .fr-note { margin-top: 6px; color: var(--text-2); font-size: 15.5px; }
.free-row .btn { grid-column: 1 / -1; justify-self: start; }
.fine2 { margin-top: 8px; color: var(--text-3); font-size: 14.5px; line-height: 1.55; }
.fine2 a { color: var(--text-2); }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq .lead { margin-top: 18px; font-size: 17px; }
.qs { box-shadow: inset 0 1px 0 var(--line); }
.qs details { box-shadow: inset 0 -1px 0 var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 22px/1.3 var(--display); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary .pm { position: relative; width: 22px; height: 22px; flex: none; }
.qs summary .pm::before, .qs summary .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10.25px; height: 1.5px; background: var(--signal); }
.qs summary .pm::after { transform: rotate(90deg); transition: transform 300ms var(--ease-out); }
.qs details[open] summary .pm::after { transform: rotate(0); }
@media (hover: hover) and (pointer: fine) { .qs summary:hover { color: #fff; } }
.qs details p { padding: 0 48px 24px 0; font-size: 17px; color: var(--text-2); max-width: 68ch; }
.qs details p a { color: var(--text); }

/* footer: the name, drawn in light */
.foot { padding: 110px 0 44px; box-shadow: inset 0 1px 0 var(--line); position: relative; overflow: hidden; }
.foot-mark { max-width: 760px; }
.foot-mark svg, .foot-mark img { width: 100%; height: auto; overflow: visible; }
.foot-mark .mc, .foot-mark .wm { fill: none; stroke: #F4F7FF; stroke-linejoin: round; }
.foot-mark .mc { stroke-width: 13; }
.foot-mark .wm { stroke-width: 27; }
.foot-mark .waves { fill: none; stroke: var(--signal); stroke-width: 8; stroke-linejoin: round; }
.f-row { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding-top: 32px; box-shadow: inset 0 1px 0 var(--line); }
.f-row p { font-size: 15px; color: var(--text-3); line-height: 1.55; }
.f-row p + p { margin-top: 12px; }
.f-row nav { display: grid; gap: 2px; align-content: start; }
.f-row nav a { font-size: 15px; color: var(--text-2); text-decoration: none; padding: 5px 0; justify-self: start; }
@media (hover: hover) and (pointer: fine) { .f-row nav a:hover { color: var(--text); } }
.f-contact a { color: var(--text); }

/* ---------- inner pages: the heading on the grid, one panel beside it ---------- */
.page-top { padding: 88px 0 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; } /* the doc rows' columns, so panels and lists share one vertical */
.page-grid.solo { grid-template-columns: minmax(0, 1fr); }
.page-intro { display: grid; gap: 26px; justify-items: start; align-content: start; }
.page-intro h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: .96; letter-spacing: -.035em; max-width: 14ch; }
.page-grid.solo .page-intro h1 { max-width: 18ch; }
.page-intro h1.long { font-size: clamp(2.25rem, 3.9vw, 3.5rem); max-width: 18ch; }
.panel { position: relative; padding: 22px 24px 24px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(7, 12, 22, .6); }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; font-size: 14px; color: var(--text-3); }
.panel-h b { color: var(--signal); font-weight: 500; }
.panel-h .file { font-size: 13.5px; color: var(--text-3); }

/* download */
.rel-rows { box-shadow: inset 0 1px 0 var(--line); }
.rel-rows > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--line); }
.rel-rows dt { font-size: 15px; color: var(--text-2); }
.rel-rows dd { font-size: 17px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.rel-rows dd.mono { font-size: 16px; }
.rel-rows code { font: 400 14px/1.55 var(--mono); color: var(--text); word-break: break-all; }
.rel .v-version { font: 600 22px/1.2 var(--display); display: inline-flex; align-items: center; gap: 10px; }
.rel .v-version::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.rel[data-state="pending"] .v-version { color: var(--text-2); }
.rel[data-state="pending"] .v-version::before { background: none; box-shadow: inset 0 0 0 1.5px var(--text-3); }
.rel[data-state="pending"] [data-release="size"], .rel[data-state="pending"] [data-release="published"], .rel[data-state="pending"] code { color: var(--text-3); }
.rel-note { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.rel[data-state="ready"] .rel-note { display: none; }
.sec.docs { padding-top: 0; }
.doc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 56px 0; box-shadow: inset 0 1px 0 var(--line); }
.doc-row:first-child { box-shadow: none; padding-top: 72px; }
.doc-row h2 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); line-height: 1.04; letter-spacing: -.02em; max-width: 14ch; }
.doc-body { display: grid; gap: 18px; align-content: start; min-width: 0; font-size: 17px; color: var(--text-2); }
.doc-body > p { max-width: 62ch; }
.doc-body .note { margin-top: 0; }
.steps { counter-reset: s; box-shadow: inset 0 1px 0 var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--line); color: var(--text); font-size: 17px; line-height: 1.5; }
.steps li::before { content: counter(s); font: 600 19px/1.35 var(--display); color: var(--signal); font-variant-numeric: tabular-nums; }
.cmd { display: grid; gap: 8px; min-width: 0; }
.cmd pre { margin: 0; padding: 16px 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); overflow-x: auto; font: 400 15px/1.5 var(--mono); color: var(--text); }
.cmd p { font-size: 15px; color: var(--text-3); }
.reqs { box-shadow: inset 0 1px 0 var(--line); }
.reqs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 24px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--line); }
.reqs dt { font-weight: 600; color: var(--text); }
.reqs dd { color: var(--text-2); }
.feed a { font-size: 15px; color: var(--text); overflow-wrap: anywhere; }

/* support */
.contact { display: grid; gap: 18px; justify-items: start; }
.contact .panel-h { width: 100%; padding-bottom: 0; }
.contact .addr { font: 600 clamp(1.625rem, 2.8vw, 2.375rem)/1.1 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.contact .fb-h { margin-top: 14px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--line); }
.fb-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .withdraw { font-size: 15px; line-height: 1.55; color: var(--text-3); }
.contact .withdraw a { color: var(--text); }

/* feedback */
.fb-panel { padding: 26px 28px 30px; }
.fb { display: grid; gap: 22px; min-width: 0; }
.fb-kind { margin: 0; padding: 0; border: 0; min-width: 0; }
.fb-kind legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 500; color: var(--text); }
.fb-kind .key b { font-size: 17px; }
.fb-kind .key .led { top: 50%; margin-top: -4px; }
.fb-field { display: grid; gap: 8px; min-width: 0; }
.fb-field label { font-size: 15px; font-weight: 500; color: var(--text); }
.fb-field .opt { color: var(--text-3); font-weight: 400; }
.fb-field input, .fb-field textarea, .fb-field select { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 0; background: var(--field); color: var(--text);
  font: 400 17px/1.45 var(--sans); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 160ms ease; }
.fb-field textarea { resize: vertical; min-height: 128px; }
.fb-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.fb-select { position: relative; display: block; }
.fb-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); pointer-events: none; }
.fb-field input::placeholder, .fb-field textarea::placeholder { color: var(--text-3); opacity: 1; }
@media (hover: hover) and (pointer: fine) { .fb-field input:hover, .fb-field textarea:hover, .fb-field select:hover { box-shadow: inset 0 0 0 1px var(--text-3); } }
.fb-field input:focus, .fb-field textarea:focus, .fb-field select:focus { outline: 2px solid var(--signal); outline-offset: 2px; box-shadow: inset 0 0 0 1px var(--signal); }
.fb-field [aria-invalid="true"], .fb-field [aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1.5px var(--red); }
.fb-help { font-size: 14px; color: var(--text-3); }
.fb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.fb-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb-status { padding: 4px 0 4px 14px; box-shadow: inset 2px 0 0 var(--line-2); font-size: 15px; color: var(--text); transition: opacity 150ms ease; }
@starting-style { .fb-status { opacity: 0; } }
.fb-status.is-error { color: var(--red-text); box-shadow: inset 2px 0 0 var(--red); }
.fb-err { display: flex; gap: 7px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--red-text); }
.fb-err .ico { font-size: 15px; margin-top: 2px; }
.fb-send { display: grid; gap: 14px; justify-items: start; }
.fb-note { font-size: 14px; line-height: 1.5; color: var(--text-3); max-width: 52ch; }
.fb-note a { color: var(--text-2); }
.fb-sent { display: grid; gap: 20px; justify-items: start; align-content: start; transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
@starting-style { .fb-sent { opacity: 0; transform: translateY(6px); } }
.fb-sent:focus { outline: none; }
.fb-sent-h { font: 600 clamp(1.75rem, 3vw, 2.25rem)/1.05 var(--display); letter-spacing: -.02em; }
/* One form, two kinds: the problem-only fields and labels hide while "Request a feature" is chosen. */
.fb .k-f { display: none; }
.fb:has(input[name="kind"][value="feature"]:checked) .k-p { display: none; }
.fb:has(input[name="kind"][value="feature"]:checked) .k-f { display: inline; }

/* rows of links (404, sent) */
.nf-rows { width: 100%; max-width: 520px; box-shadow: inset 0 1px 0 var(--line); }
.nf-rows a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; text-decoration: none; font: 600 19px/1.2 var(--display); box-shadow: inset 0 -1px 0 var(--line); }
.nf-rows .ico { font-size: 20px; color: var(--signal); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nf-rows a:hover .ico { transform: translateX(4px); } }

/* 404: the colour bars a channel shows when nothing is on it */
.nosignal { padding: 18px; }
.bars { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(90deg, #A9A9A9 0 14.29%, #A9A900 0 28.57%, #00A9A9 0 42.86%, #00A900 0 57.14%, #A900A9 0 71.43%, #A90000 0 85.71%, #0000A9 0); }
.bars::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(4, 7, 13, .42), rgba(4, 7, 13, .58)); }
.nosig-tag { position: relative; z-index: 1; padding: 10px 14px; background: var(--void); color: var(--signal); font-size: 15px; box-shadow: inset 0 0 0 1px var(--line-2); }

/* legal */
.legal-page { position: relative; padding: 80px 0 120px; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 100px; }
.legal-nav-h { padding-bottom: 12px; font-size: 14px; color: var(--text-3); }
.legal-nav ul { box-shadow: inset 0 1px 0 var(--line); }
.legal-nav a { position: relative; display: flex; align-items: center; min-height: 48px; padding-left: 16px; text-decoration: none; font-size: 16px; color: var(--text-2); box-shadow: inset 0 -1px 0 var(--line); transition: color 150ms ease; }
.legal-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--line-2); }
@media (hover: hover) and (pointer: fine) { .legal-nav a:hover { color: var(--text); } }
.legal-nav a[aria-current="page"] { color: var(--text); font-weight: 500; }
.legal-nav a[aria-current="page"]::before { background: var(--signal); box-shadow: 0 0 8px rgba(255, 210, 63, .7); }
.legal { max-width: 60ch; min-width: 0; } /* about 75 characters a line at the 17px body size */
.legal h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.legal .meta-line { margin-top: 16px; font-size: 15px; color: var(--text-3); }
.legal .intro { margin-top: 28px; font-size: 1.1875rem; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.legal .group { margin-top: 48px; padding-top: 32px; box-shadow: inset 0 1px 0 var(--line); }
.legal h2 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 14px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.legal p + p, .legal p + .bullets, .legal .bullets + p { margin-top: 14px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); }
.legal code { font-size: .92em; color: var(--text); overflow-wrap: anywhere; }
.legal .bullets { display: grid; gap: 10px; }
.legal .bullets li { position: relative; padding-left: 22px; }
.legal .bullets li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 8px; background: var(--signal); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.legal .btn { margin-top: 28px; color: var(--on-signal); }

/* motion */
.js .hero h1 .ln > span { transform: translateY(105%); animation: lineup 1000ms var(--ease-out) forwards; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: 110ms; }
@keyframes lineup { to { transform: none; } }
.js .hero .fade, .js .page-intro { opacity: 0; animation: fadeup 700ms var(--ease-out) 380ms forwards; }
.js .page-intro { animation-duration: 560ms; animation-delay: 40ms; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .monitor, .js .scan { clip-path: inset(0 0 100% 0); animation: scan 1100ms var(--ease-io) 420ms forwards; }
.js .scan { animation-duration: 720ms; animation-delay: 120ms; }
@keyframes scan { to { clip-path: inset(-4px -4px -4px -4px); } }
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero h1 .ln > span, .js .hero .fade, .js .page-intro { transform: none; animation: fadein 400ms ease forwards; }
  .js .monitor, .js .scan { clip-path: none; animation: fadein 500ms ease forwards; }
  @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
  .js .rise { transform: none; transition: opacity 400ms ease; }
  .js .router .draw, .js .router.in .draw { stroke-dashoffset: 0; animation: none; }
  .router .pulse, .route::after, .air.when-live .ring { animation: none !important; }
  .router .pulse { opacity: 0; }
  .pic-l, .pic-p { transition-duration: 1ms; }
  .btn, .ghost, .orow, .key, .golive, .nf-rows .ico, .ghost .ico, .qs summary .pm::after { transition: none; }
  .menu nav, .fb-sent { transition: opacity 150ms ease; transform: none; }
}

/* tablet */
@media (min-width: 1101px) {
  .page-grid:not(.solo) .page-intro, .sup-faq .faq > div:first-child { position: sticky; top: 100px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .nav a.opt { display: none; }
  .sec-h, .f1, .studio, .faq, .plans, .page-grid, .doc-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .page-grid { gap: 48px; }
  .page-intro h1, .doc-row h2 { max-width: none; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .legal-nav { position: static; }
  .legal-nav ul { display: flex; flex-wrap: wrap; gap: 0 24px; box-shadow: none; }
  .legal-nav a { box-shadow: none; min-height: 44px; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .path-src { max-width: 420px; }
  .router { height: 240px; max-width: 420px; }
  .matrix, .mfoot { grid-template-columns: minmax(0, 1fr); }
  .bus { height: 48px; }
  .bus::before { display: none; }
  .bus::after { left: 24px; width: 1.5px; height: 100%; top: 0; }
  .routes { padding-left: 52px; position: relative; }
  .routes::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 1.5px; background: var(--line-2); }
  .route::before { width: 28px; } .route::after { margin-right: 22px; }
  @keyframes tap { from { transform: translateX(0); opacity: 1; } to { transform: translateX(22px); opacity: .2; } }
  .mfoot .say { grid-column: 1; margin-top: 12px; }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase, .phase + .phase { padding: 26px 0 0; box-shadow: none; }
  .rack { grid-template-columns: minmax(0, 1fr); }
  .mod, .mod + .mod { padding: 40px 0; box-shadow: none; }
  .mod + .mod { box-shadow: inset 0 1px 0 var(--line); }
  .f-row { grid-template-columns: 1fr 1fr; }
  .f-row > div:first-child { grid-column: 1 / -1; }
}
/* phone */
@media (max-width: 700px) {
  .legal-nav ul { display: block; box-shadow: inset 0 1px 0 var(--line); } /* three even rows, as on wide screens */
  .legal-nav a { box-shadow: inset 0 -1px 0 var(--line); }
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .nav { display: none; }
  .menu { display: block; }
  .top-right { gap: 8px; }
  .top-in { height: 60px; }
  html { scroll-padding-top: 68px; }
  .brand .lockup { height: 24px; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 2.125rem; letter-spacing: -.03em; }
  .lede { font-size: 1.125rem; }
  .monitor { margin-top: 44px; padding: 10px; }
  .readout { padding-bottom: 10px; font-size: 13px; }
  .readout .mono { display: none; }
  .tb { display: none; }
  .sec { padding: 88px 0; }
  .sec-h { margin-bottom: 40px; }
  .router { height: 200px; }
  .out { height: 60px; }
  .phases { margin-top: 56px; }
  .phase dl div { flex-direction: column; gap: 2px; }
  .phase dd { text-align: left; }
  .srcp { padding: 14px; }
  .keys { grid-template-columns: 1fr 1fr; gap: 6px; }
  .key { padding: 12px; }
  .key b { font-size: 16px; }
  .key small { font-size: 12.5px; }
  .route { grid-template-columns: 24px minmax(0, 1fr); }
  .route .st2 { grid-column: 2; text-align: left; }
  .measured div { grid-template-columns: 1fr; gap: 6px; }
  .tele { padding: 14px; }
  .tele td.note2, .tele .mbar { display: none; }
  .tele td { padding: 12px 4px; font-size: 14px; }
  .tele td.nm { font-size: 15px; }
  .tele .chip { height: 24px; padding: 0 8px; font-size: 12px; }
  .rack, .studio { margin-top: 88px; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .scenes .scn:last-child { display: none; }
  .spec { padding: 4px 14px 10px; }
  .spec th, .spec td { font-size: 15px; }
  .chan { padding: 18px 16px; }
  .free-row { padding: 18px 16px; }
  .qs details p { padding-right: 0; }
  .f-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot { padding-top: 80px; }
  .page-top { padding: 48px 0 64px; }
  .page-intro h1 { font-size: 2.375rem; letter-spacing: -.03em; }
  .panel { padding: 18px 16px 20px; }
  .fb-panel { padding: 20px 16px 24px; }
  .fb-kind .keys { grid-template-columns: minmax(0, 1fr); }
  .rel-rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc-row { padding: 44px 0; gap: 24px; }
  .doc-row:first-child { padding-top: 48px; }
  .reqs > div { grid-template-columns: minmax(0, 1fr); }
  .cmd pre { font-size: 14px; padding: 14px; }
  .legal-page { padding: 48px 0 88px; }
  .legal h1 { font-size: 2.25rem; }
  .legal .group { margin-top: 40px; padding-top: 28px; }
  .btn-lg { height: 54px; padding: 0 24px; font-size: 17px; }
}

@media print {
  .top, .foot, .monitor, .win-note, .router, .skip { display: none; }
  body { background: #fff; color: #000; }
  .js .rise, .js .page-intro, .js .scan { opacity: 1; transform: none; clip-path: none; animation: none; }
}

/* generated by build.js from src/demo.json: meter levels (the CSP allows no style attributes) */
.lv-0 { --v: 0%; --f: 0.01; }
.lv-38 { --v: 38%; --f: 0.38; }
.lv-48 { --v: 48%; --f: 0.48; }
.lv-66 { --v: 66%; --f: 0.66; }
.lv-74 { --v: 74%; --f: 0.74; }
.lv-75 { --v: 75%; --f: 0.75; }
.lv-94 { --v: 94%; --f: 0.94; }
.lv-96 { --v: 96%; --f: 0.96; }
.lv-98 { --v: 98%; --f: 0.98; }
