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

:root {
  --blue: #0F85FF;
  --blue-dark: #004DD1;

  --bg-1: #000000;
  --bg-2: #111214;
  --bg: #000000;
  --text: #FFFFFF;
  --text-body: rgba(255, 255, 255, 0.82);
  --subtext: rgba(255, 255, 255, 0.65);

  --radius-pill: 50px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-1: #FFFFFF;
    --bg-2: #F5F5F7;
    --bg: #FFFFFF;
    --text: #000000;
    --text-body: rgba(0, 0, 0, 0.72);
    --subtext: rgba(0, 0, 0, 0.55);
  }
}

html {
  font-family: var(--font);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  min-height: 100%;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

/* ─── Hero ─────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 160px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(0, 77, 209, 0.55) 0%, transparent 70%);
  pointer-events: none;
}

@media (prefers-color-scheme: light) {
  .hero-bg {
    background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(15, 133, 255, 0.2) 0%, transparent 70%);
  }
}

.app-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: ui-rounded, var(--font);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  line-height: 1;
  padding-bottom: 0.15em;
  margin-bottom: 16px;
}

@media (prefers-color-scheme: light) {
  .hero h1 {
    background: linear-gradient(160deg, #000000 40%, #111214);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.hero-tagline {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--subtext);
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-bottom: 48px;
  max-width: 380px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: opacity 0.2s, transform 0.2s;
  cursor: default;
  opacity: 0.55;
}

.store-btn.live {
  cursor: pointer;
  opacity: 1;
}

.store-btn.live:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.store-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.store-coming {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--subtext);
}

/* ─── Wave divider ──────────────────────────────────── */

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

.wave-path {
  fill: url(#wave-gradient);
  animation: wave-ripple 6s ease-in-out infinite;
}

@keyframes wave-ripple {
  0%, 100% {
    d: path("M0,68 C240,92 480,44 720,68 C960,92 1200,44 1440,68 L1440,120 L0,120 Z");
  }
  50% {
    d: path("M0,68 C240,44 480,92 720,68 C960,44 1200,92 1440,68 L1440,120 L0,120 Z");
  }
}

/* ─── Footer ────────────────────────────────────────── */

footer {
  background: var(--bg);
  border-top: 1px solid rgba(15, 133, 255, 0.25);
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

footer .sep {
  margin: 0 10px;
  opacity: 0.4;
}

/* ─── Privacy page ──────────────────────────────────── */

.privacy-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}

.privacy-wrap .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 48px;
  transition: opacity 0.2s;
}

.privacy-wrap .back-link:hover { opacity: 0.75; }

.privacy-wrap h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.privacy-wrap .updated {
  color: var(--subtext);
  font-size: 14px;
  margin-bottom: 48px;
}

.privacy-wrap h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin: 40px 0 12px;
}

.privacy-wrap p, .privacy-wrap li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

.privacy-wrap ul {
  padding-left: 20px;
  margin: 8px 0;
}

.privacy-wrap li { margin-bottom: 6px; }

.privacy-wrap a {
  color: var(--blue);
  text-decoration: none;
}

.privacy-wrap a:hover { text-decoration: underline; }
