/* ORBIT GRID · marketing site — shared styles
   Tokens copied verbatim from the app's own design system (design_handoff bundle). */

:root{
  --space:#05070D; --deep:#070B12; --hull:#0D1220; --hull2:#0A0F1A; --hull3:#080C14;
  --cyan:#00F0FF; --cyandim:#00B8CC; --green:#00E676; --red:#FF3B30;
  --gold:#FFD700; --amber:#FFB300; --violet:#B76BFF;
  --ink:#EAF2FB; --muted:#8B9AB0; --dim:#5C6C82; --faint:#3B475A; --faint2:#2F3947;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--space); color:var(--ink);
  font-family:"Space Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
::selection{ background:rgba(0,240,255,0.25); color:#fff; }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--space); }
::-webkit-scrollbar-thumb{ background:var(--faint); border-radius:6px; }

a{ color:inherit; text-decoration:none; }
.mono{ font-family:"JetBrains Mono","SFMono-Regular",Menlo,Consolas,monospace; }
.tnum{ font-variant-numeric:tabular-nums; }

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

/* ── nav ─────────────────────────────────────────── */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  background:rgba(5,7,13,0.72); border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:18px; letter-spacing:-0.3px; }
.brand-mark{ width:32px; height:32px; border-radius:50%; position:relative; flex:0 0 auto;
  background:radial-gradient(circle at 32% 26%, #FFFFFF 0%, #D3DEEC 32%, #7C8B9E 74%, #4A5768 100%);
  border:1px solid rgba(255,255,255,0.5); box-shadow:0 0 16px rgba(0,240,255,0.35); }
.brand-mark::after{ content:""; position:absolute; top:38%; left:20%; width:60%; height:38%; border-radius:9px;
  background:linear-gradient(160deg, rgba(0,240,255,0.95), rgba(3,32,48,0.95)); box-shadow:inset 0 0 8px rgba(0,240,255,0.95); }
.nav-links{ display:flex; align-items:center; gap:32px; font-size:14px; color:var(--muted); }
.nav-links a{ transition:color .15s ease; }
.nav-links a:hover{ color:var(--cyan); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:0; color:var(--ink); font-size:22px; cursor:pointer; padding:4px; }

/* ── buttons ─────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:52px; padding:0 26px; border-radius:14px; font-weight:600; font-size:15px;
  cursor:pointer; border:1px solid transparent; white-space:nowrap; transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{ background:var(--cyan); color:#04121A; box-shadow:0 0 28px rgba(0,240,255,0.35); }
.btn-primary:hover{ box-shadow:0 0 40px rgba(0,240,255,0.55); }
.btn-ghost{ background:var(--hull); color:var(--ink); border-color:rgba(255,255,255,0.1); }
.btn-ghost:hover{ border-color:rgba(0,240,255,0.4); color:var(--cyan); }
.btn-sm{ height:44px; padding:0 18px; font-size:14px; border-radius:12px; }

.store-badge{
  display:inline-flex; align-items:center; gap:10px; height:52px; padding:0 20px 0 16px;
  border-radius:14px; background:var(--hull); border:1px solid rgba(255,255,255,0.1); color:var(--ink);
  transition:border-color .15s ease, transform .15s ease;
}
.store-badge:hover{ border-color:rgba(0,240,255,0.4); transform:translateY(-1px); }
.store-badge .glyph{ font-size:20px; line-height:1; }
.store-badge .lines{ display:flex; flex-direction:column; line-height:1.2; }
.store-badge .lines small{ font-size:10px; letter-spacing:1.5px; color:var(--dim); font-family:"JetBrains Mono",monospace; }
.store-badge .lines strong{ font-size:15px; font-weight:600; }
.store-badge.disabled{ opacity:.55; cursor:not-allowed; pointer-events:none; }

/* ── section scaffolding ─────────────────────────── */
section{ position:relative; }
.eyebrow{ font-family:"JetBrains Mono",monospace; font-size:11px; letter-spacing:3px; color:var(--cyan); text-transform:uppercase; }
.h2{ font-size:clamp(28px,4vw,42px); font-weight:700; letter-spacing:-0.5px; line-height:1.15; margin:10px 0 0; }
.lede{ color:var(--muted); font-size:17px; line-height:1.6; max-width:640px; }
.section-head{ display:flex; flex-direction:column; gap:14px; margin-bottom:48px; }
.section-head.center{ align-items:center; text-align:center; margin-left:auto; margin-right:auto; }

/* ── hero ─────────────────────────────────────────── */
.hero{ padding:168px 0 100px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.hero-copy .eyebrow{ display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border:1px solid rgba(0,240,255,0.3); border-radius:100px; background:rgba(0,240,255,0.06); }
.hero-title{ font-size:clamp(40px,5.6vw,68px); font-weight:700; letter-spacing:-1.5px; line-height:1.03; margin:20px 0 0; }
.hero-title .sub{ display:block; font-family:"JetBrains Mono",monospace; font-size:clamp(13px,1.6vw,17px); font-weight:600; letter-spacing:6px; color:var(--cyandim); margin-top:14px; }
.hero-lede{ margin-top:22px; color:var(--muted); font-size:18px; line-height:1.65; max-width:520px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-facts{ display:flex; gap:28px; margin-top:44px; flex-wrap:wrap; }
.hero-fact strong{ display:block; font-size:24px; font-weight:700; color:var(--ink); }
.hero-fact strong .u{ color:var(--cyan); }
.hero-fact span{ font-family:"JetBrains Mono",monospace; font-size:10px; letter-spacing:1.5px; color:var(--dim); }

.hero-stage{ position:relative; display:flex; justify-content:center; align-items:center; min-height:600px; }
.hero-glow{ position:absolute; width:520px; height:520px; border-radius:50%; background:radial-gradient(circle, rgba(0,240,255,0.16) 0%, rgba(0,240,255,0) 70%); filter:blur(2px); }
.float-art{ position:absolute; filter:drop-shadow(0 10px 30px rgba(0,0,0,0.5)); animation:float 7s ease-in-out infinite; }
.float-art.ship{ width:92px; top:6%; left:2%; animation-delay:.4s; }
.float-art.astro{ width:76px; bottom:10%; right:0%; animation-delay:1.6s; }
.float-art.rock{ width:64px; top:52%; left:-4%; animation-delay:.9s; opacity:.9; }
@keyframes float{ 0%,100%{ transform:translateY(0) rotate(0deg);} 50%{ transform:translateY(-18px) rotate(4deg);} }

/* ── phone (matches the app's own .phone/.screen-body primitives, at the
       original 375×812 logical size; wrappers below scale it down so all
       the absolute/px-based inner UI keeps its exact real-app proportions) ── */
.phone{ position:relative; width:375px; height:812px; background:var(--space); border-radius:44px; overflow:hidden; border:9px solid #050505; box-shadow:0 30px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04), 0 0 60px rgba(0,240,255,0.12); transform-origin:top left; flex:0 0 auto; }
.screen-body{ position:absolute; inset:0; display:flex; flex-direction:column; }

.phone-frame{ position:relative; flex:0 0 auto; }
.phone-frame--hero{ width:322px; height:698px; }
.phone-frame--hero .phone{ transform:scale(0.859); }
.phone-frame--card{ width:236px; height:511px; }
.phone-frame--card .phone{ transform:scale(0.629); }

/* ── features ─────────────────────────────────────── */
.features{ padding:110px 0; }
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-card{ background:var(--hull); border:1px solid rgba(255,255,255,0.08); border-radius:20px; padding:26px 22px; display:flex; flex-direction:column; gap:14px; transition:border-color .2s ease, transform .2s ease; }
.feature-card:hover{ transform:translateY(-4px); border-color:rgba(0,240,255,0.3); }
.feature-icon{ width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.feature-card h3{ margin:0; font-size:17px; font-weight:600; }
.feature-card p{ margin:0; color:var(--muted); font-size:14px; line-height:1.55; }

/* ── screens gallery ──────────────────────────────── */
.screens{ padding:60px 0 120px; }
.screens-row{ display:flex; gap:28px; overflow-x:auto; padding:20px 4px 30px; scrollbar-width:thin; }
.screen-item{ display:flex; flex-direction:column; align-items:center; gap:16px; }
.screen-tag{ font-family:"JetBrains Mono",monospace; font-size:11px; letter-spacing:2px; color:var(--dim); }
.screen-tag b{ color:var(--cyan); }

/* ── download / cta ───────────────────────────────── */
.download{ padding:100px 0 130px; text-align:center; }
.download-badges{ display:flex; gap:16px; justify-content:center; margin-top:36px; flex-wrap:wrap; }

/* ── footer ───────────────────────────────────────── */
footer{ border-top:1px solid rgba(255,255,255,0.06); padding:64px 0 32px; background:var(--hull3); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.footer-brand p{ color:var(--dim); font-size:14px; line-height:1.6; max-width:280px; margin-top:14px; }
.footer-col h4{ font-family:"JetBrains Mono",monospace; font-size:11px; letter-spacing:2px; color:var(--dim); margin:0 0 16px; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:var(--muted); font-size:14px; transition:color .15s ease; }
.footer-col a:hover{ color:var(--cyan); }
.footer-bottom{ margin-top:56px; padding-top:24px; border-top:1px solid rgba(255,255,255,0.06); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom .mono{ font-size:11px; letter-spacing:1.5px; color:var(--faint2); }

/* ── simple legal / contact page shell ────────────── */
.page-hero{ padding:150px 0 60px; }
.page-hero h1{ font-size:clamp(32px,5vw,48px); font-weight:700; letter-spacing:-1px; margin:14px 0 0; }
.legal{ padding:20px 0 100px; }
.legal-body{ max-width:760px; }
.legal-body h2{ font-size:20px; margin:40px 0 12px; color:var(--ink); }
.legal-body h2:first-child{ margin-top:0; }
.legal-body p, .legal-body li{ color:var(--muted); font-size:15px; line-height:1.75; }
.legal-body ul{ padding-left:20px; }
.legal-updated{ font-family:"JetBrains Mono",monospace; font-size:11px; letter-spacing:1.5px; color:var(--dim); margin-top:16px; }

.contact-card{ background:var(--hull); border:1px solid rgba(255,255,255,0.08); border-radius:20px; padding:30px; display:flex; flex-direction:column; gap:10px; }
.contact-card .feature-icon{ margin-bottom:6px; }
.contact-card h3{ margin:0; font-size:17px; }
.contact-card p{ margin:0; color:var(--muted); font-size:14px; line-height:1.55; }
.contact-card a.email{ color:var(--cyan); font-family:"JetBrains Mono",monospace; font-size:14px; margin-top:6px; }

/* ── reveal-on-scroll ─────────────────────────────── */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ── responsive ───────────────────────────────────── */
@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-links.open{
    display:flex; position:absolute; top:72px; left:0; right:0; flex-direction:column; gap:0;
    background:var(--hull3); border-bottom:1px solid rgba(255,255,255,0.08); padding:8px 24px 20px;
  }
  .nav-links.open a{ padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.05); }
  .nav-toggle{ display:block; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero{ padding-top:140px; }
  .hero-stage{ order:-1; min-height:420px; }
  .phone-frame--hero{ width:266px; height:576px; }
  .phone-frame--hero .phone{ transform:scale(0.709); }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; row-gap:32px; }
}
@media (max-width: 560px){
  .feature-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero-facts{ gap:20px; }
  .phone-frame--hero{ width:220px; height:476px; }
  .phone-frame--hero .phone{ transform:scale(0.587); }
}
