*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }
table { max-width: 100%; }
.table-responsive, .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

:root {
  --font-main: Verdana, Geneva, Tahoma, sans-serif;
  --font-display: Impact, Haettenschweiler, 'Arial Narrow Bold', 'Franklin Gothic Medium', sans-serif;
  --font-meta: Consolas, 'Courier New', ui-monospace, monospace;
  --color-brand: #1D2B33;
  --color-cta: #2B5F8A;
  --color-paper: #F5EFE2;
  --color-surface: #EFE7D7;
  --color-rule: #C9C0AD;
  --color-muted: #6B675C;
  --color-text: #14191C;
}

* { font-family: var(--font-main); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--color-paper);
  color: var(--color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

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

h1 { font-size: clamp(52px, 7vw, 92px); line-height: 0.95; letter-spacing: 0.01em; }
h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.00; letter-spacing: 0.01em; }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: 0.01em; }
h4 { font-size: 20px; line-height: 1.30; letter-spacing: 0.01em; }

p { margin: 0 0 24px; font-weight: 400; line-height: 1.65; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

.meta {
  font-family: var(--font-meta);
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 8vw, 120px);
  padding-right: clamp(12px, 4vw, 56px);
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s linear, text-decoration-thickness 0.15s linear, color 0.15s linear;
}

a:hover, a:focus-visible {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--color-rule);
}

.btn {
  display: inline-block;
  background-color: var(--color-cta);
  color: var(--color-paper);
  border: 1px solid var(--color-cta);
  border-radius: 0;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s linear, border-color 0.15s linear, color 0.15s linear;
}

.btn:hover, .btn:focus-visible {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-paper);
}

.btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

ul.topic-list { list-style: disc; padding-left: 24px; margin: 0 0 24px; }
ul.topic-list li { margin-bottom: 12px; max-width: 68ch; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.65; }
th { font-family: var(--font-meta); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-brand); }

figure { margin: 0; }
figcaption { font-family: var(--font-meta); font-size: 13px; line-height: 1.65; letter-spacing: 0.04em; color: var(--color-muted); margin-top: 12px; }

pre, code { overflow-x: auto; max-width: 100%; }

@media (max-width: 768px) {
  body { overflow-x: hidden; font-size: 17px; }
  .grid, [class*='grid'] { grid-template-columns: 1fr !important; }
  .section { padding: 56px 0; }
  .section--tight { padding: 48px 0; }
  .wrap { padding-left: 24px; padding-right: 14px; }
  h1 { font-size: clamp(40px, 10vw, 54px); }
  h2 { font-size: clamp(30px, 8vw, 44px); }
  h3 { font-size: 24px; }
  .btn { width: 100%; max-width: 100%; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 12px; }
  h1 { font-size: clamp(34px, 11vw, 46px); }
  th, td { padding: 12px 10px 12px 0; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .btn, tbody tr, .menu-burger span { transition: none; }
}