:root {
  font-family: Inter, system-ui, sans-serif;
  color: #122125;
  background: #f7f9f8;
  font-synthesis: none;
  accent-color: #026e67;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #006159; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 2px solid #006159; outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 54rem); margin: 0 auto; }
.header { background: white; border-bottom: 1px solid #dfe7e5; }
.header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 2rem; padding: .85rem 0; }
.header img { display: block; width: auto; height: 1.9rem; }
.header nav, .languages { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; font-size: .9rem; }
.header a, .languages a { color: #214e4a; }
main { padding: clamp(1.5rem, 5vw, 3rem) 0 2rem; }
h1 { margin: .25rem 0 .65rem; font-size: clamp(1.7rem, 5vw, 2.65rem); letter-spacing: -.025em; line-height: 1.15; }
.intro { margin: 0; color: #435754; line-height: 1.6; }
.languages { margin-bottom: .8rem; }
.languages [aria-current="page"] { font-weight: 750; text-decoration: none; }
.az { display: flex; flex-wrap: wrap; gap: .38rem; margin: 1.25rem 0 1.5rem; }
.az a, .az span {
  min-width: 2.65rem; min-height: 2.75rem; padding: .55rem;
  display: inline-grid; place-items: center; border-radius: .55rem; text-decoration: none; font-weight: 650;
}
.az a { background: white; border: 1px solid #d4dedb; }
.az a:hover { border-color: #02746c; }
.az a[aria-current="page"] { color: white; background: #026e67; border-color: #026e67; }
.az .empty { color: #748681; }
.terms { display: grid; gap: .65rem; }
.term { border: 1px solid #d9e2df; border-radius: .75rem; background: white; scroll-margin-top: .75rem; }
.term summary {
  position: relative; padding: 1rem 3rem 1rem 1rem; cursor: pointer; list-style: none; border-radius: .75rem;
}
.term summary::-webkit-details-marker { display: none; }
.term summary::after {
  content: ""; position: absolute; right: 1.2rem; top: calc(50% - .31rem);
  width: .48rem; height: .48rem; border: solid #006159; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.term[open] summary::after { transform: rotate(225deg); top: calc(50% - .1rem); }
.term summary:hover { background: #f2f8f5; }
.term h2 { margin: 0; font-size: 1.04rem; font-weight: 650; }
.definition { border-top: 1px solid #e1ebe8; padding: .85rem 1rem 1.05rem; line-height: 1.6; }
.definition p, .definition ul { margin: 0; }
.definition .source-label { margin-top: .65rem; font-weight: 650; font-size: .87rem; }
.definition ul, .related ul { padding-left: 1.2rem; font-size: .9rem; overflow-wrap: anywhere; }
.related { margin-top: 2rem; }
.related h2 { font-size: 1.05rem; }
.footer { display: flex; gap: 1rem; padding: 0 0 1.7rem; font-size: .87rem; }
@media (max-width: 30rem) {
  .wrap { width: calc(100% - 1.4rem); }
  .az { gap: .25rem; }
  .az a, .az span { min-width: 2.4rem; }
}
