:root {
  /* Colors */
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-muted-light: #9ca3af;
  --color-accent: #16a34a;
  --color-accent-hover: #15803d;
  --color-accent-light: #dcfce7;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-cta: #ea580c;
  --color-cta-hover: #c2410c;
  --color-hero-start: #0f172a;
  --color-hero-end: #1e3a5f;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;
  --color-info-light: #eff6ff;
  --color-info-border: #bfdbfe;
  --color-verdict-bg: #f0fdf4;
  --color-verdict-border: #16a34a;

  /* Pillar accent colors (used for fallback card backgrounds) */
  --pillar-1: #1e40af;
  --pillar-2: #b91c1c;
  --pillar-3: #065f46;
  --pillar-4: #7c3aed;
  --pillar-5: #92400e;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --max-content: 820px;
  --max-wide: 1200px;
  --header-height: 4.5rem;

  /* Design */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: normal;
  letter-spacing: -0.01em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.container {
  max-width: var(--max-wide);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
