:root {
  --ink: #10233f;
  --muted: #5d6b7d;
  --blue: #1769e0;
  --blue-deep: #0b3f8a;
  --mist: #eef6ff;
  --line: #dce5ee;
  --mint: #e7f6ef;
  --sun: #fff6d8;
  --surface: #ffffff;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-title { max-width: 670px; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: 0; }
.section-copy { max-width: 640px; color: var(--muted); font-size: 17px; }

.topbar {
  position: fixed; z-index: 20; inset: 0 0 auto;
  background: rgba(255,255,255,.91); border-bottom: 1px solid rgba(220,229,238,.9);
  backdrop-filter: blur(16px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 850; letter-spacing: .01em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 10px; font-weight: 900; box-shadow: 0 7px 16px rgba(23,105,224,.25); }
.nav-links { display: flex; align-items: center; gap: 25px; color: #445166; font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--blue); }
.nav-download, .button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 8px; font-weight: 780; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.nav-download, .button-primary { color: white; background: var(--blue); box-shadow: 0 10px 22px rgba(23,105,224,.22); }
.nav-download:hover, .button-primary:hover { background: #0f58c8; transform: translateY(-1px); }
.button-secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.button-secondary:hover { border-color: #93b8ed; background: #f7fbff; }

.hero { position: relative; min-height: 700px; overflow: hidden; background: #f7fbff; }
.hero-media { position: absolute; inset: 0 0 0 43%; background: url("assets/spacepilot-hero.png") center 35% / cover no-repeat; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(232,243,255,.18); }
.hero .shell { position: relative; min-height: 700px; display: flex; align-items: center; padding: 115px 0 78px; }
.hero-copy { width: min(540px, 52%); position: relative; z-index: 1; }
.hero h1 { margin: 0; max-width: 540px; font-size: clamp(46px, 6vw, 76px); line-height: .98; letter-spacing: 0; }
.hero-lede { margin: 24px 0 30px; max-width: 480px; color: #40546d; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.package-line { margin: 18px 0 0; color: #66778e; font-size: 13px; }
.package-line code { padding: 3px 7px; color: #1a4f9f; background: #e4f0ff; border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-hint { position: absolute; left: 50%; bottom: 20px; color: #536b8c; font-size: 12px; font-weight: 700; transform: translateX(-50%); }

.trust-strip { background: #102d58; color: #e5efff; }
.trust-strip .shell { min-height: 88px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; }
.trust-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #77d2b5; box-shadow: 0 0 0 5px rgba(119,210,181,.16); }

.features { padding: 114px 0 105px; }
.feature-head { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 44px; }
.feature-head .section-copy { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 326px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.feature-card:nth-child(1) { background: var(--mist); }
.feature-card:nth-child(2) { background: var(--sun); }
.feature-card:nth-child(3) { background: var(--mint); }
.feature-visual { height: 144px; margin: -4px 0 19px; display: flex; align-items: center; justify-content: center; }
.feature-visual img { max-width: 160px; max-height: 150px; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(30,73,128,.15)); }
.feature-symbol { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 24px; color: #18765a; background: #fff; box-shadow: 0 10px 24px rgba(30,117,91,.12); font-size: 34px; font-weight: 900; }
.feature-card h3 { margin: 0 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: #536276; font-size: 14px; }

.product-band { padding: 96px 0; background: #f7fafc; border-top: 1px solid #e7edf3; border-bottom: 1px solid #e7edf3; }
.product-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: center; }
.product-screen { position: relative; min-height: 460px; overflow: hidden; border: 8px solid #142640; border-radius: 33px; background: url("assets/spacepilot-hero.png") center 44% / cover no-repeat; box-shadow: 0 24px 50px rgba(15,47,91,.2); }
.product-screen::before { content: ""; position: absolute; inset: 0; background: rgba(18,91,201,.14); }
.screen-card { position: absolute; inset: auto 22px 24px; padding: 17px; color: #fff; background: rgba(11,55,115,.78); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; backdrop-filter: blur(8px); }
.screen-card small { color: #bcd7ff; font-weight: 750; }
.screen-card strong { display: block; margin: 4px 0; font-size: 31px; line-height: 1; }
.screen-card span { font-size: 12px; color: #d8e8ff; }
.product-list { margin: 28px 0 0; padding: 0; list-style: none; }
.product-list li { position: relative; padding: 14px 0 14px 29px; color: #405168; border-bottom: 1px solid #dde6ee; }
.product-list li::before { content: ""; position: absolute; top: 21px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #2ba77f; box-shadow: 0 0 0 5px rgba(43,167,127,.12); }

.download-band { padding: 100px 0; background: #0f3977; color: #fff; }
.download-layout { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.download-band .eyebrow { color: #a8ccff; }
.download-band .section-title { max-width: 700px; }
.download-band .section-copy { color: #d6e7ff; }
.download-box { min-width: 290px; padding: 23px; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: 0 19px 34px rgba(0,0,0,.18); }
.download-box p { margin: 0 0 12px; color: #607189; font-size: 13px; }
.download-box .button-primary { width: 100%; }

.company { padding: 110px 0; }
.company-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: start; }
.company-copy p { max-width: 630px; color: var(--muted); font-size: 17px; }
.company-notes { display: grid; gap: 12px; }
.company-note { padding: 19px 20px; border-left: 4px solid var(--blue); background: #f7fbff; }
.company-note strong { display: block; margin-bottom: 4px; font-size: 14px; }
.company-note span { color: var(--muted); font-size: 14px; }

.team { padding: 102px 0; background: #fbfcfd; border-top: 1px solid #e8edf2; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.team-card { padding: 25px; min-height: 242px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.avatar { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 28px; color: #fff; background: #1769e0; border-radius: 50%; font-size: 18px; font-weight: 900; }
.team-card:nth-child(2) .avatar { background: #168a6b; }
.team-card:nth-child(3) .avatar { background: #b97900; }
.team-card h3 { margin: 0 0 6px; font-size: 19px; }
.team-card p { margin: 0; color: var(--muted); font-size: 14px; }

.legal-callout { padding: 86px 0; background: var(--mist); }
.legal-callout .shell { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 11px; }

.footer { padding: 44px 0 26px; color: #b9c8db; background: #10233f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 30px; padding-bottom: 34px; }
.footer .brand { color: #fff; }
.footer .brand-mark { background: #4593ff; }
.footer p { max-width: 330px; margin: 13px 0 0; font-size: 13px; line-height: 1.55; }
.footer-links { display: grid; align-content: start; gap: 10px; font-size: 14px; }
.footer-links strong { color: #fff; margin-bottom: 4px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(221,235,255,.15); color: #93a8c2; font-size: 12px; }

.legal-main { padding: 132px 0 88px; background: #f7fafc; }
.legal-header { max-width: 770px; margin: 0 auto 28px; }
.legal-header h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.legal-header p { color: var(--muted); }
.legal-paper { max-width: 850px; margin: 0 auto; padding: clamp(28px, 5vw, 60px); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.legal-paper h2 { margin: 44px 0 12px; font-size: 23px; }
.legal-paper h2:first-child { margin-top: 0; }
.legal-paper h3 { margin: 28px 0 9px; font-size: 17px; }
.legal-paper p, .legal-paper li { color: #45566d; }
.legal-paper ul { padding-left: 21px; }
.legal-paper a { color: var(--blue); text-decoration: underline; }

@media (max-width: 850px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .nav { min-height: 64px; }
  .nav-links { display: none; }
  .nav-download { min-height: 40px; padding: 0 13px; font-size: 13px; }
  .hero, .hero .shell { min-height: 760px; }
  .hero .shell { align-items: flex-start; padding-top: 126px; }
  .hero-media { inset: 270px -80px 0 -80px; opacity: .78; }
  .hero-media::after { background: rgba(236,246,255,.42); }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 470px; }
  .hero-lede { max-width: 460px; font-size: 17px; }
  .trust-strip .shell { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .feature-head, .product-layout, .download-layout, .company-grid { grid-template-columns: 1fr; display: grid; gap: 28px; }
  .features, .company, .team { padding: 78px 0; }
  .feature-grid, .team-grid { grid-template-columns: 1fr; }
  .product-screen { min-height: 400px; }
  .download-band { padding: 76px 0; }
  .download-box { min-width: 0; }
  .legal-callout .shell { display: block; }
  .legal-actions { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 43px; }
  .hero-actions { display: grid; }
  .hero-actions a { width: 100%; }
  .section-title { font-size: 31px; }
  .legal-paper { padding: 25px 20px; }
}
