:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #302523;
  background: #fcf8f6;
  line-height: 1.6;
}

body {
  box-sizing: border-box;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  overflow-wrap: anywhere;
}

a { color: #8b3a43; text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid #8b3a43; outline-offset: 3px; }
.skip {
  position: absolute;
  top: .5rem;
  padding: .5rem .75rem;
  background: #fff;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.site-header, nav, footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1rem;
}
.site-header {
  justify-content: space-between;
  padding-block: .65rem;
  border-bottom: 1px solid #e6dad7;
}
.site-header a, footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand {
  gap: .5rem;
  color: inherit;
  font-size: 1.2rem;
  font-weight: 750;
  text-decoration: none;
}
.brand img { border-radius: .6rem; }

main {
  padding: clamp(1rem, 4vw, 2.5rem);
  margin-block: clamp(1.1rem, 4vw, 2.5rem);
  border: 1px solid #eadfda;
  border-radius: 1.25rem;
  background: #fff;
}
h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  line-height: 1.15;
}
h2 { margin: 1.6rem 0 .4rem; font-size: 1.17rem; }
main :is(p, ul) { margin-block: .65rem; }
main ul { padding-inline-start: 1.4rem; }
li + li { margin-block-start: .35rem; }
.updated { color: #6b5b57; font-size: .9rem; }
.intro { font-size: 1.12rem; }
.action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem .95rem;
  border-radius: .55rem;
  background: #873941;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.action:hover { background: #6f2d35; }
footer {
  justify-content: space-between;
  border-top: 1px solid #e6dad7;
  padding: .45rem 0 1rem;
  font-size: .9rem;
}
