:root {
  color-scheme: dark;
  --background: #08090b;
  --text: #f5f5f7;
  --muted: #a2a4ab;
  --line: #25262b;
  --accent: #8fc9ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; line-height: 1.6; }
.space-page { position: relative; isolation: isolate; }
.space-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle, #c4d9ef 0 0.8px, transparent 1.4px),
    radial-gradient(circle, #fff9 0 0.6px, transparent 1.2px),
    radial-gradient(circle, #c4d9ef66 0 0.5px, transparent 1px);
  background-size: 331px 313px, 197px 223px, 113px 157px, 73px 137px;
  background-position: 17px 33px, 83px 127px, 37px 71px, 11px 19px;
  opacity: 0.5;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.08; overflow-wrap: break-word; }
h1, h2 { font-weight: 600; letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.025em; }
p { color: var(--muted); }
.container { width: min(100% - 64px, 1120px); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 100px;
  padding-block: 16px;
}
.wordmark, .footer-brand {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.brand-symbol { width: 36px; height: 36px; flex: none; border-radius: 9px; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; color: var(--muted); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-block: 32px 104px;
}
.hero-copy { padding-block: 24px; }
.eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}
h1 { max-width: 11ch; font-size: clamp(3rem, 6.5vw, 5.75rem); line-height: 1.02; }
h1 span { display: block; }
.hero-description { max-width: 430px; margin-top: 28px; font-size: 1.0625rem; line-height: 1.75; }
.store-link {
  display: inline-block;
  width: 184px;
  max-width: 100%;
  border-radius: 10px;
  transition: opacity 160ms ease;
}
.store-link:hover { opacity: 0.8; }
.hero .store-link { margin-top: 32px; }
.hero-visual { width: min(100%, 338px); justify-self: center; }
.app-screen { border-radius: 26px; overflow: hidden; background: #000; }
.iphone {
  position: relative;
  padding: 8px;
  border: 2px solid #666b73;
  border-radius: 48px;
  background: #08090b;
  box-shadow: 0 0 0 1px #17191d, 0 24px 64px #0006;
}
.iphone::before {
  position: absolute;
  inset: 2px;
  border: 1px solid #24272d;
  border-radius: 44px;
  pointer-events: none;
  content: "";
}
.iphone .app-screen { border-radius: 36px; aspect-ratio: 1206 / 2622; }
.iphone-island {
  position: absolute;
  top: 2.2%;
  left: 50%;
  z-index: 1;
  width: 29%;
  height: 3.3%;
  border-radius: 99px;
  background: #000;
  box-shadow: 0 0 0 1px #ffffff0d;
  transform: translateX(-50%);
  pointer-events: none;
}
.iphone-island::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111827;
  transform: translateY(-50%);
  content: "";
}
.iphone-button { position: absolute; width: 3px; border-radius: 2px; background: #555a62; pointer-events: none; }
.iphone-button--action { top: 13%; left: -5px; height: 3%; }
.iphone-button--volume { top: 20%; left: -5px; height: 6%; box-shadow: 0 54px #555a62; }
.iphone-button--power { top: 24%; right: -5px; height: 10%; }
.section { padding-block: 88px; border-top: 1px solid var(--line); }
.section-intro { max-width: 560px; }
.section-intro .eyebrow { margin-bottom: 16px; }
.section-intro > p:last-child { margin-top: 22px; font-size: 1.0625rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.step-visual { height: 128px; margin-bottom: 26px; overflow: hidden; border-radius: 10px; background: #000; }
.step-visual img { width: 100%; height: 100%; object-fit: cover; }
.step-visual--mission img { object-position: center 43%; }
.step-visual--destination img { object-position: center 43%; }
.step-visual--flight img { object-position: center 48%; }
.step-number { display: block; margin-bottom: 12px; color: var(--accent); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.steps p { max-width: 30ch; margin-top: 12px; font-size: 0.9375rem; }
.experience-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}
.experience-gallery figure { min-width: 0; }
.experience-gallery .app-screen { border-radius: 22px; }
.experience-gallery figcaption { padding-top: 22px; }
.experience-gallery figcaption p { margin-top: 8px; font-size: 0.875rem; }
.gallery-hint { display: none; }
.daily-mission { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.daily-mission h2 { max-width: 12ch; }
.daily-mission .eyebrow { margin-bottom: 16px; }
.daily-copy p + p { margin-top: 16px; }
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.faq h2 { max-width: 10ch; }
.faq-list { min-width: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary {
  position: relative;
  padding: 22px 32px 22px 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 4px; top: 22px; content: "+"; color: var(--muted); font-size: 1.2rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 24px; font-size: 0.9375rem; }
details a { color: var(--text); }
.final-cta { padding-block: 100px; text-align: center; }
.final-cta h2 { max-width: 15ch; margin-inline: auto; }
.final-cta p { max-width: 36ch; margin: 22px auto 28px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px 36px; border-top: 1px solid var(--line); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 0.75rem; color: var(--muted); }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-meta a:hover, .footer-meta [aria-current="page"] { color: var(--text); text-decoration: underline; }

/* The legal documents share the landing page's typography and navigation. */
.legal-page main { width: min(100% - 64px, 740px); margin-inline: auto; padding-block: 64px 80px; }
.legal-page main > header { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-page .eyebrow { display: inline-block; margin-bottom: 28px; color: var(--text); font-size: 1.1rem; text-transform: none; letter-spacing: -0.04em; text-decoration: none; }
.legal-page h1 { max-width: none; margin-bottom: 16px; font-size: clamp(2.5rem, 6vw, 3.75rem); }
.legal-page .updated { font-size: 0.875rem; }
.legal-page h2 { margin-block: 40px 16px; font-size: 1.375rem; letter-spacing: -0.03em; line-height: 1.35; }
.legal-page h3 { margin-block: 28px 12px; line-height: 1.4; }
.legal-page p + p { margin-top: 16px; }
.legal-page ul { padding-left: 24px; color: var(--muted); }
.legal-page li + li { margin-top: 8px; }
.legal-page a { overflow-wrap: anywhere; }
.legal-page main a:not(.eyebrow) { color: var(--accent); }
.legal-page strong { color: var(--text); }
.legal-page .summary { padding-block: 28px 0; }

@media (min-width: 1600px) {
  .hero { gap: 96px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .hero { gap: 32px; }
  .steps, .experience-gallery { gap: 24px; }
  .daily-mission, .faq { gap: 40px; }
  .site-footer { align-items: flex-start; }
  .footer-meta { justify-content: flex-end; gap: 4px 20px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 80px; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 24px 64px; }
  .hero-copy { padding: 0; text-align: center; }
  .hero h1 { margin-inline: auto; }
  .eyebrow { margin-bottom: 20px; font-size: 0.625rem; letter-spacing: 0.12em; }
  h1 { max-width: 12ch; font-size: clamp(2.875rem, 10.8vw, 4.25rem); }
  .hero-description { margin: 24px auto 0; font-size: 1rem; line-height: 1.7; }
  .hero .store-link { margin-top: 28px; }
  .hero-visual { width: min(100% - 32px, 320px); }
  .section { padding-block: 60px; }
  .section-intro > p:last-child { font-size: 1rem; }
  .steps li { min-width: 0; }
  .step-visual { height: auto; aspect-ratio: 1206 / 2622; margin: 0 0 24px; border-radius: 18px; }
  .step-visual img { height: auto; object-fit: contain; }
  .step-number { margin-bottom: 8px; }
  .steps h3 { font-size: 1.0625rem; }
  .steps p { margin-top: 8px; font-size: 0.875rem; }
  .steps, .experience-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 300px);
    gap: 20px;
    margin: 32px -20px 0;
    padding: 8px 20px 20px;
    overflow-x: auto;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #51535c transparent;
  }
  .steps li, .experience-gallery figure { scroll-snap-align: start; }
  .steps:focus-visible, .experience-gallery:focus-visible { outline-offset: -3px; }
  .experience-gallery figcaption { padding-top: 20px; }
  .gallery-hint { display: block; margin-top: 12px; font-size: 0.75rem; }
  .daily-mission, .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq h2 { max-width: none; }
  .final-cta { padding-block: 72px; }
  .site-footer { flex-direction: column; gap: 12px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .footer-meta { justify-content: flex-start; column-gap: 20px; }
  .copyright { flex-basis: 100%; order: 1; }
  .legal-page main { width: calc(100% - 40px); padding-block: 36px 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .steps, .experience-gallery { scroll-snap-type: none; }
}
