:root {
  --brand: #23484A;
  --cta: #B24A3A;
  --bg: #F5EFE2;
  --text: #17201F;
  --text-muted: #5E6B68;
  --border: #D8D2C4;
  --surface: #EEE7D8;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-meta: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

table { max-width: 100%; border-collapse: collapse; }

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

p {
  margin: 0 0 16px;
  line-height: 1.65;
  font-weight: 400;
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 24px;
  line-height: 1.65;
}

li {
  margin: 0 0 8px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.65;
  margin: 0 0 16px;
  color: var(--brand);
  overflow-wrap: break-word;
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(32px, 3.5vw, 48px); }
h3 { font-size: clamp(24px, 2.5vw, 32px); }

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: break-word;
}
a:hover { color: var(--text); }
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn {
  display: inline-block;
  background: var(--cta);
  color: #F5EFE2;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.65;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.9; color: #F5EFE2; text-decoration: none; }
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.meta {
  display: block;
  font-family: var(--font-meta);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.65;
}

.data-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 400;
  font-style: italic;
  color: var(--brand);
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #F5EFE2;
  padding: 12px 20px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  color: #F5EFE2;
}

main { display: block; }

section { display: block; }

.stats-table td,
.stats-table th { color: var(--text); }

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  h1 { font-size: clamp(30px, 8vw, 42px); }
  h2 { font-size: clamp(26px, 7vw, 34px); }
  h3 { font-size: clamp(20px, 6vw, 26px); }
  .data-number { font-size: clamp(72px, 22vw, 120px); }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  p { font-size: 16px; }
}