:root {
  color-scheme: dark;
  --bg: #03070d; --surface: rgba(13, 22, 37, .78); --solid: #0b1422; --raised: rgba(255, 255, 255, .04);
  --border: rgba(148, 178, 210, .16); --text: #e6eef7; --muted: #8b9cb1; --faint: #5f7087;
  --accent: #4cc9f0; --accent-soft: rgba(76, 201, 240, .14);
  --ok: #3ddc97; --ok-soft: rgba(61, 220, 151, .13); --warn: #ffb454; --warn-soft: rgba(255, 180, 84, .15);
  --dot: #4cc9f0; --dot-ring: #0b1422; --band: rgba(2, 6, 14, .55); --plot: rgba(255, 255, 255, .035); --grid: rgba(148, 178, 210, .13);
  --sun: rgba(255, 196, 87, .20); --night: rgba(4, 9, 20, .9); --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --glow1: rgba(76, 201, 240, .13); --glow2: rgba(120, 90, 255, .11); --band-end: var(--bg);
}
/* One dark design throughout: the hero, the story and the sky are space, and the page between them stays in it. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* the background is on html, so the starfield (z-index -1) shows above it and below the page */
html {
  background:
    radial-gradient(1100px 520px at 85% -8%, var(--glow1), transparent 62%),
    radial-gradient(900px 480px at -5% 0%, var(--glow2), transparent 58%),
    var(--bg);
  background-attachment: fixed;
}
body { margin: 0; color: var(--text); min-height: 100vh; font: 15px/1.5 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }
svg { display: block; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* the space band at the top: dark in both themes, because space is */
.space { --text: #e6eef7; --muted: #9fb0c6; --faint: #70839b; --accent: #4cc9f0; --ok: #3ddc97; --border: rgba(148, 178, 210, .2);
  position: relative; color: var(--text); overflow: hidden; isolation: isolate;
  background: radial-gradient(1300px 760px at 70% 42%, #10264a 0%, #060d1c 52%, #02050b 100%); }
.space.live { min-height: min(94vh, 900px); }
.space canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; touch-action: pan-y; cursor: grab; }
.space canvas.pointing { cursor: pointer; }
.space canvas:active { cursor: grabbing; }
.space .shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 5, 11, .82) 0%, rgba(2, 5, 11, .5) 30%, transparent 56%), linear-gradient(transparent 70%, var(--band-end)); }
.space-inner { position: relative; z-index: 2; pointer-events: none; padding-top: clamp(44px, 12vh, 140px); padding-bottom: 150px; }
.space-inner > * { pointer-events: auto; max-width: 29rem; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
h1 { font-size: clamp(2.6rem, 6.6vw, 4.6rem); line-height: 1.02; margin: 16px 0 14px; font-weight: 780; letter-spacing: -.03em;
  background: linear-gradient(100deg, #f2f7fc 25%, #4cc9f0 75%, #8c9bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); margin: 0; font-size: 1.08rem; }
.updated { color: var(--faint); font-size: 13px; margin: 14px 0 0; }
.labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sat-label { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px;
  border-radius: 999px; border: 1px solid rgba(148, 178, 210, .28); background: rgba(5, 11, 22, .74); color: #e6eef7;
  font: 600 12px/1.4 Inter, ui-sans-serif, system-ui, sans-serif; white-space: nowrap; cursor: pointer; backdrop-filter: blur(4px); transition: opacity .25s; }
.sat-label small { color: #9fb0c6; font-weight: 500; font-variant-numeric: tabular-nums; }
.sat-label i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sat-label:hover, .sat-label:focus-visible, .sat-label.on { border-color: #4cc9f0; outline: none; }
.sat-label.behind { opacity: .25; }
.sat-label.over-text:not(.on) { opacity: 0; pointer-events: none; }
.labels.away .sat-label { opacity: 0; pointer-events: none; }
.scene-bar { position: absolute; z-index: 3; left: clamp(326px, 68%, calc(100% - 326px)); bottom: 34px; transform: translateX(-50%); width: min(620px, calc(100% - 32px));
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(5, 11, 22, .7);
  border: 1px solid rgba(148, 178, 210, .2); color: #e6eef7; backdrop-filter: blur(8px); font-size: 13px; }
.space button.ghost, .scene-bar button { flex: none; border: 1px solid rgba(148, 178, 210, .3); background: rgba(255, 255, 255, .06); color: inherit; border-radius: 9px; padding: 4px 10px; font: inherit; cursor: pointer; }
.space button.ghost:hover, .scene-bar button:hover { border-color: #4cc9f0; }
.scene-bar input { flex: 1; min-width: 0; accent-color: #4cc9f0; }
.scene-bar output { flex: none; min-width: 7.5em; text-align: right; font-variant-numeric: tabular-nums; color: #9fb0c6; }
.scene-hint { position: absolute; z-index: 2; top: 72px; right: 20px; margin: 0; color: #8b9cb1; font-size: 12px; pointer-events: none; }
.scene-note { position: absolute; z-index: 3; top: 72px; left: 50%; transform: translateX(-50%); margin: 0; color: #ffb454; font-size: 12.5px; text-align: center; width: min(560px, calc(100% - 32px)); }
.scene-key { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.scene-key li { display: flex; align-items: center; gap: 7px; }
.scene-key i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.scene-key i.cyl { border-radius: 3px; background: rgba(71, 87, 201, .35); border: 1px solid #8c9bff; }
.sat-pop { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1120px) / 2)); top: 50%; transform: translateY(-50%); width: 290px;
  padding: 16px 18px; border-radius: 18px; background: rgba(6, 13, 26, .82); border: 1px solid rgba(148, 178, 210, .25); color: #e6eef7;
  backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font-size: 13.5px; }
.sat-pop h3 { margin: 0 28px 0 0; font-size: 1.15rem; letter-spacing: -.01em; text-transform: none; color: #f2f7fc; }
.sat-pop .sub { color: #8b9cb1; font-size: 12px; margin: 2px 0 10px; }
.sat-pop dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0 0 12px; }
.sat-pop dt { color: #8b9cb1; } .sat-pop dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sat-pop .x { position: absolute; top: 10px; right: 10px; padding: 2px 8px; }
.pop-actions { display: flex; gap: 8px; }
.sat-pop .go { flex: 1; padding: 7px 10px; }
.sat-pop .follow[aria-pressed="true"] { border-color: #4cc9f0; color: #4cc9f0; }
.spark-cap { margin: 0 0 4px; color: #8b9cb1; font-size: 12px; }
.spark { display: block; width: 100%; height: 44px; margin: 0 0 12px; }
.show-on-globe { border: 1px solid var(--border); background: var(--raised); color: var(--muted); border-radius: 9px; padding: 3px 9px; font: inherit; font-size: 12px; cursor: pointer; margin-top: 6px; }
.show-on-globe:hover { color: var(--text); border-color: var(--accent); }
.space:not(.live) ~ .wrap .show-on-globe { display: none; }

/* summary tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 26px; }
.tile { position: relative; background: radial-gradient(240px 120px at 0% 0%, var(--accent-soft), transparent 70%), var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(8px); }
.tile .n { font-size: 1.9rem; font-weight: 750; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile > .icon { position: absolute; top: 14px; right: 14px; color: var(--accent); opacity: .75; }
.tile .l { color: var(--muted); font-size: 13px; margin-top: 2px; }
.tile.good .n { background-image: linear-gradient(100deg, var(--ok), var(--accent)); } .tile.bad .n { background-image: linear-gradient(100deg, var(--warn), #ff5d73); }
.tile.good > .icon { color: var(--ok); } .tile.bad > .icon { color: var(--warn); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.card { background: radial-gradient(520px 220px at 0% 0%, var(--accent-soft), transparent 70%), radial-gradient(420px 220px at 100% 0%, rgba(140, 155, 255, .08), transparent 70%), var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); backdrop-filter: blur(10px); min-width: 0; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
h2 { font-size: 1.35rem; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.norad { color: var(--faint); font-size: 12.5px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px 4px 9px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill .icon { width: 15px; height: 15px; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.mute { background: var(--raised); color: var(--muted); }

.light { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; }
.orb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.orb .icon { width: 22px; height: 22px; }
.orb.sun { background: var(--sun); color: #ffb52e; } .orb.moon { background: var(--raised); color: var(--muted); border: 1px solid var(--border); }
.light strong { display: block; font-size: 15px; } .light small { color: var(--muted); }
.timeline { margin: 4px 0 6px; }
.timeline svg { width: 100%; height: auto; border-radius: 8px; }
.key { color: var(--faint); font-size: 12px; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.key i { display: inline-block; width: 12px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; border: 1px solid var(--border); }

.batt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.bhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
h3 { font-size: 13px; margin: 0; color: var(--muted); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.big { font-size: 2.3rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.big span { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 3px; }
.flow { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 10px 2px 7px; background: var(--raised); color: var(--muted); }
.flow .icon { width: 14px; height: 14px; }
.flow.charging { background: var(--ok-soft); color: var(--ok); }
.flow.discharging { background: var(--warn-soft); color: var(--warn); }
.sub { color: var(--faint); font-size: 12.5px; margin: 4px 0 0; }
/* plain words first */
.verdict { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: var(--text); }
.bstory { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.bstory.good { color: var(--ok); } .bstory.warn { color: var(--warn); } .bstory.calm { color: var(--muted); }
/* the gauge: a battery outline with a gradient fill */
.gauge { position: relative; margin: 12px 0 4px; padding-right: 8px; }
.gauge .cell { position: relative; height: 22px; border-radius: 8px; border: 1.5px solid var(--border); overflow: hidden;
  background: linear-gradient(90deg, #2b7fd8 0%, #4cc9f0 45%, #3ddc97 100%); box-shadow: inset 0 0 0 3px var(--solid); }
/* the empty part covers the gradient from the right */
.gauge .cell i { position: absolute; top: 0; right: 0; bottom: 0; background: var(--solid); transition: width .6s ease; }
.gauge .tip { position: absolute; right: 2px; top: 7px; width: 5px; height: 9px; border-radius: 0 3px 3px 0; background: var(--border); }
.gauge-scale { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; color: var(--faint); font-size: 11.5px; }
.gauge-scale span:nth-child(2) { color: var(--muted); font-weight: 600; }
.gauge-scale span { white-space: nowrap; }
.chartbox .cap span { color: var(--faint); }
svg .trend { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
svg .range { stroke: var(--dot); stroke-width: 2; stroke-linecap: round; opacity: .35; }
.chartbox { margin-top: 12px; }
.chartbox .cap { color: var(--muted); font-size: 12.5px; margin: 0 0 2px; }
svg.chart { width: 100%; height: auto; overflow: visible; }
svg .plot { fill: var(--plot); } svg .band { fill: var(--band); } svg .grid { stroke: var(--grid); stroke-width: 1; }
svg .zero { stroke: var(--faint); stroke-dasharray: 4 3; stroke-width: 1; }
svg .path { fill: none; stroke: var(--dot); stroke-width: 1.6; opacity: .45; stroke-linejoin: round; }
svg .dot { fill: var(--dot); stroke: var(--dot-ring); stroke-width: 2; }
svg .dot.shade { fill: var(--dot-ring); stroke: var(--dot); stroke-width: 2; }
svg .dot.last { stroke: var(--text); stroke-width: 2.5; }
svg .halo { fill: var(--dot); opacity: .18; }
svg text { fill: var(--muted); font-size: 11px; font-family: inherit; }
svg text.val { fill: var(--text); font-weight: 700; font-size: 12px; }
.rules { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.rules li { display: flex; gap: 8px; align-items: flex-start; background: var(--warn-soft); color: var(--text); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; }
.rules .icon { color: var(--warn); margin-top: 1px; }
.quiet { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; display: flex; align-items: center; gap: 7px; }
.quiet .icon { color: var(--ok); width: 16px; height: 16px; }
details { margin-top: 10px; font-size: 13.5px; }
summary { cursor: pointer; color: var(--muted); } summary:hover { color: var(--text); }
table { border-collapse: collapse; margin-top: 8px; width: 100%; }
th, td { text-align: left; padding: 4px 10px 4px 0; font-variant-numeric: tabular-nums; }
th { color: var(--faint); font-weight: 600; font-size: 12px; border-bottom: 1px solid var(--border); }
.note { color: var(--faint); font-size: 12.5px; margin: 10px 0 0; }

/* how it works */
.how { margin: 34px 0 6px; }
.how h2 { font-size: 1.1rem; margin-bottom: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { position: relative; background: radial-gradient(300px 140px at 0% 0%, var(--accent-soft), transparent 70%), var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.step .num { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #4cc9f0, #8c9bff); color: #04101e; display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(76, 201, 240, .3); }
.step > .icon { position: absolute; top: 18px; right: 16px; width: 22px; height: 22px; color: var(--accent); opacity: .8; }
.step b { display: block; margin-bottom: 2px; } .step p { margin: 0; color: var(--muted); font-size: 14px; }
footer { color: var(--faint); font-size: 13px; padding: 28px 0 56px; }
footer p { margin: 0 0 8px; max-width: 80ch; }
#error { display: none; border: 1px solid var(--warn); background: var(--warn-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.skeleton { height: 140px; border-radius: 18px; background: var(--raised); border: 1px solid var(--border); }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .tiles { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: repeat(2, 1fr); }
  .space.live { min-height: 0; }
  .space.live .space-inner { padding-top: min(116vw, 560px); padding-bottom: 96px; }
  .space .shade { background: linear-gradient(transparent 0%, transparent min(78vw, 380px), rgba(2, 5, 11, .78) min(112vw, 540px), var(--band-end) 100%); }
  .space-inner > * { max-width: none; }
  .scene-bar { bottom: 20px; left: 50%; }
  .sat-pop { position: fixed; top: auto; bottom: 12px; transform: none; left: 12px; right: 12px; width: auto; z-index: 20; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .wrap { padding: 0 14px; } .card { padding: 16px; border-radius: 16px; } .big { font-size: 2rem; } }

/* the 3D below the globe (space.js) */
.starfield { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.card { position: relative; transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; }
.step, .tile { transition: transform .25s ease; }
.card.tilted { box-shadow: 0 18px 50px rgba(0, 0, 0, .35), 0 0 0 1px rgba(76, 201, 240, .18); }
.sat3d { pointer-events: none; }

/* the scroll story: plain text without the module, a pinned 3D scene with it */
.story { --text: #f5f5f7; position: relative; background: #000; color: var(--text); padding: 72px max(20px, calc((100vw - 1120px) / 2 + 20px)); }
.story-step { max-width: 30rem; margin: 0 0 48px; }
.story-step h2 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 780; margin: 0 0 16px;
  background: linear-gradient(100deg, #f5f5f7 30%, #4cc9f0 80%, #8c9bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-step p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: #a1a1a6; margin: 0; }
.story canvas, .story-dots { display: none; }
.story.live { height: 440vh; padding: 0; }
.story.live .story-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story.live canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.story.live .story-step { position: absolute; left: max(24px, calc((100vw - 1120px) / 2 + 20px)); top: 50%; margin: -120px 0 0; opacity: 0; will-change: opacity, transform; }
.story.live .story-dots { display: flex; flex-direction: column; gap: 10px; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.story-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(245, 245, 247, .25); transition: background .3s, transform .3s; }
.story-dots i.on { background: #4cc9f0; transform: scale(1.5); }
@media (max-width: 900px) {
  .story.live .story-step { top: auto; bottom: 9vh; margin: 0; left: 20px; right: 20px; max-width: none; }
  .story.live .story-dots { right: 12px; }
}
/* reveal on scroll */
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal:not(.in) { opacity: 0; transform: translateY(28px); }

/* the closing section: orbitscreen's sky */
.showcase { --text: #f5f5f7; position: relative; overflow: hidden; background: radial-gradient(1200px 700px at 72% 50%, #0b1730 0%, #03060d 60%, #000 100%); color: var(--text); margin-top: 48px; }
.showcase canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.showcase-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 110px 20px 72px; pointer-events: none; }
.showcase-inner > * { pointer-events: auto; max-width: 31rem; }
.showcase.live { min-height: min(92vh, 860px); }
.eyebrow { color: #4cc9f0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.showcase h2 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 780; margin: 0 0 18px;
  background: linear-gradient(100deg, #f5f5f7 25%, #8c9bff 70%, #4cc9f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.showcase-lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: #a1a1a6; margin: 0; }
.showcase-lede a { color: #f5f5f7; }
.showcase-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 30px; }
.showcase-stats b { display: block; font-size: 1.9rem; letter-spacing: -.02em; background: linear-gradient(100deg, #f5f5f7, #4cc9f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.showcase-stats span { color: #8b9cb1; font-size: 13px; line-height: 1.4; }
.showcase-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary { display: inline-block; padding: 12px 22px; border-radius: 999px; background: linear-gradient(100deg, #4cc9f0, #8c9bff); color: #04101e; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(76, 201, 240, .3); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { display: inline-block; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(245, 245, 247, .3); color: #f5f5f7; text-decoration: none; }
.btn-ghost:hover { border-color: #4cc9f0; }
.showcase-note { color: #6e7a8c; font-size: 12px; line-height: 1.5; margin: 26px 0 0; }
@media (max-width: 900px) {
  .showcase.live .showcase-inner { padding-top: min(96vw, 520px); padding-bottom: 64px; }
  .showcase-inner > * { max-width: none; }
  .showcase-stats { grid-template-columns: 1fr; gap: 12px; }
}

/* one site: a fixed navigation bar, the same head on every section */
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.topnav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 56px; display: flex; align-items: center; gap: 18px; padding: 0 max(16px, calc((100vw - 1120px) / 2 + 20px));
  color: #e6eef7; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.topnav.scrolled { background: rgba(4, 8, 16, .72); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: rgba(148, 178, 210, .14); }
.nav-brand { display: flex; align-items: center; gap: 9px; color: #f5f5f7; font-weight: 700; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: #a1a1a6; text-decoration: none; font-size: 13.5px; padding: 6px 11px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: #f5f5f7; }
.nav-links a.on { color: #f5f5f7; background: rgba(255, 255, 255, .08); }
.nav-cta { flex: none; color: #04101e; background: linear-gradient(100deg, #4cc9f0, #8c9bff); text-decoration: none; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.space-inner { padding-top: calc(56px + clamp(36px, 10vh, 120px)); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.section-head { margin: 0 0 22px; max-width: 40rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 780; margin: 0 0 10px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin: 0; }
.sats { padding-top: 72px; }
.how { padding-top: 56px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* satellites: compact rows that open */
.sat-list { display: flex; flex-direction: column; gap: 10px; }
.sat { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; backdrop-filter: blur(10px); }
.sat-row { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1.6fr) 110px 150px 120px auto 24px; align-items: center; gap: 14px; padding: 8px 18px 8px 10px;
  background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sat-row:hover { background: var(--raised); }
.sat-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sat-row .sat3d { position: static; width: 56px; height: 56px; }
.sat-name b { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.sat-name small { color: var(--faint); font-size: 12px; }
.sat-light { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.sat-light.sun .icon { color: #ffb52e; } .sat-light.moon .icon { color: #8c9bff; }
.sat-volt { display: flex; flex-direction: column; gap: 5px; font-variant-numeric: tabular-nums; }
.sat-volt b { font-size: 1.05rem; }
.sat-volt.muted { color: var(--faint); font-size: 13px; }
.mini { display: block; width: 96px; height: 6px; border-radius: 99px; background: var(--raised); border: 1px solid var(--border); overflow: hidden; }
.mini i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2b7fd8, #4cc9f0, #3ddc97); }
.sat-seen { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.chev { display: grid; place-items: center; color: var(--faint); transition: transform .3s; }
.sat-row[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sat-panel { padding: 4px 20px 20px; border-top: 1px solid var(--border); animation: open .35s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .sat-panel { animation: none; } }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-top .verdict { margin: 14px 0 10px; }
.batts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 24px; }
@media (max-width: 760px) {
  .sat-row { grid-template-columns: 48px minmax(0, 1fr) auto 20px; grid-template-areas: "m n p c" "m l v s"; row-gap: 4px; padding: 10px 12px 10px 8px; }
  .sat-row .sat3d { grid-area: m; width: 48px; height: 48px; }
  .sat-name { grid-area: n; } .sat-light { grid-area: l; } .sat-volt { grid-area: v; } .sat-seen { grid-area: s; justify-self: end; font-size: 12.5px; }
  .sat-row .pill { grid-area: p; } .chev { grid-area: c; }
  .sat-volt { flex-direction: row; align-items: center; } .mini { width: 46px; }
  .sat-panel { padding: 4px 14px 16px; }
}

/* the footer */
.site-foot { margin-top: 0; padding: 48px 0 56px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; font-size: 13.5px; color: var(--muted); }
.foot-grid b { display: block; color: var(--text); margin-bottom: 10px; }
.foot-grid a, .foot-grid span { display: block; margin: 0 0 6px; }
.foot-grid span a, .foot-grid p a { display: inline; margin: 0; }
.foot-grid p { margin: 0; line-height: 1.55; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 22px; } }

/* minutes in the shadow, for every satellite */
.shadow-box { margin: 0 0 30px; padding: 18px 20px; border-radius: 18px; background: rgba(8, 15, 30, .72); border: 1px solid rgba(148, 178, 210, .2); backdrop-filter: blur(10px); }
.shadow-box h3 { margin: 0 0 6px; font-size: 1.1rem; color: #f5f5f7; }
.shadow-box p { margin: 0 0 14px; color: #a1a1a6; font-size: 14px; line-height: 1.5; }
.sbar { display: grid; grid-template-columns: 130px 1fr 56px; align-items: center; gap: 10px; margin: 6px 0; font-size: 13px; color: #a1a1a6; }
.sbar i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #4cc9f0, #8c9bff); min-width: 3px; }
.sbar b { color: #f5f5f7; text-align: right; font-variant-numeric: tabular-nums; }
.shadow-q { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 13px; color: #8b9cb1; }
.shadow-q input { padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(148, 178, 210, .3); background: rgba(255, 255, 255, .05); color: #f5f5f7; font: inherit; font-size: 14px; }
.shadow-q input:focus { outline: none; border-color: #4cc9f0; }
.shadow-hits { list-style: none; padding: 0; margin: 10px 0 0; }
.shadow-hits li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(148, 178, 210, .12); font-size: 13.5px; }
.shadow-hits li span { color: #a1a1a6; text-align: right; }

/* small production details */
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: #4cc9f0; color: #04101e; font-weight: 700; text-decoration: none; }
.skip:focus { top: 64px; }
.noscript { position: relative; z-index: 40; margin: 72px auto 0; max-width: 40rem; padding: 14px 18px; border-radius: 12px; background: #2a1a05; color: #ffd8a0; }
::selection { background: rgba(76, 201, 240, .35); }
