:root {
  color-scheme: light;
  --canvas: #f4f6f8;
  --paper: #ffffff;
  --ink: #111c2b;
  --muted: #566170;
  --rule: #cdd4dd;
  --blue: #174f96;
  --blue-dark: #103b72;
  --max: 1240px;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.55;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
}

a { color: inherit; }

a:hover { color: var(--blue); }

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.masthead,
.hero,
.section,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.masthead {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
}

.registry-mark {
  width: 46px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.05;
  text-align: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.language-link {
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.language-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--ink);
  text-decoration: none;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(100px, 14vw, 180px) 0 76px;
  border-bottom: 1px solid var(--ink);
}

.kicker {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: .97;
  text-wrap: balance;
}

.hero-copy {
  max-width: 38ch;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.error-page { min-height: calc(100vh - 104px); }

.error-page .hero-copy a {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 4px;
}

.section {
  display: grid;
  grid-template-columns: minmax(230px, .48fr) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 128px);
  padding: 88px 0 104px;
  border-bottom: 1px solid var(--rule);
}

.section-heading h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 730;
  letter-spacing: -.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin: 0;
  border-top: 1px solid var(--ink);
}

.facts div {
  min-width: 0;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--rule);
}

dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

dd {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 820px) {
  html { scroll-padding-top: 24px; }

  .masthead,
  .hero,
  .section,
  .site-footer { width: calc(100% - 32px); }

  .masthead {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .site-nav { display: none; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 92px 0 56px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 64px 0 72px;
  }

}

@media (max-width: 560px) {
  .wordmark { font-size: 12px; }

  .registry-mark {
    width: 38px;
    height: 42px;
    font-size: 10px;
  }

  .language-link {
    min-height: 38px;
    padding-inline: 10px;
  }

  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }

  .facts { grid-template-columns: 1fr; }

  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
