/* Shared by every page: colors, fonts, reset, buttons, small helpers */
:root {
  --bg: #ffffff;
  --bg-deep: #ffffff;
  --surface: #f5f8fd;
  --line: #d7e3f4;
  --text: #141E4E;
  --muted: #536486;
  --accent: #004AAD;          /* change this to your team color */
  --accent-light: #6DA3EC;
  --navy: #141E4E;
  --accent-rgb: 109,163,236;  /* same color as R,G,B (used for glows) */
  --on-accent: #ffffff;       /* text color on top of the accent */
  --navbar-bg: rgba(255, 255, 255, 0.94);
  --hero-overlay-start: rgba(255, 255, 255, 0.92);
  --hero-overlay-end: rgba(255, 255, 255, 0.62);
  --hero-glow: #6DA3EC;
  --dialog-backdrop: rgba(20, 30, 78, 0.45);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg: #0b0f19;
  --bg-deep: #070a12;
  --surface: #131a29;
  --line: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --navy: #f1f5f9;
  --accent-rgb: 59, 130, 246;
  --on-accent: #ffffff;
  --navbar-bg: rgba(11, 15, 25, 0.90);
  --hero-overlay-start: rgba(11, 15, 25, 0.95);
  --hero-overlay-end: rgba(11, 15, 25, 0.80);
  --hero-glow: rgba(59, 130, 246, 0.28);
  --dialog-backdrop: rgba(3, 7, 18, 0.75);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f19;
    --bg-deep: #070a12;
    --surface: #131a29;
    --line: #1e293b;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --navy: #f1f5f9;
    --accent-rgb: 59, 130, 246;
    --on-accent: #ffffff;
    --navbar-bg: rgba(11, 15, 25, 0.90);
    --hero-overlay-start: rgba(11, 15, 25, 0.95);
    --hero-overlay-end: rgba(11, 15, 25, 0.80);
    --hero-glow: rgba(59, 130, 246, 0.28);
    --dialog-backdrop: rgba(3, 7, 18, 0.75);
  }
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color .3s ease, border-color .3s ease, color .2s ease, fill .2s ease, stroke .2s ease !important;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.accent { color: var(--accent); }
.center { text-align: center; }
.label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.eyebrow.center { justify-content: center; }

.btn { display: inline-block; padding: 15px 30px; font-weight: 500; border: 1px solid transparent; border-radius: 999px; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); }

.arrow-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; color: var(--accent); transition: gap .2s; }
.arrow-link:hover { gap: 18px; }
.arrow-link.center { display: flex; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .fade-in, .reveal { opacity: 1 !important; transform: none !important; }
}