:root {
  --cq-navy-950: #06152b;
  --cq-navy-900: #0a203d;
  --cq-navy-800: #103154;
  --cq-blue-700: #0f5f86;
  --cq-blue-600: #1b7aa5;
  --cq-blue-500: #2f93bd;
  --cq-cyan-400: #69c6dc;
  --cq-gold-500: #d6a94a;
  --cq-slate-900: #17202b;
  --cq-slate-700: #3a4654;
  --cq-slate-500: #667486;
  --cq-slate-300: #c9d2dc;
  --cq-slate-200: #dde4eb;
  --cq-slate-100: #edf2f6;
  --cq-white: #ffffff;

  --surface-dark: var(--cq-navy-950);
  --surface-light: #f7f9fb;
  --surface-card: var(--cq-white);
  --text-dark: var(--cq-slate-900);
  --text-muted: var(--cq-slate-700);
  --text-on-dark: #f3f8fc;
  --border-soft: rgba(10, 32, 61, 0.12);

  --font-display: "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.08rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.35rem + 2vw, 3.3rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.6vw, 5.2rem);

  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5.5rem;
  --space-8: 8rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;

  --shadow-sm: 0 10px 30px rgba(6, 21, 43, 0.08);
  --shadow-md: 0 20px 55px rgba(6, 21, 43, 0.15);
  --shadow-lg: 0 30px 90px rgba(6, 21, 43, 0.24);

  --transition-fast: 160ms ease;
  --transition-base: 260ms ease;
  --transition-slow: 650ms cubic-bezier(.2,.7,.2,1);

  --container: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cq-white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-3);
  line-height: 1.08;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 var(--space-3); }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section { padding: var(--space-8) 0; }
.section--tight { padding: var(--space-6) 0; }
.section--dark { background: var(--surface-dark); color: var(--text-on-dark); }
.section--light { background: var(--surface-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--space-4);
  color: var(--cq-blue-600);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: currentColor;
}

.lead {
  max-width: 68ch;
  color: var(--text-muted);
  font-size: var(--step-1);
}

.section--dark .lead { color: rgba(243, 248, 252, 0.76); }

.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;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--cq-white);
  color: var(--cq-navy-950);
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus { top: 1rem; }
