:root {
  color-scheme: light;
  --ink: #172b28;
  --muted: #4f625e;
  --accent: #166356;
  --paper: #f9faf6;
  --line: #cbd9d2;
  font-family: "Geist", system-ui, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

body { margin: 0; }

.shell { max-width: 48rem; margin: 0 auto; padding-inline: 1.5rem; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .shell { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 750; text-decoration: none; color: var(--ink); }
.site-header nav, footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
main { padding-block: clamp(2.25rem, 8vw, 5.5rem); }
h1, h2, h3 { line-height: 1.23; text-wrap: balance; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.15rem, 6vw, 3.75rem); letter-spacing: -0.035em; }
h2 { margin: 2.5rem 0 0.75rem; font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { margin: 1.75rem 0 0.5rem; }
p, li { max-width: 65ch; }
.intro { color: var(--muted); font-size: 1.16rem; }
li { margin-block: 0.4rem; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.english { margin-top: 3rem; border-top: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding-block: 1.5rem; }
footer .shell { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 32rem) {
  .shell { padding-inline: 1rem; }
  .site-header .shell { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.2rem; padding-block: 0.6rem; }
}
