:root {
  --bg: #040b16;
  --panel: rgba(9, 15, 29, 0.9);
  --text: #f8fbff;
  --muted: #dbe4f0;
  --accent: #38bdf8;
  --accent-2: #8b5cf6;
  --accent-3: #22c55e;
  --glow: rgba(56, 189, 248, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, #172554 0, #08111f 35%, #040b16 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  z-index: -1;
  animation: drift 12s ease-in-out infinite alternate;
}

body::before { top: -80px; right: -40px; background: #8b5cf6; }
body::after { bottom: -120px; left: -60px; background: #22d3ee; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(10px, -18px, 0) scale(1.08); }
}

img { max-width: 100%; }

a { text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
}

.hero.compact {
  min-height: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand, .nav-link, .cta {
  color: var(--text);
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--muted);
  margin-left: 1rem;
}

.hero-inner {
  padding: 5rem 0 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: #7dd3fc;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 1.05;
  margin: 0.2rem 0 1rem;
  text-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
}

h2, h3 { letter-spacing: -0.02em; }

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(56, 189, 248, 0.35);
}

.cta.secondary {
  background: transparent;
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: var(--text);
}

.cta.small {
  margin-top: 0.75rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.95rem;
}

.policy-shell {
  margin-top: -1rem;
  padding: 1rem 0 2rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.policy-card {
  background: rgba(8, 15, 27, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  transition: transform 160ms ease, border-color 160ms ease;
}

.policy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.35);
}

.policy-card h3 {
  margin: 0.2rem 0 0.4rem;
}

.policy-card p {
  color: var(--muted);
}

.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: #7dd3fc;
}

.accent-privacy { background: linear-gradient(145deg, rgba(56, 189, 248, 0.12), rgba(8, 15, 27, 0.92)); }
.accent-rules { background: linear-gradient(145deg, rgba(168, 85, 247, 0.12), rgba(8, 15, 27, 0.92)); }
.accent-contact { background: linear-gradient(145deg, rgba(74, 222, 128, 0.12), rgba(8, 15, 27, 0.92)); }

.tab-header {
  margin-bottom: 0.75rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.tab-button {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.tab-button:hover,
.tab-button.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(139, 92, 246, 0.18));
  border-color: rgba(125, 211, 252, 0.55);
  transform: translateY(-1px);
}

.tab-panel {
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 28px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  animation: fadeUp 260ms ease;
}

.page-intro {
  padding-bottom: 1rem;
}

.page-card {
  padding-bottom: 2rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.mini-card {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 18px;
  padding: 0.8rem;
  color: var(--muted);
}

.contact-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(134, 239, 172, 0.16);
  color: var(--text);
  font-weight: 600;
}

.check-list {
  padding-left: 1rem;
  color: var(--muted);
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 1rem 0 2rem;
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .nav { flex-wrap: wrap; gap: 0.6rem; }
  .policy-grid,
  .mini-grid { grid-template-columns: 1fr; }
}
