:root {
  color-scheme: dark;
  --bg: #07090f;
  --panel: #0c111b;
  --text: #f5f5f4;
  --muted: #a3a3a3;
  --muted-strong: #8a8a8a;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --glow: rgba(56, 189, 248, 0.35);
  --ring: rgba(148, 163, 184, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #000;
  color: var(--text);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 6vw 80px;
  gap: 48px;
}

.hero {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal {
  margin-top: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 0;
  line-height: 1.05;
}

.subheader {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 460px;
}

.app-store {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: fit-content;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(8, 10, 20, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(8, 10, 20, 0.7);
}

.app-store-badge {
  display: block;
  height: 56px;
  width: auto;
  border-radius: 12px;
}

.app-store:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(8, 10, 20, 0.65));
}

.glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  filter: blur(10px);
  z-index: -1;
}

.legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.legal a {
  color: var(--muted-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.policy-page {
  color-scheme: dark;
}

.policy {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 8vw 96px;
}

.policy-text {
  max-width: 860px;
  text-align: left;
  line-height: 1.7;
  font-size: 16px;
}

.policy-text h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin: 0 0 12px;
}

.policy-text h2 {
  font-size: 1.4rem;
  margin: 28px 0 10px;
}

.policy-text h3 {
  font-size: 1.1rem;
  margin: 18px 0 8px;
}

.policy-text p {
  margin: 0 0 12px;
}

.policy-text ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.policy-text a {
  color: var(--accent);
}

.policy-text a:hover,
.policy-text a:focus-visible {
  color: var(--accent-strong);
}

@media (max-width: 720px) {
  .page {
    padding: 48px 8vw 72px;
  }

  .hero {
    gap: 36px;
  }

  .hero-copy {
    align-items: flex-start;
  }
}
