:root {
  --bg: #fffdf7;
  --text: #1b1c24;
  --muted: #4a4d57;
  --link: #6b4e00;
  --accent: #efc93f;
  --box: #f6efd9;
  --rule: #e3dcc8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1c24;
    --text: #ece9e1;
    --muted: #b9bac4;
    --link: #efc93f;
    --box: #262833;
    --rule: #3a3d4a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.page { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem 4rem; }
header { border-top: 0.375rem solid var(--accent); padding-top: 1rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.75rem 0 0.25rem; }
h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }
a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 2px; }
.meta, .lang { color: var(--muted); margin: 0; }
.lang { text-align: right; }
.summary { background: var(--box); border-radius: 0.5rem; padding: 0.25rem 1.25rem 0.5rem; margin-top: 1.5rem; }
.summary h2 { border-top: 0; margin-top: 0.75rem; padding-top: 0; }
nav h2 { border-top: 0; }
