:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-soft: #121416;
  --bg-raised: #191b1d;
  --line: #343638;
  --text: #f3f3f0;
  --muted: #b6b9bb;
  --faint: #888e91;
  --orange: #f5a071;
  --cyan: #8fcbd4;
  --green: #a5b9a3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.55 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 650; letter-spacing: 0; }
.shell { width: min(100% - 80px, 1180px); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 100; padding: 9px 13px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; background: #0b0c0e; border-bottom: 1px solid #2b2d2f; }
.header-inner { width: min(100% - 80px, 1360px); min-height: 72px; margin-inline: auto; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 20px; font-weight: 700; line-height: 1; }
.brand-mark { width: 23px; height: 23px; display: flex; gap: 3px; align-items: end; }
.brand-mark span { display: block; width: 5px; background: var(--orange); }
.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 23px; }
.primary-nav { display: flex; gap: 29px; align-items: center; margin-left: auto; }
.primary-nav a, .operator-link { color: #c9cbcc; font-size: 15px; white-space: nowrap; transition: color .2s ease; }
.primary-nav a:hover, .operator-link:hover, .site-footer a:hover { color: var(--orange); }
.primary-nav .mobile-operator { display: none; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid #747a7d; border-radius: 3px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.header-contact:hover { border-color: var(--orange); color: var(--orange); }

.hero { position: relative; isolation: isolate; min-height: 540px; height: min(72vh, 680px); background: #17191b url("/assets/broadcast-headend.webp") 54% center / cover no-repeat; display: flex; flex-direction: column; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,7,8,.94) 0%, rgba(6,7,8,.86) 30%, rgba(6,7,8,.46) 58%, rgba(6,7,8,.08) 100%); }
.hero-content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 44px 58px; }
.eyebrow, .section-index, .node-label, .node-count, .console-caption, .console-title, .console-box small { font-family: Consolas, "Courier New", monospace; font-weight: 600; letter-spacing: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; color: #ffd0b1; font-size: 14px; }
.eyebrow-rule { display: inline-block; width: 25px; height: 1px; background: var(--orange); }
.hero h1 { margin-bottom: 13px; font-size: 94px; line-height: 1; }
.hero-lead { max-width: 660px; margin-bottom: 15px; font-size: 27px; line-height: 1.26; font-weight: 500; }
.hero-description { max-width: 620px; margin-bottom: 28px; color: #d7d9d8; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 50px; padding: 11px 20px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; border-radius: 3px; font-size: 16px; font-weight: 700; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.button-primary { background: var(--orange); color: #16110e; border: 1px solid var(--orange); }
.button-primary:hover { background: #ffc09b; border-color: #ffc09b; }
.button-outline { background: rgba(9,10,11,.25); border: 1px solid #a7acaf; color: var(--text); }
.button-outline:hover { border-color: var(--text); background: rgba(255,255,255,.1); }
.hero-bottom { position: relative; min-height: 57px; display: flex; align-items: center; gap: 0; border-top: 1px solid rgba(255,255,255,.32); }
.hero-bottom span { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.24); color: #e7e9e8; font-family: Consolas, "Courier New", monospace; font-size: 13px; white-space: nowrap; }
.hero-bottom span:first-child { padding-left: 0; }
.hero-bottom span:last-child { border: 0; }

.intro-band { background: #17191b; border-bottom: 1px solid var(--line); padding-block: 82px; }
.intro-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 60px; align-items: start; }
.section-index { color: var(--orange); font-size: 14px; margin-bottom: 23px; }
.intro-band .section-index { margin-top: 8px; }
.intro-band h2 { max-width: 750px; margin-bottom: 17px; font-size: 42px; }
.intro-band p:not(.section-index) { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 19px; }

.architecture { background: var(--bg); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 80px; align-items: end; margin-bottom: 44px; }
.section-heading h2, .operations h2, .contact h2 { max-width: 690px; margin-bottom: 0; font-size: 42px; }
.section-heading > p { max-width: 410px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.flow { display: grid; grid-template-columns: 1.14fr 1fr 1.14fr 1.15fr; gap: 20px; }
.flow-node { min-height: 263px; position: relative; padding: 25px 23px; border: 1px solid #55595b; background: #131517; }
.flow-node:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: 100%; width: 21px; height: 1px; background: var(--orange); }
.flow-node:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 3px); left: calc(100% + 15px); width: 6px; height: 6px; border-top: 1px solid var(--orange); border-right: 1px solid var(--orange); transform: rotate(45deg); z-index: 1; }
.node-count { display: block; margin-bottom: 20px; color: var(--orange); font-size: 14px; }
.node-label { display: block; margin-bottom: 7px; color: var(--faint); font-size: 13px; }
.flow-node strong { display: block; margin-bottom: 12px; font-size: 20px; line-height: 1.25; }
.flow-node p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.source-list { display: grid; gap: 7px; margin-top: 19px; }
.source-list span { border-top: 1px solid var(--line); padding-top: 6px; color: #d7d9da; font-size: 14px; }
.source-list span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; vertical-align: 2px; background: var(--orange); }
.site-list { display: grid; gap: 0; margin-top: 9px; }
.site-list span { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding-block: 5px; border-top: 1px solid var(--line); color: #d7d9da; font-size: 14px; white-space: nowrap; }
.site-list i { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--cyan); flex: none; }
.flow-note { max-width: 760px; margin: 23px 0 0; color: var(--faint); font-size: 15px; }

.applications { background: #181a1c; border-bottom: 1px solid var(--line); }
.section-heading-stacked { display: block; }
.section-heading-stacked h2 { max-width: 760px; }
.use-case-list { border-top: 1px solid #55595b; }
.use-case { display: grid; grid-template-columns: 70px minmax(210px, 330px) minmax(0, 1fr); gap: 36px; padding-block: 30px; border-bottom: 1px solid #55595b; align-items: start; }
.use-number { color: var(--orange); font-family: Consolas, "Courier New", monospace; font-size: 14px; }
.use-case h3 { margin: 0; font-size: 23px; }
.use-case p { max-width: 640px; margin: 0; color: var(--muted); font-size: 17px; }

.operations { background: #0d0f10; border-bottom: 1px solid var(--line); }
.operations-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: 70px; align-items: center; }
.operations h2 { margin-bottom: 23px; }
.operations-copy > p:not(.section-index) { max-width: 560px; color: var(--muted); font-size: 17px; }
.feature-list { list-style: none; margin: 29px 0 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); color: #dcdfdf; font-size: 16px; }
.feature-list li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; background: var(--cyan); flex: none; }
.operations-demo-link { display: inline-flex; gap: 13px; align-items: center; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid var(--orange); color: var(--orange); font-size: 16px; font-weight: 650; }
.operations-demo-link:hover { color: #ffd1b6; border-color: #ffd1b6; }
.console { border: 1px solid #54595b; background: #17191a; box-shadow: 0 20px 55px rgba(0,0,0,.25); }
.console-top { min-height: 43px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #424647; background: #1e2122; }
.console-title { color: #d4d8da; font-size: 13px; }
.console-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.console-body { padding: 23px; }
.console-caption { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 26px; color: var(--cyan); font-size: 13px; }
.console-caption span { color: #adb3b5; }
.console-route { display: grid; grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr) 25px minmax(0, 1.12fr); gap: 5px; align-items: center; }
.console-box { min-height: 120px; padding: 15px 11px; border: 1px solid #5d6263; display: flex; flex-direction: column; justify-content: center; }
.console-box small { margin-bottom: 9px; color: var(--orange); font-size: 13px; }
.console-box b { font-size: 16px; line-height: 1.3; }
.console-box span { margin-top: 5px; color: #a6abad; font-size: 13px; }
.console-origin { border-color: #66858a; }
.console-origin small { color: var(--cyan); }
.console-link { height: 1px; background: #939b9c; }
.console-link i { width: 4px; height: 4px; display: block; border-radius: 50%; background: #bec3c4; position: relative; top: -2px; margin: 0 auto; }
.console-sites { display: grid; gap: 5px; }
.console-sites div { min-height: 45px; padding: 8px 9px; border: 1px solid #54595a; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px; }
.console-sites b { font-size: 13px; white-space: nowrap; }
.console-sites span { color: #9ea5a6; font-size: 13px; white-space: nowrap; }
.console-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 29px; padding-top: 13px; border-top: 1px solid #393d3e; color: #9da2a4; font-family: Consolas, "Courier New", monospace; font-size: 13px; }
.console-legend span { display: inline-flex; gap: 7px; align-items: center; }
.console-legend i { width: 6px; height: 6px; display: block; border-radius: 50%; }
.legend-orange { background: var(--orange); }
.legend-cyan { background: var(--cyan); }
.legend-white { background: #d6d9d8; }

.contact { background: #1b1d1e; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: end; }
.contact h2 { margin-bottom: 20px; }
.contact p:not(.section-index) { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; }
.contact-actions { display: grid; gap: 12px; justify-items: start; }
.contact-button { min-width: 200px; }
.contact-address { color: #c5cacc; font-size: 15px; }
.contact-address:hover { color: var(--orange); }
.site-footer { border-top: 1px solid #3b3e40; background: #0b0c0e; }
.footer-inner { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #9da3a5; font-size: 14px; }
.footer-separator { margin-inline: 8px; color: var(--orange); }
.site-footer a { color: #c6cacc; }

@media (max-width: 1020px) {
  .header-inner { width: min(100% - 48px, 1360px); gap: 22px; }
  .primary-nav { gap: 17px; }
  .header-actions { gap: 14px; }
  .flow { gap: 13px; }
  .flow-node { padding: 20px 16px; }
  .flow-node:not(:last-child)::after { width: 14px; }
  .flow-node:not(:last-child)::before { left: calc(100% + 8px); }
  .operations-grid { grid-template-columns: 1fr; gap: 38px; }
  .console { max-width: 700px; }
}

@media (max-width: 850px) {
  .shell { width: min(100% - 40px, 1180px); }
  .section-pad { padding-block: 78px; }
  .header-inner { width: min(100% - 40px, 1360px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; padding-block: 12px 8px; }
  .brand { grid-column: 1; grid-row: 1; font-size: 18px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-actions .operator-link { display: none; }
  .header-contact { min-height: 38px; padding-inline: 10px; font-size: 14px; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; margin: 13px 0 0; justify-content: space-between; gap: 12px; overflow-x: auto; }
  .primary-nav a { font-size: 14px; }
  .primary-nav .mobile-operator { display: inline; }
  .hero { min-height: min(620px, calc(100svh - 150px)); height: auto; max-height: none; background-position: 68% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,7,8,.96) 0%, rgba(6,7,8,.88) 48%, rgba(6,7,8,.45) 100%); }
  .hero-content { padding-block: 35px 42px; }
  .hero h1 { font-size: 56px; }
  .hero-lead { max-width: 530px; font-size: 24px; }
  .hero-description { max-width: 540px; font-size: 17px; }
  .hero-bottom { display: none; }
  .intro-band { padding-block: 62px; }
  .intro-grid { grid-template-columns: 1fr; gap: 0; }
  .intro-band h2, .section-heading h2, .operations h2, .contact h2 { font-size: 35px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 610px; margin-top: 18px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .flow-node { min-height: 225px; }
  .flow-node::before, .flow-node::after { display: none; }
  .use-case { grid-template-columns: 42px minmax(0, 1fr); gap: 12px 18px; }
  .use-case h3 { font-size: 22px; }
  .use-case p { grid-column: 2; }
  .operations-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-button { justify-self: start; }
}

@media (max-width: 480px) {
  .brand-mark { width: 20px; height: 20px; }
  .brand-mark span:nth-child(3) { height: 20px; }
  .primary-nav { gap: 10px; }
  .primary-nav a { font-size: 13px; }
  .hero h1 { font-size: 50px; margin-bottom: 10px; }
  .hero-content { padding-block: 24px 26px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-lead { font-size: 22px; margin-bottom: 11px; }
  .hero-description { line-height: 1.5; margin-bottom: 17px; }
  .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr; gap: 8px; }
  .hero-actions .button { width: 100%; min-height: 48px; }
  .intro-band h2, .section-heading h2, .operations h2, .contact h2 { font-size: 31px; }
  .flow { grid-template-columns: 1fr; }
  .flow-node { min-height: auto; padding: 20px; }
  .node-count { margin-bottom: 11px; }
  .source-list { margin-top: 14px; }
  .console-body { padding: 17px; }
  .console-route { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .console-box { min-height: 80px; }
  .console-link { width: 1px; height: 19px; align-self: center; }
  .console-link i { top: 8px; left: -2px; }
  .console-sites { gap: 5px; }
  .console-sites div { min-height: 31px; }
  .footer-inner { padding-block: 20px; align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
