:root {
  --void: #0F172A;
  --slab: #1E293B;
  --slab-edge: #334155;
  --neon-mint: #10B981;
  --neon-mint-dim: rgba(16, 185, 129, 0.15);
  --cyber-blue: #0EA5E9;
  --ghost: #94A3B8;
  --ash: #CBD5E1;
  --pure: #F1F5F9;
  --deep-black: #020617;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--void);
  color: var(--pure);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.content-stage {
  flex: 1;
  width: 100%;
  margin: 0 auto;
}

/* ── Top Navbar ─────────────────────────────────────── */

.top-navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--slab-edge);
}

.top-navbar__shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-mark {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 32px;
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--neon-mint) 0%, var(--cyber-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter 0.3s ease;
}

.brand-mark:hover { filter: brightness(1.25); }

.site-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-links__anchor {
  color: var(--ghost);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s ease;
}

.site-links__anchor::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-mint);
  transition: width 0.3s ease;
}

.site-links__anchor:hover { color: var(--pure); }
.site-links__anchor:hover::after { width: 100%; }
.site-links__anchor--active { color: var(--neon-mint); }

.drawer-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: 1px solid var(--slab-edge);
  border-radius: var(--radius-sm);
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: border-color 0.2s ease;
}

.drawer-toggle:hover { border-color: var(--neon-mint); }

.drawer-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ash);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease;
}

.drawer-toggle:hover .drawer-toggle__bar { background: var(--neon-mint); }

/* ── Footer ─────────────────────────────────────────── */

.colophon {
  background: var(--deep-black);
  border-top: 1px solid var(--slab-edge);
  padding: 48px 28px 32px;
  text-align: center;
}

.colophon__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.colophon__brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--neon-mint), var(--cyber-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.colophon__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.colophon__nav a {
  color: var(--ghost);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.colophon__nav a:hover { color: var(--neon-mint); }

.colophon__legal {
  font-size: 13px;
  color: var(--slab-edge);
  line-height: 1.5;
}

.sub-floor {
  background: var(--void);
  border-top: 1px solid rgba(51, 65, 85, 0.4);
  padding: 20px 28px;
  text-align: center;
}

.sub-floor__text {
  font-size: 11px;
  color: var(--slab-edge);
  letter-spacing: 0.5px;
}

/* ── Shared Legal / Info Page Styles ────────────────── */

.page-heading {
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--pure) 60%, var(--neon-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-updated {
  font-size: 13px;
  color: var(--slab-edge);
  margin-bottom: 36px;
}

.legal-section { margin-bottom: 32px; }

.legal-section h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ash);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--slab-edge);
  position: relative;
}

.legal-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-mint), var(--cyber-blue));
}

.legal-section p,
.legal-section ul {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ghost);
  margin-bottom: 14px;
}

.legal-section ul { padding-left: 24px; }
.legal-section li { margin-bottom: 6px; }

.legal-section a {
  color: var(--neon-mint);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-section a:hover { color: var(--cyber-blue); }

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 768px) {
  .drawer-toggle { display: flex; }

  .site-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px 28px 28px;
    gap: 0;
    border-bottom: 1px solid var(--slab-edge);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  }

  .site-links.is-open { display: flex; }

  .site-links__anchor {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    width: 100%;
  }

  .site-links__anchor:last-child { border-bottom: none; }
  .site-links__anchor::after { display: none; }
  .top-navbar__shell { height: 60px; }
  .brand-mark { font-size: 26px; }
  .page-heading { font-size: 30px; }
}

@media (max-width: 480px) {
  .page-heading { font-size: 24px; }
  .colophon__nav { gap: 16px; }
  .colophon { padding: 32px 16px 24px; }
}
