:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17201b;
  background: #f7f8f5;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

header,
main,
footer {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
}

nav {
  display: flex;
  gap: 1rem;
}

main {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid #dde3dc;
  border-radius: 1rem;
  box-shadow: 0 0.4rem 1.5rem rgb(20 40 28 / 6%);
}

footer {
  padding-block: 1rem 3rem;
  color: #526158;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  scroll-margin-top: 1rem;
}

h2 {
  margin-top: 2.5rem;
}

a {
  color: #286244;
}

a:focus-visible {
  outline: 0.2rem solid #e08a2e;
  outline-offset: 0.2rem;
}

.brand {
  color: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

blockquote {
  margin-inline: 0;
  padding: 0.75rem 1rem;
  border-left: 0.3rem solid #c75d28;
  background: #fff5ea;
}

table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

th,
td {
  padding: 0.6rem;
  border: 1px solid #cdd5ce;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 32rem) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}
