:root { color-scheme: dark; --bg: #080f16; --panel: #101c25; --border: #26343d; --fg: #f0f3eb; --muted: #a2b1bb; --accent: #b9f58c; --cyan: #79cddc; --warn: #ffbd78; --max: 1180px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--fg); background: radial-gradient(ellipse at 85% 12%, #12303b66, transparent 35%), var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 16px; padding: 10px 16px; background: var(--accent); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: none; color: var(--bg); }
.site-header, main, .site-footer { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }
.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 210px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .86rem; font-weight: 500; }
.site-nav > a { padding: 10px 0; }
.site-nav .nav-status { border: 1px solid #40505a; border-radius: 4px; padding: 9px 15px; }
.nav-status span { margin-left: 10px; color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 30px; padding: 70px 0 60px; }
.eyebrow, .art-label, .art-footer, .hero-note, .feature-number, .resource-label, .game-art-label { font-family: Consolas, "Courier New", monospace; }
.eyebrow { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--cyan); }
.small-cross { color: var(--accent); margin-right: 9px; font-size: 1rem; }
h1 { margin: 23px 0; font-size: clamp(3.4rem, 5.8vw, 5.2rem); font-weight: 650; line-height: 1.03; letter-spacing: -.055em; }
h1 em { color: var(--accent); font-style: normal; }
.lede { font-size: 1.17rem; font-weight: 500; }
.hero-description { color: var(--muted); max-width: 430px; margin-top: 12px; font-size: .98rem; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 20px; border-radius: 4px; font-size: .86rem; font-weight: 650; transition: background .15s ease, transform .15s ease; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { color: var(--bg); background: #cef9af; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: .86rem; font-weight: 600; }
.text-link span { color: var(--accent); }
.hero-note { margin-top: 27px; font-size: .65rem; color: var(--muted); }
.hero-note span { margin: 0 8px; color: #526775; }
.signal-art { position: relative; min-width: 0; }
.art-label { display: flex; align-items: center; font-size: .58rem; letter-spacing: .12em; color: var(--muted); }
.client-title-art { width: 100%; height: auto; display: block; margin: 18px 0 0; border: 1px solid var(--border); border-radius: 5px; }
.art-footer { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); font-size: .58rem; letter-spacing: .12em; color: var(--muted); }
.art-footer > span:last-child { color: var(--accent); }
.network { border: 1px solid var(--border); border-radius: 6px; background: #101c2580; }
.network-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; border-bottom: 1px solid var(--border); }
.network-heading h2 { margin: 0; font-size: .74rem; font-weight: 500; color: var(--muted); letter-spacing: normal; }
.network-heading a { font-size: .7rem; color: var(--cyan); }
.network-heading a:hover { color: var(--accent); }
.network-heading a span { margin-left: 10px; }
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr; }
.stat { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong { font-family: Consolas, monospace; font-size: 1.9rem; line-height: 1.2; font-weight: 400; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: .73rem; }
.health-line { display: flex; align-items: center; gap: 9px; font-size: .85rem; }
.stat-health > span { font-size: .65rem; margin-top: 4px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.pulse.ok { background: var(--accent); box-shadow: 0 0 10px #b9f58c55; }
.pulse.off { background: var(--warn); }
.network-note { padding: 12px 22px; font-size: .8rem; color: var(--muted); }
.network-note a { text-decoration: underline; }
.section { padding: 70px 0; border-bottom: 1px solid var(--border); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 70px; margin-bottom: 30px; }
h2 { margin-top: 12px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.14; font-weight: 600; letter-spacing: -.035em; }
.section-head > p { color: var(--muted); font-size: .9rem; max-width: 430px; }
.game { display: grid; grid-template-columns: 1.08fr 1fr; border: 1px solid var(--border); background: var(--panel); border-radius: 6px; overflow: hidden; }
.game-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: #0c171f; padding: 26px 30px; border-right: 1px solid var(--border); overflow: hidden; }
.game-art-label { font-size: .6rem; letter-spacing: .13em; color: #a3c4cb; }
.game-logo { display: block; width: min(100%, 360px); height: auto; }
.game-scene { display: block; width: min(100%, 400px); height: auto; border: 1px solid var(--border); }
.game-copy { padding: 32px 36px; }
.game-status { display: inline-block; font-size: .65rem; color: var(--accent); border: 1px solid #b9f58c40; border-radius: 3px; padding: 3px 9px; }
.game h3 { margin: 16px 0 13px; font-size: 1.75rem; letter-spacing: -.03em; line-height: 1.15; font-weight: 600; }
.game-copy p { font-size: .88rem; color: var(--muted); }
.game-copy .game-note { font-size: .74rem; margin-top: 10px; }
.game-copy .text-link { margin-top: 21px; }
/* Download and setup */
.download-prerequisites { display: grid; grid-template-columns: 1.1fr 1fr 1fr; align-items: center; gap: 20px; margin-bottom: 24px; }
.prerequisite-intro h3 { font-size: 1.05rem; font-weight: 600; margin: 7px 0 4px; }
.prerequisite-intro > p:last-child { font-size: .8rem; color: var(--muted); max-width: 260px; }
.prerequisite-link { display: flex; align-items: center; gap: 14px; min-height: 98px; padding: 18px; border: 1px solid var(--border); border-radius: 6px; background: #101c2580; transition: border-color .15s ease, background .15s ease; }
.prerequisite-link:hover { color: var(--fg); border-color: var(--cyan); background: var(--panel); }
.prerequisite-number { color: var(--cyan); font: .75rem Consolas, monospace; }
.prerequisite-link strong { display: block; font-size: .9rem; font-weight: 600; }
.prerequisite-link small { display: block; color: var(--muted); font-size: .72rem; margin-top: 4px; }
.external-arrow { margin-left: auto; color: var(--cyan); }
.download-panel { display: grid; grid-template-columns: 1.08fr 1fr; border: 1px solid #3a4b55; border-radius: 8px; background: var(--panel); overflow: hidden; }
.download-copy { padding: 36px; min-width: 0; }
.download-copy h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.15; letter-spacing: -.03em; margin: 20px 0 14px; font-weight: 600; }
.download-copy > p { font-size: .88rem; color: var(--muted); max-width: 450px; }
.installer-button { display: flex; max-width: 400px; margin-top: 28px; padding: 16px 20px; gap: 16px; }
.download-copy .download-meta { margin-top: 13px; font-size: .68rem; }
.download-meta > span { padding: 0 4px; }
.manual-download { display: flex; flex-direction: column; gap: 5px; padding-top: 22px; font-size: .76rem; color: var(--muted); }
.manual-download a { color: var(--cyan); width: fit-content; text-decoration: underline; text-underline-offset: 4px; }
.manual-download a > span { margin-left: 10px; }
.download-copy .download-note { margin-top: 22px; font-size: .72rem; line-height: 1.6; }
.install-guide { padding: 36px; border-left: 1px solid var(--border); background: #080f1630; min-width: 0; }
.install-steps { list-style: none; counter-reset: setup; margin-top: 26px; }
.install-steps li { counter-increment: setup; padding: 0 0 27px 43px; position: relative; }
.install-steps li:last-child { padding-bottom: 0; }
.install-steps li::before { content: counter(setup, decimal-leading-zero); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #b9f58c40; border-radius: 50%; font: .65rem Consolas, monospace; color: var(--accent); }
.install-steps h3 { font-size: 1rem; font-weight: 600; line-height: 1.5; }
.install-steps p { color: var(--muted); font-size: .82rem; margin-top: 7px; line-height: 1.65; }
code { overflow-wrap: anywhere; }
.download-support { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 17px 36px; border-top: 1px solid var(--border); font-size: .75rem; }
.download-support > span { color: var(--muted); margin-right: auto; }
.download-support a, .install-help a { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.download-support a > span { margin-left: 8px; }
.install-details { margin-top: 24px; border-top: 1px solid var(--border); }
.install-help { border-bottom: 1px solid var(--border); color: var(--muted); font-size: .82rem; }
.install-help summary { color: var(--fg); cursor: pointer; padding: 16px 0; }
.install-help summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.install-help p { margin: 0 0 16px; max-width: 880px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.feature { border-top: 1px solid #40515b; padding-top: 17px; }
.feature-number { color: var(--cyan); font-size: .7rem; }
.feature h3 { font-size: 1.04rem; font-weight: 600; margin: 21px 0 10px; }
.feature p { color: var(--muted); font-size: .85rem; }
.resources { border-bottom: 0; }
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.link-card { padding: 26px 30px; border: 1px solid var(--border); border-radius: 6px; background: #101c2560; transition: border-color .15s ease, background .15s ease; }
.link-card:hover { border-color: #79cddc88; color: var(--fg); background: var(--panel); }
.resource-label { display: flex; justify-content: space-between; font-size: .62rem; letter-spacing: .12em; color: var(--cyan); }
.resource-label span { font-size: 1rem; }
.link-card h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; margin: 25px 0 10px; }
.link-card p { color: var(--muted); font-size: .85rem; max-width: 370px; }
.link-action { display: flex; gap: 16px; margin-top: 22px; font-size: .76rem; color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 30px 0 35px; border-top: 1px solid var(--border); }
.footer-brand { font-size: 1rem; font-weight: 750; letter-spacing: -.02em; }
.footer-brand span { color: var(--cyan); }
.site-footer p { color: var(--muted); font-size: .7rem; margin-top: 10px; }
.site-footer .copyright { text-align: right; margin-top: 0; white-space: nowrap; }
.copyright a { display: inline-block; margin-top: 10px; }
@media (max-width: 950px) {
  .site-header, main, .site-footer { width: calc(100% - 48px); }
  .site-nav { gap: 18px; } .brand img { width: 180px; }
  .hero { gap: 20px; padding-top: 50px; } h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
  .hero-actions { gap: 20px; } .section-head { gap: 35px; }
  .download-prerequisites { grid-template-columns: 1fr 1fr; }
  .prerequisite-intro { grid-column: 1 / -1; }
  .download-copy, .install-guide { padding: 28px; }
  .stat { padding: 18px 16px; } .stats-strip { grid-template-columns: repeat(3, 1fr); }
  .stat-health { grid-column: 1 / -1; border-top: 1px solid var(--border); }
  .stat.stat-health { border-left: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .stat-health > span { margin-top: 0; } .game-copy { padding: 26px; }
}
@media (max-width: 680px) {
  .site-header, main, .site-footer { width: calc(100% - 36px); }
  .site-header { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 0 18px; }
  .brand img { width: 180px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 12px; font-size: .73rem; }
  .site-nav .nav-status { padding: 7px 9px; } .nav-status span { margin-left: 3px; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 30px; gap: 32px; }
  h1 { font-size: clamp(3.2rem, 12vw, 4.8rem); } .hero-description { max-width: 100%; }
  .signal-art { width: min(100%, 390px); margin: 0 auto; }
  .stat { padding: 18px 12px; } .stat strong { font-size: 1.6rem; } .stat > span { font-size: .64rem; }
  .stat.stat-health { flex-direction: column; align-items: flex-start; gap: 2px; }
  .section { padding: 44px 0; } .section-head, .game, .feature-grid, .link-grid, .download-panel { grid-template-columns: 1fr; }
  .download-prerequisites { grid-template-columns: 1fr; gap: 12px; }
  .prerequisite-intro { margin-bottom: 4px; }
  .prerequisite-intro > p:last-child { max-width: none; }
  .prerequisite-link { min-height: 80px; }
  .download-copy, .install-guide { padding: 26px 22px; }
  .install-guide { border-left: 0; border-top: 1px solid var(--border); }
  .download-support { padding: 18px 22px; gap: 12px; align-items: flex-start; flex-direction: column; }
  .installer-button { max-width: none; font-size: .8rem; }
  .section-head { gap: 20px; } .game-art { border-right: 0; border-bottom: 1px solid var(--border); padding: 22px; }
  .game-copy { padding: 26px 22px; }
  .feature-grid { gap: 28px; margin-top: 30px; } .feature h3 { margin-top: 12px; }
  .link-card { padding: 24px; } .site-footer { flex-direction: column; gap: 22px; } .site-footer .copyright { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
