:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-strong: #eef2f6;
  --text: #0b0c0c;
  --muted: #334155;
  --accent: #005ea5;
  --accent-strong: #003078;
  --success: #00703c;
  --border: #b1b4b6;
  --focus: #ffdd00;
  --max-width: 68rem;
  --radius: 0.25rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --base-font: "GDS Transport", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --z-header: 150;
  --z-skip-link: 999;
}

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

html,
body {
  height: 100%;
  margin: 0;
  font-family: var(--base-font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.sr-only,
.visually-hidden {
  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: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-skip-link);
  background: var(--focus);
  color: #000;
  padding: var(--space-2) var(--space-3);
}

.skip-link:focus-visible {
  left: var(--space-3);
  top: var(--space-3);
}

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

.focus-optin a:focus,
.focus-optin button:focus,
.focus-optin input:focus,
.focus-optin select:focus,
.focus-optin textarea:focus,
.focus-optin [tabindex]:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
