:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #353535;
  background: #f2f2f0;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 860px; margin: 0 auto; padding: 64px 28px 32px; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #111; }
a:focus-visible, summary:focus-visible { outline: 2px solid #555; outline-offset: 5px; }
.page-header { margin-bottom: 56px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; margin: 28px 0 20px; }
.title-dot { color: #858585; }
.byline { margin: 0 0 6px; font-size: .9rem; color: #646464; }
.updated { margin: 0; font-size: .8rem; color: #646464; }
.hint { color: #626262; font-size: .95rem; margin-top: 20px; }
section { margin: 0 0 36px; }
h2 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.015em; margin: 0 0 12px; }
details { border-top: 1px solid #d5d5d3; }
details:last-child { border-bottom: 1px solid #d5d5d3; }
summary { position: relative; list-style: none; padding: 14px 38px 14px 10px; cursor: pointer; border-radius: 2px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 12px; top: 13px; color: #6a6a6a; font-size: 1.2rem; font-weight: 400; }
details[open] > summary::after { content: "−"; }
summary:hover, details[open] > summary { background: #e8e8e6; }
h3 { display: inline; font-size: .97rem; font-weight: 450; }
.topic-content { padding: 0 18px 16px; overflow-wrap: anywhere; }
.topic-content:empty { padding-bottom: 12px; }
.description { color: #5b5b5b; font-size: .95rem; }
main > .description:last-of-type { margin-bottom: 36px; }
code { font-style: normal; font-size: .92em; }
.papers { padding-left: 22px; margin: 18px 0 4px; }
.papers li { padding-left: 4px; margin-bottom: 18px; }
.papers li:last-child { margin-bottom: 0; }
.papers li > a { font-weight: 550; }
.notes { font-style: italic; color: #626262; font-size: .9rem; }
.notes p { margin: 6px 0; }
footer { margin-top: 52px; border-top: 1px solid #d5d5d3; padding-top: 20px; color: #686868; font-size: .8rem; }
@media (max-width: 540px) {
  main { padding: 36px 20px 24px; }
  .page-header { margin-bottom: 40px; }
  summary { padding-left: 4px; }
  .topic-content { padding-left: 8px; padding-right: 8px; }
}
