@font-face {
  font-display: swap;
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin.woff2")
    format("woff2");
}

:root {
  color-scheme: light dark;
  --background: #ffffff;
  --text: #171717;
  --muted: #666666;
  --accent: #704500;
  --panel: #f5f1e9;
  font-family: "Atkinson Hyperlegible Next", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Verdana, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171717;
    --text: #f2f2f2;
    --muted: #aaaaaa;
    --accent: #f4bd55;
    --panel: #26221c;
  }
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

html {
  background: var(--background);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible,
button:focus-visible {
  outline: 0.15rem solid currentColor;
  outline-offset: 0.25rem;
}

.site {
  margin: 0 auto;
  max-width: 44rem;
  padding: 1.5rem;
}

.site-header {
  padding-bottom: 1.5rem;
}

.site-heading {
  font-size: 1.125rem;
  line-height: inherit;
  margin: 0;
}

.site-title {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 650;
  gap: 0.4rem;
  text-decoration: none;
}

.brand-mark {
  background: var(--accent);
  display: inline-block;
  height: 1.4rem;
  -webkit-mask: url("/assets/icons/bee.svg") center / contain no-repeat;
  mask: url("/assets/icons/bee.svg") center / contain no-repeat;
  width: 1.4rem;
}

.site-main {
  padding: 1.5rem 0;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0 3rem;
}

footer p {
  margin: 0;
}
