:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #202020;
  --muted: #707070;
  --rule: #e9e9e7;
  --surface: #f6f6f5;
  --focus: #3153aa;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: #e5e9f1; }
a { color: inherit; text-decoration-color: #c9c9c5; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
.skip { position: absolute; top: 10px; left: 24px; transform: translateY(-180%); background: var(--paper); padding: 5px; }
.skip:focus { transform: none; }
.page { width: min(608px, calc(100% - 48px)); margin: 0 auto; padding: 77px 0 32px; }
.name { font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.5; margin: 0; }
.occupation { color: var(--muted); margin: 3px 0 0; font-size: 14px; }
.intro { margin-top: 34px; }
p { margin: 0 0 20px; }
.intro p:last-child { margin-bottom: 0; }
.section { margin-top: 47px; }
.section-title { font-weight: 400; font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.feature { display: block; text-decoration: none; padding: 0 0 21px; }
.feature h3 { font-weight: 500; font-size: 16px; margin: 0 0 4px; }
.feature:hover h3, .entry:hover .entry-title { text-decoration: underline; text-decoration-color: #aaa; text-underline-offset: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; max-width: 49ch; }
.feature-meta { display: flex; gap: 9px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #777; display: inline-block; }
.index { list-style: none; padding: 0; margin: 0; }
.entry { display: grid; grid-template-columns: 1fr 44px; gap: 18px; padding: 15px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.entry-title { display: block; font-size: 15px; }
.entry-description { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.entry time { font-size: 12px; text-align: right; color: var(--muted); padding-top: 3px; }
.contact { margin-top: 42px; font-size: 14px; }
.contact p { margin-bottom: 10px; }
.footer { margin-top: 53px; padding-top: 17px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.footer a { color: var(--muted); }
.article-header { margin: 39px 0 31px; }
.back { font-size: 14px; }
h1 { font-size: clamp(25px, 4.5vw, 29px); line-height: 1.26; letter-spacing: -.035em; font-weight: 500; margin: 0 0 14px; }
.subtitle { color: var(--muted); margin: 0 0 15px; line-height: 1.55; }
.meta { color: var(--muted); font-size: 12px; margin: 0; }
.article h2 { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.015em; margin: 39px 0 15px; }
.article h3 { font-size: 16px; font-weight: 500; margin: 26px 0 9px; }
.article p { margin-bottom: 22px; }
.article ul, .article ol { padding-left: 20px; margin: 0 0 24px; }
.article li { padding-left: 3px; margin-bottom: 10px; }
strong { font-weight: 600; }
figure { margin: 32px 0; }
figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 6px; }
figure a { display: block; }
figcaption { color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 12px; max-width: 70ch; }
.wide { width: min(820px, calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); }
.evidence-note { color: var(--muted); font-size: 13px; line-height: 1.6; padding-top: 20px; border-top: 1px solid var(--rule); margin-top: 36px; }
.next-reading { margin-top: 34px; font-size: 14px; }
.diagram { border: 1px solid var(--rule); border-radius: 9px; padding: 26px 28px 23px; background: var(--surface); }
.diagram-title { font-size: 13px; margin: 0 0 19px !important; color: var(--muted); }
.tabs { display: flex; gap: 7px; margin-bottom: 23px; flex-wrap: wrap; }
.tabs button { font: inherit; font-size: 13px; border: 1px solid transparent; color: var(--muted); background: transparent; cursor: pointer; padding: 6px 13px; border-radius: 5px; }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: #dededa; }
.tabs button:hover { color: var(--ink); }
.lesson { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; min-height: 181px; }
.lesson-label { color: var(--muted); font-size: 12px; display: block; margin-bottom: 7px; }
.lesson p { font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.lesson small { color: var(--muted); font-size: 12px; line-height: 1.6; display: block; }
[hidden] { display: none !important; }
.diagram-bottom { font-size: 12px !important; color: var(--muted); margin: 18px 0 0 !important; border-top: 1px solid #e0e0dc; padding-top: 14px; }
.release-list { margin: 25px 0; }
.release { display: grid; grid-template-columns: 105px 1fr; gap: 24px; padding: 15px 0; border-top: 1px solid var(--rule); }
.release dt { font-size: 14px; font-weight: 500; }
.release dd { margin: 0; font-size: 14px; }
.release small { font-size: 12px; color: var(--muted); display: block; margin-top: 3px; }
.review-head { font-size: 13px; color: var(--muted); margin-top: 5px; }
.review-section { margin-top: 40px; }
.review-section h2 { font-size: 18px; font-weight: 500; margin: 0 0 13px; }
.review-section p { font-size: 14px; }
details { border-top: 1px solid var(--rule); padding: 15px 0; }
summary { font-size: 15px; cursor: pointer; }
details p { font-size: 14px; color: var(--muted); margin: 13px 0 0; }
.verdict { font-size: 12px; color: var(--muted); display: block; }
.review-list { padding-left: 19px; font-size: 14px; }
.review-list li { margin-bottom: 13px; }
.text-link { white-space: nowrap; }
@media (max-width: 600px) {
  .page { padding-top: 39px; }
  .intro { margin-top: 29px; }
  .section { margin-top: 36px; }
  .entry { gap: 12px; }
  .diagram { padding: 20px; }
  .lesson { grid-template-columns: 1fr; gap: 17px; min-height: 245px; }
  .release { grid-template-columns: 85px 1fr; gap: 17px; }
  .article-header { margin-top: 32px; }
  .footer { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .skip, .footer, .tabs { display: none; }
  .page { width: 100%; padding: 0; }
  .wide { width: 100%; }
  [role="tabpanel"][hidden] { display: grid !important; margin-top: 20px; }
}
