:root {
    color-scheme: light;
    font: 17px/1.6 "Atkinson Hyperlegible Next", system-ui, sans-serif;
    background: #f5f3ea;
    color: #202a24;
    accent-color: #2c5a44;
}
* { box-sizing: border-box; }
body { margin: 0; }
nav, main { width: min(90%, 46rem); margin: auto; }
header { background: #214634; }
nav { display: flex; gap: 1rem; justify-content: space-between; padding: .8rem 0; }
nav a { color: #fff; }
main { padding: clamp(1.5rem, 5vw, 3.5rem) 0; }
h1, h2 { line-height: 1.15; }
h1 { font: 600 clamp(2rem, 6vw, 3.3rem)/1.05 Georgia, serif; margin: .55em 0 .45em; }
h2 { font-size: 1.18rem; margin-top: 2rem; }
p { max-width: 63ch; }
a { color: #214634; text-underline-offset: .16em; }
.tag { font-size: .85rem; font-weight: 700; color: #396447; letter-spacing: .06em; }
form { margin: 1.5rem 0; }
label { display: block; font-weight: 650; }
input, textarea {
    display: block; width: min(100%, 34rem); margin: .45rem 0 1rem; padding: .7rem;
    border: 1px solid #647268; border-radius: .35rem; background: #fff; color: inherit; font: inherit;
}
textarea { resize: vertical; }
input[type=number] { width: 7rem; }
button {
    background: #214634; color: white; border: 0; border-radius: .35rem;
    padding: .7em 1.1em; font: inherit; font-weight: 650; cursor: pointer;
}
button:hover { background: #335e48; }
:focus-visible { outline: 3px solid #977225; outline-offset: 3px; }
progress { width: 100%; height: .7rem; }
.results { list-style: none; padding: 0; }
.results li {
    border-top: 1px solid #bec9bc; padding: .65rem 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .1rem 1rem;
}
.results span { color: #48594d; }
section { border-top: 1px solid #bec9bc; padding: .5rem 0; overflow-wrap: anywhere; }
