:root {
  --bg-deep: #0b1220;
  --bg-card: rgba(15, 23, 42, 0.72);
  --accent: #38bdf8;
  --accent-2: #a78bfa;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.25);
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family:
    'DM Sans',
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(56, 189, 248, 0.18), transparent),
    radial-gradient(900px 500px at 90% 20%, rgba(167, 139, 250, 0.14), transparent),
    linear-gradient(165deg, #0b1220 0%, #0f172a 45%, #020617 100%);
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(234, 179, 8, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(250, 204, 21, 0.12);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 44px;
  align-items: center;
  padding: 8px 0 32px;
}

.hero-copy {
  min-width: 0;
}

.hero-art {
  justify-self: end;
}

.hero-icon {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(234, 179, 8, 0.32),
    0 20px 56px rgba(0, 0, 0, 0.55),
    0 0 72px rgba(250, 204, 21, 0.14);
}

@media (max-width: 800px) {
  .hero-split {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-art {
    justify-self: center;
    order: -1;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .store-row {
    justify-content: center;
  }
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
  font-size: 0.92rem;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--accent);
  text-decoration: none;
}

.lang-switch .lang-active {
  font-weight: 700;
  color: var(--text);
}

.hero {
  padding: 24px 0 0;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero p.lead {
  margin: 0 0 28px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
  justify-content: flex-start;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}

.btn-store:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.45);
  text-decoration: none;
}

.btn-store small {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--muted);
}

.btn-store.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 40px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

footer.site-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

footer.site-footer h3 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

footer.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.site-footer li {
  margin-bottom: 8px;
}

.legal-page {
  padding: 28px 0 80px;
}

.legal-nav {
  padding: 12px 0 8px;
}

.legal-page article {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  line-height: 1.65;
}

.legal-page h1 {
  margin-top: 0;
  font-size: 1.75rem;
}

.legal-page h2 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.legal-page h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-icon {
    width: min(220px, 78vw);
  }
}
