:root {
  color-scheme: dark;
  --bg: #020202;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fg);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.10), transparent 32rem),
    linear-gradient(180deg, #080808 0%, #000 58%, #050505 100%);
}

a {
  color: inherit;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  padding: 28px clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  place-items: center;
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

.hero-card {
  position: relative;
  width: 100%;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  inset: auto;
  width: 220px;
  height: 220px;
  content: "";
  filter: blur(70px);
  opacity: 0.25;
  background: #fff;
  pointer-events: none;
}

.hero-card::before {
  top: -120px;
  left: -100px;
}

.hero-card::after {
  right: -110px;
  bottom: -130px;
}

.logo-wrap {
  display: grid;
  place-items: center;
  margin-inline: auto;
}

.full-logo {
  display: block;
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 16px 38px rgba(255, 255, 255, 0.12));
}

.kicker {
  margin: clamp(18px, 3vw, 30px) 0 0;
  font-size: clamp(0.78rem, 1.7vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

h1 {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: clamp(2.25rem, 7vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.lede {
  max-width: 610px;
  margin: 22px auto 0;
  font-size: clamp(1.04rem, 2.2vw, 1.32rem);
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}

.actions:has(.primary-action-link) {
  flex-direction: column;
  gap: 16px;
}

.app-store-link,
.primary-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, opacity 160ms ease;
}

.app-store-link {
  line-height: 0;
}

.primary-action-link {
  min-width: 178px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #000;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.badge-action-link {
  width: 100%;
}

.app-store-link:hover,
.primary-action-link:hover {
  transform: translateY(-2px);
}

.app-store-link[aria-disabled="true"] {
  opacity: 0.65;
  cursor: default;
}

.app-store-badge {
  width: 178px;
  height: auto;
}

.secondary-note {
  width: 100%;
  margin: 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer {
  display: grid;
  gap: 8px;
  align-self: end;
  justify-items: center;
  margin-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.38);
}

.doc-page {
  text-align: left;
}

.doc-page h1,
.doc-page .lede,
.doc-page .kicker {
  text-align: center;
}

.doc-content {
  max-width: 720px;
  margin: 34px auto 0;
}

.doc-section + .doc-section {
  margin-top: 24px;
}

.doc-section h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.doc-section p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 560px) {
  .site-shell {
    padding: 18px 14px;
  }

  .hero-card {
    border-radius: 26px;
  }

  .full-logo {
    width: min(100%, 420px);
  }

  .app-store-badge {
    width: 160px;
  }
}
