:root { color-scheme: light; --ink: #12231e; --forest: #142f25; --lime: #dcfa84; --paper: #f5f6ed; }
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; font: 1.1rem/1.65 system-ui, sans-serif; color: var(--ink); background: var(--paper); }
header, footer { padding: 1.25rem max(5vw, calc((100vw - 74rem) / 2)); }
header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; }
a { color: inherit; }
.brand { font-size: 2rem; font-weight: 850; text-decoration: none; letter-spacing: -.09em; }
.brand span { color: #476e30; }
nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .95rem; }
nav a { text-underline-offset: .2em; }
.hero { background: var(--forest); color: white; padding: clamp(3rem, 11vw, 9rem) max(5vw, calc((100vw - 74rem) / 2)); }
h1 { font-size: clamp(2.6rem, 6.7vw, 6rem); line-height: 1.02; letter-spacing: -.055em; max-width: 15ch; margin: 0; text-wrap: balance; }
.hero p { max-width: 37rem; margin: 1.7rem 0; color: #edf1e5; }
.sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2rem; max-width: 78rem; margin: auto; padding: 3rem 5vw; }
.sections section { border-top: 2px solid #577540; }
h2 { line-height: 1.2; font-size: 1.5rem; }
footer { border-top: 1px solid #c2cabb; font-weight: 700; }
:focus-visible { outline: 3px solid #71934f; outline-offset: 4px; }
header { position: relative; display: grid; grid-template-columns: 1fr auto; }
header nav { grid-column: 1 / -1; }
.language { justify-self: end; min-inline-size: 0; }
.language summary { cursor: pointer; padding: .4rem .7rem; background: white; border: 1px solid #c2cabb; border-radius: .35rem; font-size: .95rem; }
.language ul { position: absolute; inset-inline-end: max(5vw, calc((100vw - 74rem) / 2)); z-index: 1; inline-size: min(26rem, 90vw); max-block-size: min(55vh, 22rem); overflow: auto; margin: .35rem 0 0; padding: .6rem; list-style: none; background: white; border: 1px solid #c2cabb; border-radius: .35rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .15rem; box-shadow: 0 .6rem 1.5rem #12231e26; }
.language a { display: block; padding: .45rem; overflow-wrap: anywhere; }
.language a[aria-current] { background: var(--lime); font-weight: 700; }
.hero h1 { max-inline-size: 19ch; overflow-wrap: anywhere; }
@media (min-width: 56rem) {
  header { grid-template-columns: auto 1fr auto; }
  header nav { grid-area: 1 / 2; justify-content: center; }
  .language { grid-area: 1 / 3; }
}
