:root {
  color-scheme: light;
  --ink: #1e1e1e;
  --link: #285db8;
  --rule: #e4ded8;
  --tint: #fcf0e9;
  font: 400 16px/1.65 "Golos Text", system-ui, sans-serif;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
a { color: var(--link); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.page-width { width: min(1120px, calc(100% - clamp(36px, 8vw, 96px))); margin-inline: auto; }
.site-header { background: #fafafa url("assets/header-grain.svg"); border-bottom: 1px solid var(--rule); }
.site-header .page-width, .site-footer .page-width {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: .46em;
  font: 700 clamp(14px, 3vw, 19px)/1.2 "Unbounded", system-ui, sans-serif;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand img { width: 1em; height: 1em; object-fit: contain; }
.site-header a, .site-footer a { padding-block: 12px; }
.intro { padding-block: clamp(30px, 6vw, 72px) clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
h1, h2 { text-wrap: balance; }
h1 {
  max-width: 23ch; margin: 0;
  font: 700 clamp(20px, 4vw, 42px)/1.23 "Unbounded", system-ui, sans-serif;
}
.reading-layout { display: grid; align-items: start; gap: clamp(24px, 5vw, 64px); padding-block: 24px 64px; }
.contents { padding: 18px 20px; border-radius: 10px; background: var(--tint); }
.contents h2 { margin: 0 0 8px; font-size: 18px; }
.contents ol { margin: 0; padding-inline-start: 22px; font-size: 14px; line-height: 1.4; }
.contents a { display: block; padding: 5px 0; color: var(--ink); }
.contents a:hover { color: var(--link); }
.policy { max-width: 72ch; min-width: 0; overflow-wrap: anywhere; }
.policy section { padding-block: 20px; scroll-margin-top: 16px; }
.policy section:first-child { padding-top: 0; }
.policy section + section { border-top: 1px solid var(--rule); }
.policy h2 { margin: 0 0 12px; font-size: clamp(19px, 3vw, 25px); line-height: 1.25; }
.policy p, .policy ul { margin: 0 0 12px; }
.policy ul { padding-inline-start: 22px; }
.policy li + li { margin-top: 5px; }
.site-footer { border-top: 1px solid var(--rule); background: #fafafa; }
@media (min-width: 820px) {
  .reading-layout { grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); padding-top: 36px; }
  .contents { position: sticky; top: 18px; max-height: calc(100dvh - 36px); overflow: auto; }
}
@media (max-width: 380px) {
  .site-header .page-width, .site-footer .page-width { font-size: 13px; }
}
