/* ============================================================
   SYGNAL — Marketing site
   Dark / cinematic theme. Brand tokens pulled from the product
   UI + logo (deep navy base, magenta→blue→purple gradient,
   Red Hat type). Vanilla CSS, no build step.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; }

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #080b14;
  --bg-1:      #0b0f1c;
  --bg-2:      #0e1322;
  --panel:     #121829;
  --panel-2:   #161d31;
  --elev:      #1b2238;
  --footer-bg: #0a0e1a;

  /* lines */
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.14);
  --hairline:  rgba(255,255,255,.06);

  /* text */
  --text:      #eef1f8;
  --text-dim:  #a6afc4;
  --text-mute: #6b747e;

  /* brand */
  --blue:        #3e5caa;
  --blue-deep:   #183887;
  --blue-light:  #7fb6e2;
  --purple:      #6b4da0;
  --magenta:     #c059a2;
  --red:         #a9403f;

  --accent:      #6f8fe0;      /* lifted blue for links/cta on dark */
  --accent-soft: rgba(111,143,224,.16);

  /* signature gradient — reserved for two moments only: one hero word + the CTA wash */
  --grad:       linear-gradient(115deg, #c059a2 0%, #8a52a6 28%, #5a55a6 55%, #3e5caa 78%, #2b4794 100%);
  --grad-flow:  linear-gradient(135deg, rgba(192,89,162,.30), rgba(24,56,135,.30), rgba(8,24,71,.30), rgba(24,56,135,.30), rgba(192,89,162,.30));

  /* SMPTE colour-bar (lifted from the multiview mockup; reused as a brand rule) */
  --smpte: linear-gradient(90deg,#bdbdbd 0 14.28%,#c5c520 0 28.56%,#22c5c5 0 42.84%,#22c522 0 57.12%,#c522c5 0 71.4%,#c52222 0 85.68%,#2222c5 0 100%);

  /* shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* shadow */
  --shadow:    0 24px 60px -28px rgba(0,0,0,.8);
  --shadow-sm: 0 10px 30px -18px rgba(0,0,0,.9);
  --glow:      0 0 60px -10px rgba(120,90,180,.45);

  /* type */
  --font-sans: "Red Hat Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* layout */
  --maxw: 1200px;
  --nav-h: 72px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* page-wide ambient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(192,89,162,.09), transparent 60%),
    radial-gradient(1000px 700px at 12% 4%, rgba(62,92,170,.10), transparent 60%),
    radial-gradient(900px 900px at 50% 120%, rgba(107,77,160,.07), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-wide { max-width: 1320px; }
.section { padding: clamp(44px, 5.5vw, 78px) 0; position: relative; }
.section-tight { padding: clamp(36px, 4vw, 56px) 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.display {
  font-size: clamp(2.5rem, 7.2vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .98;
}
@media (max-width: 560px) { .display { letter-spacing: -.03em; line-height: 1.04; } }
.h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); letter-spacing: -.02em; }
.h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-dim); font-weight: 400; }
.muted { color: var(--text-dim); }
.mute2 { color: var(--text-mute); }

/* Eyebrow = a patch/router label, not a decorated pill. One solid source cue,
   left-aligned, like the label printed beside a source on a patch panel. */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.eyebrow::before {
  content: "\25B8";            /* ▸ — the source→destination cue used across the product UI */
  color: var(--magenta);
  font-size: .82em;
  line-height: 1;
}
.eyebrow::after { content: none; }
.eyebrow.no-line::before { content: none; }

.grad-text {
  background: linear-gradient(100deg, #e389c6 0%, #b88bd8 45%, #7fb6e2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--elev);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--bg-btn);
  color: var(--text);
  transition: transform .15s ease, box-shadow .25s ease, background-position .4s ease, filter .2s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
/* Buttons press, they don't levitate */
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn-primary {
  border: none;
  background: var(--grad);
  background-size: 140% 140%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px -12px rgba(140,70,170,.7), inset 0 1px 0 rgba(255,255,255,.25);
  color: #fff;
}
.btn-primary:hover { background-position: 100% 50%; filter: brightness(1.06); box-shadow: 0 16px 40px -12px rgba(140,70,170,.9), inset 0 1px 0 rgba(255,255,255,.3); }

.btn-ghost { background: var(--bg-2); }
.btn-ghost:hover { background: var(--panel); border-color: var(--border-2); }

/* Keyboard focus ring — the button reset strips the default, so restore it intentionally */
.btn:focus-visible, .nav-link:focus-visible, .nav-toggle:focus-visible,
.mobile-menu a.m-link:focus-visible, .link-arrow:focus-visible,
.footer-col a:focus-visible, .footer-social a:focus-visible,
.proto:focus-visible, .mod-toc a:focus-visible, .chip:focus-visible,
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 500;
  color: var(--blue-light);
  display: inline-flex; align-items: center; gap: .5em;
  transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { gap: .9em; color: #acd2f5; }
.link-arrow svg { width: 1em; height: 1em; }

/* ---------- Badges / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .04em;
  padding: .4em .8em;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-dim);
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 8px var(--blue-light); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .05em;
  padding: .28em .6em; border-radius: 6px;
  background: var(--accent-soft); color: #bcd0ff;
  border: 1px solid rgba(111,143,224,.25);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(10,13,22,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; gap: 28px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; filter: drop-shadow(0 2px 14px rgba(120,90,180,.5)); }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  font-family: var(--font-sans);
  font-size: .92rem; font-weight: 500;
  color: var(--text-dim);
  padding: .55em .85em; border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 940px) {
  .nav-menu, .nav-cta .btn:not(.nav-cta-keep) { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; }
}

/* ---- Master-control status strip (signature device; reuses the live 50fps TC) ----
   Mirrors the nav structure: full-width band, content aligned to the .container grid. */
.statusbar {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: rgba(8,11,20,.85);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.statusbar .container {
  display: flex; align-items: center; gap: 14px;
  height: 28px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-mute);
  white-space: nowrap; overflow: hidden;
}
.statusbar [data-tc], .statusbar [data-utc] { color: var(--text-dim); }
.statusbar .sb-sep { opacity: .3; }
.statusbar .sb-tally { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 7px #ff4d4d; animation: blink 1.4s ease infinite; flex: none; }
.statusbar .sb-spacer { flex: 1; }
.statusbar .sb-ok { color: #46d17e; }
@media (max-width: 760px) { .statusbar .sb-hide-sm { display: none; } }
@media (max-width: 600px) { .statusbar .container { gap: 9px; font-size: .58rem; letter-spacing: .06em; } }

/* each readout is clickable — a one-line "why this matters" popover */
.statusbar .sb-item {
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
  display: inline-flex; align-items: center; gap: .5em; padding: 0;
  background: none; border: none; cursor: pointer;
  text-decoration: underline dotted; text-decoration-color: rgba(255,255,255,.18); text-underline-offset: 4px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.statusbar .sb-item:hover, .statusbar .sb-item[aria-expanded="true"] { color: var(--text); text-decoration-color: var(--magenta); }
.statusbar .sb-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.statusbar .sb-air { color: var(--text-dim); }

.sb-pop {
  position: absolute; z-index: 200; top: 30px; left: 0;
  width: min(310px, calc(100vw - 24px));
  background: var(--panel-2); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 14px 16px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.sb-pop.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .16s ease, transform .16s ease, visibility 0s; }
.sb-pop::before { content: ""; position: absolute; top: -6px; left: var(--arrow, 22px); width: 11px; height: 11px; background: var(--panel-2); border-left: 1px solid var(--border-2); border-top: 1px solid var(--border-2); transform: rotate(45deg); }
.sb-pop .pop-title { font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #d56fb8; margin-bottom: 8px; }
.sb-pop .pop-info { font-family: var(--font-sans); font-size: .84rem; line-height: 1.52; color: var(--text-dim); }
.sb-pop .pop-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 12px; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #d56fb8; text-decoration: none; }
.sb-pop .pop-link svg { width: 1em; height: 1em; transition: transform .2s ease; }
.sb-pop .pop-link:hover { color: #e58fcd; }
.sb-pop .pop-link:hover svg { transform: translateX(3px); }
.sb-pop .pop-link[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sb-pop { transition: none; } .sb-pop .pop-link svg { transition: none; } }

/* Live-demo CTA wears a tally light — same language as the camera tiles */
.btn-tally { border-color: rgba(255,77,77,.4); }
.btn-tally .tally-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; animation: blink 1.4s ease infinite; flex: none; }
.btn-tally:hover { border-color: rgba(255,77,77,.7); }
.btn-tally:hover .tally-dot { background: #ff6a6a; }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(8,11,20,.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a.m-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.15rem; padding: 16px 8px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-dim);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a.m-link:hover { color: var(--text); }
.mobile-menu .btn { margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 90px); overflow: hidden; }
/* One still directional glow — a studio key light from top-left, not drifting blobs */
.hero-aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1;
  background:
    radial-gradient(58% 62% at 28% 22%, rgba(192,89,162,.42), transparent 64%),
    radial-gradient(50% 55% at 82% 30%, rgba(62,92,170,.30), transparent 66%);
  filter: blur(40px);
  opacity: .6;
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 35%, #000 30%, transparent 75%);
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin-inline: auto; }
.hero h1 { margin: 22px 0 0; }
.hero .lead { margin: 22px auto 0; max-width: 58ch; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font-family: var(--font-mono); font-size: .8rem; color: var(--text-mute); letter-spacing: .03em; }

/* ============================================================
   GENERIC SECTION HEAD
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 44px); }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
/* a louder section opening, used sparingly so not every head is the same weight */
.section-head.lg { max-width: 840px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head.lg h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.section-head.lg .eyebrow { margin-bottom: 22px; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--elev);
  border: 1px solid var(--border-2);
  color: var(--blue-light);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: .96rem; }
.card-link { margin-top: 16px; }

/* gradient hairline that lights up on hover */
.card.lift::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card.lift:hover::after { opacity: .6; }

/* ---------- Audience split ---------- */
/* Two different doors, not a mirror: a wide lead card + a denser one,
   each topped with its destination colour like a patched bus strip. */
.audience { display: grid; grid-template-columns: 1.16fr .84fr; gap: 22px; align-items: stretch; }
.aud-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  min-height: 360px;
  display: flex; flex-direction: column;
  background: var(--panel);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.aud-prod { padding: 44px; box-shadow: inset 0 2px 0 0 var(--magenta); }
.aud-eng  { padding: 34px; background: var(--panel-2); box-shadow: inset 0 2px 0 0 var(--blue); }
.aud-prod:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: inset 0 2px 0 0 var(--magenta), var(--shadow); }
.aud-eng:hover  { transform: translateY(-4px); border-color: var(--border-2); box-shadow: inset 0 2px 0 0 var(--blue), var(--shadow); }
.aud-card > * { position: relative; z-index: 1; }
.aud-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 16px 0 10px; }
.aud-card p { color: var(--text-dim); margin-bottom: 20px; }
.aud-list { display: grid; gap: 10px; margin-bottom: 26px; }
.aud-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-dim); }
.aud-list svg { width: 18px; height: 18px; color: var(--blue-light); flex-shrink: 0; margin-top: 3px; }
.aud-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); column-gap: 18px; row-gap: 26px; }
.bento .b { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--panel); padding: 26px; overflow: hidden; position: relative; transition: border-color .25s ease, box-shadow .25s ease; }
/* informational tiles aren't navigational — they light up, they don't lift */
.bento .b:hover { border-color: var(--border-2); box-shadow: inset 0 0 0 1px rgba(192,89,162,.16); }
.b-span-3 { grid-column: span 3; }
.b-span-2 { grid-column: span 2; }
.b-span-4 { grid-column: span 4; }
.b-span-6 { grid-column: span 6; }
.b-row-2 { grid-row: span 2; }
.b h3 { font-size: 1.15rem; margin-bottom: 6px; }
.b p { color: var(--text-dim); font-size: .92rem; }
.b .b-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.b .b-head .card-icon { margin: 0; width: 40px; height: 40px; }
.b .b-head .card-icon svg { width: 20px; height: 20px; }

/* ============================================================
   FEATURE / SPLIT ROW (text + mockup)
   ============================================================ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-row.flip .feature-media { order: -1; }
.feature-row + .feature-row { margin-top: clamp(56px, 8vw, 110px); }
.feature-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 14px 0 14px; }
.feature-copy p { color: var(--text-dim); margin-bottom: 18px; }
.feature-bullets { display: grid; gap: 12px; margin: 22px 0; }
.feature-bullets li { display: flex; gap: 12px; align-items: flex-start; }
.feature-bullets .bi { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--blue-light); margin-top: 2px; }
.feature-bullets .bi svg { width: 14px; height: 14px; }
.feature-bullets span { color: var(--text-dim); font-size: .96rem; }

/* ============================================================
   MOCKUPS (designed product UI in pure CSS/SVG)
   ============================================================ */
.mock {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #0d1322, #0a0e1a);
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.mock-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-mute); text-transform: uppercase; }
.mock-title .live { color: #62d49a; }
.mock-body { padding: 14px; }
/* (removed the perpetual hero-mockup float — the live broadcast data inside it
   is the motion; the frame now rises once via .reveal and holds still) */

/* === App chrome: browser frame + right nav rail (matches real SYGNAL UI) === */
.app { display: flex; background: #06080d; }
.app-main { flex: 1 1 auto; min-width: 0; padding: 7px; background: #06080d; }
.app-rail { width: 134px; flex: 0 0 134px; background: #0a0a10; border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 8px 7px; }
.rail-head img { height: 14px; width: auto; }
.rail-tools { display: flex; gap: 4px; }
.rail-tool { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; }
.rail-tool svg { width: 10px; height: 10px; color: #fff; }
.rail-tool.t1 { background: #1f4fb0; } .rail-tool.t2 { background: #6b3da0; }
.rail-tool.t3 { background: radial-gradient(circle at 35% 30%, #c059a2, #5a3aa0); } .rail-tool.t4 { background: #243b6b; }
.rail-tool.ham { background: none; } .rail-tool.ham svg { width: 14px; height: 14px; color: #8aa0d8; }

/* collapsed rail — icons only */
.app-rail.collapsed { width: 42px; flex-basis: 42px; }
.app-rail.collapsed .rail-head { justify-content: center; padding: 9px 0; }
.app-rail.collapsed .rail-head img { display: none; }
.app-rail.collapsed .rn { justify-content: center; padding: 8px 0; gap: 0; font-size: 0; }
.app-rail.collapsed .rn svg { width: 16px; height: 16px; }
.rail-nav { display: flex; flex-direction: column; padding: 4px; gap: 1px; overflow: hidden; }
.rn { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: .68rem; color: #c7cdda; white-space: nowrap; }
.rn svg { width: 14px; height: 14px; flex-shrink: 0; color: #8aa0d8; }
.rn.active { background: linear-gradient(100deg, #c0398f, #6b3da0); color: #fff; }
.rn.active svg { color: #fff; }
.rn.sub { padding-left: 24px; font-size: .64rem; color: #9aa3b5; }
.rn.sub.active { background: none; color: #f1a8d8; box-shadow: inset 2px 0 0 #c0398f; border-radius: 0; }

/* === Multiview (matches SYGNAL Multiview page) === */
.mv { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 5px; height: clamp(270px, 33vw, 350px); }
.mv-hero { height: auto; aspect-ratio: 16 / 9; }
.mvtile { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.mvtile .scr { position: relative; flex: 1; min-height: 0; background: #1a1d22; border-radius: 3px; overflow: hidden; container-type: size; }
.mvtile .lbl { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 3px 4px 1px; font-size: .56rem; color: #cfd3da; }
.mvtile .lbl .auto { background: #3a3f4a; color: #cfd3da; font-size: .5rem; padding: 0 4px; border-radius: 3px; }
.mv-span { grid-column: span 2; grid-row: span 2; }

/* SMPTE bars + analog clock */
.bars { position: absolute; inset: 0; background: linear-gradient(90deg,#bdbdbd 0 14.28%,#c5c520 0 28.56%,#22c5c5 0 42.84%,#22c522 0 57.12%,#c522c5 0 71.4%,#c52222 0 85.68%,#2222c5 0 100%); }
.bars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(90deg,#0a0a14 0 30%,#e9e9ee 0 38%,#0a0a14 0 64%,#26262e 0 100%); }
.tcbox { position: absolute; top: 5px; left: 5px; z-index: 3; background: rgba(0,0,0,.6); padding: 2.4cqw 3cqw; border-radius: 2px; font-family: var(--font-mono); line-height: 1.25; color: #fff; }
.tcbox .t { font-size: clamp(.4rem, 5cqw, .58rem); letter-spacing: .02em; }
.tcbox .s { color: #aeb6c4; font-size: clamp(.34rem, 4cqw, .46rem); display: block; }
.clockface { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54cqmin; height: 54cqmin; border-radius: 50%; background: #050505; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); display: grid; place-items: center; z-index: 2; }
.clockface .ticks { position: absolute; inset: 7%; border-radius: 50%; background: repeating-conic-gradient(#fff 0deg 1.4deg, transparent 1.4deg 30deg); -webkit-mask: radial-gradient(transparent 58%, #000 60%); mask: radial-gradient(transparent 58%, #000 60%); opacity: .85; }
.clockface .hand { position: absolute; width: 1.5px; height: 40%; background: #fff; bottom: 50%; left: calc(50% - .75px); transform-origin: bottom; animation: clocksweep 1s linear infinite; }
@keyframes clocksweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.clockface .fps { font-family: var(--font-mono); font-size: 8cqmin; color: #fff; z-index: 2; }

/* offline tile */
.scr.offline { background: #0c0c0e; display: grid; place-items: center; }
.scr.offline span { color: #6a6f78; font-size: .8rem; }

/* studio camera tile (pretend camera angle of a presenter) */
.camshot { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 95% at 50% 15%, #5a6c8f 0%, #2d3752 46%, #141b2c 100%); }
.camshot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.5)); }
.camshot .person { position: absolute; bottom: -4%; left: 50%; transform: translateX(-50%); width: 52%; height: 94%; color: #101827; opacity: .96; filter: drop-shadow(0 -2px 10px rgba(0,0,0,.35)); }
.camshot .tally { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 7px #ff4d4d; z-index: 2; }
.camshot.v2 { background: radial-gradient(135% 100% at 62% 18%, #6f5a7c 0%, #3a3052 46%, #181426 100%); }
.camshot.v2 .person { width: 38%; left: 44%; bottom: -2%; color: #15101f; }
.camshot.v2 .tally { background: #46d17e; box-shadow: 0 0 7px #46d17e; }

/* iframe web tiles */
.web { position: absolute; inset: 0; background: #fff; color: #14171c; padding: 6cqw; overflow: hidden; }
.web .tlogo { display: inline-block; background: #c0392b; color: #fff; font-weight: 800; font-size: 5cqw; letter-spacing: .06em; padding: 1.5cqw 2.5cqw; border-radius: 3px; }
.web .twarn { font-size: 4.6cqw; color: #444; margin-top: 4cqw; line-height: 1.25; font-weight: 700; }
.web .ttime { font-family: var(--font-mono); font-weight: 800; font-size: 17cqw; color: #111; margin-top: 1cqw; }
.web.weather { background: linear-gradient(135deg,#2f8f5a 0%, #2f9f8f 45%, #2f6fa5 100%); padding: 0; }
.web.weather .map { position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,.6) 0 1px, transparent 2px), radial-gradient(circle at 62% 64%, rgba(255,255,255,.5) 0 1px, transparent 2px); background-size: 20px 20px; }
.web.weather .wstreak { position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.16) 0 1px, transparent 1px 9px); }
.web.weather .wchip { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.35); color: #fff; font-size: .5rem; padding: 1px 6px; border-radius: 10px; }

/* prompter tile — classic teleprompter: cue arrow left, scrolling script */
.ptile { position: absolute; inset: 0; background: #000; overflow: hidden; display: grid; grid-template-columns: clamp(16px, 7cqw, 34px) 1fr; }
.ptile .pt-gutter { position: relative; }
.ptile .pt-cue { position: absolute; top: 18%; left: 0; width: 100%; text-align: center; color: #00cfff; font-size: clamp(12px, 5.5cqw, 22px); line-height: 1; filter: drop-shadow(0 0 4px rgba(0,207,255,.6)); }
.ptile .pt-scroll { position: relative; overflow: hidden; }
.ptile .pt-track { position: absolute; left: 0; right: 0; top: 0; padding-right: 8cqw; animation: ptscroll 26s linear infinite; }
.ptile .pt-line { color: #eef1f8; font-weight: 700; font-size: clamp(.72rem, 4cqw, 1.55rem); line-height: 1.42; margin: 0 0 .55em; }
.ptile .pt-name { display: inline-block; background: #d94fb0; color: #160a12; font-weight: 800; padding: 0 .45em; margin-right: .35em; }
@keyframes ptscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .ptile .pt-track { animation: none; transform: translateY(4%); } }

/* --- Scopes --- */
.scope { aspect-ratio: 1; border-radius: 7px; border: 1px solid rgba(255,255,255,.08); background: radial-gradient(circle at 50% 50%, #0a1120, #05070d); position: relative; overflow: hidden; }
.scope .grat { position: absolute; inset: 0; }
.scope .label { position: absolute; top: 5px; left: 6px; font-family: var(--font-mono); font-size: .52rem; color: var(--text-mute); letter-spacing: .08em; }

/* === Routing — toolbar shared === */
.rtr-tb { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: .56rem; color: var(--text-dim); flex-wrap: wrap; }
.rtr-tb b { color: #fff; font-weight: 700; }
.rtr-chip { font-family: var(--font-mono); font-size: .5rem; padding: 2px 7px; border-radius: 10px; border: 1px solid var(--border); color: var(--text-dim); }
.rtr-chip.live { color: #46d17e; border-color: rgba(70,200,140,.4); }
.rtr-views { margin-left: auto; display: flex; gap: 2px; background: #0c1018; border: 1px solid var(--border); border-radius: 7px; padding: 2px; }
.rtr-views span { font-size: .55rem; padding: 2px 9px; border-radius: 5px; color: var(--text-mute); }
.rtr-views span.on { background: linear-gradient(100deg,#c0398f,#6b3da0); color: #fff; }

/* === Routing — XY source/destination view === */
.rtr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 11px 13px; }
.rtr-col-h { font-size: .56rem; font-weight: 800; letter-spacing: .09em; color: #d046a0; margin-bottom: 4px; }
.rtr-grp { font-size: .5rem; letter-spacing: .05em; color: var(--text-mute); padding: 6px 4px 3px; }
.rtr-grp .n { color: #cfd6e6; }
.rtr-row { display: flex; align-items: center; gap: 8px; padding: 2.5px 7px; border-radius: 3px; border-bottom: 1px solid var(--hairline); }
.rtr-row .rn2 { font-family: var(--font-mono); font-size: .52rem; color: var(--text); white-space: nowrap; flex: 0 0 auto; }
.rtr-row.np .mtr { margin-left: auto; }
.rtr-row .pill { margin-left: auto; min-width: 0; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; font-family: var(--font-mono); font-size: .46rem; background: #161b29; border: 1px solid var(--border); border-radius: 10px; padding: 2px 7px; color: #cfd6e6; }
.rtr-row .pill .ar { color: #9aa3b5; }
.rtr-row .pill .db { color: #aeb6c4; }
.rtr-row .mtr { width: 26px; height: 5px; border-radius: 2px; background: rgba(255,255,255,.08); flex-shrink: 0; }
.rtr-row .mtr.on { background: linear-gradient(90deg,#2ecc71,#46d17e); }
.rtr-row.sel { background: linear-gradient(100deg,#7a2f86,#3a2f8a); border-bottom-color: transparent; }
.rtr-row.sel .rn2 { color: #fff; }
.rtr-row.sel .pill { background: rgba(0,0,0,.3); border-color: rgba(255,255,255,.18); }
.rtr-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 13px; border-top: 1px solid var(--border); font-size: .5rem; color: var(--text-mute); }
.rtr-foot .patch { background: linear-gradient(100deg,#a3279a,#6b2fa0); color: #fff; font-weight: 700; padding: 5px 20px; border-radius: 6px; font-size: .62rem; }
.rtr-foot .mini { display: flex; align-items: center; gap: 5px; }
.rtr-foot .mini b { display: inline-flex; align-items: center; line-height: 1; padding: 4px 8px; border-radius: 5px; font-weight: 700; }
.rtr-foot .mini .del { background: #c0392b; color: #fff; }
.rtr-foot .mini .clr { background: #2a2f3a; color: #cfd6e6; }

/* === Routing — Grid pin-patch === */
.pp { display: grid; gap: 2.5px; font-family: var(--font-mono); padding: 10px 12px; }
.pp-row { display: grid; grid-template-columns: 32px repeat(var(--c,7), 1fr); gap: 2.5px; align-items: center; }
.pp-hd { font-size: .4rem; color: var(--text-mute); text-align: center; }
.pp-hd.src { text-align: left; color: var(--text-dim); font-size: .44rem; }
.pp-cell { aspect-ratio: 1; border-radius: 2px; background: rgba(255,255,255,.035); border: 1px solid var(--border); display: grid; place-items: center; font-size: .32rem; color: #cfe0ff; }
.pp-cell.on { background: #2f6cf0; border-color: transparent; color: #fff; }
.pp-cell.staged { background: #7a6a1f; border-color: #bfa53a; color: #fff; }

/* === Comms panel (matches SYGNAL Comms page) === */
.comms { background: #06080d; }
.comms-tb { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: .6rem; color: #c7cdda; flex-wrap: wrap; }
.comms-tb .tab { display: flex; align-items: center; gap: 5px; padding-bottom: 5px; }
.comms-tb .tab.active { color: #fff; box-shadow: inset 0 -2px 0 #c0398f; }
.comms-tb .o { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #6b7280; }
.comms-tb .tbtn { display: flex; align-items: center; gap: 5px; color: #c7cdda; padding-bottom: 5px; }
.comms-tb .tbtn.active { color: #fff; box-shadow: inset 0 -2px 0 #c0398f; }
.comms-tb svg { width: 12px; height: 12px; }
.comms-tb .sp { flex: 1; }
.comms-body { padding: 9px; display: grid; gap: 9px; }
.cgrouphead { font-size: .6rem; font-weight: 800; color: #fff; padding: 3px 10px; border-radius: 4px; }
.cgrouphead.blue { background: #2f6cf0; }
.cgrouphead.mag { background: #d046a0; }
.cgrid { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 5px; margin-top: 5px; }
.ckey { position: relative; border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; aspect-ratio: 1 / 1.16; background: #1a1d22; border: 1px solid rgba(255,255,255,.08); }
.ckey .face { flex: 1; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(165deg, #3a4150, #1c2029); }
.ckey .face .sil { width: 62%; height: 62%; color: rgba(255,255,255,.22); }
.ckey .face .grp, .ckey .face .hs { width: 46%; height: 46%; color: rgba(255,255,255,.6); }
.ckey .mic { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; z-index: 2; }
.ckey .mic svg { width: 9px; height: 9px; color: #fff; }
.ckey .lvl { position: absolute; top: 3px; right: 3px; display: flex; align-items: center; gap: 3px; font-family: var(--font-mono); font-size: .48rem; background: rgba(0,0,0,.55); color: #fff; padding: 0 4px; border-radius: 8px; z-index: 2; }
.ckey .lvl .star { color: #ffcc00; }
.ckey .nm { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; color: #fff; font-weight: 700; font-size: .58rem; text-shadow: 0 1px 3px #000, 0 0 8px #000; z-index: 2; }
.ckey .st { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 2px; font-size: .46rem; font-weight: 700; letter-spacing: .03em; color: #fff; background: #272c36; }
.ckey .st svg { width: 9px; height: 9px; }
.ckey.blue .face { background: linear-gradient(165deg, #34507e, #1b2740); }
.ckey.blue .st { background: #2a3c5e; } .ckey.blue { box-shadow: inset 0 2px 0 #2f6cf0; }
.ckey.mag .face { background: linear-gradient(165deg, #6e3566, #2e1a2a); }
.ckey.mag .st { background: #5a2f54; } .ckey.mag { box-shadow: inset 0 2px 0 #d046a0; }
.ckey.pl .face { background: linear-gradient(165deg, #1f6b40, #103626); }
.ckey.pl .st { background: #198754; } .ckey.pl { box-shadow: inset 0 2px 0 #2ecc71; }
.ckey.ifb .face { background: linear-gradient(165deg, #9a5a1f, #4f3014); }
.ckey.ifb .st { background: #b5651d; } .ckey.ifb { box-shadow: inset 0 2px 0 #fd7e14; }
.ckey.ctrl .face { background: linear-gradient(165deg, #333a47, #1b1f28); } .ckey.ctrl .st { background: #2b313c; } .ckey.ctrl { box-shadow: inset 0 2px 0 #5a6378; }
.ckey.ctrl .face .grp { color: rgba(255,255,255,.7); }

/* --- Node automation --- */
.nodes { position: relative; min-height: 230px; }
.node {
  position: absolute; width: 132px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border-2); background: linear-gradient(180deg,#141b2e,#0e1322);
  font-family: var(--font-mono); box-shadow: var(--shadow-sm);
}
.node .nt { font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); }
.node .nn { font-size: .78rem; margin-top: 2px; }
.node .port { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--panel); border: 2px solid var(--blue); top: 50%; transform: translateY(-50%); }
.node .port.in { left: -5px; } .node .port.out { right: -5px; }
.node-wire { position: absolute; inset: 0; pointer-events: none; }
.node-wire path { fill: none; stroke: url(#wireG); stroke-width: 2; stroke-linecap: round; }
.dash { stroke-dasharray: 5 7; animation: dashflow 1.2s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -24; } }

/* --- Monitoring / grafana --- */
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-tile { border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: rgba(255,255,255,.02); }
.stat-tile .sl { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; color: var(--text-mute); text-transform: uppercase; }
.stat-tile .sv { font-size: 1.3rem; font-weight: 700; margin-top: 2px; }
.stat-tile .sv small { font-size: .7rem; color: var(--text-dim); font-weight: 400; }
.spark { width: 100%; height: 34px; margin-top: 6px; }
.spark path.line { fill: none; stroke: var(--blue-light); stroke-width: 2; }
.spark path.area { fill: url(#sparkG); opacity: .5; }
.chart-big { border: 1px solid var(--border); border-radius: 10px; padding: 14px; background: rgba(255,255,255,.02); }
.chart-big svg { width: 100%; height: 130px; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .n { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; letter-spacing: -.045em; line-height: .9; color: var(--text); }
.stat .n .u { font-size: .32em; font-family: var(--font-mono); font-weight: 500; color: var(--text-dim); letter-spacing: 0; margin-left: .14em; white-space: nowrap; vertical-align: .35em; }
.stat .l { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-mute); text-transform: uppercase; margin-top: 10px; }

/* logos / genre strip */
.genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; }
.genres span { font-family: var(--font-mono); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }

/* ============================================================
   PROTOCOL / SPEC LISTS
   ============================================================ */
.proto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.proto {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .03em;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-2);
  display: flex; align-items: center; gap: 8px; color: var(--text-dim);
  transition: .2s;
}
.proto:hover { border-color: var(--border-2); color: var(--text); background: var(--panel); }
.proto .pd { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }

/* spec table */
.spec { width: 100%; border-collapse: collapse; }
.spec td { padding: 14px 4px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.spec td:first-child { font-family: var(--font-mono); font-size: .82rem; color: var(--text-mute); width: 38%; letter-spacing: .03em; }
.spec td:last-child { color: var(--text-dim); }

/* ============================================================
   MODULES PAGE
   ============================================================ */
.mod-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-toc a {
  font-family: var(--font-mono); font-size: .78rem;
  padding: .5em .85em; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-dim);
  transition: .2s;
}
.mod-toc a:hover { border-color: var(--border-2); color: var(--text); background: rgba(255,255,255,.04); }

.module-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  padding: 22px 24px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--panel);
  scroll-margin-top: 116px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.module-item:hover { border-color: var(--border-2); box-shadow: inset 2px 0 0 0 var(--magenta); }
.module-item .m-ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--elev); border: 1px solid var(--border-2); color: var(--blue-light); }
.module-item .m-ico svg { width: 26px; height: 26px; }
.module-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.module-item p { color: var(--text-dim); font-size: .97rem; }
.module-item .num { font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(40px, 6vw, 76px); text-align: center; border: 1px solid var(--border-2); }
.cta-band .cbg { position: absolute; inset: 0; z-index: 0; background: var(--grad); }
.cta-band .cbg2 { position: absolute; inset: 0; z-index: 0; background: radial-gradient(80% 120% at 50% -10%, rgba(255,255,255,.14), transparent 55%), radial-gradient(90% 140% at 50% 130%, rgba(8,11,20,.45), transparent 55%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lead { margin-inline: auto; margin-bottom: 28px; color: rgba(255,255,255,.88); }
.cta-band .eyebrow { justify-content: center; margin-bottom: 16px; }
.cta-band .btn-ghost { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.35); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(0,0,0,.42); border-color: rgba(255,255,255,.5); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FORM
   ============================================================ */
.form-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .05em; color: var(--text-dim); text-transform: uppercase; }
.field input, .field textarea, .field select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-bottom: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 13px 15px; color: var(--text);
  transition: .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(46,67,154,.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--text-mute); }
.form-ok { display:none; padding: 16px; border-radius: 12px; border: 1px solid rgba(70,200,140,.4); background: rgba(70,200,140,.08); color: #9be7c0; font-family: var(--font-mono); font-size: .9rem; }

/* contact split */
.contact-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-aside .ci { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.contact-aside .ci svg { width: 22px; height: 22px; color: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.contact-aside .ci .t { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.contact-aside .ci .v { color: var(--text); }
.demo-box { margin-top: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; background: var(--panel); }
.demo-box code { font-family: var(--font-mono); background: rgba(255,255,255,.06); padding: 2px 7px; border-radius: 5px; font-size: .85rem; color: #cfe0ff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: none; background: var(--footer-bg); padding: 64px 0 36px; margin-top: 40px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--smpte); opacity: .55; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-mute); font-size: .9rem; max-width: 36ch; }
.footer h4 { font-family: var(--font-sans); font-size: .82rem; font-weight: 700; letter-spacing: .01em; text-transform: none; color: var(--text-dim); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-dim); font-size: .92rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.footer-bottom p { color: var(--text-mute); font-size: .82rem; font-family: var(--font-mono); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-dim); transition: .2s; }
.footer-social a:hover { color: var(--text); border-color: var(--border-2); background: rgba(255,255,255,.04); }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.page-head .hero-aurora { opacity: .4; }
/* interior page heads are big & confident, but sit below the homepage hero in the scale */
.page-head h1 { margin: 18px 0 0; max-width: 17ch; font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
.page-head .lead { margin-top: 20px; max-width: 60ch; }
.page-head .hero-cta { justify-content: flex-start; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
/* content-aware variants: split rows open from their own edge, mockups scale in */
.reveal-l, .reveal-r, .reveal-scale { opacity: 0; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-l { transform: translateX(-26px); }
.reveal-r { transform: translateX(26px); }
.reveal-scale { transform: scale(.965); transition-duration: .85s; }
.reveal-l.in, .reveal-r.in, .reveal-scale.in { opacity: 1; transform: none; }
@media (max-width: 860px) { .reveal-l, .reveal-r { transform: translateY(22px); } }

/* --- Replay timeline --- */
.timeline { font-family: var(--font-mono); }
.tl-bins { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tl-bin { font-size: .68rem; padding: .4em .7em; border-radius: 7px; border: 1px solid var(--border); color: var(--text-dim); display: flex; gap: 6px; align-items: center; }
.tl-bin .c { width: 8px; height: 8px; border-radius: 2px; }
.tl-track { position: relative; height: 46px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--border); overflow: hidden; }
.tl-track + .tl-track { margin-top: 8px; }
.tl-ticks { position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--hairline) 1px, transparent 1px); background-size: 40px 100%; }
.tl-clip { position: absolute; top: 7px; height: 32px; border-radius: 5px; display: flex; align-items: center; padding: 0 8px; font-size: .6rem; color: #fff; overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.tl-clip.c1 { background: #3e5caa; }
.tl-clip.c2 { background: #c059a2; }
.tl-clip.c3 { background: #2e7d5b; }
.tl-play { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #ff5b5b; box-shadow: 0 0 10px #ff5b5b; animation: playhead 6s linear infinite; }
@keyframes playhead { 0%{ left: 4% } 100%{ left: 96% } }
.tl-play::before { content:""; position:absolute; top:0; left:-4px; border:5px solid transparent; border-top-color:#ff5b5b; }

/* --- Phone frame --- */
.phone { width: 230px; margin-inline: auto; border-radius: 34px; border: 1px solid var(--border-2); background: #05070d; padding: 10px; box-shadow: var(--shadow), var(--glow); position: relative; }
.phone .notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.18); z-index: 3; }
.phone-screen { border-radius: 26px; overflow: hidden; aspect-ratio: 9/19; position: relative; background: linear-gradient(160deg,#1c2b52,#6b4da0 60%,#c059a2); }
.phone-screen .scan { position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 3px, rgba(0,0,0,.10) 3px 4px); }
.phone-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 12px 16px; font-family: var(--font-mono); }
.phone-top { display: flex; justify-content: space-between; align-items: center; }
.rec { display: flex; align-items: center; gap: 5px; font-size: .6rem; color: #fff; background: rgba(0,0,0,.35); padding: 3px 7px; border-radius: 999px; }
.rec .d { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: blink 1.4s ease infinite; }
@keyframes blink { 50%{ opacity: .25 } }
.phone-grid3 { position: absolute; inset: 30px 12px 70px; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 33.33% 33.33%; }
.rcp { background: rgba(0,0,0,.4); border-radius: 12px; padding: 10px; backdrop-filter: blur(6px); display: grid; gap: 8px; }
.rcp .rrow { display: flex; align-items: center; gap: 8px; font-size: .58rem; color: #dfe6f2; }
.rcp .rrow .rl { width: 30px; }
.rcp .rbar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); position: relative; }
.rcp .rbar i { position: absolute; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 8px var(--blue-light); }

/* --- Federation diagram --- */
.fed { position: relative; min-height: 280px; display: grid; place-items: center; }
.fed svg { width: 100%; height: auto; }
.fed-node { font-family: var(--font-mono); }

/* --- Persona value cards row --- */
.value-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 860px){ .value-3 { grid-template-columns: 1fr; } }

/* ---------- Divider ---------- */
.hr { height: 1px; background: var(--border); border: 0; margin: 0; }
.glow-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(150,120,200,.5), transparent); border: 0; margin-bottom: clamp(32px, 5vw, 56px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-span-3, .b-span-4, .b-span-6 { grid-column: span 2; }
  .b-span-2 { grid-column: span 1; }
  .b-row-2 { grid-row: span 1; }
}
@media (max-width: 860px) {
  .audience { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
  .contact-split { grid-template-columns: 1fr; gap: 32px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dash-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-span-3, .b-span-4, .b-span-6, .b-span-2 { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .module-item { grid-template-columns: 1fr; }
  .module-item .m-ico { width: 48px; height: 48px; }
}
@media (max-width: 600px) {
  .app-rail { width: 104px; flex-basis: 104px; }
  .rn { font-size: .62rem; gap: 6px; padding: 5px 6px; }
  .rn.sub { display: none; }
}

/* ============================================================
   ERROR PAGES  (404 / 500 / 403 / 503)
   A glassy "off air" multiviewer tile: glitched status code, live
   timecode, SMPTE rule, tally readout. Per-page accent via four vars
   set on .err — defaults below match the 404 "off air" look.
   ============================================================ */
.err {
  --err-c1:   var(--magenta);     /* glitch split A + arrow + chip cue */
  --err-c2:   var(--blue-light);  /* glitch split B + readout value    */
  --err-kick: var(--magenta);     /* kicker label                      */
  --err-dot:  var(--red);         /* tally dot                         */
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; overflow: hidden;
}
.err .hero-inner { padding: clamp(40px, 7vw, 88px) 0; max-width: 760px; }

/* ---- the monitor / multiviewer tile ---- */
.screen {
  position: relative; margin: 0 auto;
  border-radius: var(--r-lg); border: 1px solid var(--border-2);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(192,89,162,.16), transparent 60%),
    linear-gradient(180deg, #0c1120 0%, #080b14 100%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden; isolation: isolate;
}
/* faint TV static + scanlines, kept very subtle and behind the content */
.screen::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: screen; animation: errstatic 1.1s steps(2) infinite;
}
.screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.16) 2px 3px);
  opacity: .55;
}
@keyframes errstatic { 0%{ transform: translate(0,0); } 100%{ transform: translate(2%, -1%); } }

.screen-head, .screen-body, .screen-foot { position: relative; z-index: 2; }

/* tile header — a multiviewer source label strip */
.screen-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute);
}
.screen-head .sh-left { display: inline-flex; align-items: center; gap: .6em; min-width: 0; color: var(--text-dim); }
.screen-head .sh-right { display: inline-flex; align-items: center; gap: .7em; }
.screen-head .tc { color: var(--blue-light); }
.sig-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--err-dot);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--err-dot) 60%, transparent), 0 0 10px 1px var(--err-dot);
  animation: sigblink 1.4s ease-in-out infinite;
}
@keyframes sigblink {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--err-dot) 55%, transparent), 0 0 10px 1px var(--err-dot); }
  50%     { opacity: .35; box-shadow: 0 0 0 5px color-mix(in srgb, var(--err-dot) 0%, transparent), 0 0 6px 0 color-mix(in srgb, var(--err-dot) 40%, transparent); }
}

/* tile body */
.screen-body { padding: clamp(26px, 5vw, 52px) clamp(20px, 5vw, 56px) clamp(22px, 4vw, 40px); text-align: center; }
.screen-kicker {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--err-kick); margin-bottom: 6px;
}

/* the glitched status code — chromatic aberration in the page accents */
.glitch {
  position: relative; display: inline-block;
  font-family: var(--font-sans); font-weight: 900;
  font-size: clamp(5rem, 21vw, 11.5rem); line-height: .86; letter-spacing: -.05em;
  background: var(--grad); background-size: 140% 140%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: errflow 9s ease infinite;
}
@keyframes errflow { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  -webkit-text-fill-color: currentColor; mix-blend-mode: screen; opacity: .85;
}
.glitch::before { color: var(--err-c1); animation: errglitch1 2.6s steps(2,end) infinite; }
.glitch::after  { color: var(--err-c2); animation: errglitch2 3.4s steps(2,end) infinite; }
@keyframes errglitch1 {
  0%,72%,100% { transform: translate(0,0); clip-path: inset(0 0 100% 0); }
  74% { transform: translate(-3px,-1px); clip-path: inset(8% 0 56% 0); }
  80% { transform: translate(3px,1px);  clip-path: inset(40% 0 20% 0); }
  86% { transform: translate(-2px,0);   clip-path: inset(70% 0 6% 0); }
}
@keyframes errglitch2 {
  0%,66%,100% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
  68% { transform: translate(3px,1px);  clip-path: inset(62% 0 14% 0); }
  76% { transform: translate(-3px,0);   clip-path: inset(30% 0 48% 0); }
  84% { transform: translate(2px,-1px); clip-path: inset(4% 0 78% 0); }
}

.screen .screen-title { margin: 6px 0 0; font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.screen .screen-lead { margin: 14px auto 0; max-width: 40ch; overflow-wrap: break-word; }

/* readout — a router/tally line (requested route, fault ref, status…) */
.readout {
  display: inline-flex; align-items: center; gap: .7em; max-width: 100%;
  margin: 22px auto 0; padding: .55em 1em;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.03);
  font-family: var(--font-mono); font-size: .8rem; color: var(--text-dim);
}
.readout .ro-label { letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; color: var(--text-mute); white-space: nowrap; }
.readout code {
  font-family: var(--font-mono); color: var(--err-c2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(46vw, 360px);
}
.readout .ro-arrow { color: var(--err-c1); }

/* SMPTE colour-bar rule across the foot of the tile */
.screen-foot { height: 10px; background: var(--smpte); opacity: .85; }

/* CTAs + "tune to another channel" quick links */
.err-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.err-chans { margin-top: 30px; }
.err-chans .ec-eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.err-chans .ec-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ec-chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em 1em; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--bg-2);
  font-family: var(--font-mono); font-size: .82rem; color: var(--text-dim);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .15s ease;
}
.ec-chip::before { content: "\25B8"; color: var(--err-c1); font-size: .85em; }
.ec-chip:hover { color: var(--text); border-color: var(--border-2); background: var(--panel); transform: translateY(-1px); }

@media (max-width: 560px) {
  .err .screen-head { letter-spacing: .1em; font-size: .66rem; padding: 10px 12px; }
  .readout { font-size: .74rem; }
}

/* ============================================================
   Cross-document view transitions (multi-page)
   A clean broadcast-style cut between pages: the nav, status strip
   and footer stay anchored (they morph in place) while the page body
   cross-dissolves and settles up a few pixels. The downloads app loads
   this same stylesheet, so the chrome carries across that boundary too.
   Chrome/Edge 126+; silently ignored elsewhere; off under reduced-motion.
   ============================================================ */
/* Cross-document page transitions — minimal & safe: the default root cross-fade
   on same-origin navigation, nothing more. The element-level view-transition-name
   morph (nav / status strip / footer) was REMOVED 2026-06-26 — giving the STICKY
   status strip a view-transition-name caused vast layout gaps between sections.
   Do NOT reintroduce per-element view-transition-names without browser-testing.
   Chrome/Edge 126+; silently ignored elsewhere; off under reduced-motion. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }


/* ============================================================
   VIDEO SCOPES (for-engineers) — moved out of the page's inline <style>
   ============================================================ */
.scopes-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vscope { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #06080e; }
.vscope-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; border-bottom: 1px solid var(--hairline); background: rgba(255,255,255,.015); }
.vscope-head .vs-name { font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.vscope-head .vs-tag { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; color: var(--text-mute); }
.vscope-screen { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(125% 130% at 50% 38%, #0a141f 0%, #05080f 68%, #03040a 100%); }
.vscope-screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vscope-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.16) 2px 3px); opacity: .4; }
@media (max-width: 760px) { .scopes-row { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ============================================================
   DEMO GATE / UNDER CONSTRUCTION (/demo/) — moved out of the page's inline <style>
   ============================================================ */
.uc { position: relative; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; overflow: hidden; }
.uc .hero-inner { padding: clamp(40px, 8vw, 96px) 0; }

/* brand emblem — soft halo + logo + expanding "sonar" rings (no static, no in/out bounce) */
.uc-emblem { position: relative; width: 104px; height: 104px; margin: 0 auto 30px; display: grid; place-items: center; }
.uc-emblem::before { content: ""; position: absolute; inset: 14%; border-radius: 999px; z-index: 0; background: radial-gradient(closest-side, rgba(192,89,162,.18), transparent 72%); }
.uc-emblem img { width: 54px; height: 54px; position: relative; z-index: 2; filter: drop-shadow(0 8px 24px rgba(140,70,170,.55)); }
.uc-emblem .ring,
.uc-emblem .pulse { position: absolute; inset: 0; border-radius: 999px; z-index: 1; border: 1px solid var(--magenta); opacity: 0; animation: ucpulse 4.8s ease-out infinite; }
.uc-emblem .ring    { animation-delay: 0s; }
.uc-emblem .pulse   { animation-delay: 1.6s; border-color: var(--blue-light); }
.uc-emblem .pulse.b { animation-delay: 3.2s; border-color: var(--magenta); }
@keyframes ucpulse {
  0%   { transform: scale(.7); opacity: .6; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* status pill */
.uc-pill { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-light); padding: .5em 1em; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255,255,255,.03); }
.uc-pill .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--magenta); box-shadow: 0 0 0 0 rgba(192,89,162,.6); animation: ucblink 1.8s ease-in-out infinite; }
@keyframes ucblink { 0%,100%{ box-shadow: 0 0 0 0 rgba(192,89,162,.55); opacity: 1; } 50%{ box-shadow: 0 0 0 6px rgba(192,89,162,0); opacity: .55; } }

/* indeterminate progress bar */
.uc-progress { max-width: 360px; margin: 36px auto 0; }
.uc-bar { position: relative; height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--border); overflow: hidden; }
.uc-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: -42%; width: 42%; border-radius: 999px; background: var(--grad); background-size: 200% 100%; animation: ucslide 2.4s cubic-bezier(.4,.1,.3,1) infinite, btnflow 8s ease infinite; }
@keyframes ucslide { 0%{ left: -42%; } 100%{ left: 100%; } }
.uc-progress-note { margin-top: 14px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em; color: var(--text-mute); }

@media (max-width: 560px) { .uc-emblem { width: 88px; height: 88px; } .uc-emblem img { width: 46px; height: 46px; } }
