:root {
  color-scheme: dark;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --soft: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f5f3ed;
  --ink: #05070b;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #081225;
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.background {
  position: fixed;
  inset: -28px;
  z-index: -2;
  background: url("assets/launch-background.png") center / cover no-repeat;
  filter: blur(24px) saturate(1.06);
  transform: scale(1.045);
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 64% 36%, rgba(255, 255, 255, 0.08), transparent 27%),
    radial-gradient(circle at 50% 58%, rgba(0, 216, 170, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(4, 9, 22, 0.52), rgba(4, 9, 22, 0.92) 74%, rgba(4, 9, 22, 0.98));
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 4vw, 48px);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.topbar-nav,
.topbar-link,
.primary-action,
.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.topbar-nav {
  gap: 14px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
  pointer-events: auto;
}

.topbar-nav > a:not(.topbar-link):not(.topbar-icon):hover {
  color: var(--text);
}

.topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.topbar-icon img {
  width: 17px;
  height: 17px;
  opacity: 0.78;
}

.topbar-icon:hover img {
  opacity: 1;
}

.topbar-link {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 12px;
  backdrop-filter: blur(16px);
}

.primary-action {
  min-height: 48px;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.app-store-button {
  width: 179px;
  height: 60px;
  padding: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
}

.app-store-button:hover {
  opacity: 0.86;
}

.app-store-button.compact {
  margin: 0 auto;
}

.app-store-button img {
  width: 100%;
  height: 100%;
}

.page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 0.82fr);
  gap: clamp(44px, 8vw, 114px);
  align-items: center;
  padding: 112px 0 70px;
}

.copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(76px, 10.5vw, 128px);
  line-height: 0.84;
  font-weight: 950;
  letter-spacing: 0;
}

.tagline {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.02;
  font-weight: 900;
}

.lede {
  max-width: 500px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  font-weight: 620;
}

.phone {
  justify-self: center;
  width: min(360px, 36vw);
  margin: 0;
  filter: drop-shadow(0 42px 86px rgba(0, 0, 0, 0.46));
}

.phone-frame {
  position: relative;
  aspect-ratio: 1206 / 2622;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 56px;
  background:
    linear-gradient(145deg, #67707b, #0a0d13 24%, #171c25 74%, #7b8491);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 9px #05070b;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border-radius: 46px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 24px 0 38px rgba(255, 255, 255, 0.05),
    inset -20px 0 38px rgba(0, 0, 0, 0.28);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 46px;
  background: #081225;
}

.island {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 23px;
  width: 112px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #030406;
}

.phone-side {
  position: absolute;
  z-index: 1;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(#5f6874, #171b22);
}

.side-left {
  left: -4px;
  top: 116px;
  height: 58px;
}

.side-right {
  right: -4px;
  top: 182px;
  height: 94px;
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 68px);
  padding: 40px 0 clamp(82px, 12vw, 142px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.notes article {
  max-width: 310px;
}

.notes h2 {
  margin-bottom: 9px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.06;
  font-weight: 900;
}

.notes p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 610;
}

.final-cta {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(76px, 12vw, 132px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 28px;
  font-size: clamp(46px, 6.4vw, 80px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.safety {
  max-width: 440px;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--soft);
  font-size: 13px;
  font-weight: 720;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer a:hover {
  color: var(--text);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.social-link img {
  width: 16px;
  height: 16px;
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.social-link:hover img {
  opacity: 1;
}

.doc-page {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 142px 0 90px;
}

.doc-hero {
  max-width: 760px;
  padding-bottom: 42px;
}

.doc-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 96px);
}

.doc-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  font-weight: 620;
}

.doc-content {
  display: grid;
  gap: 28px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-section {
  max-width: 760px;
}

.doc-section h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  font-weight: 900;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 590;
}

.doc-section p {
  margin-bottom: 12px;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul,
.doc-section ol {
  margin: 0;
  padding-left: 20px;
}

.doc-section a,
.inline-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-card span {
  color: var(--muted);
  line-height: 1.5;
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.contact-card strong.card-title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-title-with-icon img {
  width: 18px;
  height: 18px;
}

@media (max-width: 860px) {
  .topbar {
    padding: 18px 16px;
  }

  .topbar-nav {
    gap: 10px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .page,
  .footer {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 104px 0 58px;
  }

  .copy {
    max-width: none;
  }

  .primary-action {
    width: 100%;
  }

  .app-store-button {
    width: 179px;
    max-width: 100%;
  }

  .phone {
    width: min(300px, 82vw);
  }

  .phone-frame {
    padding: 8px;
    border-radius: 46px;
  }

  .phone-frame::before,
  .phone-frame img {
    border-radius: 38px;
  }

  .phone-frame::before {
    inset: 8px;
  }

  .island {
    top: 18px;
    width: 94px;
    height: 29px;
  }

  .notes {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .notes article {
    max-width: none;
  }

  .footer {
    flex-direction: column;
  }

  .footer nav {
    justify-content: flex-start;
  }

  .doc-page {
    width: calc(100% - 32px);
    padding-top: 118px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
