/* TeqComms site: "Signal" design. Strict CSP: no inline styles anywhere,
   motion is CSS only and stops for prefers-reduced-motion. */
:root {
  --page: #0F1016;
  --panel: #191A24;
  --raised: #212331;
  --screen: #0C0D12;
  --line: #2E3146;
  --line-hi: #4A4E6A;
  --indigo: #2B2D42;        /* Space Indigo */
  --text: #EDF2F4;          /* Platinum: text and live */
  --body: #B4BCCB;
  --nav: #C9CFDA;
  --muted: #8D99AE;         /* Lavender Grey */
  --live: #EDF2F4;
  --live-text: #EDF2F4;
  --live-hover: #FFFFFF;
  --live-bg: rgba(237, 242, 244, 0.08);
  --live-line: rgba(237, 242, 244, 0.45);
  --onair: #EF233C;         /* Punch Red: on air, primary actions */
  --onair-hot: #FF3B52;
  --onair-ink: #FFFFFF;
  --onair-glow: 0 0 24px rgba(239, 35, 60, 0.55);
  --error: #FF8A8E;
  --error-bg: rgba(255, 92, 99, 0.12);
  --error-line: rgba(255, 138, 142, 0.45);
  --grid: rgba(237, 242, 244, 0.035);
  --tick: rgba(141, 153, 174, 0.5);
  --head: "Space Grotesk", system-ui, sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
main { flex: 1; }
a { color: var(--live-text); }
a:hover { color: var(--live-hover); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: 44px; letter-spacing: -0.03em; }
h2 { font-size: 32px; }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }
code { font-size: 13px; color: var(--live-text); overflow-wrap: anywhere; }
em { color: var(--text); font-style: normal; font-weight: 600; }
svg { display: block; }

/* Signal texture: faint 24px grid, and crop-mark corner ticks. */
.sg-grid { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.ticks, .card, .step, .plan, .steps-list li, .table-box {
  background-image:
    linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)),
    linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)),
    linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)),
    linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick));
  background-repeat: no-repeat;
  background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px;
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
}

/* Layout */
.wrap { max-width: 1248px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }
.page-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.alerts { padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.inline { display: inline; margin: 0; }
main:has(.page) { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(15, 16, 22, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 36px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; color: var(--text); text-decoration: none; flex: none; }
.brand-logo { height: 30px; width: auto; }
.nav { display: flex; gap: 32px; flex: 1; font-size: 15px; }
.nav-end { display: flex; align-items: center; gap: 20px; font-size: 15px; margin-left: auto; }
.nav a, .nav-end a:not(.button), .nav-end button.link { color: var(--nav); text-decoration: none; }
.nav a:hover, .nav-end a:not(.button):hover, .nav-end button.link:hover { color: var(--text); }
.nav-end .button { box-shadow: var(--onair-glow); }

/* Footer */
.foot { background: #0B0C11; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; }
.foot-mark { width: 26px; height: 26px; flex: none; background: url(/favicon.svg) center / contain no-repeat; }
.foot-status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.foot-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px rgba(237, 242, 244, 0.6); }

/* Buttons */
.button, button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px;
  border-radius: 6px; border: 1px solid var(--onair); background: var(--onair); color: var(--onair-ink);
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.button:hover, button.button:hover { background: var(--onair-hot); border-color: var(--onair-hot); color: var(--onair-ink); box-shadow: var(--onair-glow); }
.button.ghost { background: rgba(25, 26, 36, 0.6); border-color: var(--line-hi); color: var(--text); box-shadow: none; }
.button.ghost:hover { background: var(--live-bg); border-color: var(--live); color: var(--live-hover); box-shadow: none; }
.button.big { height: 56px; padding: 0 28px; border-radius: 8px; font-size: 17px; }
.button.big:not(.ghost) { box-shadow: var(--onair-glow), inset 0 -3px 0 rgba(0, 0, 0, 0.18); }
.button.block { display: flex; width: 100%; height: 46px; }
.buttons { display: flex; gap: 14px; flex-wrap: wrap; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--live-text); cursor: pointer; text-decoration: underline; }
button.link.danger, .danger { color: var(--error); }
button.link.danger:hover { color: #FFB3B5; }

/* Labels and text */
.sg-mono, .eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nav); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(25, 26, 36, 0.7); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--onair); box-shadow: 0 0 10px rgba(239, 35, 60, 0.9); }
.eyebrow { font-size: 11px; font-weight: 500; color: var(--muted); }
.eyebrow::before { content: "/ "; color: var(--onair); }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 620px; }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.note.sg-mono { font-size: 11px; }
.body { color: var(--body); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; padding: 4px 8px; border-radius: 3px; background: var(--onair); color: var(--onair-ink); white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; }
.status { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line); color: var(--muted); }
.status-paid { color: var(--live-text); border-color: var(--live-line); background: var(--live-bg); }

/* Panels and cards */
.card { background-color: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card > h2 { font-size: 22px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.narrow { width: 100%; max-width: 460px; margin: 0 auto; }
.narrow.card { border-top: 2px solid var(--onair); }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 6px; border: 1px solid; font-size: 15px; }
.alert.error { background: var(--error-bg); border-color: var(--error-line); color: var(--error); }
.alert.ok { background: var(--live-bg); border-color: var(--live-line); color: var(--live-text); }
.alert.warn { background: rgba(239, 35, 60, 0.1); border-color: rgba(239, 35, 60, 0.5); color: var(--onair); }

/* Forms */
label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); min-width: 0; }
input {
  font: inherit; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; height: 48px; padding: 0 14px; border-radius: 6px; width: 100%;
  background: var(--screen); border: 1px solid var(--line); color: var(--text); color-scheme: dark;
}
input::placeholder { color: #6B7289; }
input:focus { outline: none; border-color: var(--live); box-shadow: 0 0 0 3px rgba(237, 242, 244, 0.2); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--onair); outline-offset: 2px; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row label { flex: 1 1 200px; }
.row label.wide { flex: 2 1 280px; }
.form-foot { font-size: 14px; color: var(--muted); }

/* Tables */
.table-box { background-color: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.card .table-box { background-color: var(--screen); }
.table-box table { min-width: 600px; }
.invoice .table-box table { min-width: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: rgba(43, 45, 66, 0.45); white-space: nowrap; }
td { color: var(--body); }
td.name { font-family: var(--head); font-weight: 600; font-size: 16px; color: var(--text); white-space: nowrap; }
td.num, .price { font-family: var(--mono); font-weight: 700; color: var(--text); white-space: nowrap; }
td.right, th.right { text-align: right; }
tr.hl td { background: rgba(239, 35, 60, 0.08); }
tr.hl td:first-child { box-shadow: inset 3px 0 0 var(--onair); }
.prices { min-width: 760px; }
.prices td:last-child { min-width: 260px; }

/* Steps (home and download) */
.step { background-color: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--mono); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: #3E4260; }
.step.live .step-n { color: var(--onair); }
.step h3 { margin-top: 8px; font-size: 22px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Plan cards */
.plan { position: relative; background-color: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan.popular { --tick: var(--onair); border-color: var(--onair); background-color: #23151D; box-shadow: 0 0 24px rgba(239, 35, 60, 0.25), 0 30px 80px rgba(0, 0, 0, 0.4); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 22px; }
.plan-name { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price .price { font-family: var(--head); font-size: 40px; letter-spacing: -0.02em; }
.plan-price span:not(.price) { font-size: 14px; color: var(--muted); }
.plan-crew { display: flex; align-items: center; gap: 10px; }
.plan-crew .sg-mono { font-size: 11px; color: var(--muted); }
.plan-crew .n { color: var(--text); font-size: 12px; }
.plan-crew .bar { flex: 1; height: 6px; border-radius: 3px; background: #262838; overflow: hidden; }
.plan-crew .bar i { display: block; height: 100%; background: var(--live); }
.plan.popular .plan-crew .bar i { background: var(--onair); }
.bar .w5 { width: 5%; } .bar .w17 { width: 17%; } .bar .w42 { width: 42%; } .bar .w100 { width: 100%; }
.plan-body { font-size: 14px; line-height: 1.55; color: var(--body); }
.plan .button { margin-top: auto; }

/* Download */
.platform .links { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.platform h3 { padding-top: 4px; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.steps-list li { counter-increment: s; background-color: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--body); font-size: 15px; }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 36px; font-weight: 700; line-height: 1; color: #3E4260; }
.steps-list li:last-child::before { color: var(--onair); }

/* Account */
.plan-summary { display: flex; flex-direction: column; gap: 8px; }
.pass { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(239, 35, 60, 0.45); background: rgba(239, 35, 60, 0.07); color: var(--body); font-size: 15px; }
.pass strong { color: var(--onair); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.buy { background: var(--screen); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.buy strong { font-family: var(--head); font-size: 16px; font-weight: 600; }
.buy .price { font-size: 26px; }
.buy .button { margin-top: auto; }

/* Invoice */
.invoice { max-width: 680px; width: 100%; margin: 0 auto; }
.invoice-from { color: var(--body); }
.invoice th { width: 34%; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.invoice td { color: var(--text); overflow-wrap: anywhere; }
.invoice .total td { font-family: var(--mono); font-size: 20px; font-weight: 700; }

/* ---------- Home ---------- */
.sg-kicker { display: block; font-size: 11px; color: var(--muted); margin-bottom: 14px; }
.sg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sg-head h2 { font-size: 56px; letter-spacing: -0.03em; line-height: 1; max-width: 760px; }
.sg-head > p { max-width: 380px; color: var(--body); line-height: 1.6; }
.sg-link { font-size: 12px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--onair); padding-bottom: 4px; }
.sg-section { position: relative; padding: 112px 0; }
.sg-ruled { border-top: 1px solid var(--line); }
.sg-glow { filter: drop-shadow(0 0 4px rgba(237, 242, 244, 0.55)); }
.sg-glow-red { filter: drop-shadow(0 0 10px rgba(239, 35, 60, 0.8)); }

/* Hero */
.sg-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 96px 0 48px; }
.sg-hero-glow { position: absolute; inset: 0; background: radial-gradient(900px 520px at 78% 30%, rgba(239, 35, 60, 0.10), transparent 65%), radial-gradient(700px 500px at 15% 15%, rgba(237, 242, 244, 0.05), transparent 70%); pointer-events: none; }
.sg-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: start; }
.sg-hero-copy { display: flex; flex-direction: column; gap: 28px; }
.sg-hero h1 { font-size: 72px; line-height: 1; letter-spacing: -0.035em; }
.sg-hero h1 .dim { color: var(--muted); }
.sg-hero h1 .lit { text-shadow: 0 0 30px rgba(237, 242, 244, 0.25); }
.sg-hero .lead { max-width: 560px; }
.sg-hero .button svg { flex: none; }
.sg-hero-foot { position: relative; display: flex; flex-direction: column; gap: 22px; margin-top: 236px; }

/* Oscilloscope traces: two copies side by side scroll one width. */
.sg-scope { position: absolute; left: 0; display: flex; width: 200%; height: 260px; pointer-events: none; }
.sg-scope-svg { width: 50%; height: 100%; flex: none; }
.sg-scope.a { top: auto; bottom: 150px; animation: sg-scroll 9s linear infinite; }
.sg-scope.b { bottom: 130px; animation: sg-scroll 14s linear infinite reverse; }
.sg-scope.c { top: 110px; height: 300px; animation: sg-scroll 9s linear infinite; }
@keyframes sg-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Rack console */
.sg-rack { position: relative; background: linear-gradient(180deg, #1E2030, var(--panel)); border: 1px solid var(--line); border-radius: 8px; padding: 30px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.02); }
.screw { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4A4E6A, #1C1D28); box-shadow: inset 0 0 0 1px #0B0C11; }
.screw.tl { top: 10px; left: 10px; } .screw.tr { top: 10px; right: 10px; } .screw.bl { bottom: 10px; left: 10px; } .screw.br { bottom: 10px; right: 10px; }
.sg-rack-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.sg-rack-head div { display: flex; flex-direction: column; gap: 4px; }
.sg-rack-head .sg-mono { font-size: 11px; color: var(--muted); }
.sg-rack-head strong { font-family: var(--head); font-size: 18px; }
.sg-onair { display: inline-flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 6px; background: var(--screen); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #FFFFFF; white-space: nowrap; }
.sg-onair i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FF9AA4, var(--onair) 55%, #7A0D1C); box-shadow: 0 0 24px rgba(239, 35, 60, 0.75); }
.sg-readouts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sg-readouts span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--screen); }
.sg-readouts .dim { color: var(--muted); }
.sg-strips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sg-strip { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.sg-strip.onair { background: linear-gradient(180deg, rgba(239, 35, 60, 0.12), rgba(239, 35, 60, 0.02)), var(--raised); border-color: rgba(239, 35, 60, 0.65); }
.sg-strip-top { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 2px; }
.sg-strip-top .sg-mono { font-size: 10px; color: var(--muted); }
.sg-lamp { width: 10px; height: 10px; border-radius: 50%; background: #30324A; }
.sg-strip.live .sg-lamp { background: var(--live); box-shadow: 0 0 10px rgba(237, 242, 244, 0.6); }
.sg-strip.onair .sg-lamp { background: radial-gradient(circle at 40% 35%, #FF8A95, var(--onair) 60%, #8E1022); box-shadow: 0 0 14px rgba(239, 35, 60, 0.8); animation: sg-blink 1.6s ease-in-out infinite; }
.sg-strip-mid { display: flex; gap: 10px; align-items: flex-end; }
.sg-meter { display: flex; flex-direction: column; gap: 3px; width: 14px; }
.sg-meter .seg { display: block; height: 6px; border-radius: 1px; background: #262838; }
.sg-meter .seg.peak { background: var(--muted); }
.sg-meter .seg.hot.peak { background: var(--onair); }
.sg-meter .seg.on { background: var(--live); box-shadow: 0 0 6px rgba(237, 242, 244, 0.45); }
.sg-meter .seg.hot.on { background: var(--onair); box-shadow: 0 0 6px rgba(239, 35, 60, 0.7); }
.sg-meter.bounce { animation: sg-meter 1.1s ease-in-out infinite alternate; }
.sg-meter.d1 { animation-delay: -0.4s; } .sg-meter.d2 { animation-delay: -0.9s; }
@keyframes sg-meter { 0% { clip-path: inset(30% 0 0 0); } 40% { clip-path: inset(8% 0 0 0); } 70% { clip-path: inset(22% 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
.sg-fader { position: relative; width: 16px; height: 146px; }
.sg-fader::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: #0B0C11; border-radius: 1px; }
.sg-fader .cap { position: absolute; left: 0; width: 16px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, #5A5E7A, #2B2D42); border: 1px solid #6B7090; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); }
.sg-fader .cap::after { content: ""; position: absolute; left: 2px; right: 2px; top: 12px; height: 1px; background: var(--live); }
.sg-fader.f72 .cap { top: 34px; } .sg-fader.f86 .cap { top: 17px; } .sg-fader.f60 .cap { top: 48px; }
.sg-strip-name { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; min-width: 0; max-width: 100%; }
.sg-strip-name span:first-child { font-family: var(--head); font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sg-strip-name .who { font-size: 9px; color: var(--muted); }
.sg-strip.live .who { color: var(--text); }
.sg-strip.onair .who { color: var(--onair); }
.sg-talk { margin-top: 18px; height: 62px; border-radius: 8px; background: var(--onair); color: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--onair-glow), inset 0 -4px 0 rgba(0, 0, 0, 0.2); }

/* Spec chips and dB scale */
.sg-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.sg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(25, 26, 36, 0.85); }
.sg-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.sg-chip.red { border-color: var(--onair); }
.sg-chip.red i { background: var(--onair); box-shadow: 0 0 8px rgba(239, 35, 60, 0.8); }
.sg-db { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 30px) top / 100% 4px no-repeat; }
.sg-db span { font-size: 9px; color: var(--muted); }
.sg-db span.zero { color: var(--onair); }

/* Signal path */
.sg-flow-box { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sg-flow { width: 100%; height: auto; }
.sg-packets, .sg-packets path { stroke-dasharray: 4 14; animation: sg-flow 1.2s linear infinite; }
@keyframes sg-flow { to { stroke-dashoffset: -36; } }
.sg-steps { margin-top: 40px; }

/* Spectrum divider */
.sg-spectrum-wrap { border-top: 1px solid var(--line); }
.sg-spectrum { width: 100%; height: 120px; }
.sg-spectrum rect { transform-box: fill-box; transform-origin: bottom; animation: sg-spec 1.6s ease-in-out infinite alternate; }
.sg-spectrum .d1 { animation-delay: -0.2s; } .sg-spectrum .d2 { animation-delay: -0.4s; } .sg-spectrum .d3 { animation-delay: -0.6s; }
.sg-spectrum .d4 { animation-delay: -0.8s; } .sg-spectrum .d5 { animation-delay: -1s; } .sg-spectrum .d6 { animation-delay: -1.2s; } .sg-spectrum .d7 { animation-delay: -1.4s; }
@keyframes sg-spec { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

/* Rack modules */
.sg-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sg-module { position: relative; background-color: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.sg-module.onair { --tick: var(--onair); border-color: rgba(239, 35, 60, 0.6); box-shadow: 0 0 0 1px rgba(239, 35, 60, 0.15), 0 20px 60px rgba(239, 35, 60, 0.08); }
.sg-module-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.sg-module-head .sg-mono { font-size: 11px; color: var(--muted); }
.sg-led { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px rgba(237, 242, 244, 0.5); }
.sg-module.onair .sg-led { background: var(--onair); box-shadow: 0 0 10px rgba(239, 35, 60, 0.8); }
.sg-screen { height: 104px; border-radius: 4px; background-color: var(--screen); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background-image: linear-gradient(rgba(237, 242, 244, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 242, 244, 0.04) 1px, transparent 1px); background-size: 16px 16px; margin-bottom: 4px; }
.sg-inst { width: 210px; height: 96px; }
.sg-module h3 { padding: 0 6px; font-size: 21px; }
.sg-module p { padding: 0 6px; color: var(--body); font-size: 15px; line-height: 1.55; }

/* Datasheet */
.sg-datasheet { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; }
.sg-datasheet h2 { font-size: 48px; letter-spacing: -0.03em; margin-bottom: 16px; }
.sg-latency { position: relative; margin-top: 32px; width: 260px; height: 150px; border: 1px solid var(--line); border-radius: 6px; background-color: var(--screen); overflow: hidden; }
.sg-latency .sg-mono { position: absolute; font-size: 9px; }
.sg-latency .l { left: 10px; top: 8px; color: var(--muted); }
.sg-latency .r { right: 10px; top: 44px; color: var(--onair); }
.sg-latency-svg { width: 260px; height: 150px; }
.sg-spec { margin: 0; border-bottom: 1px solid var(--line); }
.sg-spec-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.sg-spec dt { font-size: 11px; color: var(--muted); }
.sg-spec dd { margin: 0; font-size: 16px; }
.sg-spec .pass { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; }
.sg-spec .pass i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px rgba(237, 242, 244, 0.6); }

/* CTA band */
.sg-cta { position: relative; overflow: hidden; height: 460px; background: radial-gradient(800px 300px at 50% 60%, rgba(239, 35, 60, 0.16), transparent 70%), var(--page); }
.sg-cta-in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.sg-cta-mark { width: 48px; height: 48px; }
.sg-cta h2 { font-size: 64px; letter-spacing: -0.03em; line-height: 1; text-shadow: 0 4px 30px rgba(15, 16, 22, 0.9); }
.sg-cta p { color: var(--nav); font-size: 18px; text-shadow: 0 2px 16px rgba(15, 16, 22, 0.9); }
.sg-cta .buttons { justify-content: center; }

/* Blinking tally */
.sg-blink, .pill i, .sg-onair i, .badge i { animation: sg-blink 1.6s ease-in-out infinite; }
@keyframes sg-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* Medium screens */
@media (max-width: 1100px) {
  .sg-hero-in { grid-template-columns: minmax(0, 1fr); }
  .sg-rack { max-width: 560px; }
  .sg-hero-foot { margin-top: 220px; }
  .sg-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-datasheet { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Small screens */
@media (max-width: 720px) {
  h1, .sg-hero h1 { font-size: 40px; }
  h2, .sg-head h2, .sg-datasheet h2 { font-size: 32px; }
  .sg-cta h2 { font-size: 38px; }
  .top-in { flex-wrap: wrap; gap: 10px 16px; min-height: 0; }
  .brand-logo { height: 26px; }
  .nav { order: 3; flex-basis: 100%; gap: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border-top: 1px solid var(--line); padding-top: 10px; }
  .nav-end { gap: 14px; font-size: 14px; }
  .nav-end .button { height: 38px; padding: 0 14px; }
  .page { padding-top: 40px; padding-bottom: 56px; }
  .sg-hero { padding-top: 48px; }
  .sg-hero-copy { gap: 22px; }
  .lead { font-size: 17px; }
  .sg-rack { padding: 22px 16px 18px; }
  .sg-rack-head strong { font-size: 16px; }
  .sg-strips { gap: 6px; }
  .sg-strip { padding: 10px 4px; }
  .sg-strip-mid { gap: 6px; }
  .sg-meter { width: 10px; }
  .sg-strip-name span:first-child { font-size: 12px; }
  .sg-talk { font-size: 16px; height: 54px; }
  .sg-hero-foot { margin-top: 200px; }
  .sg-scope { height: 200px; }
  .sg-scope.a { bottom: 170px; } .sg-scope.b { bottom: 150px; }
  .sg-section { padding: 72px 0; }
  .sg-head { margin-bottom: 28px; }
  .sg-flow-box { overflow: hidden; }
  .sg-modules { grid-template-columns: minmax(0, 1fr); }
  .sg-spec-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sg-spec .pass { display: none; }
  .card, .step, .steps-list li { padding: 20px; }
  .grid3, .grid4, .steps-list { grid-template-columns: minmax(0, 1fr); }
  .sg-cta { height: 420px; }
  .button.big { height: 52px; padding: 0 22px; font-size: 16px; }
}
@media (max-width: 400px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sg-db span:nth-child(even) { visibility: hidden; }
}

/* Print: invoices dark-on-white */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; color: #000; }
  main, main:has(.page) { background: #fff !important; }
  .top, .foot, .alerts, .no-print { display: none !important; }
  .wrap, .page { padding: 0; max-width: none; }
  .card, .invoice, .table-box, .card .table-box { background: #fff !important; background-image: none !important; box-shadow: none; }
  .card, .invoice { border: 0; padding: 0; color: #000; }
  h1, h2, h3, td, th, p, strong, .muted, .invoice-from, .invoice th, .invoice td { color: #000 !important; }
  .table-box, .card .table-box { border: 1px solid #999; overflow: visible; }
  th, td { border-bottom-color: #ccc; }
  a { color: #000; text-decoration: none; }
}

/* Long-form pages (privacy). */
.prose { max-width: 760px; gap: 18px; }
.prose h2 { margin-top: 18px; }
.prose p, .prose li { color: var(--body); line-height: 1.7; }
.prose ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; }
.prose a { color: var(--live); text-decoration: underline; text-underline-offset: 3px; }
.foot-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
