:root {
  --sky-0: #080C1F;
  --sky-1: #0E1430;
  --sky-2: #1A2348;
  --panel: #11183a;
  --line: #243064;
  --ink: #eaf0ff;
  --muted: #9fb0d8;
  --gold: #FFD86B;
  --star: #8FD8FF;
  --maxw: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 70% -10%, #1a2348 0%, transparent 60%),
    radial-gradient(900px 600px at 0% 100%, #131b40 0%, transparent 55%),
    var(--sky-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }

a { color: var(--star); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  /* faint starfield */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 35% 60%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 90% 70%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 55% 35%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 20% 85%, rgba(255,255,255,.4), transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.app-icon {
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}
.tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--gold);
  margin: 0 0 .8em;
  font-weight: 600;
}
.lede { color: var(--muted); max-width: 42ch; font-size: 1.05rem; }

.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 16px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: #1a1500;
  box-shadow: 0 8px 24px rgba(255,216,107,.25);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.03);
}
.badge-line { color: var(--muted); font-size: .9rem; margin-top: 8px; }

.hero-shot { display: flex; justify-content: center; }
.hero-shot img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 36px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: rgba(255,255,255,.02); border-block: 1px solid var(--line); }
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.feature h3 { font-size: 1.05rem; color: var(--star); }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
}
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.shots figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* ---------- Get ---------- */
.get { text-align: center; max-width: 640px; }
.get p { color: var(--muted); }
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.store-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: #fff;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.store-tile svg { width: 34px; height: 34px; }
a.store-tile:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.store-tile-soon { opacity: .4; cursor: default; }

/* Hero store tiles sit left-aligned alongside the CTA copy */
.hero .store-badges { justify-content: flex-start; margin: 24px 0 8px; }
.fineprint { font-size: .85rem; color: var(--muted); }

/* ---------- Privacy CTA ---------- */
.privacy-cta { max-width: 680px; text-align: center; }
.privacy-cta p { color: var(--muted); }
.privacy-cta .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-nav a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.footer-nav a:hover { color: var(--ink); }

/* ---------- Privacy page ---------- */
.doc { max-width: 760px; padding: 64px 0; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2em; color: var(--star); }
.doc p, .doc li { color: var(--muted); }
.doc .updated { color: var(--gold); font-size: .9rem; }
.doc .back { display: inline-block; margin-bottom: 24px; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
  .hero-shot { order: -1; }
  .hero-shot img { max-width: 240px; }
  .section { padding: 56px 0; }
}
