:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --ink: #231f20;
  --brand: #6c2831;
  --muted: #685e5f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
header,
main,
footer {
  width: min(760px, calc(100% - 40px));
  margin: auto;
}
header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #d3d0d0;
}
.mark {
  font-size: 26px;
  font-weight: 750;
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 15px;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
a:focus-visible {
  outline: 3px solid #286c63;
  outline-offset: 5px;
  border-radius: 2px;
}
main {
  padding: 32px 0 48px;
}
h1 {
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.15;
  margin: 12px 0 16px;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 36px 0 12px;
}
p {
  margin: 12px 0;
}
li {
  margin: 8px 0;
}
.meta {
  color: var(--muted);
  font-size: 15px;
}
.summary {
  padding: 16px 20px;
  background: #fcfaf6;
  border-left: 3px solid var(--brand);
  margin: 24px 0;
}
footer {
  padding: 24px 0 40px;
  border-top: 1px solid #d3d0d0;
  font-size: 15px;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  position: static;
  display: block;
  padding: 12px;
}
@media (max-width: 420px) {
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  header {
    gap: 12px;
  }
  nav {
    gap: 16px;
  }
}
