:root {
  color-scheme: light;
  --paper: #fffcf0;
  --ink: #282722;
  --muted: #77756b;
  --line: #e4e0d4;
  --accent: #52664a;
  --wash: #f2efe3;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1c1b18;
  --ink: #e7e3d6;
  --muted: #aaa69a;
  --line: #3b3932;
  --accent: #b4c4a3;
  --wash: #292820;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
::selection { background: #dbe3cc; color: #282722; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.page { width: min(100% - 64px, 720px); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 45px 0 0; }
.wordmark { font-size: 25px; letter-spacing: -.9px; text-decoration: none; font-weight: 600; }
.wordmark-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: 27px; }
nav > a { color: var(--muted); font-size: 14px; text-decoration: none; }
.theme-toggle { width: 36px; height: 29px; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 20px; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.theme-toggle:not([hidden]) { display: inline-flex; }
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }
.moon, [data-theme="dark"] .sun { display: none; }
[data-theme="dark"] .moon { display: block; }
.intro { margin: 69px 0 49px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
h1 { font-size: clamp(25px, 4.8vw, 33px); line-height: 1.45; letter-spacing: -.04em; font-weight: 600; margin: 0 0 21px; }
.intro-copy { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.9; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 11px 20px; background: var(--accent); color: var(--paper); text-decoration: none; font-size: 15px; border: 1px solid var(--accent); border-radius: 4px; }
.primary-link:hover { color: var(--paper); filter: brightness(.9); }
.latest { border-top: 1px solid var(--line); padding: 30px 0 32px; }
.section-label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.6; }
.section-label h2 { margin: 0; font: inherit; }
.section-label time { font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.latest h2 { font-size: 24px; font-weight: 550; line-height: 1.6; letter-spacing: -.03em; margin: 0 0 17px; }
.latest p { margin: 0 0 12px; }
.latest .annotation { color: var(--accent); font-size: 14px; margin: 22px 0 0; }
.annotation span { display: inline-block; margin-right: 6px; }
.cases { padding: 28px 0 31px; border-top: 1px solid var(--line); }
.cases .section-label { margin-bottom: 12px; }
.cases-intro { font-size: 13px; color: var(--muted); margin: 0 0 13px; }
.case-link { display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 16px; padding: 22px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.case-type { color: var(--accent); font-size: 12px; padding-top: 3px; }
.case-content { display: flex; flex-direction: column; gap: 5px; }
.case-content strong { font-size: 17px; font-weight: 500; line-height: 1.65; }
.case-name { color: var(--muted); font-size: 12px; }
.case-description { color: var(--muted); font-size: 14px; line-height: 1.85; }
.case-arrow { color: var(--accent); font-size: 18px; }
.case-link:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.case-footnote { color: var(--muted); font-size: 12px; margin: 18px 0 13px; }
.browse-link { color: var(--accent); font-size: 14px; }
.notes { border-top: 1px solid var(--line); padding: 29px 0 31px; }
.notes .section-label { margin-bottom: 13px; }
.directory-hint { font-size: 12px; }
details { scroll-margin-top: 24px; }
summary { display: flex; align-items: baseline; gap: 17px; padding: 13px 0; list-style: none; cursor: pointer; font-size: 16px; line-height: 1.7; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
.note-number { font-size: 11px; color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; letter-spacing: .02em; }
.disclosure { margin-left: auto; padding-left: 10px; color: var(--muted); font-size: 18px; font-weight: 300; }
details[open] .disclosure { transform: rotate(45deg); }
.note-body { margin: 4px 27px 18px 32px; padding: 1px 0 1px 17px; border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.note-body p { margin: 0 0 10px; }
.note-body p:last-child { margin-bottom: 0; }
.about { padding: 28px 0 36px; border-top: 1px solid var(--line); }
.about .section-label { margin-bottom: 14px; }
.about p { margin: 0; color: var(--muted); font-size: 14px; max-width: 600px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding: 23px 0 32px; font-size: 12px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.skip-link { position: fixed; z-index: 2; top: 8px; left: 16px; padding: 5px 12px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 600px) {
  .page { width: calc(100% - 44px); }
  .site-header { padding-top: 27px; }
  .wordmark { font-size: 23px; }
  nav { gap: 16px; }
  .intro { margin: 51px 0 35px; }
  .intro-copy { font-size: 14px; }
  .intro-actions { gap: 12px 18px; }
  .primary-link { font-size: 14px; padding: 10px 17px; gap: 24px; }
  .desktop-break { display: none; }
  .latest { padding-top: 25px; }
  .latest h2 { font-size: 21px; }
  .latest p { font-size: 15px; }
  .latest .annotation { font-size: 13px; }
  .case-link { grid-template-columns: 28px minmax(0, 1fr) 14px; gap: 10px; padding: 19px 0; }
  .case-content strong { font-size: 15px; }
  .case-description { font-size: 13px; }
  .cases .section-label { font-size: 12px; gap: 10px; }
  summary { gap: 12px; font-size: 15px; }
  .note-body { margin-left: 27px; margin-right: 0; padding-left: 13px; font-size: 14px; }
  .site-footer { font-size: 11px; padding-bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
