:root {
  --paper: #F6F3EE;
  --ink: #241A0E;
  --muted: #5A4C3A;
  --accent: #F0A53A;
  --link: #8F5306;
  --line: #E2DAD0;
  --card: #FFFDF9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.brand { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 3px #D98A1E; }
nav.top a { margin-left: 14px; }
nav.top a:first-child { margin-left: 0; }
h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 8px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 20px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.lead { font-size: 19px; color: var(--muted); }
.meta { color: var(--muted); font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 16px 0; }
.links { list-style: none; padding: 0; display: grid; gap: 10px; }
.links a { display: block; min-height: 44px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; font-weight: 600; text-decoration: none; }
.links a:hover { border-color: var(--link); }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
footer.site { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site p { margin-bottom: 6px; }
@media (min-width: 640px) {
  h1 { font-size: 36px; }
  .wrap { padding-top: 40px; }
}
