/* ============================================================
   OVERHEAD 1090 — ground-station design system
   App-matched blue on navy-black. Instrument Serif for voice,
   IBM Plex Mono for everything the "terminal" says.
   ============================================================ */

:root {
  /* matched to the app: near-black navy, Apple-Maps-dark blues */
  --bg: #05070c;
  --bg-raise: #090d15;
  --bg-card: #0b101a;
  --line: rgba(66, 76, 94, 0.45);
  --line-soft: rgba(66, 76, 94, 0.25);
  --phos: #4aa3ff;
  --phos-bright: #8ec8ff;
  --phos-dim: rgba(74, 163, 255, 0.12);
  --phos-line: rgba(74, 163, 255, 0.34);
  --amber: #f59e0b;
  --ink: #e6e9ee;
  --ink-soft: #a3aab6;
  --mut: #717a89;
  --mut-deep: #525a68;
  --serif: "Instrument Serif", georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* atmosphere: dot grid + vignette + grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(74, 163, 255, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}
body::after {
  content: "";
  position: fixed; inset: -50%; z-index: 1000; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

::selection { background: var(--phos); color: #06182e; }

a { color: var(--phos); text-decoration: none; }
a:hover { color: var(--phos-bright); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ---------- type ---------- */

h1, h2, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--phos);
}
.kicker::before { content: "// "; color: var(--mut-deep); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 60px;
}
.brand {
  display: flex; align-items: baseline; gap: 9px;
  color: var(--ink); font-size: 14px; letter-spacing: 0.16em;
  font-weight: 600;
}
.brand:hover { color: var(--ink); }
.brand .freq { color: var(--phos); font-weight: 400; }
.brand-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--phos); align-self: center;
  box-shadow: 0 0 10px var(--phos);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mut);
}
.nav-links a:hover { color: var(--phos); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--phos-line);
  color: var(--phos);
  background: var(--phos-dim);
  transition: all 0.18s ease;
  cursor: default;
}
.btn:hover {
  background: var(--phos); color: #041022;
  box-shadow: 0 0 32px rgba(74, 163, 255, 0.35);
}
.btn.small { padding: 8px 16px; font-size: 11px; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink-soft); }
.btn.ghost:hover { border-color: var(--phos-line); color: var(--phos); box-shadow: none; }

/* ---------- hero ---------- */

.hero { padding: 90px 0 40px; position: relative; }

.hero h1 {
  font-size: clamp(52px, 8.5vw, 108px);
  max-width: 11ch;
  margin: 26px 0 30px;
}
.hero h1 em {
  font-style: italic;
  color: var(--phos);
  text-shadow: 0 0 42px rgba(74, 163, 255, 0.4);
}
.hero .lede {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 40px;
}
.hero .lede strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 11px; color: var(--mut-deep); letter-spacing: 0.08em; }

/* staggered load-in */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.rise.d1 { animation-delay: 0.08s; }
.rise.d2 { animation-delay: 0.2s; }
.rise.d3 { animation-delay: 0.34s; }
.rise.d4 { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- radar console (hero visual) ---------- */

.console {
  margin: 72px 0 0;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(74, 163, 255, 0.05);
  position: relative;
}
.console-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 10px; letter-spacing: 0.22em; color: var(--mut);
  text-transform: uppercase;
}
.console-bar .lights { display: flex; gap: 6px; }
.console-bar .lights span { width: 9px; height: 9px; border-radius: 50%; background: #27272a; }
.console-bar .lights span:first-child { background: var(--phos); box-shadow: 0 0 8px var(--phos); }
.console-bar .status { margin-left: auto; color: var(--phos); }
.console-bar .status::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--phos); margin-right: 7px;
  animation: pulse 1.6s infinite;
}

.console-body { display: grid; grid-template-columns: 340px 1fr; min-height: 460px; }

/* capture annotations beside the real screenshot */
.capture-notes { padding: 30px 32px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.cn-head { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--phos); }
.cn b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); margin-bottom: 4px; }
.cn span { font-size: 12px; color: var(--mut); line-height: 1.7; display: block; max-width: 44ch; }
.cn { padding-left: 14px; border-left: 2px solid var(--phos-line); }

.console-caption {
  text-align: center; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mut-deep);
  padding: 26px 0 0;
}

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-top: 90px;
  overflow: hidden;
  background: var(--bg-raise);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mut); padding: 13px 34px;
  white-space: nowrap;
}
.ticker span::after { content: "+"; color: var(--phos); margin-left: 34px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

section { padding: 110px 0 0; }

.sec-head { margin-bottom: 56px; max-width: 700px; }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 20px; }
.sec-head h2 em { font-style: italic; color: var(--phos); }
.sec-head p { color: var(--ink-soft); margin-top: 18px; max-width: 56ch; }

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 26px 34px;
  position: relative;
  transition: background 0.25s ease;
  background: transparent;
}
.feature:hover { background: var(--phos-dim); }
.feature .num {
  font-size: 10px; color: var(--mut-deep); letter-spacing: 0.2em;
}
.feature h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; margin: 14px 0 12px; color: var(--ink);
}
.feature p { font-size: 12.5px; color: var(--mut); line-height: 1.75; }
.feature .glyph {
  position: absolute; top: 26px; right: 24px;
  color: var(--phos); opacity: 0.65;
}
.feature:hover .glyph { opacity: 1; }
.feature.wide { grid-column: span 2; }
.feature p b, .feature p strong { color: var(--ink-soft); font-weight: 600; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 34px 28px 38px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif); font-style: italic;
  font-size: 64px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--phos-line);
  display: block; margin-bottom: 20px;
}
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; margin-bottom: 12px; }
.step p { font-size: 12.5px; color: var(--mut); }
.step p code {
  color: var(--phos); background: var(--phos-dim);
  padding: 1px 6px; font-size: 11.5px;
}
.step .tail { margin-top: 16px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut-deep); }

/* local vs internet comparison */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vs-card { border: 1px solid var(--line); padding: 36px 32px; background: var(--bg-card); }
.vs-card.us { border-color: var(--phos-line); background: linear-gradient(160deg, rgba(74, 163, 255, 0.07), var(--bg-card) 55%); }
.vs-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 20px; }
.vs-card.us h3 { color: var(--phos); }
.vs-card ul { list-style: none; }
.vs-card li {
  font-size: 12.5px; color: var(--mut); padding: 9px 0 9px 26px;
  border-top: 1px solid var(--line-soft); position: relative;
}
.vs-card li::before { content: "×"; position: absolute; left: 2px; color: var(--mut-deep); }
.vs-card.us li { color: var(--ink-soft); }
.vs-card.us li::before { content: "+"; color: var(--phos); }

/* privacy band */
.privacy-band {
  border: 1px solid var(--phos-line);
  background:
    radial-gradient(ellipse 60% 120% at 50% -20%, rgba(74, 163, 255, 0.14), transparent),
    var(--bg-raise);
  text-align: center;
  padding: 74px 32px 78px;
  position: relative;
  overflow: hidden;
}
.privacy-band h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 18px 0 16px; }
.privacy-band h2 em { font-style: italic; color: var(--phos); }
.privacy-band p { color: var(--mut); max-width: 52ch; margin: 0 auto; font-size: 13px; }
.badge-dnc {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 30px; padding: 10px 20px;
  border: 1px solid var(--phos-line); color: var(--phos);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platform {
  border: 1px solid var(--line); background: var(--bg-card);
  padding: 40px 30px; text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.platform:hover { border-color: var(--phos-line); transform: translateY(-4px); }
.platform svg { color: var(--phos); margin-bottom: 18px; }
.platform h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.platform p { font-size: 12px; color: var(--mut); margin-top: 10px; }
.one-price {
  text-align: center; margin-top: 36px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--phos);
}

/* final cta */
.final { text-align: center; padding-bottom: 40px; }
.final h2 { font-size: clamp(40px, 6vw, 76px); }
.final h2 em { font-style: italic; color: var(--phos); }
.final p { color: var(--mut); margin: 22px auto 36px; max-width: 46ch; font-size: 13px; }

/* ---------- footer ---------- */

footer {
  margin-top: 120px;
  border-top: 1px solid var(--line);
  padding: 46px 0 60px;
  position: relative; z-index: 2;
}
.foot-grid { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { font-size: 13px; letter-spacing: 0.16em; font-weight: 600; }
.foot-brand .freq { color: var(--phos); font-weight: 400; }
.foot-links { display: flex; gap: 26px; margin-left: auto; }
.foot-links a { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }
.foot-links a:hover { color: var(--phos); }
.legal {
  margin-top: 34px; font-size: 10.5px; line-height: 1.9; color: var(--mut-deep);
  max-width: 760px;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- doc pages (privacy / terms / support) ---------- */

.doc { max-width: 720px; margin: 0 auto; padding: 80px 24px 40px; position: relative; z-index: 2; }
.doc h1 { font-size: clamp(38px, 6vw, 58px); margin: 18px 0 8px; }
.doc .updated { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut-deep); margin-bottom: 46px; }
.doc h2 { font-size: 27px; margin: 52px 0 14px; }
.doc p, .doc li { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 16px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc .callout {
  border: 1px solid var(--phos-line); background: var(--phos-dim);
  padding: 18px 22px; font-size: 13px; color: var(--ink-soft); margin: 22px 0;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .console-body { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; }
  .steps, .versus, .platforms { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 60px; }
  section { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1; transform: none; }
}

/* real device capture in hero console */
.phone-shot { border-right: 1px solid var(--line-soft); overflow: hidden; }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (max-width: 900px) {
  .phone-shot { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .phone-shot img { height: 540px; }
}
