:root {
  --ink: #0f172a;
  --ink-deep: #020617;
  --paper: #f8fafc;
  --paper-bright: #ffffff;
  --line: #e2e8f0;
  --coral: #0284c7;
  --coral-dark: #0369a1;
  --teal: #0d9488;
  --teal-pale: #e0f2fe;
  --gold: #f59e0b;
  --muted: #475569;
  --shadow: 0 12px 32px -8px rgba(2, 132, 199, 0.12);
  --radius: 1.25rem;
  --content: 76rem;
  color-scheme: light;
  font: 400 1rem/1.6 "Atkinson Hyperlegible", "Nunito", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  background-image:
    radial-gradient(1000px 480px at 92% -8%, rgba(2, 132, 199, 0.08), transparent 58%),
    radial-gradient(900px 420px at -5% 8%, rgba(13, 148, 136, 0.09), transparent 55%);
  background-attachment: fixed;
}

body.large-text {
  font-size: 1.16rem;
}

body.high-contrast {
  --ink: #000000;
  --ink-deep: #000000;
  --paper: #ffffff;
  --paper-bright: #ffffff;
  --line: #0f172a;
  --coral: #0284c7;
  --coral-dark: #0369a1;
  --teal: #0f766e;
  --teal-pale: #e0f2fe;
  --muted: #1e293b;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

button,
select,
input,
textarea {
  min-height: 2.75rem;
}

:focus-visible {
  outline: 0.2rem solid var(--coral);
  outline-offset: 0.2rem;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink-deep);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding-block: 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: white;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
