:root {
  --bg: #f6f2ea;
  --glow: #ffe6ac;
  --ink: #101c2c;
  --muted: #5d6878;
  --line: rgba(16, 28, 44, 0.12);
  --button: #0e2238;
  --button-ink: #fbf7ee;
  --gold: #e3a338;
  --shadow: 0 24px 48px -20px rgba(14, 34, 56, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090f18;
    --glow: #17314e;
    --ink: #f4efe4;
    --muted: #a4b1c1;
    --line: rgba(244, 239, 228, 0.14);
    --button: #f0b64b;
    --button-ink: #101c2c;
    --gold: #f0b64b;
    --shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px 40px;
  background:
    radial-gradient(52% 40% at 50% 16%, var(--glow) 0%, transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.stage {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.app-icon {
  display: block;
  width: 152px;
  height: 152px;
  margin: 0 auto 34px;
  filter: drop-shadow(var(--shadow));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) {
  .app-icon:hover {
    transform: rotate(-2.5deg) translateY(-2px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 12vw, 82px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.tagline {
  margin: 20px auto 0;
  max-width: 36ch;
  font-size: clamp(19px, 2.6vw, 22px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.sub {
  margin: 16px auto 0;
  max-width: 42ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 28px -16px rgba(14, 34, 56, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

@media (hover: hover) {
  .download:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 20px 34px -16px rgba(14, 34, 56, 0.7);
  }
}

.download:active {
  transform: translateY(0);
}

.download:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.meta {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.meta span {
  margin: 0 5px;
  color: var(--gold);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}

.facts li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 2px;
}

footer {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0 auto;
  max-width: 40ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.signoff {
  margin-top: 8px !important;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 13.5px !important;
  color: var(--ink) !important;
  opacity: 0.65;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 10;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .app-icon,
  .download,
  .toast {
    transition: none;
  }
}

@media (max-width: 480px) {
  body {
    padding: 40px 22px 32px;
  }

  .app-icon {
    width: 124px;
    height: 124px;
    margin-bottom: 30px;
  }

  .sub {
    font-size: 14px;
  }

  .facts {
    gap: 8px 18px;
  }
}


.fineprint {
  margin-top: 14px !important;
  font-size: 11px !important;
}

.fineprint a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.fineprint a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.fineprint span {
  margin: 0 5px;
  color: var(--gold);
}

.legal {
  width: 100%;
  max-width: 560px;
  text-align: left;
}

.legal .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 46px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal .brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.legal h1 {
  margin: 0 0 28px;
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.legal p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal .updated {
  margin-top: 34px;
  font-size: 11.5px;
  opacity: 0.75;
}

.legal .back {
  display: inline-block;
  margin-top: 24px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.legal .back:hover {
  color: var(--gold);
}
