/* Nadir: Earth observation */

:root {
  --space: #070b12;
  --space-2: #0d1420;
  --space-3: #141d2c;
  --line: rgba(214, 226, 240, 0.12);
  --line-strong: rgba(214, 226, 240, 0.24);
  --text: #c9d5e3;
  --mute: #7c8ba0;
  --white: #f4f7fb;
  --orange: #ff6a2b;
  --orange-hi: #ff8a52;
  --water: #4fc3ff;

  --sans: "Manrope", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --wrap: 1380px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--space); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
svg use { fill: currentColor; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--space); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--space); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.h2 { color: var(--white); font-size: clamp(2rem, 1rem + 3vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { color: var(--mute); max-width: 44ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 650; font-size: 0.9375rem; white-space: nowrap; transition: background-color .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease); }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #160800; }
.btn-orange:hover { background: var(--orange-hi); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--white); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--white); }
.btn:active { transform: translateY(1px); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(7,11,18,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.brand-mark { width: 30px; height: 30px; }
.brand-word { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.04em; }
.nav { display: flex; gap: 28px; font-size: 0.9375rem; font-weight: 500; }
.nav a { color: var(--text); }
.nav a:hover { color: var(--white); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.link-quiet { font-size: 0.9375rem; font-weight: 500; }
.link-quiet:hover { color: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--white); }
.menu-btn svg, .menu-close svg { width: 20px; height: 20px; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--space); }
.menu-inner { height: 100%; display: flex; flex-direction: column; padding-top: 14px; }
.menu-close { align-self: flex-end; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--white); }
.menu nav { display: grid; margin-top: 8vh; gap: 4px; }
.menu nav a { color: var(--white); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) 0 56px; overflow: hidden; isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: -1; cursor: crosshair; }
.hero-canvas, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { object-fit: cover; display: none; }
html.no-webgl .hero-canvas { display: none; }
html.no-webgl .hero-poster { display: block; }
.hero-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,11,18,.86) 0%, rgba(7,11,18,.45) 40%, rgba(7,11,18,0) 66%), linear-gradient(0deg, rgba(7,11,18,.9) 0%, rgba(7,11,18,0) 34%), linear-gradient(180deg, rgba(7,11,18,.7) 0%, rgba(7,11,18,0) 18%); }
.reticle { position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 1; }
.reticle.is-on { opacity: 1; }
.reticle::before, .reticle::after { content: ""; position: absolute; background: var(--orange); }
.reticle::before { left: 50%; top: 0; bottom: 0; width: 1px; box-shadow: 0 0 0 0 transparent; -webkit-mask: linear-gradient(#000 0 38%, transparent 38% 62%, #000 62%); mask: linear-gradient(#000 0 38%, transparent 38% 62%, #000 62%); }
.reticle::after { top: 50%; left: 0; right: 0; height: 1px; -webkit-mask: linear-gradient(90deg, #000 0 38%, transparent 38% 62%, #000 62%); mask: linear-gradient(90deg, #000 0 38%, transparent 38% 62%, #000 62%); }
.reticle span { position: absolute; inset: 18px; border: 1px solid var(--orange); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.hero-title { color: var(--white); font-size: clamp(2.8rem, 1rem + 4.4vw, 5.6rem); font-weight: 600; line-height: .96; letter-spacing: -0.05em; max-width: 13ch; text-wrap: balance; }
.hero-lede { margin-top: 26px; max-width: 48ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hud { justify-self: end; width: min(100%, 380px); padding: 16px; border-radius: 14px; background: rgba(7,11,18,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); }
.hud-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.04); }
.hud-bands button { min-height: 38px; padding: 0 6px; border-radius: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--mute); transition: background-color .2s, color .2s; }
.hud-bands button:hover { color: var(--white); }
.hud-bands button[aria-pressed="true"] { background: var(--white); color: var(--space); }
.hud-read { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-family: var(--mono); font-stretch: 87.5%; font-size: 0.75rem; }
.hud-read dt { color: var(--mute); font-family: var(--sans); font-size: 0.75rem; }
.hud-read dd { color: var(--white); font-variant-numeric: tabular-nums; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 16px; font-size: 0.6875rem; color: rgba(124,139,160,.8); max-width: 60ch; text-align: right; }

/* stats */
.stats { border-block: 1px solid var(--line); background: var(--space); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 30px 24px 30px 0; display: grid; gap: 6px; }
.stats-grid div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stats-grid b { color: var(--white); font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-grid span { color: var(--mute); font-size: 0.9375rem; }

/* signals */
.signals { padding-block: clamp(96px, 11vw, 160px); }
.sig-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.sig-tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 0.9375rem; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.sig-tabs svg { width: 20px; height: 20px; color: var(--mute); }
.sig-tabs button:hover { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--white); }
.sig-tabs button[aria-selected="true"] { background: var(--space-3); color: var(--white); box-shadow: inset 0 0 0 1px var(--orange); }
.sig-tabs button[aria-selected="true"] svg { color: var(--orange); }
.sig-panel { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 16px; }
.sig-map { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--space-2); }
.sig-map img { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.ov-area { fill: rgba(79,195,255,.35); stroke: var(--water); stroke-width: .35; vector-effect: non-scaling-stroke; stroke-dasharray: 4 3; }
.ov-box { fill: none; stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ov-field { fill: rgba(140,230,120,.18); stroke: #8ce678; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ov-field.warn { fill: rgba(255,106,43,.28); stroke: var(--orange); }
.ov-line { fill: none; stroke: var(--orange); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.sig-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 8px; background: rgba(7,11,18,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-family: var(--mono); font-stretch: 87.5%; font-size: 0.75rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,43,.25); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,106,43,0); } }
.sig-card { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); border-radius: 16px; background: var(--space-2); box-shadow: inset 0 0 0 1px var(--line); }
.sig-card h3 { color: var(--white); font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; }
.sig-card p { margin-top: 10px; color: var(--mute); font-size: 0.9688rem; }
.metrics { margin-top: auto; padding-top: 24px; display: grid; }
.metrics div { padding: 14px 0; border-top: 1px solid var(--line); }
.metrics dt { font-size: 0.8125rem; color: var(--mute); }
.metrics dd { color: var(--white); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.metrics dd.up { color: var(--orange); }

/* api */
.api { padding-block: clamp(88px, 10vw, 140px); border-top: 1px solid var(--line); }
.api-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.api-copy p { margin-top: 22px; color: var(--mute); max-width: 44ch; }
.api-points { margin-top: 28px; display: grid; gap: 12px; color: var(--white); }
.api-points li { display: flex; gap: 12px; align-items: center; }
.api-points svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.console { border-radius: 16px; background: var(--space-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.console-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-stretch: 87.5%; font-size: 0.75rem; color: var(--mute); }
.copy { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 8px; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; }
.copy:hover { background: var(--space-3); color: var(--white); }
.copy svg { width: 16px; height: 16px; }
.console pre { margin: 0; padding: 22px 22px 6px; overflow-x: auto; font-family: var(--mono); font-stretch: 87.5%; font-size: 0.8125rem; line-height: 1.9; color: var(--text); }
.console .k { color: var(--orange); }
.console .s { color: #9ed2ff; }
.console .n { color: #ffd38a; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; padding: 18px 22px; }
.tiles i { aspect-ratio: 1; border-radius: 2px; background: var(--space-3); background-size: 1200% 300%; transition: opacity .3s; }
.console-foot { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-stretch: 87.5%; font-size: 0.75rem; color: var(--text); }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #6be29a; }

/* industries */
.industries { padding-block: clamp(88px, 10vw, 140px); border-top: 1px solid var(--line); }
.ind-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--space-2); box-shadow: inset 0 0 0 1px var(--line); }
.ind img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.ind:hover img { transform: scale(1.04); }
.ind div { padding: 20px 22px 24px; }
.ind h3 { color: var(--white); font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; }
.ind p { margin-top: 8px; color: var(--mute); font-size: 0.9375rem; }

/* pricing */
.pricing { padding-block: clamp(88px, 10vw, 140px); border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.6vw, 34px); border-radius: 16px; background: var(--space-2); box-shadow: inset 0 0 0 1px var(--line); }
.plan-main { background: var(--space-3); box-shadow: inset 0 0 0 1px var(--orange); }
.plan h3 { color: var(--white); font-size: 1.25rem; font-weight: 650; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { color: var(--white); font-size: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--mute); font-size: 0.9375rem; }
.plan ul { display: grid; gap: 10px; margin-bottom: auto; padding-bottom: 8px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--orange); }

/* demo */
.demo { padding-block: clamp(96px, 12vw, 170px); border-top: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 120%, rgba(255,106,43,.18), transparent 60%); }
.demo-inner { display: grid; justify-items: center; text-align: center; }
.demo-title { max-width: 18ch; font-size: clamp(2.2rem, 1rem + 4vw, 5rem); }
.demo-form { margin-top: clamp(36px, 4vw, 56px); width: min(100%, 860px); display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; text-align: left; }
.field { display: grid; gap: 6px; font-size: 0.8125rem; color: var(--mute); }
.field input { min-height: 54px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--space-2); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--white); font-size: 1rem; }
.field input::placeholder { color: rgba(124,139,160,.7); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--orange); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff8f7a; }
.form-error, .demo-done { grid-column: 1 / -1; font-size: 0.9375rem; }
.form-error { color: #ffb3a3; }
.demo-done { color: var(--white); padding: 16px 18px; border-radius: 10px; background: var(--space-3); box-shadow: inset 0 0 0 1px var(--orange); }

/* footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; }
.orbit { margin-top: 18px; display: flex; width: fit-content; align-items: center; gap: 10px; font-family: var(--mono); font-stretch: 87.5%; font-size: 0.75rem; color: var(--text); }
.orbit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6be29a; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-addr { margin: 8px 0 0; font-size: 0.875rem; color: var(--mute); line-height: 1.5; }
.footer-cols h3 { color: var(--white); font-size: 0.9375rem; font-weight: 650; margin-bottom: 12px; }
.footer-cols a { display: block; padding: 4px 0; color: var(--mute); font-size: 0.9375rem; }
.footer-cols a:hover { color: var(--white); }
.footer-legal { margin-top: 64px; padding-block: 24px 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.8125rem; color: var(--mute); }

/* responsive */
@media (max-width: 1100px) {
  .nav, .link-quiet { display: none; }
  .menu-btn { display: grid; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section-head, .hero-grid, .sig-panel, .api-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-orange { display: none; }
  .hero-stage::after { background: linear-gradient(0deg, rgba(7,11,18,.94) 8%, rgba(7,11,18,.55) 52%, rgba(7,11,18,.25) 100%); }
  .hud { justify-self: stretch; width: 100%; }
  .hero-credit { position: static; margin: 16px var(--gutter) 0; text-align: left; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
