:root {
  color-scheme: dark;
  --bg: #070c11;
  --panel: #0d151c;
  --text: #e5f0f3;
  --muted: #9caeb7;
  --cyan: #84e5ed;
  --amber: #d8b77a;
  --line: #293840;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; background: var(--bg); }
body { margin: 0; color: var(--text); font: 16px/1.65 Arial, Helvetica, sans-serif; background: radial-gradient(ellipse at 90% 10%, #13212766, transparent 40%), var(--bg); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 3px, #8fd5e502 4px); z-index: 10; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
::selection { background: var(--cyan); color: var(--bg); }
.skip-link { position: absolute; left: 20px; top: -100px; background: var(--cyan); color: var(--bg); padding: 12px 20px; z-index: 30; }
.skip-link:focus { top: 12px; }
.site-shell { max-width: 1600px; padding: 0 64px; margin: auto; border-inline: 1px solid #23333d44; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 116px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 17px; align-items: center; min-height: 48px; }
.brand svg { width: 36px; height: 32px; fill: var(--cyan); }
.brand>span { font-size: 21px; font-weight: 800; letter-spacing: .19em; line-height: 1.4; }
.brand small { display: block; font: 9px/1.4 var(--mono); color: var(--muted); letter-spacing: .15em; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.main-nav a { display: flex; align-items: center; min-height: 44px; transition: color .2s; }
.main-nav a:hover { color: var(--cyan); }
.main-nav .nav-cta { border: 1px solid #426068; padding: 0 16px; gap: 24px; color: var(--cyan); }
.hero { display: grid; grid-template-columns: 1fr 1.17fr; gap: 36px; padding: 56px 0 44px; align-items: center; position: relative; }
.eyebrow { font: 10px/1.8 var(--mono); letter-spacing: .13em; color: var(--cyan); display: flex; align-items: center; gap: 12px; }
.status-light { flex: 0 0 auto; display: inline-block; width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 8px #84e5ed55; }
.status-light.amber { background: var(--amber); box-shadow: none; }
h1 { font-size: clamp(48px, 5.4vw, 86px); line-height: .98; letter-spacing: -.055em; font-weight: 800; margin: 31px 0 28px; }
h1 span { color: var(--cyan); }
.hero-description { color: #acbec5; font-size: 17px; max-width: 365px; line-height: 1.8; margin-bottom: 31px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; font-size: 13px; font-weight: 700; transition: background .2s, color .2s, box-shadow .2s; position: relative; }
.primary { background: var(--cyan); color: #081317; }
.primary::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 9px; height: 9px; background: var(--bg); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.primary:hover { background: #b9f6f7; box-shadow: 0 0 28px #84e5ed18; }
.button span { font-size: 19px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: 13px; min-height: 44px; color: var(--text); border-bottom: 1px solid #46636c; }
.text-link:hover { color: var(--cyan); border-color: var(--cyan); }
.hero-link { margin-left: 23px; border: 0; color: #b7c6cc; }
.hero-footnote { display: flex; gap: 18px; align-items: center; margin-top: 53px; }
.hero-footnote p { font-size: 11px; line-height: 1.8; color: #d2dce0; }
.hero-footnote p span { color: var(--muted); }
.bracket { color: var(--amber); font: 19px var(--mono); }
.system-console { min-width: 0; position: relative; background: linear-gradient(140deg, #112129aa, #0b131b44 60%); border: 1px solid #344952; }
.system-console::before, .system-console::after { content: ""; width: 15px; height: 15px; position: absolute; pointer-events: none; z-index: 1; }
.system-console::before { top: -1px; left: -1px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.system-console::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.console-top { height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 19px; font: 9px var(--mono); letter-spacing: .12em; border-bottom: 1px solid #34495299; color: #bbced5; }
.console-top>span { display: flex; align-items: center; gap: 10px; }
.console-top i { width: 6px; height: 6px; border: 1px solid var(--cyan); transform: rotate(45deg); }
.console-id { color: #8aa1ac; }
.diagram-wrap { position: relative; }
.orbital-display { display: block; width: 100%; height: auto; }
.diagram-corner { position: absolute; top: 22px; font: 8px/1.8 var(--mono); letter-spacing: .13em; color: #91aab4; }
.top-left { left: 21px; }
.top-right { right: 25px; text-align: center; }
.top-right span { color: var(--cyan); font-size: 26px; }
.diagram-bottom { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 2px; margin-top: -24px; position: relative; font: 8px var(--mono); letter-spacing: .1em; color: #91aab4; gap: 8px; }
.motion-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; background: transparent; border: 0; padding: 8px 0 8px 8px; color: #b3c9d0; font: 10px var(--mono); }
.motion-toggle:hover { color: var(--cyan); }
.orbit-motion { transform-origin: 320px 260px; animation: orbit 70s linear infinite; }
.scan-motion { transform-origin: 320px 260px; animation: orbit 30s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.system-console.is-paused .orbit-motion, .system-console.is-paused .scan-motion,
.system-console.is-offscreen .orbit-motion, .system-console.is-offscreen .scan-motion { animation-play-state: paused; }
.fleet-geometry, .sector-geometry { display: none; }
[data-view="fleet"] .station-geometry, [data-view="sector"] .station-geometry { display: none; }
[data-view="fleet"] .fleet-geometry, [data-view="sector"] .sector-geometry { display: block; animation: system-in .25s ease-out; }
@keyframes system-in { from { opacity: 0; } to { opacity: 1; } }
.view-controls { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #344952; }
.view-controls button { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 54px; color: #b2c3ca; background: #0a131a99; border: 0; border-right: 1px solid #344952; padding: 13px 18px; font-size: 13px; transition: background .2s, color .2s; }
.view-controls button:last-child { border-right: 0; }
.view-controls button span { color: #8a9fa8; font: 9px var(--mono); }
.view-controls button i { font-style: normal; margin-left: auto; opacity: 0; color: var(--cyan); }
.view-controls button:hover { color: var(--cyan); background: #14272e; }
.view-controls button[aria-pressed="true"] { background: #172d34; color: var(--cyan); box-shadow: inset 0 -2px var(--cyan); }
.view-controls button[aria-pressed="true"] i { opacity: 1; }
.system-description { padding: 19px 21px 8px; min-height: 96px; }
#system-name { font-size: 14px; margin-bottom: 5px; }
#system-copy { font-size: 12px; color: #adbec5; max-width: 450px; line-height: 1.65; }
.schematic-note { font-size: 10px; color: #91a5af; padding: 6px 21px 18px; }
.manifest-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; border-block: 1px solid var(--line); color: #acbec6; font: 9px/1.6 var(--mono); letter-spacing: .09em; }
.manifest-strip b { color: var(--cyan); font-weight: 400; margin-right: 10px; }
.manifest-end { color: #91a5af; }
.game-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 90px; padding: 105px 0 85px; }
h2 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.13; font-weight: 600; letter-spacing: -.035em; }
.section-heading h2 { margin: 23px 0; }
.section-heading>p:not(.eyebrow) { font-size: 15px; color: var(--muted); max-width: 340px; margin-bottom: 26px; }
.system-row { display: grid; grid-template-columns: 24px 1fr 78px; gap: 18px; padding: 25px 0 28px; border-bottom: 1px solid var(--line); }
.system-row:first-child { padding-top: 3px; }
.row-number { color: var(--cyan); font: 10px/2 var(--mono); }
.system-row h3 { font-size: 16px; line-height: 1.4; font-weight: 500; margin-bottom: 12px; }
.system-row p { font-size: 13px; line-height: 1.85; color: var(--muted); max-width: 370px; }
.system-row svg { width: 78px; height: 70px; align-self: center; stroke: #517681; fill: none; stroke-width: 1; }
.system-row .accent { stroke: var(--cyan); }
.development-section { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 43px; padding: 38px 36px; background: linear-gradient(110deg, #162128, #10191f 70%); border: 1px solid #33414a; position: relative; }
.development-section::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--amber); }
.development-marker { border-right: 1px solid #3a464b; padding-right: 32px; }
.development-marker>span { color: #b9c9d0; font-size: 50px; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.bar-code { height: 20px; max-width: 96px; margin: 13px 0 10px; background: repeating-linear-gradient(90deg, #8399a4 0 1px, transparent 1px 4px, #8399a4 4px 7px, transparent 7px 10px, #8399a4 10px 12px, transparent 12px 15px); }
.development-marker small { font: 7px var(--mono); color: #a2b4bd; letter-spacing: .05em; }
.development-section .eyebrow { color: var(--amber); }
.development-section h2 { font-size: 27px; margin: 13px 0 14px; }
.development-section p:not(.eyebrow) { font-size: 13px; color: #aebec5; max-width: 540px; line-height: 1.8; }
.development-section .development-note { display: flex; align-items: center; gap: 10px; margin-top: 13px; font-size: 11px; }
.development-section>.text-link { white-space: nowrap; align-self: end; margin-bottom: 8px; }
.signup-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 90px; padding: 98px 0 89px; align-items: center; }
.signup-copy h2 { margin: 21px 0; }
.signup-copy>p:last-child { color: var(--muted); font-size: 14px; max-width: 280px; }
.signup-panel { background: #111c23; border: 1px solid #334951; padding: 27px; }
.panel-label { color: #b8cbd3; font: 9px var(--mono); letter-spacing: .1em; padding-bottom: 22px; margin-bottom: 20px; border-bottom: 1px solid #304049; }
.panel-label span { color: var(--cyan); font-size: 14px; margin-right: 10px; }
.signup-panel label { display: block; font-size: 12px; margin-bottom: 9px; }
.email-row { display: flex; gap: 8px; }
.email-row input { width: 100%; min-width: 0; background: #081117; color: var(--text); border: 1px solid #50646e; padding: 13px; font-size: 14px; border-radius: 0; }
.email-row input::placeholder { color: #99aeb8; opacity: 1; }
.email-row .button { flex-shrink: 0; font-size: 12px; gap: 14px; padding: 13px 15px; }
.signup-disclosure { font-size: 11px; color: #b0c1c9; line-height: 1.8; margin-top: 17px; }
.signup-disclosure a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute; left: -5000px; }
.site-footer { display: flex; align-items: center; gap: 26px; padding: 25px 0; border-top: 1px solid var(--line); font-size: 11px; }
.footer-brand { letter-spacing: .15em; font-weight: 700; font-size: 13px; }
.footer-brand span { color: var(--cyan); margin-left: 9px; }
.site-footer p { color: var(--muted); }
.site-footer nav { margin-left: auto; display: flex; gap: 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .back-top { width: 40px; justify-content: center; border: 1px solid var(--line); color: var(--cyan); margin-left: 18px; font-size: 19px; }
@media (min-width: 1500px) { .hero { padding-block: 70px; } }
@media (max-width: 1150px) {
  .site-shell { padding: 0 35px; }
  .hero { gap: 25px; }
  .hero-description { font-size: 15px; }
  .hero-link { margin-left: 0; margin-top: 10px; display: flex; width: max-content; }
  .hero-footnote { margin-top: 27px; }
  .game-section, .signup-section { gap: 45px; }
  .development-section { gap: 25px; grid-template-columns: 110px 1fr; padding: 30px; }
  .development-section>.text-link { grid-column: 2; justify-self: start; }
  .email-row { flex-wrap: wrap; }
  .email-row input { flex: 1 1 180px; }
  .email-row .button { flex: 1 0 auto; }
  .manifest-end { display: none; }
}
@media (max-width: 800px) {
  .site-shell { padding: 0 24px; }
  .site-header { min-height: 90px; gap: 20px; }
  .brand>span { font-size: 18px; }
  .brand small { font-size: 7px; }
  .brand svg { width: 28px; }
  .main-nav { gap: 17px; font-size: 12px; }
  .main-nav>a:nth-child(2) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 20px; }
  h1 { font-size: 45px; }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: .03em; gap: 7px; }
  .hero-description { font-size: 14px; }
  .view-controls button { padding: 10px; gap: 6px; font-size: 11px; }
  .view-controls button i { display: none; }
  .console-top { padding-inline: 12px; font-size: 8px; }
  .diagram-corner { font-size: 6px; top: 12px; }
  .top-left { left: 12px; }
  .top-right { right: 14px; }
  .diagram-bottom { padding-inline: 10px; font-size: 6px; margin-top: -12px; }
  .motion-toggle { font-size: 8px; }
  .system-description { padding: 15px 13px 5px; min-height: 126px; }
  #system-name { font-size: 12px; }
  #system-copy { font-size: 11px; }
  .schematic-note { font-size: 9px; padding: 5px 13px 13px; }
  .manifest-strip { flex-wrap: wrap; justify-content: start; gap: 12px 23px; font-size: 8px; }
  .game-section { grid-template-columns: 1fr; gap: 35px; padding: 65px 0; }
  .section-heading>p:not(.eyebrow) { max-width: 450px; }
  .system-row { grid-template-columns: 24px 1fr 90px; }
  .system-row p { max-width: 470px; }
  .signup-section { padding: 66px 0; gap: 24px; }
  .signup-panel { padding: 20px; }
  .site-footer { gap: 15px; flex-wrap: wrap; }
  .site-footer nav { gap: 20px; }
  .site-footer .back-top { display: none; }
}
@media (max-width: 620px) {
  .site-shell { padding-inline: 20px; }
  .site-header { min-height: 86px; }
  .brand { gap: 10px; }
  .brand>span { font-size: 16px; }
  .brand small { font-size: 6px; letter-spacing: .08em; }
  .brand svg { width: 25px; }
  .main-nav>a:first-child { display: none; }
  .main-nav .nav-cta { padding: 0 12px; gap: 12px; font-size: 11px; }
  .hero { display: block; padding: 39px 0 31px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .1em; }
  h1 { font-size: clamp(47px, 12.3vw, 70px); margin: 24px 0; }
  .hero-description { font-size: 15px; max-width: 340px; margin-bottom: 22px; }
  .hero-link { display: inline-flex; margin: 0 0 0 17px; font-size: 11px; gap: 9px; }
  .hero-copy>.button { font-size: 12px; gap: 18px; }
  .hero-footnote { margin: 24px 0 32px; }
  .hero-footnote p { font-size: 10px; }
  .system-console { max-width: 490px; margin: auto; }
  .console-top { font-size: 9px; padding: 0 15px; }
  .diagram-corner { font-size: 7px; top: 17px; }
  .top-left { left: 15px; }
  .diagram-bottom { padding-inline: 14px; font-size: 7px; }
  .motion-toggle { font-size: 9px; }
  .view-controls button { padding-inline: 13px; font-size: 12px; gap: 8px; }
  .view-controls button i { display: inline; }
  .system-description { min-height: 90px; padding: 17px 16px 5px; }
  #system-name { font-size: 13px; }
  #system-copy { font-size: 12px; }
  .schematic-note { font-size: 10px; padding: 5px 16px 17px; }
  .manifest-strip { gap: 11px 23px; font-size: 8px; padding: 20px 0; }
  .manifest-strip b { margin-right: 5px; }
  h2 { font-size: 34px; }
  .section-heading h2 { margin: 18px 0; }
  .system-row { grid-template-columns: 18px 1fr 50px; gap: 13px; }
  .system-row h3 { font-size: 16px; }
  .system-row p { font-size: 13px; }
  .system-row svg { width: 50px; }
  .development-section { grid-template-columns: 1fr; gap: 23px; padding: 25px; }
  .development-marker { display: flex; align-items: center; gap: 17px; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .development-marker>span { font-size: 32px; }
  .bar-code { width: 70px; height: 16px; margin: 0; }
  .development-section>.text-link { grid-column: auto; margin: 0; }
  .development-section h2 { font-size: 27px; }
  .development-section .development-note { font-size: 10px; }
  .signup-section { grid-template-columns: 1fr; gap: 30px; }
  .signup-copy>p:last-child { max-width: 100%; }
  .email-row { display: block; }
  .email-row input { display: block; width: 100%; min-height: 50px; font-size: 16px; }
  .email-row .button { margin-top: 10px; width: 100%; }
  .signup-disclosure { font-size: 12px; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; padding-block: 20px; }
  .site-footer nav { grid-column: 1 / -1; margin: 0; justify-content: space-between; border-top: 1px solid var(--line); }
  .site-footer p { font-size: 10px; }
}
@media (max-width: 360px) {
  .site-shell { padding-inline: 15px; }
  .brand small { display: none; }
  .hero-link { margin-left: 10px; font-size: 10px; gap: 5px; }
  .hero-copy>.button { padding-inline: 14px; gap: 14px; }
  .system-row { grid-template-columns: 18px 1fr; }
  .system-row svg { display: none; }
  .view-controls button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
