:root {
  color-scheme: light dark;
  --page: #f6f2f5;
  --surface: #fffafd;
  --text: #352a31;
  --muted: #715f69;
  --accent: #7f4f73;
  --line: #dfd2da;
  --notice: #f3e4cb;
  --notice-text: #694915;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #191418;
    --surface: #241d22;
    --text: #f1e8ed;
    --muted: #c8b7c1;
    --accent: #d9aaca;
    --line: #493942;
    --notice: #49391e;
    --notice-text: #f4dba9;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); line-height: 1.65; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.topbar { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--page) 92%, transparent); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 72rem; margin: auto; padding: 1rem clamp(1.1rem, 4vw, 2.5rem); }
.brand { color: var(--text); font-size: 1.25rem; font-weight: 800; text-decoration: none; letter-spacing: -0.03em; }
.nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42rem) minmax(0, 1fr); padding: clamp(2rem, 6vw, 5rem) 1.1rem 6rem; }
.document { grid-column: 2; }
.eyebrow { color: var(--accent); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { max-width: 18ch; margin: 0.4rem 0 1rem; font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 0.98; letter-spacing: -0.055em; }
.lede { max-width: 58ch; color: var(--muted); font-size: 1.08rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1.6rem 0 2rem; padding: 1rem 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.notice { margin: 0 0 2.5rem; padding: 1rem 1.1rem; border-radius: 0.9rem; background: var(--notice); color: var(--notice-text); font-size: 0.92rem; }
.summary { margin: 2rem 0 3rem; padding: 1.25rem 1.4rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--line); }
.summary ul { margin-bottom: 0; padding-left: 1.25rem; }
section { padding-top: 1.5rem; }
h2 { margin: 2rem 0 0.75rem; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
h3 { margin: 1.5rem 0 0.5rem; font-size: 1.05rem; }
p, li { max-width: 68ch; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.8rem 0.65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.footer__inner { max-width: 72rem; margin: auto; padding: 1.5rem clamp(1.1rem, 4vw, 2.5rem); }
@media (max-width: 42rem) {
  .topbar__inner { align-items: flex-start; flex-direction: column; }
  .nav { gap: 0.65rem 1rem; }
  table, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  td { padding-inline: 0; }
  td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; }
}
