:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5c6661;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --line: #d9ded8;
  --green: #167451;
  --green-dark: #0d5239;
  --yellow: #f2c94c;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

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

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 244, 0.96);
}

.nav {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  position: relative;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  left: 7px;
  top: 7px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
}

.hero {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 430px;
  margin: 0 auto;
  padding: 78px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 1.08;
}

.lede {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-note {
  padding: 24px 0 4px 24px;
  border-left: 3px solid var(--yellow);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.hero-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.content-band {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.content {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.language-nav {
  display: flex;
  gap: 10px 22px;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 14px;
}

.language-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.25fr);
  gap: 64px;
  scroll-margin-top: 24px;
}

.language-section + .language-section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.section-label h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.section-label p {
  color: var(--muted);
  font-size: 14px;
}

.prose {
  max-width: 720px;
}

.prose h3 {
  margin: 42px 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin-bottom: 20px;
  color: #35403b;
}

.prose ul {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 8px;
}

.contact-line {
  display: inline-block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.link-list a {
  min-height: 150px;
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
}

.link-list a + a {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.link-list span {
  color: var(--muted);
  font-size: 14px;
}

.link-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .nav {
    min-height: 70px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

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

  h1 {
    font-size: 42px;
  }

  .lede {
    font-size: 18px;
  }

  .content {
    padding: 52px 0 68px;
  }

  .language-nav {
    margin-bottom: 42px;
  }

  .language-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .language-section + .language-section {
    margin-top: 60px;
    padding-top: 60px;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .link-list a + a {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}

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