/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-bg-deep:      #06080f;
  --color-bg-surface:   #0d1520;
  --color-bg-raised:    #142030;
  --color-gold:         #00d4aa;
  --color-gold-dark:    #00a886;
  --color-gold-light:   #4de8c8;
  --color-purple:       #6e40c9;
  --color-purple-light: #9d6ff0;
  --color-text-primary: #f0f4f8;
  --color-text-muted:   #4a5d73;
  --color-text-inverse: #06080f;
  --color-border:       #1a2a3d;
  --color-success:      #22c55e;
  --color-danger:       #ef4444;

  --font-sans:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --lh-tight:  1.2;
  --lh-snug:   1.4;
  --lh-normal: 1.65;

  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --container-max: 1200px;
  --container-pad: clamp(1rem, 5vw, 2rem);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.6);
  --shadow-gold: 0 0 20px rgba(0,212,170,.2);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
video { display: block; max-width: 100%; }

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-gold-light); }
a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  color: var(--color-gold-light);
  font-weight: var(--fw-bold);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); letter-spacing: -0.025em; }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); letter-spacing: -0.015em; }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); letter-spacing: -0.01em; }
h4 { font-size: var(--text-xl); font-family: var(--font-sans); font-weight: var(--fw-semibold); }
h5 { font-size: var(--text-lg); font-family: var(--font-sans); font-weight: var(--fw-semibold); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: var(--fw-semibold); color: var(--color-text-primary); }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-gold       { color: var(--color-gold); }
.text-gold-light { color: var(--color-gold-light); }
.text-muted      { color: var(--color-text-muted); }
.text-center     { text-align: center; }

.section {
  padding-block: var(--space-16);
}

.section--alt {
  background-color: var(--color-bg-surface);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__title {
  margin-bottom: var(--space-4);
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 600px;
  margin-inline: auto;
}

/* ============================================================
   PROSE (legal/policy pages)
   ============================================================ */
.prose {
  max-width: 800px;
  color: var(--color-text-primary);
}

.prose h1 { margin-bottom: var(--space-6); }
.prose h2 { margin-top: var(--space-10); margin-bottom: var(--space-4); font-size: var(--text-2xl); }
.prose h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: var(--text-xl); }
.prose h4 { margin-top: var(--space-6); margin-bottom: var(--space-2); }
.prose p  { margin-bottom: var(--space-4); line-height: var(--lh-normal); }
.prose ul, .prose ol { margin-bottom: var(--space-4); padding-left: var(--space-6); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--space-2); line-height: var(--lh-normal); }
.prose a  { color: var(--color-gold); text-decoration: underline; }
.prose strong { color: var(--color-gold-light); font-weight: var(--fw-semibold); }
.prose hr { border: none; border-top: 1px solid var(--color-border); margin-block: var(--space-8); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}
.prose th, .prose td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  text-align: left;
}
.prose th {
  background: var(--color-bg-raised);
  color: var(--color-gold-light);
  font-weight: var(--fw-semibold);
}
.prose td { color: var(--color-text-primary); }
.prose tr:nth-child(even) td { background: var(--color-bg-surface); }
