:root {
  color-scheme: light;
  background: #f7f8f3;
  color: #232c23;
  font: 100%/1.65 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body { margin: 0; }

a { color: #254934; text-underline-offset: 0.18em; }
a:hover { color: #183523; }
a:focus-visible { outline: 2px solid #315d40; outline-offset: 4px; }

.shell { width: min(100% - 2rem, 46rem); margin-inline: auto; }

.masthead {
  border-bottom: 1px solid #d9dfd2;
  padding-block: 1.1rem;
}

.masthead .shell, nav, .language {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.25rem;
}

.masthead .shell { justify-content: space-between; }
.brand { font-weight: 750; text-decoration: none; }
[aria-current='page'] { font-weight: 700; }

main { padding-block: clamp(2rem, 6vw, 4.5rem); }
article + article { margin-top: 3rem; border-top: 1px solid #d9dfd2; padding-top: 2rem; }
article { scroll-margin-top: 1.5rem; }

h1, h2 { color: #203724; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin: 0 0 0.75rem; letter-spacing: -0.05em; }
h2 { font-size: 1.36rem; margin: 1.75rem 0 0.5rem; }
p, ul { margin: 0 0 0.9rem; }
li + li { margin-top: 0.32rem; }

.meta { color: #4a584b; }
.language { margin: 0 0 1.5rem; }
.contact form { display: grid; gap: 0.55rem; }
.contact label { font-weight: 650; }
.contact input, .contact textarea, .contact button {
  font: inherit;
  border: 1px solid #768675;
  border-radius: 0.45rem;
  padding: 0.55rem 0.75rem;
}
.contact textarea { resize: vertical; }
.contact button { background: #284633; color: white; width: max-content; cursor: pointer; }
.contact :is(input, textarea, button):focus-visible { outline: 2px solid #315d40; outline-offset: 3px; }

.contact {
  background: #e7ede2;
  border-radius: 0.85rem;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
}

.contact h2 { margin-top: 0; }
.contact p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid #d9dfd2; padding-block: 1.25rem 2rem; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -6rem;
  z-index: 1;
  padding: 0.5rem 0.75rem;
  background: #fff;
}

.skip:focus { top: 0.5rem; }
