:root {
  color-scheme: light dark;
  --background: #faf8f5;
  --surface: #ffffff;
  --text: #272320;
  --muted: #625b55;
  --accent: #9a3412;
  --border: #d9d1c9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font:
    1.0625rem/1.7 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-wrap: anywhere;
}
header,
main,
footer {
  max-width: 48rem;
  margin: auto;
  padding: 1.5rem;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
nav a,
.brand,
.contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: 0.5rem;
  background: var(--surface);
}
.skip:focus {
  top: 1rem;
}
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  margin: 1rem 0;
}
h2 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-top: 2rem;
}
.intro,
.updated,
footer {
  color: var(--muted);
}
.contact {
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0.5rem;
  font-weight: 600;
}
details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin-bottom: 0.5rem;
}
footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  font-size: 0.9375rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #1d1b19;
    --surface: #292522;
    --text: #f5efe9;
    --muted: #c6bbb0;
    --accent: #ffb48b;
    --border: #5c5148;
  }
}
