:root {
  color-scheme: light;
  background: #f1f0ec;
  color: #202d2b;
  font-family: system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  max-width: 550px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom));
  font-size: 15px;
  line-height: 1.65;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.back {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #dfe3dc;
  border-radius: 24px;
  color: #202d2b;
}
.eyebrow {
  color: #626c66;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 6px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
a {
  color: #235c49;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
nav a,
footer > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
a:focus-visible {
  outline: 2px solid #235c49;
  outline-offset: 4px;
  border-radius: 2px;
}
main {
  padding: 28px 0;
}
.edition {
  color: #626c66;
  font-size: 13px;
  margin: 0 0 28px;
}

.language-field,
.language-field * {
  box-sizing: border-box;
}
.language-field {
  width: 280px;
  max-width: 100%;
  font:
    15px/1.65 system-ui,
    sans-serif;
  margin-bottom: 28px;
}
.language-label {
  display: block;
  color: #626c66;
  font-size: 13px;
  margin-bottom: 8px;
}
.language-picker {
  position: relative;
}
.language-picker summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  list-style: none;
  cursor: pointer;
  color: #202d2b;
  background:
    linear-gradient(160deg, #ffffff, #f5f6f1) padding-box,
    linear-gradient(150deg, #ffffff 4%, #e7ece2 42%, #aab9a6) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(31, 58, 37, 0.15),
    0 4px 10px rgba(29, 53, 34, 0.1);
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.language-picker summary::-webkit-details-marker {
  display: none;
}
.language-picker summary:hover,
.language-picker[open] summary {
  filter: brightness(1.03);
}
.language-picker summary:focus-visible {
  outline: 2px solid #235c49;
  outline-offset: 3px;
}
.language-picker summary > svg {
  flex-shrink: 0;
  color: #235c49;
}
.language-chevron {
  margin-inline-start: auto;
}
.language-picker[open] .language-chevron {
  transform: rotate(180deg);
}
.languages {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  z-index: 10;
  max-height: min(320px, 50vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #626c66 #ffffff;
  padding: 6px;
  background:
    linear-gradient(160deg, #ffffff, #f5f6f1) padding-box,
    linear-gradient(150deg, #ffffff 4%, #e7ece2 42%, #aab9a6) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(31, 58, 37, 0.15),
    0 4px 10px rgba(29, 53, 34, 0.1),
    0 12px 28px rgba(29, 53, 34, 0.1);
}
.language-picker:not([open]) .languages {
  display: none;
}
.languages a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 6px;
  padding: 8px 12px;
  color: #202d2b;
  background:
    linear-gradient(160deg, #ffffff, #f5f6f1) padding-box,
    linear-gradient(150deg, #ffffff 4%, #e7ece2 42%, #aab9a6) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(31, 58, 37, 0.15),
    0 4px 10px rgba(29, 53, 34, 0.1);
  border-radius: 8px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.languages a:hover,
.languages a:active {
  background: #e2eae0;
}
.languages a:focus-visible {
  outline-offset: -2px;
}
.languages a[aria-current='page'] {
  background: #dce7dc;
  color: #235c49;
  font-weight: 600;
}
.languages a > svg {
  flex-shrink: 0;
}

h1 {
  font:
    36px/44px Georgia,
    serif;
  margin: 0;
  overflow-wrap: anywhere;
}
h2 {
  font:
    600 18px/1.4 system-ui,
    sans-serif;
  margin: 0 0 16px;
}
p {
  margin: 0 0 16px;
}
section,
.references {
  margin-top: 28px;
}
footer {
  color: #626c66;
  font-size: 14px;
}
