/* Broadcast Deck — site styles.
   Layout concept: a control-room console. Each product is a rack unit with its own tally colour;
   the house blue ties them together. Dark first (the room), with a daylight theme. */
:root {
  --bg: #0a0e15;
  --bg-2: #0f141e;
  --panel: #131a27;
  --panel-2: #182132;
  --line: #243049;
  --line-2: #2f3d5c;
  --fg: #e9eef7;
  --muted: #95a1b8;
  --dim: #66728a;
  --accent: #00a2fc;
  --accent-ink: #4dbfff;
  --on-accent: #001625;
  --tally: #ff3b30;
  --ok: #34d17a;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  /* product colours (marks and fills) and their readable text tones */
  --c-studio-lite: #ffffff; --t-studio-lite: #ffffff;
  --c-studio-pro: #9f66f4;  --t-studio-pro: #b893ff;
  --c-studio-max: #6ff5a6;  --t-studio-max: #6ff5a6;
  --c-call: #f552d0;        --t-call: #ff7fe0;
  --c-gfx: #bef762;         --t-gfx: #c9fb7d;
  --c-srt-lite: #facc15;    --t-srt-lite: #facc15;
  --c-srt-pro: #f97316;     --t-srt-pro: #ff8f45;
  --c-srt-max: #ef4444;     --t-srt-max: #ff6b6b;
  --c-deck: #00a2fc;        --t-deck: #4dbfff;
  --c-radio: #38bdf8;       --t-radio: #7dd3fc;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f6fa; --bg-2: #eaeef5; --panel: #ffffff; --panel-2: #f3f6fb; --line: #d9e0eb; --line-2: #c4cedd;
    --fg: #0d1422; --muted: #4f5b70; --dim: #7a8599; --accent: #0084d1; --accent-ink: #006aa8; --on-accent: #ffffff;
    --shadow: 0 24px 60px rgba(20, 34, 60, .14);
    --t-studio-lite: #0d1422; --c-studio-lite: #0d1422;
    --t-studio-pro: #6d35c9; --t-studio-max: #0f8a4a; --c-studio-max: #2fd27f; --t-call: #b5179a; --t-gfx: #4d7c0f; --c-gfx: #9ed43c;
    --t-srt-lite: #a16207; --t-srt-pro: #c2410c; --t-srt-max: #c81e1e; --t-deck: #0070b3; --t-radio: #0369a1;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f6fa; --bg-2: #eaeef5; --panel: #ffffff; --panel-2: #f3f6fb; --line: #d9e0eb; --line-2: #c4cedd;
  --fg: #0d1422; --muted: #4f5b70; --dim: #7a8599; --accent: #0084d1; --accent-ink: #006aa8; --on-accent: #ffffff;
  --shadow: 0 24px 60px rgba(20, 34, 60, .14);
  --t-studio-lite: #0d1422; --c-studio-lite: #0d1422;
  --t-studio-pro: #6d35c9; --t-studio-max: #0f8a4a; --c-studio-max: #2fd27f; --t-call: #b5179a; --t-gfx: #4d7c0f; --c-gfx: #9ed43c;
  --t-srt-lite: #a16207; --t-srt-pro: #c2410c; --t-srt-max: #c81e1e; --t-deck: #0070b3; --t-radio: #0369a1;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 112%; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 500 var(--step--1)/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---- top bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 800 1.05rem/1 var(--f-display); font-stretch: 112%; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .9375rem; padding: 8px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--fg); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--pc, var(--accent)); }
.top .sp { flex: 1; }
.tc { font: 500 .8125rem/1 var(--f-mono); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tc .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tally) 25%, transparent); }
.theme-btn, .menu-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; height: 34px; min-width: 34px; display: inline-grid; place-items: center; cursor: pointer; font: inherit; }
.theme-btn:hover, .menu-btn:hover { color: var(--fg); border-color: var(--line-2); }
.menu-btn { display: none; }
@media (max-width: 1060px) { .tc { display: none; } }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 14px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav a[aria-current="page"]::after { display: none; }
}

/* ---- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 10px; font: 600 .9375rem/1 var(--f-body); text-decoration: none; border: 1px solid var(--line-2); color: var(--fg); background: var(--panel); cursor: pointer; transition: border-color .15s, transform .15s; }
.btn:hover { border-color: var(--fg); color: var(--fg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.08); color: var(--on-accent); }
.btn .arr { font-family: var(--f-mono); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- sections */
section { padding-block: clamp(56px, 7vw, 96px); }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px; }
.band { background: var(--bg-2); }

/* ---- hero */
.hero { padding-block: clamp(48px, 7vw, 92px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 .hl { color: var(--pc, var(--accent-ink)); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* a monitor frame around screenshots: the program monitor of a switcher */
.monitor { position: relative; border-radius: 12px; border: 1px solid var(--line-2); background: #05070b; box-shadow: var(--shadow); overflow: hidden; }
.monitor .bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #1d2638; font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: #8f9bb3; text-transform: uppercase; background: #0b1019; }
.monitor .bar .tally { padding: 4px 7px; border-radius: 4px; background: var(--pc, var(--tally)); color: #000; font-weight: 700; }
.monitor .bar .sp { flex: 1; }
.monitor img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 10px; }

/* ---- spec strip */
.specs { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.spec { font: 500 .8125rem/1 var(--f-mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: var(--panel); white-space: nowrap; }

/* ---- product rack units */
.rack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .rack { grid-template-columns: 1fr; } }
.ru { position: relative; display: grid; gap: 16px; padding: 24px 24px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s; min-width: 0; }
.ru::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pc); }
a.ru:hover { border-color: var(--line-2); transform: translateY(-2px); color: var(--fg); }
.ru-head { display: flex; align-items: center; gap: 14px; }
.ru-head img { width: 40px; height: 40px; flex: none; }
.ru-head .what { font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t, var(--muted)); }
.ru p { color: var(--muted); }
.ru ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9375rem; }
.ru li { padding-left: 18px; position: relative; }
.ru li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--pc); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 .75rem/1 var(--f-mono); letter-spacing: .04em; padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--fg); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); display: inline-block; }
.ru .more { font: 600 .875rem/1 var(--f-body); color: var(--t, var(--accent-ink)); margin-top: auto; }

/* ---- the signal chain */
.chain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.node { position: relative; padding: 20px 18px 18px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); min-width: 0; }
.node:last-child { border-right: 0; }
.node .k { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.node .n { font: 700 1rem/1.2 var(--f-display); font-stretch: 112%; color: var(--t, var(--fg)); }
.node p { font-size: .875rem; color: var(--muted); line-height: 1.5; }
.node::after { content: "\2192"; position: absolute; right: -9px; top: 18px; z-index: 1; width: 18px; height: 18px; display: grid; place-items: center; font: 600 .75rem/1 var(--f-mono); color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 50%; }
.node:last-child::after { display: none; }
.node .led { width: 100%; height: 3px; border-radius: 2px; background: var(--pc, var(--line-2)); opacity: .9; }
@media (max-width: 980px) {
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node { border-bottom: 1px solid var(--line); }
  .node::after { display: none; }
}
@media (max-width: 520px) { .chain { grid-template-columns: 1fr; } .node { border-right: 0; } }

/* ---- feature grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.feat { display: grid; gap: 8px; align-content: start; min-width: 0; }
.feat .k { font: 500 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t, var(--accent-ink)); }
.feat p { color: var(--muted); font-size: .9688rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.stack { display: grid; gap: 18px; min-width: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
.ticks li b { color: var(--fg); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--t, var(--accent)); border-bottom: 2px solid var(--t, var(--accent)); transform: rotate(-45deg); }

/* ---- editions */
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .editions { grid-template-columns: 1fr; } }
.ed { display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--pc); min-width: 0; }
.ed-head { display: flex; align-items: center; gap: 12px; }
.ed-head img { width: 36px; height: 36px; }
.ed-head .name { font: 750 1.25rem/1.1 var(--f-display); font-stretch: 112%; }
.ed-head .tag { font: 500 .75rem/1.3 var(--f-mono); color: var(--t); letter-spacing: .06em; }
.ed .limit { font: 600 .875rem/1.3 var(--f-mono); color: var(--fg); padding: 10px 12px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); }
.ed .limit b { color: var(--t); font-size: 1.25rem; margin-right: 6px; }
.ed .price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line-2); font: 500 .8125rem/1.2 var(--f-mono); color: var(--muted); }
.ed .price b { font: 700 1rem/1 var(--f-display); color: var(--fg); letter-spacing: 0; }

/* ---- comparison tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9375rem; }
.cmp th, .cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 700 .875rem/1.2 var(--f-display); font-stretch: 112%; background: var(--panel-2); white-space: nowrap; }
.cmp thead th span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pc); margin-right: 8px; vertical-align: 1px; }
.cmp td:not(:first-child) { color: var(--muted); }
.cmp td:first-child { color: var(--fg); }
.cmp td.y { color: var(--fg); }
.cmp td.y::before { content: "\25CF"; color: var(--ok); margin-right: 8px; font-size: .7em; vertical-align: 2px; }
.cmp td.n { color: var(--dim); }
.cmp tr.group td { font: 500 .75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); padding-block: 10px; }

/* ---- gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.shot { display: grid; gap: 10px; min-width: 0; }
.shot .monitor { cursor: zoom-in; }
.shot figcaption b { color: var(--fg); font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(3, 5, 9, .92); display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); cursor: zoom-out; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; box-shadow: var(--shadow); }

/* ---- callouts */
.note { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--panel); padding: 16px 18px; border-radius: 8px; color: var(--muted); font-size: .9375rem; }
.note b { color: var(--fg); }
.soon { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 600 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* licence steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); min-width: 0; }
.step::before { content: counter(s, decimal-leading-zero); font: 600 .8125rem/1 var(--f-mono); color: var(--accent-ink); }
.step p { color: var(--muted); font-size: .9375rem; }
.key-demo { font: 600 clamp(.85rem, 2.6vw, 1.125rem)/1.2 var(--f-mono); letter-spacing: .06em; padding: 14px 16px; border-radius: 8px; background: var(--bg-2); border: 1px dashed var(--line-2); overflow-x: auto; white-space: nowrap; }

details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

/* ---- footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px 48px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot h4 { font: 500 .75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; font-stretch: 100%; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.foot a:hover { color: var(--fg); }
.foot .fine { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.ed .ticks { align-content: start; }
