:root {
  --navy: #0B1D36;
  --navy-2: #122848;
  --navy-deep: #07101e;
  --teal: #14B8A6;
  --teal-bright: #2ad4c8;
  --teal-dim: #0E7A74;
  --bg: #f3f6fb;
  --card: #ffffff;
  --text: #122033;
  --muted: #5b6777;
  --line: #d4dce8;
  --hero-bg: #0B1D36;
  --hero-text: #f4f7fb;
  --hero-muted: #c5d4e6;
  --shadow: 0 18px 40px -24px rgba(11, 29, 54, 0.45);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #07101e;
  --card: #102444;
  --text: #e8eef7;
  --muted: #9bb0c9;
  --line: #1c3a66;
  --hero-bg: #07101e;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dim); }
[data-theme="dark"] a { color: var(--teal-bright); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.banner {
  background: var(--navy);
  color: #d5e0ef;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 184, 166, 0.35);
}
.banner .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.banner strong { color: #fff; font-weight: 700; letter-spacing: 0.16em; }
.banner span { color: var(--teal-bright); }
.banner a { color: #d5e0ef; text-decoration: none; }
.banner a:hover { color: #fff; }
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
[data-theme="dark"] .site-header { background: #0c1a30; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand .hub-icon { width: 40px; height: 40px; display: block; flex: none; }
[data-theme="dark"] .site-header .hub-spokes { stroke: #c5d4e6; }
[data-theme="dark"] .site-header .hub-nodes { fill: #c5d4e6; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .word { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-text .word em { font-style: normal; color: var(--teal-dim); }
[data-theme="dark"] .brand-text .word em { color: var(--teal-bright); }
.brand-text small { margin-top: 4px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--teal); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); cursor: pointer;
  display: grid; place-items: center;
}
.icon-btn:hover { border-color: var(--teal); color: var(--teal); }
.icon-btn .moon { display: none; }
[data-theme="dark"] .icon-btn .sun { display: none; }
[data-theme="dark"] .icon-btn .moon { display: block; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 12px 22px;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn-teal { background: var(--teal-dim); color: #fff !important; }
.btn-teal:hover, .btn-teal:focus-visible { background: #08605c; }
.btn-ghost { background: transparent; color: var(--hero-text) !important; border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: #fff; }
.btn[disabled] { opacity: 0.65; cursor: default; }

/* Photos */
.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.step-photo,
.pill-photo,
.launch-visual {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--navy-2);
}
.step-photo picture,
.pill-photo picture,
.launch-visual picture,
.hero-media picture,
.accuracy-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.step-photo .photo,
.pill-photo .photo,
.launch-visual .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* Object-position crops, tuned per breakpoint */
.op-hero { object-position: 18% 50%; }
.op-inbox { object-position: 55% 40%; }
.op-extract { object-position: 40% 45%; }
.op-validate { object-position: 70% 35%; }
.op-review { object-position: 55% 30%; }
.op-enter { object-position: 72% 35%; }
.op-verify { object-position: 35% 30%; }
.op-accuracy { object-position: 60% 50%; }
.op-onprem { object-position: 40% 18%; }
.op-stations { object-position: 30% 30%; }
.op-launch { object-position: 32% 18%; }

.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  position: relative;
  overflow: hidden;
  min-height: 36rem;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture,
.hero-media .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media .photo { aspect-ratio: auto; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(7, 16, 30, 0.94) 0%,
      rgba(11, 29, 54, 0.90) 26%,
      rgba(11, 29, 54, 0.78) 42%,
      rgba(11, 29, 54, 0.40) 58%,
      rgba(11, 29, 54, 0.18) 74%,
      rgba(11, 29, 54, 0.10) 100%);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}
[data-theme="dark"] .hero::after { display: none; }
.hero .wrap { position: relative; z-index: 3; padding: 72px 0 96px; }
.hero-copy { max-width: 38rem; }
.eyebrow {
  display: inline-block; color: var(--teal-bright);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.75rem; font-weight: 700; margin: 0 0 14px;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12; letter-spacing: -0.03em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--teal-bright); }
.lead { font-size: 1.12rem; color: var(--hero-muted); max-width: 38rem; margin: 0 0 16px; }
.lead strong { display: block; color: var(--hero-text); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--hero-muted); }

.section { padding: 72px 0; }
.section h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
.section .intro { color: var(--muted); max-width: 44rem; margin: 0 0 36px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.steps .card { padding: 0 0 20px; overflow: hidden; }
.steps .card .ico,
.steps .card h3,
.steps .card p { margin-left: 22px; margin-right: 22px; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(20, 184, 166, 0.12); color: var(--teal);
  display: grid; place-items: center; margin: 16px 22px 14px;
}
.card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 22px 8px; font-size: 1.05rem; }
.card p { margin: 0 22px; color: var(--muted); font-size: 0.95rem; }

.accuracy {
  background: var(--navy);
  color: #e8eef7;
  position: relative;
  overflow: hidden;
}
.accuracy-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.accuracy-media picture,
.accuracy-media .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.accuracy-media .photo { aspect-ratio: auto; }
.accuracy-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(7, 16, 30, 0.86) 0%,
      rgba(7, 16, 30, 0.82) 55%,
      rgba(7, 16, 30, 0.88) 100%);
}
.accuracy .wrap { position: relative; z-index: 2; }
.accuracy h2, .accuracy p { color: inherit; }
.accuracy .intro { color: #c5d4e6; }
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pill {
  background: rgba(16, 36, 68, 0.72);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.pill-body { padding: 22px; }
.pill strong { display: block; color: var(--teal-bright); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }

.launch-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.launch-visual {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.launch-copy .intro { margin-bottom: 24px; }
#launch .card-form { max-width: 640px; padding: 22px 22px 20px; }
#launch .card-form h3,
#launch .card-form p,
#launch .card-form .ico { margin-left: 0; margin-right: 0; }
label { display: block; font-size: 0.82rem; font-weight: 700; margin: 0 0 6px; }
input[type=text], input[type=email] {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: inherit; margin-bottom: 14px;
}
input:focus, input:focus-visible { outline: 2px solid var(--teal-dim); outline-offset: 2px; }
[data-theme="dark"] input:focus, [data-theme="dark"] input:focus-visible { outline-color: var(--teal-bright); }

/* Keyboard focus: visible on every interactive control, not on mouse click alone */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.icon-btn:focus-visible,
input:focus-visible {
  outline: 2px solid var(--teal-dim);
  outline-offset: 3px;
}
[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible,
[data-theme="dark"] .btn:focus-visible,
[data-theme="dark"] .icon-btn:focus-visible {
  outline-color: var(--teal-bright);
}
.hero a:focus-visible,
.hero .btn:focus-visible,
.banner a:focus-visible {
  outline-color: var(--teal-bright);
}
.btn-teal:focus-visible { outline-color: #08605c; outline-offset: 3px; }
[data-theme="dark"] .btn-teal:focus-visible { outline-color: var(--teal-bright); }

.skip {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 100;
  background: var(--teal-dim);
  color: #fff !important;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus, .skip:focus-visible {
  top: 12px;
  outline: 2px solid var(--teal-bright);
  outline-offset: 2px;
}
.privacy {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: var(--radius); padding: 28px;
  margin-bottom: 18px;
}
.thanks h3 { margin: 0 0 8px; color: var(--teal-dim); }
[data-theme="dark"] .thanks h3 { color: var(--teal-bright); }
.form-error { background: #fde8e8; color: #8a1f16; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; }
[data-theme="dark"] .form-error { background: #5a1d2a; color: #ffd5dc; }
.hidden { display: none !important; }
.mail-fallback { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px;
  color: var(--muted); font-size: 0.92rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: inherit; text-decoration: none; margin-right: 16px; }
.site-footer a:hover { color: var(--teal); }

@media (max-width: 1100px) {
  .op-hero { object-position: 28% 50%; }
  .op-enter { object-position: 68% 35%; }
  .op-validate { object-position: 65% 35%; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; align-items: stretch; }
  .hero .wrap { padding: 40px 0 56px; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(7, 16, 30, 0.94) 0%,
        rgba(7, 16, 30, 0.90) 52%,
        rgba(11, 29, 54, 0.72) 78%,
        rgba(11, 29, 54, 0.45) 100%);
  }
  .op-hero { object-position: 42% 45%; }
  .op-inbox { object-position: 50% 40%; }
  .op-extract { object-position: 45% 40%; }
  .op-validate { object-position: 60% 30%; }
  .op-review { object-position: 50% 28%; }
  .op-enter { object-position: 65% 32%; }
  .op-verify { object-position: 40% 28%; }
  .op-accuracy { object-position: 55% 50%; }
  .op-onprem { object-position: 45% 15%; }
  .op-stations { object-position: 28% 28%; }
  .op-launch { object-position: 35% 15%; }
  .steps, .pills, .launch-grid { grid-template-columns: 1fr; }
  .nav .desk { display: none; }
  .section { padding: 48px 0; }
  .hero { min-height: 32rem; }
}
