:root {
  --void: #03070d;
  --space: #06101a;
  --panel: rgba(8, 22, 34, .9);
  --panel-2: rgba(12, 30, 44, .72);
  --steel: #8aa4b0;
  --pale: #dce9ed;
  --cyan: #58bfd2;
  --cyan-dim: #1d6778;
  --amber: #d59a42;
  --line: rgba(104, 178, 197, .29);
  --muted: #8296a1;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--void); color: var(--pale); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 76% 19%, #0e2938 0, #06101a 27%, transparent 52%), linear-gradient(135deg, #03070d, #07121d 50%, #03080e); color: var(--pale); font-family: var(--body); }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; opacity: .23; pointer-events: none; background-image: linear-gradient(rgba(71, 130, 148, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(71, 130, 148, .12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 99; left: 1rem; top: -5rem; padding: .8rem 1rem; color: #021018; background: var(--cyan); text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.stars { position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: radial-gradient(circle, rgba(197, 230, 238, .9) 0 1px, transparent 1.4px); background-size: 103px 89px; opacity: .38; }
.stars-b { background-size: 173px 139px; background-position: 44px 27px; opacity: .19; }
.site-header { width: min(1380px, calc(100% - 64px)); height: 94px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.08rem; letter-spacing: .24em; text-decoration: none; }
.brand b { color: #fff; }
.brand-mark { width: 39px; height: 39px; fill: none; stroke: var(--cyan); stroke-width: 1.7; }
.brand-mark path { fill: var(--pale); stroke: none; }
.site-header nav a { color: #a6bdc6; font-family: var(--display); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); padding: .7rem 1rem; transition: color .2s, border-color .2s, background .2s; }
.site-header nav a:hover { color: white; border-color: var(--cyan); background: rgba(88,191,210,.08); }
main { width: min(1380px, calc(100% - 64px)); margin: auto; }
.hero { min-height: 690px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); }
.hero-copy { padding: 78px 0 78px 4vw; z-index: 1; }
.eyebrow { margin: 0 0 1.4rem; color: var(--cyan); font-family: var(--display); font-weight: 700; font-size: .69rem; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 34px; height: 1px; margin: 0 .7rem .25rem 0; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 1.4rem; font-family: var(--display); font-size: clamp(4.5rem, 8vw, 8.8rem); font-weight: 300; letter-spacing: -.04em; line-height: .71; text-shadow: 0 0 42px rgba(67, 153, 177, .2); }
.hero h1 span { color: white; font-weight: 900; }
.tagline { max-width: 510px; margin-bottom: 2rem; color: #9ab0b9; font-size: 1.02rem; letter-spacing: .025em; line-height: 1.7; }
.construction-notice { position: relative; display: flex; gap: 1rem; max-width: 540px; padding: 1rem 1.2rem; margin-bottom: 2rem; border: 1px solid rgba(213,154,66,.45); border-left: 3px solid var(--amber); background: linear-gradient(90deg, rgba(213,154,66,.1), rgba(15,25,32,.48)); }
.construction-notice::after { content: ""; position: absolute; width: 7px; height: 7px; right: -1px; top: -1px; border-top: 1px solid var(--amber); border-right: 1px solid var(--amber); }
.notice-icon { color: var(--amber); font-size: 1.3rem; }
.construction-notice strong { display: block; margin-bottom: .35rem; color: #f0c278; font-family: var(--display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.construction-notice p { margin: 0; color: #a4afb2; font-size: .83rem; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; }
.button, button { display: inline-flex; align-items: center; justify-content: center; gap: 2rem; min-height: 47px; padding: .78rem 1.1rem; border: 1px solid var(--cyan); color: #dffaff; background: rgba(33, 117, 136, .18); font-family: var(--display); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover, button:hover { background: rgba(66, 178, 202, .25); box-shadow: 0 0 28px rgba(76, 194, 216, .13); transform: translateY(-1px); }
.quiet-label { color: #647984; font-family: var(--display); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.orbit-stage { position: relative; height: 650px; align-self: end; overflow: hidden; }
.orbit-stage::before { content: ""; position: absolute; inset: 8% 4% 4%; border: 1px solid rgba(79, 153, 173, .12); clip-path: polygon(0 12%, 12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%); }
.orbit-stage svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 25px rgba(0,0,0,.55)); }
.orbit-line { fill: none; stroke: rgba(89,191,210,.21); stroke-width: 1; stroke-dasharray: 4 7; }
.orbit-line.faint { opacity: .4; stroke-dasharray: 1 12; }
.planet { filter: drop-shadow(0 -10px 38px rgba(45, 132, 160, .24)); }
.planet-rim { fill: none; stroke: #65bfd0; stroke-width: 1.5; opacity: .6; filter: drop-shadow(0 0 8px #52a9bf); }
.station { fill: #102635; stroke: #78a8b9; stroke-width: 1.5; filter: drop-shadow(0 0 16px rgba(89,191,210,.17)); }
.station-lights { fill: none; stroke: #e5ac53; stroke-width: 3.5; }
.ship { fill: #1a3545; stroke: #a0bbc5; stroke-width: 1.2; }
.ship .engine { fill: #63d8ed; stroke: none; filter: drop-shadow(0 0 8px #63d8ed); }
.beacons { fill: #67dcef; }
.telemetry { position: absolute; color: #67848f; font-family: var(--display); font-size: .57rem; letter-spacing: .15em; text-transform: uppercase; }
.telemetry::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 .45rem .15rem 0; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.telemetry b { display: block; margin: .25rem 0 0 1rem; color: #9eb2ba; font-weight: 600; }
.telemetry.top { top: 19%; right: 8%; }
.telemetry.bottom { left: 8%; bottom: 14%; }
.status-grid { padding: 100px 4vw 110px; display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 1px; background: var(--line); }
.status-grid > * { background: rgba(4,13,21,.95); }
.section-heading { padding: 2.1rem 2.5rem 2.1rem 0; }
.section-heading h2 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3.4rem); line-height: 1.04; font-weight: 300; }
.status-grid article { position: relative; min-height: 300px; padding: 2rem; }
.panel-number { color: #506673; font-family: monospace; font-size: .7rem; }
.status-grid h3 { margin: 3.2rem 0 1rem; font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.status-grid article p { min-height: 82px; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.status-chip { display: inline-block; padding: .38rem .55rem; border: 1px solid rgba(213,154,66,.4); color: #dcb36f; font-family: var(--display); font-size: .57rem; letter-spacing: .14em; text-transform: uppercase; }
.status-chip.muted { border-color: var(--line); color: #79929c; }
.site-footer { width: min(1380px, calc(100% - 64px)); min-height: 100px; margin: auto; display: flex; align-items: center; justify-content: space-between; color: #536773; font-family: var(--display); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; }

.interior main { min-height: calc(100vh - 194px); display: flex; align-items: center; }
.login-shell { width: 100%; padding: 80px 8vw; display: grid; grid-template-columns: 1fr minmax(360px, 490px); gap: 9vw; align-items: center; }
.login-context h1, .preview-header h1, .error-shell h1 { font-family: var(--display); font-size: clamp(3.6rem, 7vw, 7.4rem); font-weight: 300; letter-spacing: -.04em; line-height: .86; text-transform: uppercase; }
.login-context > p:not(.eyebrow) { max-width: 530px; color: #899ea8; line-height: 1.7; }
.construction-notice.compact { margin-top: 2rem; }
.login-panel, .command-panel { position: relative; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(13,32,46,.97), rgba(5,14,22,.97)); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.login-panel { padding: 2.7rem; }
.panel-cap { display: flex; justify-content: space-between; margin: -1.5rem -1.5rem 2.6rem; padding: .7rem .8rem; border-bottom: 1px solid var(--line); color: #61808d; font-family: monospace; font-size: .58rem; letter-spacing: .13em; }
.signal-dot { color: #79b9c6; }
.signal-dot::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.login-panel h2, .command-panel h2 { margin-bottom: .7rem; font-family: var(--display); font-size: 1.8rem; font-weight: 500; text-transform: uppercase; }
.form-intro { color: var(--muted); font-size: .83rem; line-height: 1.6; }
.form-error { margin: 1.2rem 0; padding: .8rem 1rem; border-left: 2px solid var(--amber); background: rgba(213,154,66,.09); color: #e6bf7f; font-size: .78rem; }
.login-panel label { display: block; margin: 1.35rem 0 .5rem; color: #8ba0a9; font-family: var(--display); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; }
.login-panel input:not([type="hidden"]) { width: 100%; height: 48px; padding: .5rem .8rem; border: 1px solid #264756; border-radius: 0; outline: 0; color: white; background: rgba(2,9,15,.8); }
.login-panel input:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(88,191,210,.12); }
.login-panel button { width: 100%; margin-top: 1.7rem; }
.form-foot { margin: 1.2rem 0 0; text-align: center; color: #5f737e; font-size: .7rem; }

.preview-page main { display: block; }
.preview-header { padding: 70px 4vw 45px; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.preview-header h1 { margin-bottom: 1rem; font-size: clamp(3rem, 5vw, 5.7rem); }
.preview-header > div > p:last-child { max-width: 650px; color: var(--muted); line-height: 1.6; }
.button.secondary { color: #94abb5; border-color: #42606d; background: transparent; }
.preview-grid { padding: 0 4vw 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.command-panel { padding: 2rem; box-shadow: none; }
.primary-panel { grid-column: 1 / -1; min-height: 280px; padding: 2.6rem; background: linear-gradient(105deg, rgba(13,42,56,.92), rgba(6,17,26,.96)); }
.primary-panel .panel-cap { margin: -1.4rem -1.4rem 2rem; }
.kicker { color: var(--cyan); font-family: var(--display); font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; }
.primary-panel > p:not(.kicker) { max-width: 650px; color: var(--muted); line-height: 1.65; }
.progress-track { width: min(650px, 100%); height: 3px; margin: 2rem 0; background: #152c37; }
.progress-track span { display: block; width: 23%; height: 100%; background: var(--cyan); box-shadow: 0 0 11px var(--cyan); }
.primary-panel dl { display: flex; gap: clamp(2rem, 8vw, 7rem); margin: 0; }
.primary-panel dl div { display: grid; gap: .4rem; }
.primary-panel dt { color: #607985; font-family: var(--display); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; }
.primary-panel dd { margin: 0; color: #b9cbd1; font-size: .8rem; }
.module { min-height: 285px; }
.module-icon { float: right; color: #578392; font-size: 1.7rem; }
.module > p:not(.kicker) { min-height: 100px; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.error-shell { margin: auto; padding: 90px 1rem; text-align: center; }
.error-shell h1 { margin-bottom: 1rem; }
.error-shell > p:not(.eyebrow):not(.error-code) { color: var(--muted); }
.error-shell .eyebrow > span { display: none; }
.error-code { margin: 0; color: rgba(88,191,210,.12); font-family: var(--display); font-size: 10rem; font-weight: 900; line-height: .75; }
.error-shell .button { margin-top: 1.5rem; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 75px 5vw 15px; }
  .orbit-stage { height: 550px; width: min(760px, 100%); margin: auto; }
  .status-grid { grid-template-columns: repeat(3, 1fr); }
  .section-heading { grid-column: 1 / -1; padding: 1rem 0 3rem; }
  .login-shell { padding: 70px 4vw; gap: 5vw; }
}

@media (max-width: 720px) {
  .site-header, main, .site-footer { width: min(100% - 32px, 1380px); }
  .site-header { height: 76px; }
  .brand { font-size: .85rem; letter-spacing: .16em; }
  .brand-mark { width: 32px; }
  .site-header nav a { padding: .58rem .7rem; font-size: .59rem; }
  .hero { min-height: 0; }
  .hero-copy { padding: 65px 0 5px; }
  .hero h1 { font-size: clamp(4rem, 23vw, 6.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .orbit-stage { height: 430px; }
  .status-grid { padding: 75px 0; grid-template-columns: 1fr; }
  .section-heading { grid-column: auto; }
  .status-grid article { min-height: 250px; }
  .status-grid article p { min-height: 0; }
  .site-footer { padding: 2rem 0; gap: 1rem; align-items: flex-start; flex-direction: column; }
  .login-shell { padding: 65px 0; grid-template-columns: 1fr; }
  .login-context h1 { font-size: 4.2rem; }
  .login-panel { padding: 2rem 1.4rem; }
  .preview-header { padding: 60px 0 35px; align-items: flex-start; flex-direction: column; }
  .preview-grid { padding: 0 0 70px; grid-template-columns: 1fr; }
  .primary-panel { grid-column: auto; padding: 2rem 1.4rem; }
  .primary-panel dl { gap: 1.4rem; flex-direction: column; }
}

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