/* OverAir — landing page
   Palette: Deep Graphite #0A0E13 · Slate Steel #10161E · Bone #E8EDF2 · Signal Cyan #3DD6C6 · Runway Amber #F2B441 · Paper #F3F1EC
   Fonts: Inter (variable, self-hosted) + JetBrains Mono (self-hosted). No external requests. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0A0E13;
  --ink-2: #10161E;
  --ink-3: #182130;
  --line: rgba(232, 237, 242, 0.08);
  --line-strong: rgba(232, 237, 242, 0.16);
  --bone: #E8EDF2;
  --bone-2: #A8B3BF;
  --bone-3: #6F7C8A;
  --signal: #3DD6C6;
  --signal-deep: #148F86;
  --signal-ink: #063B37;
  --amber: #F2B441;
  --paper: #F3F1EC;
  --paper-2: #E9E5DD;
  --paper-line: rgba(18, 24, 33, 0.10);
  --ink-on-paper: #121821;
  --ink-on-paper-2: #4B5563;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1160px;
  --ease-out: cubic-bezier(0.175, 0.885, 0.32, 1.2);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01", "calt";
}
::selection { background: var(--signal); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 5px; border: 2px solid var(--ink); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmos-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(232,237,242,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232,237,242,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 100%);
}
.atmos-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.atmos-orb-a {
  width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(61,214,198,0.22) 0%, rgba(61,214,198,0.04) 55%, transparent 72%);
  animation: breathe 9s ease-in-out infinite;
}
.atmos-orb-b {
  width: 520px; height: 520px; left: -240px; top: 40vh;
  background: radial-gradient(circle, rgba(242,180,65,0.10) 0%, transparent 70%);
  animation: breathe 13s ease-in-out infinite reverse;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 19, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); }
.brand-mark { width: 26px; height: 26px; color: var(--signal); }
.brand-word { font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.nav-links { display: none; gap: 28px; margin-inline-start: 16px; color: var(--bone-2); font-size: 15px; font-weight: 500; }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--bone); }
.nav .btn { margin-inline-start: auto; }
@media (min-width: 800px) { .nav-links { display: flex; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s, background-color 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(2px) scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, #56E3D4 0%, var(--signal) 55%, #2FBDAF 100%);
  color: var(--signal-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 -1px 0 rgba(0,0,0,0.12) inset, 0 8px 24px -10px rgba(61,214,198,0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 -1px 0 rgba(0,0,0,0.12) inset, 0 14px 32px -10px rgba(61,214,198,0.7); }
.btn-ghost { background: rgba(232,237,242,0.04); border-color: var(--line-strong); color: var(--bone); }
.btn-ghost:hover { background: rgba(232,237,242,0.08); border-color: rgba(232,237,242,0.28); transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.status {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 100%; line-height: 1.5;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--bone-2);
  padding: 7px 12px 7px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(16, 22, 30, 0.7);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,180,65,0.16); animation: breathe 4s ease-in-out infinite; }
.status-sep { color: var(--bone-3); }
.h1 {
  margin-top: 22px;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 750;
  text-wrap: balance;
}
.accent-text { color: var(--signal); }
.lede { margin-top: 22px; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--bone-2); max-width: 58ch; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: var(--bone-3); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); opacity: 0.85; }

/* MICRO: the instrument */
.hero-visual { position: relative; }
.instrument { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; }
@media (min-width: 960px) { .instrument { transform: translate(24px, -12px) scale(1.04); } }
.rings { width: 100%; height: 100%; }
.ring { transform-origin: 260px 260px; }
.ring-outer { animation: spin 90s linear infinite; }
.ring-mid { animation: spin 140s linear infinite reverse; }
.ring-inner { animation: spin 60s linear infinite; }
.device { animation: float 8s ease-in-out infinite; transform-origin: 260px 260px; }

.chip {
  position: absolute;
  background: rgba(16, 22, 30, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 48px -24px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.3);
  font-family: var(--mono); font-size: 12px; color: var(--bone-2);
}
.chip-manifest { left: -4%; bottom: 6%; width: 268px; padding: 12px 14px; animation: float-delayed 10s ease-in-out infinite; }
.chip-head, .chip-row { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; }
.chip-head { border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 8px; }
.chip-head .chip-val { color: var(--bone); font-weight: 500; }
.chip-key { color: var(--bone-3); }
.chip-val { color: var(--bone-2); text-align: end; }
.chip-ok { color: var(--signal); }
.chip-rollback { right: 0; top: 10%; padding: 9px 12px; display: flex; align-items: center; gap: 9px; animation: float 7s ease-in-out infinite; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px rgba(61,214,198,0.8); }
@media (max-width: 480px) {
  .chip-manifest { width: 232px; left: 0; }
  .chip-rollback { right: 0; top: 4%; }
}

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(16, 22, 30, 0.35); }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  padding-block: 16px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone-3);
}
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bone-3); opacity: 0.6; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { max-width: 720px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.h2 { margin-top: 14px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 720; text-wrap: balance; }
.sub { margin-top: 16px; font-size: 17px; color: var(--bone-2); text-wrap: pretty; }
.h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 44px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .card-wide { grid-column: span 4; } .card { grid-column: span 2; } .card-wide { grid-column: span 4; } }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(24,33,48,0.55) 0%, rgba(16,22,30,0.9) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -40px rgba(0,0,0,0.9);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(600px 240px at 20% -10%, rgba(61,214,198,0.10), transparent 60%);
  opacity: 0.8;
}
.card:hover { transform: translateY(-3px); border-color: rgba(232,237,242,0.18); box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 40px 70px -40px rgba(0,0,0,0.95), 0 0 0 1px rgba(61,214,198,0.12); }
.card-body { position: relative; }
.card-body p:not(.card-kicker) { margin-top: 12px; color: var(--bone-2); font-size: 15.5px; text-wrap: pretty; max-width: 48ch; }
.card-kicker { font-family: var(--mono); font-size: 12px; color: var(--bone-3); letter-spacing: 0.08em; margin-bottom: 10px; }
.card-art { position: relative; }
.card-wide { flex-direction: column; }
@media (min-width: 900px) { .card-wide { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: stretch; gap: 28px; } .card-wide .card-body, .card-wide .card-art { min-width: 0; } .term { min-width: 0; } }

.term { height: 100%; background: #070A0E; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 18px 40px -22px rgba(0,0,0,0.9); }
.term-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.term-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.term-body { padding: 14px 16px; font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: var(--bone-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.t-dim { color: var(--bone-3); }
.t-ok { color: var(--signal); }

.dial { position: relative; margin-top: auto; }
.dial-track { height: 8px; border-radius: 999px; background: rgba(232,237,242,0.08); overflow: hidden; }
.dial-fill { height: 100%; width: 36%; border-radius: inherit; background: linear-gradient(90deg, var(--signal-deep), var(--signal)); box-shadow: 0 0 18px rgba(61,214,198,0.45); animation: dial 12s ease-in-out infinite; }
.dial-labels { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--bone-3); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--bone-2); background: rgba(232,237,242,0.03); }

.card-paper { background: linear-gradient(180deg, #FBFAF7 0%, var(--paper) 100%); color: var(--ink-on-paper); border-color: rgba(18,24,33,0.06); }
.card-paper::before { background: radial-gradient(500px 220px at 85% 0%, rgba(61,214,198,0.18), transparent 60%); }
.card-paper .card-kicker { color: var(--ink-on-paper-2); }
.card-paper .card-body p:not(.card-kicker) { color: var(--ink-on-paper-2); }
.card-paper:hover { border-color: rgba(18,24,33,0.14); }
.licenses { display: flex; flex-direction: column; gap: 8px; min-width: 260px; }
.licenses li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 10px; background: rgba(18,24,33,0.05); border: 1px solid var(--paper-line); font-size: 14px; }
.lic-name { color: var(--ink-on-paper); font-weight: 500; }
.lic-tag { font-family: var(--mono); font-size: 12px; color: var(--ink-on-paper); background: #fff; border: 1px solid var(--paper-line); padding: 3px 8px; border-radius: 6px; }
@media (min-width: 900px) { .card-paper { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; } }

/* ---------- paper section ---------- */
.paper { background: var(--paper); color: var(--ink-on-paper); position: relative; }
.paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 300px at 90% 0%, rgba(61,214,198,0.16), transparent 60%); }
.paper .container { position: relative; }
.paper .eyebrow { color: var(--signal-deep); }
.paper .sub { color: var(--ink-on-paper-2); }
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 44px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .step-offset { transform: translateY(22px); } }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 24px 50px -32px rgba(18,24,33,0.35); transition: transform 0.2s var(--ease-out), box-shadow 0.2s; }
.step:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 30px 60px -32px rgba(18,24,33,0.45); }
.step-offset:hover { transform: translateY(19px); }
@media (max-width: 799px) { .step-offset:hover { transform: translateY(-3px); } }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink-on-paper); color: var(--paper); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.step .h3 { margin-top: 18px; }
.step p { margin-top: 10px; color: var(--ink-on-paper-2); font-size: 15.5px; text-wrap: pretty; }

/* ---------- early access ---------- */
.access {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line-strong); border-radius: 24px;
  background: linear-gradient(135deg, rgba(24,33,48,0.9) 0%, rgba(16,22,30,0.95) 60%, rgba(10,14,19,1) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 50px 100px -60px rgba(0,0,0,0.95);
}
.access::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(61,214,198,0.20), transparent 65%); filter: blur(30px); pointer-events: none; }
.access::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(232,237,242,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(232,237,242,0.03) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000, transparent 100%); }
@media (min-width: 900px) { .access { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.access-copy, .access-actions { position: relative; }
.access-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
@media (min-width: 900px) { .access-actions { align-items: flex-end; text-align: end; } }
.access-note { font-size: 14px; color: var(--bone-3); }
.access-note a { color: var(--bone-2); border-bottom: 1px solid var(--line-strong); transition: color 0.15s, border-color 0.15s; }
.access-note a:hover { color: var(--bone); border-color: var(--bone-2); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(16,22,30,0.5); }
.footer-inner { display: grid; gap: 18px; padding-block: 36px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; } .footer-legal { grid-column: 1 / -1; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-status { font-family: var(--mono); font-size: 11.5px; color: var(--bone-3); padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 999px; margin-inline-start: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--bone-2); }
@media (min-width: 800px) { .footer-links { justify-content: flex-end; } }
.footer-links a:hover { color: var(--bone); }
.footer-legal { font-size: 13px; color: var(--bone-3); max-width: 78ch; text-wrap: pretty; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .h1 { font-size: clamp(34px, 5vw, 56px); }

/* ---------- motion ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-delayed { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-0.6deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dial { 0%, 15% { width: 10%; } 35%, 50% { width: 36%; } 65%, 80% { width: 72%; } 92%, 100% { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
