:root {
  /* ── Canonical colour tokens ─────────────────────────────── */
  --bg-base:        #0B0F14;
  --bg-surface:     #101826;
  --bg-raised:      #162033;

  --brand-red:      #c0392b;
  --brand-red-lite: #e74c3c;

  --gold:           #c9952a;
  --gold-lite:      #f0b84a;
  --gold-dim:       rgba(201,149,42,0.15);
  --gold-glow:      rgba(240,184,74,0.3);

  --cyan:           #00D9FF;
  --cyan-dim:       rgba(0,217,255,0.12);
  --cyan-glow:      rgba(0,217,255,0.25);

  --text-primary:   #E6EDF3;
  --text-secondary: #9DA7B3;
  --text-muted:     #6B7684;
  --border:         rgba(255,255,255,0.07);
  --border-gold:    rgba(201,149,42,0.25);

  /* ── Spacing scale ───────────────────────────────────────── */
  --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;

  /* ── Border radius scale ─────────────────────────────────── */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-xl:  16px;
  --radius-2xl: 20px;

  /* ── Shadow scale ───────────────────────────────────────── */
  --shadow-md:  0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.45);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.55);

  /* ── Typography scale ───────────────────────────────────── */
  --text-xs:   0.75rem;
  --text-sm:   0.85rem;
  --text-base: 0.95rem;
  --text-md:   1rem;
  --text-lg:   1.1rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;

  /* ── Typefaces ───────────────────────────────────────────── */
  --font-display:   'Inter', system-ui, sans-serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* ── Easing ──────────────────────────────────────────────── */
  --ease-smooth:    cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-index scale ───────────────────────────────────────── */
  --z-base:         0;
  --z-ambient:      1;
  --z-content:      2;
  --z-nav:          1000;

  /* ── Compatibility aliases (point to canonical tokens) ────── */
  --bg:     var(--bg-base);
  --panel:  var(--bg-surface);
  --text:   var(--text-primary);
  --muted:  var(--text-secondary);
  --accent: var(--cyan);
  --accent2: #3aa7ff;
  --success: #2ed573;
}

/* reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* common layout utilities */
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,0.7);
  z-index: 10;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  opacity: .9;
}

/* generic button styles */
.btn {
  display: inline-block;
  padding: 15px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: .22s ease;
  min-height: 52px;
}
.btn-primary {
  background: linear-gradient(135deg, #c9952a, #f0b84a);
  color: #1f1605;
  border: 1px solid rgba(240,184,74,0.58);
  box-shadow: 0 18px 40px rgba(201,149,42,0.24);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 48px rgba(201,149,42,0.3);
}
.btn-secondary {
  border: 1px solid rgba(0,217,255,0.32);
  color: var(--text);
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0,217,255,0.7);
  background: rgba(0,217,255,0.08);
}

/* shared typography utilities */
.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0,217,255,0.08);
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 16px;
}
.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* responsive helpers */
@media (max-width: 900px) {
  .grid, .form-section { grid-template-columns: 1fr; }
}

/* generic helpers */
.gold-link { color: var(--gold); }
