/* MERIDIAN — concept site by Gabriel Cerezo */

:root {
  --bg: #07090e;
  --bg-2: #0a0e15;
  --panel: #0c1119;
  --panel-2: #111825;
  --line: #1a2130;
  --line-2: #273042;
  --text: #e6eaf2;
  --mid: #a0a9ba;
  --faint: #7d869b;
  --accent: #5ee6c8;
  --accent-2: #3cc9ab;
  --accent-dim: rgba(94, 230, 200, .1);
  --warn: #e8b14e;
  --crit: #ef6461;
  --info: #8fb7ff;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(94, 230, 200, .07), transparent 70%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 48px 100%;
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.accent { color: var(--accent); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #04110d; padding: 10px 14px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Status bar */
.statusbar { border-bottom: 1px solid var(--line); background: #05070b; font-family: var(--mono); font-size: 11.5px; color: var(--mid); letter-spacing: .04em; text-transform: uppercase; }
.statusbar-inner { display: flex; gap: 24px; align-items: center; height: 32px; }
.sb-item { white-space: nowrap; }
.sb-ok { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.sb-clock { margin-left: auto; color: var(--text); }
.pulse, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(94,230,200,.6); animation: ping 2s infinite; display: inline-block; flex-shrink: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(94,230,200,.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(94,230,200,0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 14, .82); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .22em; font-size: 14px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.nav a { display: block; padding: 8px 12px; font-size: 14px; color: var(--mid); text-decoration: none; border-radius: 6px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a.is-current { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #03100c; border: 1px solid var(--accent); border-radius: 8px;
  padding: 12px 20px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { background: #7cf0d6; box-shadow: 0 0 0 4px rgba(94,230,200,.15); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--faint); box-shadow: none; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 8px; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); height: calc(100dvh - 96px); overflow-y: auto; }
.mobile-menu nav { padding-top: 12px; padding-bottom: 32px; display: grid; gap: 24px; }
.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn) { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; font-size: 22px; font-weight: 500; text-decoration: none; letter-spacing: -.01em; }
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--accent); }

/* Hero */
.hero { padding: clamp(32px, 4.5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--mid); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 22px; }
.kicker-tag { color: var(--accent); border: 1px solid rgba(94,230,200,.35); background: var(--accent-dim); border-radius: 4px; padding: 2px 7px; }
.hero h1 { font-size: clamp(34px, 4.7vw, 62px); font-weight: 500; line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--mid); max-width: 54ch; margin-top: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,17,25,.7); overflow: hidden; }
.kpi { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi:nth-child(2n) { border-right: 0; }
.kpi:nth-child(n+3) { border-bottom: 0; }
.kpi dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.kpi dd { margin-top: 8px; display: grid; gap: 2px; }
.kpi dd .mono { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.kpi small { font-size: 12.5px; color: var(--mid); }
.kpi small.up { color: var(--accent); }
.kpi small.warn { color: var(--warn); }

/* Console */
.console { border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, rgba(17,24,37,.9), rgba(10,14,21,.95)); box-shadow: 0 40px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; }
.console-bar, .panel-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.panel-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--text); }
.console-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.console-epoch { margin-left: auto; font-size: 12px; color: var(--mid); white-space: nowrap; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding: 6px 11px; border-radius: 6px; background: transparent; color: var(--mid); border: 1px solid var(--line-2); transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--text); border-color: var(--faint); }
.chip.is-active { color: #03100c; background: var(--accent); border-color: var(--accent); }
.console-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.map-wrap { position: relative; border-right: 1px solid var(--line); min-width: 0; }
#map { width: 100%; height: auto; aspect-ratio: 11 / 5; background: #060a10; cursor: crosshair; }
.map-legend { position: absolute; left: 12px; bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 10.5px; color: var(--mid); background: rgba(6,10,16,.75); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { display: inline-block; }
.lg-sat { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.lg-track { width: 16px; border-top: 1.5px dashed var(--accent); }
.lg-stn { width: 7px; height: 7px; border: 1.5px solid var(--warn); transform: rotate(45deg); }
.lg-night { width: 12px; height: 8px; background: rgba(0,0,0,.6); border: 1px solid var(--line-2); }
.telemetry { display: flex; flex-direction: column; min-width: 0; height: 0; min-height: 100%; }
.tele-head { padding: 16px; border-bottom: 1px solid var(--line); }
.tele-label { font-family: var(--mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.tele-name { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; }
.tele-sub { font-size: 11.5px; color: var(--mid); margin-top: 2px; }
.tele-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tele-grid > div { padding: 10px 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; }
.tele-grid > div:nth-child(3n) { border-right: 0; }
.tele-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.tele-grid dt { font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.tele-grid dd { font-size: 13.5px; white-space: nowrap; margin-top: 2px; font-variant-numeric: tabular-nums; }
.obj-list { padding: 6px; overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.obj { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: none; border: 1px solid transparent; border-radius: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--mid); text-align: left; transition: background-color .2s, color .2s; }
.obj i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.obj span { margin-left: auto; font-size: 10.5px; color: var(--faint); }
.obj:hover { background: var(--panel-2); color: var(--text); }
.obj.is-active { background: var(--accent-dim); border-color: rgba(94,230,200,.3); color: var(--text); }
.obj-list li.is-hidden { display: none; }
.console-foot { font-size: 11px; color: var(--faint); padding: 10px 16px; border-top: 1px solid var(--line); }

/* Trust */
.trust { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 7vw, 96px); }
.trust p { font-family: var(--mono); font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.trust ul { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.trust li { font-weight: 600; font-size: 16px; color: #6c7488; letter-spacing: -.01em; }

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.section-alt { background: rgba(10,14,21,.6); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .section-lede { margin-left: auto; margin-right: auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.section h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.section-lede { color: var(--mid); font-size: clamp(15.5px, 1.3vw, 17.5px); margin-top: 16px; max-width: 60ch; }

.panel { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); overflow: hidden; min-width: 0; }

/* Passes */
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; font-size: 14px; color: var(--mid); white-space: nowrap; transition: color .2s, border-color .2s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.next-pass { margin-left: auto; font-size: 12.5px; color: var(--mid); white-space: nowrap; }
.next-pass strong { color: var(--accent); font-weight: 500; margin: 0 6px; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.passes { width: 100%; border-collapse: collapse; font-size: 14px; }
.passes th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.passes td { padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--mid); }
.passes tbody tr:last-child td { border-bottom: 0; }
.passes tbody tr { transition: background-color .2s; }
.passes tbody tr:hover { background: var(--panel-2); }
.passes tr.is-next td { background: rgba(94,230,200,.05); }
.passes tr.is-next td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.passes td.mono { font-size: 13px; }
.obj-cell { color: var(--text) !important; font-weight: 500; }
.el { display: inline-flex; align-items: center; gap: 10px; }
.el-bar { width: 56px; height: 4px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.el-bar::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: var(--accent); border-radius: 2px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; border: 1px solid; white-space: nowrap; }
.b-ok { color: var(--accent); border-color: rgba(94,230,200,.35); background: rgba(94,230,200,.08); }
.b-warn { color: var(--warn); border-color: rgba(232,177,78,.35); background: rgba(232,177,78,.08); }
.b-crit { color: var(--crit); border-color: rgba(239,100,97,.4); background: rgba(239,100,97,.1); }
.b-info { color: var(--info); border-color: rgba(143,183,255,.35); background: rgba(143,183,255,.08); }

/* Stations */
.stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.station { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); padding: 20px; display: flex; flex-direction: column; gap: 18px; transition: border-color .25s, transform .25s var(--ease); }
.station:hover { border-color: rgba(94,230,200,.35); transform: translateY(-2px); }
.stn-top { display: flex; justify-content: space-between; gap: 16px; }
.stn-code { font-size: 11.5px; color: var(--accent); letter-spacing: .1em; }
.station h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin-top: 4px; }
.stn-loc { font-size: 14px; color: var(--mid); }
.sky { width: 92px; height: 92px; flex-shrink: 0; }
.stn-data { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 12.5px; }
.stn-data dt { font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.stn-data dd { color: var(--text); margin-top: 2px; font-variant-numeric: tabular-nums; }
.stn-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mid); margin-top: auto; }

/* Events */
.events-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.events { padding: 0; }
.event { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; padding: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.event:last-child { border-bottom: 0; }
.event.is-hidden { display: none; }
.ev-time { display: grid; gap: 2px; font-size: 12px; }
.ev-rel { color: var(--text); font-weight: 500; }
.ev-abs { color: var(--faint); }
.ev-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.ev-desc { color: var(--mid); font-size: 14px; margin-top: 4px; }
.ev-type { font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.cdm-body { padding: 18px; }
.cdm-pair { font-size: 13px; color: var(--text); }
.cdm-pair span { color: var(--crit); margin: 0 6px; }
.cdm-plot { width: 100%; height: auto; margin: 14px 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #070b11; }
.cdm-data { display: grid; font-size: 12.5px; }
.cdm-data > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cdm-data > div:last-child { border-bottom: 0; }
.cdm-data dt { color: var(--faint); }
.cdm-data dd { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.cdm-data dd.crit { color: var(--crit); }

/* Platform */
.platform-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); padding: 22px; }
.feature-stat { font-size: 24px; color: var(--accent); letter-spacing: -.02em; }
.feature h3 { font-size: 16px; font-weight: 600; margin: 14px 0 6px; letter-spacing: -.01em; }
.feature p:not(.feature-stat) { font-size: 14px; color: var(--mid); }
.code-panel { border: 1px solid var(--line-2); border-radius: var(--radius); background: #060910; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.code-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mid); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.code { margin: 0; padding: 18px 20px; font-size: 12.5px; line-height: 1.7; color: var(--text); overflow-x: auto; flex: 1; }
.c-mute { color: var(--faint); } .c-key { color: var(--info); } .c-str { color: var(--accent); } .c-num { color: var(--warn); }

/* Pricing */
.billing { display: inline-flex; gap: 6px; margin-top: 28px; padding: 4px; border: 1px solid var(--line-2); border-radius: 8px; }
.billing .chip { border: 0; padding: 7px 14px; }
.save { color: inherit; opacity: .8; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.plan-for { color: var(--mid); font-size: 14px; margin-top: 4px; min-height: 2.6em; }
.price { margin: 22px 0; display: flex; align-items: baseline; gap: 10px; }
.price .mono { font-size: clamp(32px, 3vw, 42px); font-weight: 500; letter-spacing: -.03em; }
.price small { color: var(--faint); font-size: 13px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 28px; font-size: 14.5px; color: var(--mid); }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg) translateY(-2px); flex-shrink: 0; }
.plan .btn { margin-top: auto; }
.plan-featured { border-color: rgba(94,230,200,.5); background: linear-gradient(180deg, rgba(94,230,200,.07), var(--panel) 45%); box-shadow: 0 30px 80px -40px rgba(94,230,200,.35); }
.plan-flag { position: absolute; top: -11px; left: 28px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; background: var(--accent); color: #03100c; padding: 3px 9px; border-radius: 4px; font-weight: 500; }

.access { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; padding: 28px; }
.access h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.access-copy p { color: var(--mid); margin-top: 8px; font-size: 15px; }
.access-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: end; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--mono); font-size: 11px; color: var(--mid); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select {
  width: 100%; background: #070b11; border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 12px; font-size: 15px; color: var(--text);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a0a9ba' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.field input::placeholder { color: #5f687c; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,230,200,.18); }
.access-form .btn { grid-column: 1 / -1; justify-self: start; }
.form-status { grid-column: 1 / -1; font-size: 13px; color: var(--accent); border: 1px solid rgba(94,230,200,.35); background: var(--accent-dim); border-radius: 8px; padding: 10px 12px; }
.form-status:empty { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #05070b; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer-note, .footer-disclaimer { color: var(--faint); font-size: 14px; margin-top: 12px; max-width: 42ch; }
.footer-disclaimer { margin-top: 0; }
.site-footer nav ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.site-footer nav a { color: var(--mid); text-decoration: none; font-size: 14px; }
.site-footer nav a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 36px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--text); }

/* Badge */
.concept-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--mid); text-decoration: none;
  background: rgba(10, 14, 21, .88); border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 10px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color .2s, border-color .2s;
}
.concept-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.concept-badge:hover { color: var(--text); border-color: var(--accent); }
body.menu-open .concept-badge { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; }
  .console-body { grid-template-columns: minmax(0, 1fr) 260px; }
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpi { border-bottom: 0; }
  .kpi:nth-child(2n) { border-right: 1px solid var(--line); }
  .kpi:last-child { border-right: 0; }
  .console-body { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { border-right: 0; border-bottom: 1px solid var(--line); }
  .telemetry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: auto; min-height: 0; }
  .tele-grid { grid-template-columns: 1fr 1fr; }
  .tele-grid > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .tele-grid > div:nth-child(2n) { border-right: 0; }
  .tele-grid > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .tele-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .tele-head { grid-column: 1 / -1; }
  .tele-grid { border-bottom: 0; border-right: 1px solid var(--line); }
  .obj-list { max-height: 228px; }
  .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .access { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-disclaimer { grid-column: 1 / -1; }
  .hide-md { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none; }
  .statusbar-inner { gap: 16px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 14px; }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-ctas .btn { flex: 1 1 auto; }
  #map { aspect-ratio: 2 / 1; }
  .tele-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tele-grid > div:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .tele-grid > div:nth-child(3n) { border-right: 0; }
  .tele-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
  .tele-grid > div { padding: 9px 10px; }
  .tele-grid dd { font-size: 12.5px; }
  .map-legend { position: static; border: 0; border-top: 1px solid var(--line); border-radius: 0; gap: 10px 14px; padding: 8px 12px; }
  .console-bar { gap: 10px; }
  .console-epoch { margin-left: 0; width: 100%; order: 3; }
  .telemetry { grid-template-columns: minmax(0, 1fr); }
  .tele-grid { border-right: 0; border-bottom: 1px solid var(--line); }
  .obj-list { display: grid; grid-template-columns: 1fr 1fr; max-height: none; }
  .obj span { display: none; }
  .obj { font-size: 11.5px; padding: 8px; }
  .next-pass { margin-left: 0; }
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .passes th, .passes td { padding: 12px 8px; }
  .passes th:first-child, .passes td:first-child { padding-left: 14px; }
  .passes td.obj-cell { white-space: normal; font-size: 13.5px; }
  .el-bar { display: none; }
  .stations { grid-template-columns: minmax(0, 1fr); }
  .sky { width: 76px; height: 76px; }
  .event { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ev-time { grid-auto-flow: column; justify-content: start; gap: 10px; }
  .ev-type { display: none; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .code { font-size: 11.5px; padding: 16px; }
  .access { padding: 20px; }
  .access-form { grid-template-columns: minmax(0, 1fr); }
  .access-form .btn { justify-self: stretch; }
  .plan { padding: 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-base { padding-bottom: 44px; }
  .concept-badge { left: 8px; bottom: 8px; font-size: 10.5px; padding: 6px 8px; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
