:root {
  color-scheme: light;
  --background: #f7f5ef;
  --surface: #ffffff;
  --text: #1e1f22;
  --muted: #5e6573;
  --accent: #1f6feb;
  --accent-hover: #1b5ec7;
  --border: #d9dee8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #e5ecff 0%, transparent 50%), var(--background);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(960px, calc(100% - 2.5rem));
  margin: 0 auto;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

a:hover {
  color: var(--accent-hover);
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
}

main {
  padding: 3.25rem 0 4.5rem;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 12px 24px rgba(20, 30, 55, 0.06);
}

.hero-home {
  text-align: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(31, 111, 235, 0.12), transparent 36%),
    radial-gradient(circle at 85% 15%, rgba(27, 94, 199, 0.08), transparent 42%),
    var(--surface);
}

.hero-home .muted {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.7rem;
  line-height: 1.25;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.8rem 0 1.2rem;
}

.store-title {
  text-align: center;
}

.store-link {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

.store-link:hover {
  transform: scale(1.04);
}

.store-badge {
  height: 84px;
  width: auto;
  object-fit: contain;
}

p {
  margin: 0.8rem 0;
}

.muted {
  color: var(--muted);
}

ul {
  margin-top: 0.4rem;
  padding-left: 1.3rem;
}

footer {
  padding: 1.5rem 0 2.25rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.button:hover {
  background: var(--accent-hover);
  color: #fff;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(20, 30, 55, 0.06);
}

@media (max-width: 680px) {
  .hero,
  .legal {
    padding: 1.5rem;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
