/* FSOps holding site. Colours follow brand/README.txt (dark set). */
:root {
  --bg: #0f1418;
  --bg-alt: #131a20;
  --panel: #172029;
  --line: #24303b;
  --text: #e3e9ee;
  --muted: #8a9aa8;
  --blue: #5ba4d7;
  --yellow: #ffd166;
  --green: #6fcf97;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--mono);
}

.dim {
  color: var(--muted);
}

.topbar {
  padding: 8px 16px;
  background: var(--yellow);
  color: #172430;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 20, 24, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo-link {
  display: flex;
}

.logo-link img {
  display: block;
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: not-allowed;
  user-select: none;
  white-space: nowrap;
}

.soon-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--yellow);
  border-radius: 4px;
  padding: 1px 6px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 88px 0 max(400px, 28vw);
  background:
    linear-gradient(to bottom, rgba(7, 12, 20, 0.55), rgba(7, 12, 20, 0) 60%),
    url("assets/hero-runway.svg") center bottom / max(100%, 1400px) auto no-repeat,
    #070c14;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 209, 102, 0.4);
  border-radius: 999px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lede {
  margin-top: 24px;
  max-width: 58ch;
  color: #b9c5cf;
  font-size: 19px;
}

.lede strong {
  color: var(--text);
}

.lede-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.btn.primary {
  background: var(--yellow);
  color: #172430;
  box-shadow: 0 8px 28px rgba(255, 209, 102, 0.28);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: #ffdc8a;
}

.btn.ghost {
  border: 1px solid rgba(227, 233, 238, 0.35);
  color: #c9d3db;
  font-weight: 500;
  cursor: not-allowed;
}

/* Board illustration */
.board {
  background: rgba(19, 27, 36, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.board-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.chip {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.chip.ok {
  color: var(--green);
  border: 1px solid rgba(111, 207, 151, 0.45);
}

.board-rows {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.board-rows li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 20px;
  font-size: 15px;
  line-height: 1.45;
}

.board-rows li + li {
  border-top: 1px solid rgba(36, 48, 59, 0.6);
}

.row-k {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding-top: 2px;
}

.row-v {
  color: #c9d3db;
}

.row-alert .row-k {
  color: var(--yellow);
}

.board-foot {
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* Sections */
.section {
  scroll-margin-top: 72px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section > .wrap {
  position: relative;
}

/* Features: deep blue, route map, radar sweep. */
.section.routes {
  position: relative;
  overflow: hidden;
  border-top-color: #1c3a54;
  background:
    linear-gradient(to right, rgba(13, 34, 52, 0.92), rgba(13, 34, 52, 0.55)),
    url("assets/routes.svg") center / cover no-repeat,
    #0d2234;
}

.section.routes .card {
  background: rgba(12, 27, 41, 0.78);
  border-color: #214460;
  border-top-color: var(--blue);
  backdrop-filter: blur(4px);
}

.radar {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(91, 164, 215, 0.35);
  background: repeating-radial-gradient(
    circle,
    transparent 0 56px,
    rgba(91, 164, 215, 0.22) 56px 57px
  );
  opacity: 0.8;
}

.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(111, 207, 151, 0.35), transparent 22%);
  animation: sweep 6s linear infinite;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

.traffic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

/* The gate: the apron at night, seen from above. */
.section.apron {
  background:
    linear-gradient(to right, #12161a 40%, rgba(18, 22, 26, 0.55) 62%, rgba(18, 22, 26, 0.15)),
    url("assets/apron.svg") right center / cover no-repeat,
    #12161a;
}

.section.apron .card.plain {
  background: rgba(18, 22, 26, 0.8);
}

.half {
  max-width: 600px;
}

.eyebrow.yellow {
  color: var(--yellow);
}

.points {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.points li {
  position: relative;
  padding: 0 0 22px 34px;
  color: #b9c5cf;
}

.points li strong {
  color: var(--text);
}

/* The T-bar from the mark. */
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: var(--yellow);
}

/* Alongside: dusk, from the hero sky. */
.section.dusk {
  border-top-color: #2c2750;
  background: linear-gradient(160deg, #211a3f 0%, #161b31 50%, #0f1418 100%);
}

.section.dusk .card.plain {
  border-color: #332d5c;
  background: rgba(15, 20, 24, 0.45);
}

.section.dusk .tools li {
  border-color: #332d5c;
  background: rgba(15, 20, 24, 0.55);
}

/* Status: daylight. Colours follow the light logo set. */
.section.light {
  border-top: 0;
  color: #172430;
  background: linear-gradient(to bottom, #dfe9f1, #f3f6f8 55%);
}

.section.light .eyebrow {
  color: #1f5f92;
}

.section.light .timeline li {
  border-left-color: #c3d0da;
}

.section.light .timeline li.done {
  border-left-color: #1f5f92;
}

.section.light .timeline li.now {
  border-left-color: #e0a200;
}

.section.light .t-k,
.section.light .timeline p {
  color: #5b6b78;
}

.section.light .done .t-k {
  color: #1f5f92;
}

.section.light .now .t-k {
  color: #8a5a00;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

.section-lede {
  margin-top: 18px;
  max-width: 62ch;
  color: #b9c5cf;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

.card {
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  border-top: 3px solid var(--blue);
}

.card.plain {
  border-top: 1px solid var(--line);
  background: transparent;
}

.card h3,
.card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
}

.later {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}

.later-k {
  margin-right: 10px;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.tools li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-size: 15px;
}

.fineprint {
  margin-top: 16px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 14px;
}

.commit-title {
  margin-top: 64px;
  font-size: 22px;
  font-weight: 600;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  max-width: 760px;
}

.timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 22px 0 22px 24px;
  border-left: 3px solid var(--line);
}

.timeline li.done {
  border-left-color: var(--blue);
}

.timeline li.now {
  border-left-color: var(--yellow);
}

.t-k {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 5px;
}

.done .t-k {
  color: var(--blue);
}

.now .t-k {
  color: var(--yellow);
}

.timeline h3 {
  font-size: 19px;
  font-weight: 600;
}

.timeline p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

/* Footer */
.footer {
  padding: 48px 0 56px;
  background: #0a1019;
  border-top: 3px solid var(--yellow);
  color: var(--muted);
  font-size: 14px;
}

.footer p + p {
  margin-top: 12px;
}

.footer strong {
  color: var(--text);
}

/* Privacy page */
.legal {
  border-top: 0;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  max-width: none;
}

.legal-date {
  margin-top: 14px;
  font-size: 13px;
}

.legal ul {
  margin: 0;
  padding-left: 20px;
}

.legal li + li {
  margin-top: 8px;
}

.legal p,
.legal li {
  color: #b9c5cf;
}

.legal a {
  color: var(--blue);
}

@media (max-width: 900px) {
  .section.apron {
    background:
      linear-gradient(rgba(18, 22, 26, 0.86), rgba(18, 22, 26, 0.86)),
      url("assets/apron.svg") right center / cover no-repeat;
  }

  .hero {
    padding: 56px 0 400px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links a,
  .radar {
    display: none;
  }
}

@media (max-width: 600px) {
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .logo-link img {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse,
  .radar::before {
    animation: none;
  }

  .traffic {
    display: none;
  }
}
