* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  background: #eef1e7;
  color: #173b30;
  font:
    100%/1.55 system-ui,
    sans-serif;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(70rem, calc(100% - 2.5rem));
  margin: auto;
}
header,
footer,
nav,
.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
header,
footer {
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid #a5b6a5;
}
footer {
  border: 0;
  border-top: 1px solid #a5b6a5;
  font-weight: 700;
}
footer span,
small {
  font-size: 0.85rem;
  color: #4d6457;
}
main {
  min-height: 70vh;
  padding: clamp(2rem, 6vw, 5rem) 0;
}
h1,
h2,
p {
  margin: 0 0 1rem;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 17ch;
}
h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}
p,
li {
  max-width: 65ch;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
.brand {
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.brand span {
  color: #378257;
}
.actions {
  gap: 0.8rem;
  margin: 1rem 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.panel {
  background: #fffef7;
  border: 1px solid #acb9a7;
  border-radius: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.panel > *:last-child {
  margin-bottom: 0;
}
.hero {
  max-width: 48rem;
}
.hero p {
  font-size: 1.2rem;
}
form {
  display: grid;
  gap: 0.9rem;
  max-width: 37rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
label:has(input[type='checkbox']) {
  display: flex;
  align-items: flex-start;
}
input,
select,
textarea,
button,
.button {
  font: inherit;
  border: 1px solid #839781;
  border-radius: 0.45rem;
  padding: 0.65rem 0.8rem;
}
input,
select,
textarea {
  max-width: 100%;
  background: #fff;
  color: #152f24;
}
input[type='checkbox'] {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}
button,
.button {
  background: #214e39;
  color: white;
  border-color: #214e39;
  font-weight: 650;
  cursor: pointer;
  width: fit-content;
  text-decoration: none;
}
button.alt,
.alt.button {
  background: transparent;
  color: #214e39;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
pre,
output {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    0.9rem/1.55 ui-monospace,
    monospace;
}
pre {
  background: #e3eadc;
  padding: 1rem;
  border-radius: 0.45rem;
}
details {
  margin: 0.8rem 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
td,
th {
  padding: 0.55rem;
  border-bottom: 1px solid #c5cec0;
  vertical-align: top;
}
.scroll {
  overflow: auto;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #997100;
  outline-offset: 3px;
}
[role='alert'] {
  color: #8f301e;
}
.panel ol {
  padding-left: 1.2rem;
}
@media (max-width: 30rem) {
  header,
  main,
  footer {
    width: calc(100% - 2rem);
  }
  nav {
    gap: 0.6rem;
    font-size: 0.9rem;
  }
  .actions > * {
    max-width: 100%;
  }
}
