:root {
  --ink: #112541;
  --muted: #4c6075;
  --blue: #075dba;
  --blue-dark: #05488f;
  --line: #dbe5ed;
  --wash: #f1f6fa;
  --paper: #fff;
  --page-gutter: clamp(20px, 5vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-reduce-motion] { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-weight: 680; }
h2 { font-weight: 660; }
p { color: var(--muted); line-height: 1.65; }

.wrap { width: min(1200px, calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.header-row { min-height: 78px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px clamp(12px, 2.4vw, 28px); }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: clamp(107px, 12vw, 150px); height: auto; }
.main-nav, .language { display: flex; align-items: center; }
.main-nav { justify-content: flex-end; flex-wrap: wrap; gap: 4px clamp(14px, 2.1vw, 26px); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.main-nav .accessibility-link { padding-inline: 11px; border: 1px solid #768ca3; border-radius: 7px; color: var(--blue-dark); }
.accessibility-link:hover { background: var(--wash); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.language { gap: 2px; border-radius: 7px; background: #edf3f9; padding: 3px; }
.language a { display: grid; min-width: 38px; min-height: 36px; place-items: center; padding: 5px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #37516c; }
.language [aria-current="page"] { background: #fff; box-shadow: 0 1px 3px #15335426; color: var(--blue-dark); }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 3; transform: translateY(-150%); background: #fff; border: 1px solid var(--blue); padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 12px; color: var(--blue-dark); font-size: 12px; line-height: 1.4; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.button, .button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.4;
}
.button:hover { background: var(--blue-dark); }
.button-secondary { background: #fff; border-color: #cad9e6; color: var(--blue-dark); }
.button-secondary:hover { background: #edf4fc; }

.site-footer { border-top: 1px solid var(--line); background: #f8fafc; }
.footer-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 16px clamp(24px, 5vw, 64px); padding-block: clamp(20px, 3vw, 36px) 18px; }
.footer-brand { min-height: 44px; }
.footer-brand img { width: clamp(108px, 12vw, 132px); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0 12px; max-width: 21rem; margin-top: 4px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 28px; color: var(--blue-dark); font-size: 13px; text-decoration: underline; text-underline-offset: .18em; }
.footer-title { margin: 0 0 4px; font-size: 14px; font-weight: 750; line-height: 1.45; letter-spacing: normal; }
.footer-contact, .footer-links { display: grid; justify-items: start; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.footer-contact { margin: 0; font-style: normal; }
.footer-contact > span { margin-top: 5px; color: var(--muted); }
.footer-contact a, .footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 28px; max-width: 100%; color: var(--blue-dark); text-align: start; text-decoration: underline; text-underline-offset: .18em; }
.footer-links button { border: 0; padding: 0; background: transparent; }
.footer-links a[aria-current="page"] { font-weight: 750; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 12px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; font-size: 13px; }

.privacy-notice { border-bottom: 1px solid var(--line); background: #eaf3fc; }
.privacy-notice-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 16px; }
.privacy-notice-copy { flex: 1 1 26rem; min-width: 0; }
.privacy-notice h2 { margin-bottom: 4px; font-size: 17px; letter-spacing: normal; }
.privacy-notice p { margin: 0; font-size: 14px; }
.privacy-notice a, .policy-page a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: .18em; }
.privacy-notice-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.privacy-notice-actions .button-secondary { border-color: #768ca3; }

.policy-page { width: min(760px, calc(100% - var(--page-gutter) * 2)); padding-block: clamp(38px, 6vw, 78px); overflow-wrap: anywhere; }
.policy-page h1 { margin-bottom: 12px; font-size: clamp(34px, 6vw, 58px); line-height: 1.1; }
.policy-page h2 { margin: 1.5em 0 .4em; font-size: clamp(21px, 3vw, 27px); letter-spacing: -.02em; }
.policy-page p, .policy-page li { font-size: 1rem; line-height: 1.7; }
.policy-page li { margin-bottom: .5em; }
.policy-page .policy-date { font-size: .875rem; }
.policy-settings { margin-block: 16px 26px; padding: 14px 18px; border: 1px solid #768ca3; border-radius: 8px; background: var(--wash); }
.policy-settings label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; cursor: pointer; }
.policy-settings input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--blue-dark); }
.policy-settings p { margin-bottom: 0; font-size: .9rem; }

@media (max-width: 700px) {
  .header-row { min-height: auto; grid-template-columns: 1fr auto; gap: 6px 12px; padding-top: 11px; }
  .language { justify-self: end; }
  .header-row .main-nav { grid-column: 1 / -1; justify-content: flex-start; min-width: 0; border-top: 1px solid var(--line); padding-block: 4px; }
  .main-nav a { font-size: 13px; }
  .footer-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .footer-identity { grid-column: 1 / -1; }
}

@media (pointer: coarse) {
  .footer-contact a, .footer-links a, .footer-links button, .footer-social a { min-height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
