/* Layout: one reading column on a deep night-blue field, a static Earth limb lit by
   an orbital sunrise closing the hero, specs set as plain tables beside the prose. */
:root {
  color-scheme: dark;
  --night: #0b1631;      /* page background: blue, not black */
  --night-2: #0f1f45;    /* raised band */
  --line: #233766;       /* rules and table lines */
  --text: #e8edf7;
  --soft: #a3b3d3;
  --sun: #efb25a;        /* orbital sunrise, used sparingly */
  --display: "Orbitron", "Eurostile", "Arial Narrow", sans-serif;
  --body: Georgia, "Times New Roman", serif;
  --measure: 40rem;
  --wide: 64rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

a { color: var(--text); text-decoration-color: var(--sun); text-underline-offset: 4px; }
a:hover { color: var(--sun); }
a:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}
.brand { display: block; line-height: 0; }
.brand img { width: 180px; max-width: 100%; height: auto; }
.nav { display: flex; gap: 28px; }
.nav a {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--soft);
  padding-block: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sun); }

/* Type scale */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 6.4vw, 4rem); line-height: 1.08; letter-spacing: 0.005em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.2; }
h3 { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }
p { margin: 0; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
}

.stack { display: grid; gap: 1em; max-width: var(--measure); min-width: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { padding-block: clamp(40px, 8vw, 96px) 0; }
.hero-copy { display: grid; gap: 22px; max-width: 46rem; position: relative; z-index: 1; }
.lede { font-size: clamp(1.125rem, 2.2vw, 1.3rem); line-height: 1.6; max-width: 40rem; }
.limb { display: block; width: 100%; height: clamp(150px, 25vw, 300px); margin-top: 8px; }

/* Sections */
.section .wrap {
  display: grid;
  gap: 28px;
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
}
.section-head { display: grid; gap: 10px; }

.split { display: grid; gap: 32px; }
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .pair { grid-template-columns: 1fr 1fr; }
}

/* Spec and comparison tables */
.table-box { overflow-x: auto; min-width: 0; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption {
  text-align: left;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
  padding-bottom: 10px;
}
th, td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-top: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 1px solid var(--line); }
tbody th { font-weight: normal; color: var(--soft); width: 38%; }
thead th {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-top: 0;
}
.compare tbody th { width: 34%; }
.compare td, .compare thead th { width: 33%; }
.none { color: var(--soft); }

.ways { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ways li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.ways b { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding-top: 3px; }

.pair { display: grid; gap: 40px; }
.pair article { display: grid; gap: 12px; align-content: start; max-width: var(--measure); }

/* Roadmap */
.route { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.route li { position: relative; padding: 0 0 26px 30px; display: grid; gap: 4px; }
.route li::before {
  content: "";
  position: absolute;
  left: 5px; top: 0.5em; bottom: -0.5em;
  border-left: 1px dashed var(--line);
}
.route li:last-child::before { display: none; }
.route li::after {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--soft);
  background: var(--night);
}
.route li.first::after { background: var(--sun); border-color: var(--sun); }
.route .when { font-family: var(--display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.route li.first .when { color: var(--sun); }

@media (min-width: 860px) {
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .route li { padding: 30px 0 0 0; }
  .route li::before { left: 6px; right: -28px; top: 5px; bottom: auto; border-left: 0; border-top: 1px dashed var(--line); }
  .route li::after { top: 0; }
}

/* Updates band */
.band { background: var(--night-2); border-top: 1px solid var(--line); }
.band .wrap { display: grid; gap: 12px; padding-block: clamp(44px, 6vw, 64px); }

/* Footer */
.site-footer .wrap { display: grid; gap: 6px; padding-block: 30px 44px; font-size: 0.95rem; color: var(--soft); }
.site-footer .slogan { font-family: var(--display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }

/* Demo page */
.coming .wrap { display: grid; gap: 16px; padding-block: clamp(64px, 14vw, 140px) 0; }

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .brand img { width: 140px; }
  .nav { gap: 20px; }
  .ways li { grid-template-columns: 6.5rem minmax(0, 1fr); }
}

/* X link */
.follow {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  border: 1px solid var(--sun);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.follow:hover { background: var(--sun); color: var(--night); }
.site-footer .social { margin-bottom: 8px; }
.site-footer .social a { color: var(--text); }
.soon-note { color: var(--soft); max-width: var(--measure); }
