:root {
  --bg: #fbfaf6;
  --text: #24271f;
  --accent: #3f6b3a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: var(--sans);
  color: var(--text);
  margin: 1rem 6rem;
  background-color: var(--bg);
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
li,
dd {
  overflow-wrap: break-word;
}
.tag {
  font-weight: 600;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h2 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
}
section {
  margin-top: 2rem;
}
p {
  text-wrap: pretty;
  margin: 0.5rem 0;
}
dl > div {
  margin-top: 0.5rem;
}
dt {
  font-weight: bold;
}
a,
a:link,
a:visited,
a:active,
a:hover {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover,
a:active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161814;
    --text: #e6e7df;
    --accent: #9cc48f;
  }
}
/* @media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} */
