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

:root {
  --bg: #0e1117;
  --bg-subtle: #161b22;
  --text: #e6dfd6;
  --text-muted: #9a9083;
  --glow: #f5c36a;
  --glow-soft: rgba(245, 195, 106, 0.15);
  --glow-border: rgba(245, 195, 106, 0.25);
  --warm-white: #faf3e8;
  --link: #f5c36a;
  --link-hover: #fad98e;
  --max-width: 640px;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Layout */

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Hero */

.hero {
  text-align: center;
  padding: 4rem 0 1rem;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: 0 0 40px rgba(245, 195, 106, 0.3), 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--warm-white);
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* App Store badge */

.description .badge-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

.badge-link {
  display: inline-block;
  transition: opacity 0.2s;
}

.badge-link:hover {
  opacity: 0.85;
}

.badge-link img {
  height: 48px;
}

/* Description */

.description {
  margin-top: 0;
  padding: 2rem;
  background: var(--bg-subtle);
  border: 1px solid var(--glow-border);
  border-radius: 16px;
}

.description p {
  color: var(--text);
  margin-bottom: 1rem;
}

.description p:last-child {
  margin-bottom: 0;
}

.features {
  list-style: none;
  margin-top: 1rem;
}

.features li {
  padding: 0.35rem 0;
  color: var(--text);
}

.features li::before {
  content: "\2022";
  color: var(--glow);
  font-weight: bold;
  margin-right: 0.6rem;
}

/* Footer */

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glow-border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--link);
  text-decoration: none;
}

footer a:hover {
  color: var(--link-hover);
}

footer .footer-links {
  margin-bottom: 0.75rem;
}

footer .footer-links a + a {
  margin-left: 1.5rem;
}

/* Privacy policy page */

.policy h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 0.5rem;
}

.policy .effective-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy p {
  margin-bottom: 1rem;
}

.policy ul {
  margin: 0.5rem 0 1rem 1.25rem;
  color: var(--text);
}

.policy ul li {
  padding: 0.25rem 0;
}

.policy a {
  color: var(--link);
  text-decoration: none;
}

.policy a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--link);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Responsive */

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .description {
    padding: 1.25rem;
  }
}
