:root {
  color-scheme: light;
  color: #302b23;
  background: #f9f5ee;
  font: 1rem/1.65 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #106779; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #167c93; outline-offset: 4px; }
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px max(16px, calc((100% - 680px) / 2));
  background: #090909;
}
.masthead a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  display: block;
  width: 132px;
  height: 42px;
  object-fit: cover;
}
.book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 7px;
  background: #106779;
  color: white;
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
}
.book:hover { background: #0b5261; }
.book img { width: 22px; height: 22px; border-radius: 5px; }
main, .guide-footer {
  width: min(calc(100% - 32px), 680px);
  margin-inline: auto;
}
main { padding-block: clamp(26px, 6vw, 54px); }
h1, h2 {
  margin: 0;
  color: #34261c;
  font-family: Georgia, serif;
  line-height: 1.16;
}
h1 { margin-top: 12px; font-size: clamp(2.1rem, 6vw, 3.35rem); font-weight: 500; }
h2 { margin-top: 26px; font-size: 1.45rem; }
p { margin: .65em 0 0; }
.intro { font-size: 1.125rem; }
article ul { margin: .55em 0 0; padding-inline-start: 1.3em; }
article li + li { margin-top: .45em; }
figure { margin: 22px 0; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
}
figcaption { margin-top: 5px; color: #584c40; font-size: .875rem; }
.guide-footer {
  padding-block: 14px 28px;
  border-top: 1px solid #cbbca9;
}
.guide-footer p { margin: 0; font-weight: 650; }
.guide-footer ul { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 4px 0 0; padding: 0; list-style: none; }
.guide-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 400px) {
  .masthead { column-gap: 8px; }
  .brand img { width: 104px; }
  .masthead .book { padding-inline: 10px; font-size: .875rem; }
}
