:root {
  --bg: #06110c;
  --surface: #0e2018;
  --surface-raised: #173126;
  --primary: #46d889;
  --secondary: #2ab8a0;
  --lime: #9bcb62;
  --mint: #72e0b5;
  --text: #f2fbf6;
  --muted: #a7bbaf;
  --divider: #284a3a;
  --focus: #b7f4d0;
  --page-width: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; scrollbar-color: #3f6f58 var(--bg); scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--bg); }
*::-webkit-scrollbar-thumb { border: 2px solid var(--bg); border-radius: 999px; background: #3f6f58; }
*::-webkit-scrollbar-thumb:hover { background: var(--secondary); }
*::-webkit-scrollbar-thumb:active { background: var(--primary); }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: Roboto, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 18px; top: 12px; padding: 10px 14px; transform: translateY(-160%); border-radius: 8px; color: #062015; background: var(--focus); font-weight: 800; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { width: min(calc(100% - 48px), var(--page-width)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(114, 224, 181, .14); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid rgba(70, 216, 137, .45); border-radius: 50%; background: rgba(70, 216, 137, .07); }
.brand-mark i { width: 3px; border-radius: 999px; background: var(--primary); }
.brand-mark i:nth-child(1) { height: 10px; }.brand-mark i:nth-child(2) { height: 21px; }.brand-mark i:nth-child(3) { height: 14px; }
.brand > span:last-child { display: grid; }
.brand strong { font: 900 19px/1 "Arial Narrow", "Roboto Condensed", sans-serif; letter-spacing: .2em; }
.brand small { margin-top: 4px; color: var(--muted); font: 700 8px/1 monospace; letter-spacing: .28em; }
.official-badge { padding: 7px 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(70, 216, 137, .2); border-radius: 999px; color: var(--mint); background: rgba(70, 216, 137, .055); font-size: 12px; font-weight: 800; }
.official-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px rgba(70, 216, 137, .65); }

main { overflow: clip; }
.hero { width: min(calc(100% - 48px), var(--page-width)); min-height: 610px; margin: 0 auto; padding: 76px 0 72px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr); align-items: center; gap: 34px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--primary); font: 800 11px/1.3 monospace; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span:first-child { width: 28px; height: 1px; flex: 0 0 auto; background: currentColor; }
h1, h2 { font-family: "Arial Narrow", "Roboto Condensed", sans-serif; text-wrap: balance; }
h1 { max-width: 700px; margin: 0; font-size: clamp(50px, 5.8vw, 80px); font-weight: 900; line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
h1 > span { display: block; white-space: nowrap; }
.hero-lead { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); }
.download-actions { margin-top: 36px; }
.download-slot { min-height: 102px; }
.primary-action { width: fit-content; min-height: 72px; padding: 12px 20px 12px 15px; display: inline-flex; align-items: center; gap: 14px; border: 1px solid #60e59c; border-radius: 12px; color: #052116; background: var(--primary); box-shadow: 0 14px 38px rgba(12, 114, 65, .28); text-decoration: none; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.primary-action:hover { transform: translateY(-2px); background: #62e39d; box-shadow: 0 18px 44px rgba(12, 114, 65, .36); }
.primary-action:active { transform: translateY(0); background: #37c979; }
.primary-action svg { width: 44px; height: 44px; padding: 9px; border-radius: 9px; background: rgba(3, 45, 27, .12); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.primary-action span { display: grid; text-align: left; }
.primary-action strong { font-size: 17px; }
.primary-action small { margin-top: 3px; color: rgba(5, 33, 22, .72); font-size: 11px; font-weight: 800; }
.download-note { margin: 11px 0 0; color: #7f9989; font-size: 12px; }
.download-status { width: fit-content; min-height: 72px; padding: 0 18px; display: flex; align-items: center; border: 1px solid var(--divider); border-radius: 12px; color: var(--muted); background: rgba(14, 32, 24, .72); font-size: 14px; }
.download-status.is-error { color: #e3c66a; border-color: rgba(227, 198, 106, .28); }
.release-facts { margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, max-content); gap: 27px; }
.release-facts div { padding-left: 13px; border-left: 1px solid var(--divider); }
.release-facts dt { color: #6f8b79; font: 800 9px/1.2 monospace; letter-spacing: .1em; text-transform: uppercase; }
.release-facts dd { margin: 6px 0 0; color: #d9e8df; font-size: 12px; font-weight: 700; }

.signal-stage { aspect-ratio: 1 / 1; position: relative; display: grid; place-items: center; }
.signal-stage::before { content: ""; position: absolute; width: 72%; height: 72%; border-radius: 50%; background: radial-gradient(circle, rgba(70, 216, 137, .14), transparent 69%); filter: blur(24px); }
.signal-ring { position: absolute; border: 1px solid rgba(114, 224, 181, .18); border-radius: 50%; }
.ring-one { width: 94%; height: 94%; }.ring-two { width: 72%; height: 72%; border-style: dashed; }.ring-three { width: 48%; height: 48%; border-color: rgba(155, 203, 98, .27); }
.signal-ring::after { content: ""; position: absolute; right: 11%; top: 17%; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px rgba(155, 203, 98, .8); }
.device-frame { width: 70%; aspect-ratio: 1.78 / 1; padding: 10px 10px 17px; position: relative; z-index: 2; border: 1px solid #3a6550; border-radius: 17px; background: linear-gradient(145deg, #183529, #0a1811); box-shadow: 0 34px 65px rgba(0, 0, 0, .42); transform: perspective(900px) rotateY(-7deg) rotateX(3deg); }
.device-screen { width: 100%; height: 100%; padding: 17px; overflow: hidden; position: relative; border: 1px solid rgba(114, 224, 181, .15); border-radius: 10px; background: linear-gradient(135deg, #071810, #10281d); }
.screen-label { color: var(--primary); font: 800 7px/1 monospace; letter-spacing: .16em; }
.source-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.source { height: 52px; display: block; transform: skew(-5deg); border: 1px solid rgba(114, 224, 181, .2); background: linear-gradient(145deg, #19382b, #102219); }
.source.is-live { border-color: var(--primary); background: linear-gradient(145deg, rgba(70, 216, 137, .3), rgba(18, 52, 37, .85)); }
.screen-wave { width: 58%; height: 30px; margin: 17px auto 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.screen-wave i { width: 3px; border-radius: 999px; background: var(--primary); }
.screen-wave i:nth-child(1) { height: 10px; }.screen-wave i:nth-child(2) { height: 19px; }.screen-wave i:nth-child(3) { height: 27px; }.screen-wave i:nth-child(4) { height: 17px; }.screen-wave i:nth-child(5) { height: 8px; }
.device-light { position: absolute; left: calc(50% - 3px); bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px rgba(70, 216, 137, .7); }
.broadcast-dot { position: absolute; z-index: 3; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 8px rgba(70, 216, 137, .06), 0 0 20px rgba(70, 216, 137, .5); }
.dot-one { left: 5%; top: 35%; }.dot-two { right: 8%; top: 24%; background: var(--lime); }.dot-three { right: 16%; bottom: 17%; background: var(--secondary); }

.install-section { width: min(calc(100% - 48px), var(--page-width)); margin: 0 auto; padding: 80px 0; border-top: 1px solid rgba(114, 224, 181, .14); display: grid; grid-template-columns: .8fr 1.35fr; gap: 80px; }
.section-heading h2, .integrity h2 { margin: 0; font-size: clamp(35px, 4vw, 54px); line-height: .98; letter-spacing: -.035em; }
.section-heading > p:last-child, .integrity p:last-child { max-width: 490px; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--divider); }
.steps li { min-height: 126px; padding: 27px 0; display: grid; grid-template-columns: 56px 1fr; gap: 22px; border-bottom: 1px solid var(--divider); }
.step-number { color: var(--primary); font: 800 12px/1.5 monospace; }
.steps strong { font-size: 18px; }
.steps p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }

.integrity { width: min(calc(100% - 48px), var(--page-width)); margin: 0 auto; padding: 42px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 42px; border: 1px solid var(--divider); border-radius: 16px; background: linear-gradient(135deg, rgba(23, 49, 38, .92), rgba(14, 32, 24, .75)); }
.integrity h2 { font-size: clamp(30px, 3vw, 43px); }
.integrity code { padding: 18px; overflow-wrap: anywhere; border: 1px solid rgba(114, 224, 181, .14); border-radius: 10px; color: var(--mint); background: rgba(2, 14, 8, .46); font: 700 13px/1.65 "Cascadia Mono", Consolas, monospace; user-select: all; }
.usage-note { width: min(calc(100% - 48px), var(--page-width)); margin: 22px auto 0; padding: 21px 24px; display: flex; align-items: center; gap: 15px; border-left: 3px solid var(--lime); color: var(--muted); background: rgba(155, 203, 98, .055); }
.usage-note svg { width: 32px; height: 32px; flex: 0 0 auto; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.usage-note strong { color: var(--text); }
.usage-note p { margin: 2px 0 0; font-size: 13px; }

footer { width: min(calc(100% - 48px), var(--page-width)); min-height: 112px; margin: 36px auto 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(114, 224, 181, .14); color: #698172; font-size: 12px; }
footer a { color: var(--muted); text-underline-offset: 4px; }
footer a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 58px; gap: 24px; }
  .signal-stage { width: min(560px, 100%); margin: 0 auto; }
  .install-section, .integrity { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 600px) {
  .site-header, .hero, .install-section, .integrity, .usage-note, footer { width: min(calc(100% - 32px), var(--page-width)); }
  .site-header { min-height: 78px; }
  .official-badge { padding: 6px 8px; font-size: 10px; }
  .hero { min-height: 0; padding: 52px 0 58px; }
  h1 { font-size: clamp(39px, 12.2vw, 50px); letter-spacing: -.055em; }
  .hero-lead { margin-top: 20px; }
  .primary-action { width: 100%; }
  .release-facts { grid-template-columns: 1fr; gap: 14px; }
  .signal-stage { margin-top: 12px; }
  .device-frame { width: 78%; }
  .install-section { padding: 62px 0; }
  .integrity { padding: 28px 22px; }
  .integrity code { font-size: 11px; }
  .usage-note { align-items: flex-start; }
  footer { min-height: 108px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Accessibility preference overrides decorative transitions and smooth scrolling. */
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  * { forced-color-adjust: auto; }
  .official-badge i, .device-light, .broadcast-dot { box-shadow: none; }
}
