:root {
  color-scheme: dark;
  --bg: #0a0a1a;
  --bg-deep: #06060f;
  --surface: #11112a;
  --surface-2: #171735;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --muted: #a3abc2;
  --faint: #6c7390;
  --blue: #4a9eff;
  --blue-soft: rgba(74, 158, 255, 0.14);
  --gold: #f5c451;
  --gold-soft: rgba(245, 196, 81, 0.14);
  --board: #07070c;
  --radius-lg: 28px;
  --radius: 18px;
  --wrap: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  --dot: "Doto", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(74, 158, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(245, 196, 81, 0.05), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand svg { width: 28px; height: 28px; }

.nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: var(--muted);
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--text);
  color: var(--bg);
}

.button.ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.button.ghost:hover { background: rgba(255, 255, 255, 0.05); }

.button svg { width: 20px; height: 20px; }

.soon {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1.1;
}

.store-label { display: flex; flex-direction: column; line-height: 1.15; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

h1 {
  margin: 22px 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 .accent { color: var(--blue); }

.lead {
  margin: 0;
  max-width: 34em;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Departure board ---------- */

.board {
  background: var(--board);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--dot);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-head .title { font-size: 20px; }
.board-head .clock { font-size: 18px; color: var(--text); }

.board table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--dot);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.board th {
  padding: 12px 6px 8px;
  text-align: left;
  font-size: 12px;
  color: var(--faint);
  font-weight: 900;
}

.board td {
  padding: 11px 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 15px;
  color: var(--gold);
  vertical-align: top;
}

.board td.to { color: var(--text); }
.board td.to small {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.board td.status { text-align: right; white-space: nowrap; }
.board td.dur { white-space: nowrap; }
.board .boarding { color: #6ee7a8; animation: blink 1.6s steps(2, start) infinite; }
.board .ontime { color: var(--blue); }
.board-foot {
  margin: 12px 4px 0;
  font-size: 12px;
  color: var(--faint);
}

@keyframes blink { to { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) {
  .board .boarding { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */

section { scroll-margin-top: 80px; }

.section { padding: 72px 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }

.kicker {
  font-family: var(--dot);
  font-weight: 900;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p { margin: 0; color: var(--muted); font-size: 18px; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step .num {
  font-family: var(--dot);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--blue);
}

.step h3 { margin: 18px 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.feature .icon svg { width: 22px; height: 22px; }
.feature .icon.gold { background: var(--gold-soft); color: var(--gold); }

.feature h3 { margin: 18px 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Stations */

.stations {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 40px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.stat b {
  display: block;
  font-family: var(--dot);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
}

.stat span { color: var(--muted); font-size: 14px; }

.map-card {
  padding: 18px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.map-card svg { width: 100%; height: auto; }

.map-legend {
  display: flex;
  gap: 18px;
  margin: 10px 6px 0;
  font-size: 13px;
  color: var(--faint);
}

.map-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

/* Privacy band */

.privacy-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.10), rgba(245, 196, 81, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.privacy-band h2 { margin-top: 10px; }
.privacy-band p { color: var(--muted); margin: 0; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.checks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: var(--text);
}

.checks svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }

/* CTA */

.cta {
  text-align: center;
  padding: 88px 0 96px;
}

.cta p { color: var(--muted); max-width: 520px; margin: 0 auto; font-size: 18px; }
.cta .actions { justify-content: center; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--faint);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- Legal / document pages ---------- */

.document {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

.document h1 { font-size: clamp(36px, 6vw, 52px); margin: 18px 0 8px; }
.document .updated { color: var(--faint); margin: 0 0 32px; font-size: 15px; }
.document h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.document p, .document li { color: var(--muted); }
.document ul { padding-left: 20px; }
.document a { color: var(--blue); }

.back-link {
  display: inline-flex;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.back-link:hover { color: var(--text); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .stations { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-band { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .board { padding: 16px 12px 14px; border-radius: 20px; }
  .board td { font-size: 13px; padding: 10px 4px; }
  .board th { padding: 10px 4px 6px; }
  .board .hide-sm { display: none; }
  .section { padding: 56px 0; }
}
