/* Stratospheric Innovations: a night sky above a lit horizon, then plain readable pages. */
:root {
  --night: #070b1f;
  --night-2: #11164a;
  --indigo: #2a2f8f;
  --sky: #5ee6ff;
  --sunrise: #ff9a62;
  --ink: #0d1230;
  --text: #2b3150;
  --muted: #646b8a;
  --line: #e3e6f2;
  --paper: #f6f7fc;
  --card: #ffffff;
  --radius: 20px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--night-2); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Top bar: transparent over the sky, solid on the documents. */
.bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  color: #fff;
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.bar.solid { position: sticky; top: 0; background: var(--night); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand small { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.65; }
.bar nav { display: flex; gap: 28px; }
.bar nav a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 15px; font-weight: 500; }
.bar nav a:hover { color: #fff; }

/* The sky: stars above, Earth's lit edge below. */
.sky {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 70% at 50% 118%, rgba(255, 154, 98, 0.55) 0%, rgba(255, 154, 98, 0) 46%),
    radial-gradient(90% 60% at 80% 10%, rgba(94, 230, 255, 0.16) 0%, rgba(94, 230, 255, 0) 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, #2b2a78 100%);
  padding: 168px 0 0;
}
.sky::before {
  /* Stars: a few hundred pixels, no image to download. */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 30%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 78% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 38%, rgba(255,255,255,.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 56%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 36% 64%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 50%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 60%, rgba(255,255,255,.5) 50%, transparent 51%);
  background-size: 640px 420px;
  opacity: 0.9;
  pointer-events: none;
}
.sky .wrap { position: relative; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: end; }
.hero-copy { padding-bottom: 120px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
}
.sky h1 { color: #fff; font-size: clamp(40px, 6vw, 66px); font-weight: 800; letter-spacing: -0.035em; }
.sky h1 em { font-style: normal; background: linear-gradient(90deg, var(--sky), #b7a6ff 55%, var(--sunrise)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sky .lead { margin-top: 24px; font-size: 19px; color: rgba(255, 255, 255, 0.78); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: #fff; color: var(--night); }
.btn.primary:hover { color: var(--night); background: #eef1ff; }
.btn.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn.ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* An illustration of the app, drawn in CSS: not a screenshot. */
.phone {
  justify-self: center;
  width: 300px;
  max-width: 100%;
  margin-bottom: -60px;
  padding: 14px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a2f63, #11143a);
  box-shadow: 0 40px 80px rgba(3, 5, 25, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.screen {
  border-radius: 34px;
  padding: 26px 18px 30px;
  min-height: 520px;
  background: linear-gradient(180deg, #34383f 0%, #1c1d22 48%, #141518 100%);
  color: #fff;
}
.screen .notch { width: 92px; height: 24px; border-radius: 14px; background: #0a0a0c; margin: -12px auto 22px; }
.screen .label { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.screen .big { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.screen .delta { font-size: 12px; color: #4cd39b; }
.chart { height: 70px; margin: 16px 0 22px; }
.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); font-size: 13px; }
.row i { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.row span { flex: 1; }
.row b { font-weight: 600; }
.bar-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); margin-top: 6px; overflow: hidden; }
.bar-track div { height: 100%; border-radius: 2px; }

/* The horizon line under the sky. */
.horizon { height: 90px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; margin-top: -1px; transform: scaleX(1.4); }

section.block { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--indigo); }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

.product {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 36px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(13, 18, 48, 0.06);
}
.product-id .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font: 800 34px var(--display);
  color: #fff;
  background: linear-gradient(150deg, #4cd39b, #1d7f61);
  box-shadow: 0 10px 24px rgba(29, 127, 97, 0.3);
}
.product-id h3 { margin-top: 18px; font-size: 26px; }
.product-id .muted { margin-top: 4px; }
.product-id .links { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { padding: 20px; border-radius: 16px; background: var(--paper); }
.feature h4 { margin: 10px 0 6px; font-size: 16px; color: var(--ink); }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }
.feature svg { width: 26px; height: 26px; color: var(--indigo); }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle { padding: 24px; border-radius: var(--radius); background: var(--night); color: rgba(255, 255, 255, 0.75); position: relative; overflow: hidden; }
.principle::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 120px; background: radial-gradient(closest-side, rgba(94, 230, 255, 0.22), transparent); }
.principle h4 { margin: 0 0 8px; font-size: 16px; color: #fff; }
.principle p { margin: 0; font-size: 15px; }
.principle .num { font: 700 13px var(--font); color: var(--sky); letter-spacing: 0.1em; }

.company { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.facts { margin: 0; padding: 8px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.foot { background: var(--night); color: rgba(255, 255, 255, 0.6); font-size: 14px; padding: 40px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot a { color: rgba(255, 255, 255, 0.8); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot p { margin: 0; }

/* Documents: privacy policy, terms, email confirmation. */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.doc .eyebrow { color: var(--indigo); margin-bottom: 10px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.doc h2 { font-size: 21px; margin: 40px 0 12px; }
.doc .lead { font-size: 19px; color: var(--ink); margin-top: 20px; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 48px; }
  .phone { margin-bottom: -40px; }
  .product { grid-template-columns: 1fr; padding: 24px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bar nav { display: none; }
  .sky { padding-top: 120px; }
  .features, .principles { grid-template-columns: 1fr; }
  .facts { padding: 4px 18px; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  section.block { padding: 52px 0; }
  .doc { padding: 40px 16px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
