:root {
  --bg: #f2f2f2;
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --icon-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --font-display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, #fafafa 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 50% 110%, #e8e8e8 0%, transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
}

.hero {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-icon {
  width: 168px;
  height: 168px;
  border-radius: 38px;
  object-fit: cover;
  box-shadow: var(--icon-shadow);
  user-select: none;
  -webkit-user-drag: none;
}

.headline {
  margin: 36px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 8vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.features {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    background-color 160ms ease;
}

.cta:hover {
  transform: translateY(-1px);
}

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

.cta[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.store-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rise {
  opacity: 0;
  animation: rise-in 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rise-1 {
  animation-delay: 40ms;
}
.rise-2 {
  animation-delay: 140ms;
}
.rise-3 {
  animation-delay: 240ms;
}
.rise-4 {
  animation-delay: 340ms;
}
.rise-5 {
  animation-delay: 420ms;
}

@media (prefers-reduced-motion: reduce) {
  .rise {
    opacity: 1;
    animation: none;
  }

  .cta {
    transition: none;
  }
}
