:root {
  color-scheme: dark;
  --bg: #0f0e1e;
  --surface: #1a1a2e;
  --surface-strong: #11111b;
  --border: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --footer-muted: #64748b;
  --violet: #c084fc;
  --pink: #e879f9;
  --emerald: #a6e3a1;
  --amber: #fab387;
  --blue: #89b4fa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(192, 132, 252, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(232, 121, 249, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }
.page-shell { min-height: 100vh; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(15, 14, 30, 0.8);
  border-bottom: 1px solid var(--border);
}

.topbar-inner,
.container,
.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.footer-brand .brand-mark svg {
  width: 16px;
  height: 16px;
}

.footer-brand .brand-title {
  font-size: 1.125rem;
}

.hero { padding: 32px 0 28px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: var(--violet);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.back-link:hover,
.text-link:hover {
  color: white;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(192, 132, 252, 0.2);
  background: rgba(192, 132, 252, 0.1);
  color: var(--violet);
  font-size: 14px;
  font-weight: 600;
}

.title {
  margin: 20px 0 18px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.section { padding: 18px 0 40px; }
.grid { display: grid; gap: 24px; }
.grid.two-up { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 { margin-top: 0; }

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  font-weight: 700;
}

.icon-chip.green { color: var(--emerald); background: rgba(166, 227, 161, 0.1); }
.icon-chip.amber { color: var(--amber); background: rgba(250, 179, 135, 0.1); }
.icon-chip.blue { color: var(--blue); background: rgba(137, 180, 250, 0.1); }
.icon-chip.violet { color: var(--violet); background: rgba(192, 132, 252, 0.12); }

.muted { color: var(--muted); }
.list,
.legal-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted-strong);
}

.list li,
.legal-list li { margin: 8px 0; }

.cta {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 32px;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: white;
  text-align: center;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  width: 256px;
  height: 256px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(48px);
}

.cta::before {
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}

.cta::after {
  left: 0;
  bottom: 0;
  transform: translate(-50%, 50%);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.cta p {
  margin: 0 auto;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  line-height: 1.8;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.store-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 220px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.store-action:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.96);
  border-color: rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0 14px 30px rgba(15, 14, 30, 0.35));
}

.store-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-action-icon svg {
  width: 24px;
  height: 24px;
}

.store-action-copy {
  min-width: 0;
  text-align: left;
  line-height: 1.2;
}

.store-action-copy span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.store-action-copy strong {
  display: block;
  margin-top: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary { background: white; color: #11111b; }
.button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.legal article { max-width: 860px; }
.legal-section { margin-top: 34px; }
.legal-section h2 { margin-bottom: 12px; font-size: 1.5rem; }
.legal-section h3 { margin: 18px 0 10px; font-size: 1.05rem; color: white; }
.legal-section p,
.legal-section li { color: var(--muted-strong); line-height: 1.8; }

.contact-box {
  margin-top: 64px;
  margin-bottom: 48px;
  padding: 36px;
}

.contact-box .muted {
  max-width: 640px;
  line-height: 1.8;
}

.contact-email {
  margin-top: 20px;
  color: var(--muted-strong);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  color: var(--footer-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
}

.text-link {
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-copy {
  font-size: 0.95rem;
  color: #475569;
}

@media (max-width: 640px) {
  .topbar-inner,
  .container,
  .footer-inner { padding: 0 16px; }

  .hero { padding-top: 28px; }
  .card { padding: 22px; border-radius: 22px; }
  .cta { padding: 36px 22px; }
  .button-row,
  .store-actions { flex-direction: column; }
  .button,
  .store-action { width: 100%; }
  .footer-inner { justify-content: flex-start; }
  .footer-links { justify-content: flex-start; gap: 18px; }
}