:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --ink: #111111;
  --ink-muted: #555555;
  --rule: #d4d4d2;
  --accent: #111111;
  --accent-hover: #444444;
  --cover: #111111;
  --cover-ink: #f4f4f2;

  --font-display: 'Gambetta', 'Georgia', serif;
  --font-body: 'Source Serif 4', 'Georgia', serif;
  --font-ui: 'Switzer', 'Helvetica Neue', sans-serif;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-20); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--ink); color: var(--paper); padding: var(--space-2) var(--space-4); z-index: 10; }
.skip:focus { left: var(--space-4); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(var(--space-5), 5vw, var(--space-12)); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); }
.wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg);
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap;
}
.wordmark { display: block; line-height: 0; }
.wordmark img { height: 48px; width: auto; }
.seal { width: min(100%, 15rem); height: auto; margin: 0 0 var(--space-4); }
.site-header ul { list-style: none; display: flex; gap: var(--space-6); margin: 0; padding: 0; }
.site-header nav a { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--accent); }

/* Shared type */
.eyebrow {
  font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 var(--space-3);
}
h1, h2 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 var(--space-5); }
h1 { font-size: var(--text-2xl); max-width: 18ch; }
h2 { font-size: var(--text-xl); }
h3 { font-family: var(--font-ui); font-size: var(--text-base); font-weight: 600; margin: var(--space-8) 0 var(--space-3); letter-spacing: 0.01em; }
h4 { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; margin: var(--space-5) 0 var(--space-2); color: var(--ink); }
p { margin: 0 0 var(--space-4); }
.prose { max-width: 62ch; }
.subtitle { font-style: italic; color: var(--ink-muted); margin-top: calc(-1 * var(--space-3)); margin-bottom: var(--space-8); font-size: var(--text-lg); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.btn {
  display: inline-block; font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600;
  padding: var(--space-3) var(--space-6); border-radius: 2px; text-decoration: none;
  border: 1px solid var(--accent); transition: background 160ms ease, color 160ms ease;
}
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--accent-hover); color: var(--paper); }
.btn-quiet { color: var(--accent); background: transparent; }
.btn-quiet:hover { background: var(--paper-2); }

/* Hero */
.hero { padding-block: clamp(var(--space-12), 9vw, var(--space-24)); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--ink); max-width: 46ch; }

/* Typographic cover */
.cover { margin: 0; justify-self: center; width: min(100%, 20rem); }
.cover-face {
  aspect-ratio: 2 / 3; background: var(--cover); color: var(--cover-ink);
  padding: var(--space-10) var(--space-8); display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 1px 0 #000, 12px 16px 0 var(--paper-2), 12px 16px 0 1px var(--rule);
  border-left: 6px solid #000;
}
.cover-rule { height: 1px; background: color-mix(in oklch, var(--cover-ink) 55%, transparent); margin-block: var(--space-5); }
.cover-title { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; margin: 0 0 var(--space-3); }
.cover-sub { font-family: var(--font-body); font-style: italic; font-size: var(--text-sm); line-height: 1.4; margin: 0; opacity: 0.88; }
.cover-author { font-family: var(--font-ui); font-size: var(--text-sm); letter-spacing: 0.08em; white-space: nowrap; text-transform: uppercase; margin: 0 0 var(--space-12); }
.cover-imprint { font-family: var(--font-display); font-size: var(--text-sm); margin: auto 0 0; opacity: 0.8; }

/* Sections */
.section { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.band { background: var(--paper-2); border-block: 1px solid var(--rule); }
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-16)); align-items: start; }

.principles { padding-left: var(--space-6); margin: 0; }
.principles li { margin-bottom: var(--space-3); }
.included { margin-bottom: var(--space-8); }

.facts { border-top: 2px solid var(--ink); padding-top: var(--space-2); }
.facts h3:first-child { margin-top: var(--space-4); }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 500; }
.facts dd { margin: 0; font-size: var(--text-sm); color: var(--ink-muted); text-align: right; }

.contents { margin-top: var(--space-12); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.contents summary {
  cursor: pointer; padding-block: var(--space-5); font-family: var(--font-ui); font-weight: 600; font-size: var(--text-base);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.contents summary::-webkit-details-marker { display: none; }
.contents summary::after { content: "Show"; font-weight: 500; font-size: var(--text-sm); color: var(--accent); }
.contents[open] summary::after { content: "Hide"; }
.contents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10); padding-bottom: var(--space-8); }
.contents ol, .contents ul { margin: 0; padding-left: var(--space-8); font-size: var(--text-sm); }
.contents ul { list-style: none; padding-left: var(--space-8); }
.contents li { margin-bottom: var(--space-1); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
.card { background: var(--paper); border: 1px solid var(--rule); padding: var(--space-6) var(--space-8); }
.card h3 { margin-top: 0; }
.card p { margin: 0; }
.cta-line { margin-top: var(--space-10); }

.author { border-left: 1px solid var(--rule); padding-left: clamp(var(--space-6), 4vw, var(--space-10)); }
.author h3 { margin-top: var(--space-10); }

.contact h2 { margin-bottom: var(--space-3); }
.email { font-family: var(--font-display); font-size: var(--text-xl); margin: 0; }
.email a { text-decoration: none; border-bottom: 1px solid currentColor; }

.site-footer { padding-block: var(--space-8); }
.footer-inner { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.site-footer p { margin: 0; font-family: var(--font-ui); font-size: var(--text-xs); color: var(--ink-muted); }

@media (max-width: 820px) {
  .hero-grid, .two-col, .contents-grid, .cards { grid-template-columns: 1fr; }
  .cover { width: min(70%, 16rem); }
  .author { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .site-header ul { gap: var(--space-4); }
  .wordmark img { height: 44px; }
  .card { padding: var(--space-5); }
  .email { font-size: var(--text-lg); }
}

/* Download pages */
.note { font-size: var(--text-sm); color: var(--ink-muted); margin-top: var(--space-4); }
.filelist { padding-left: var(--space-6); margin: 0 0 var(--space-6); }
.filelist li { margin-bottom: var(--space-2); }
.site-header ul { flex-wrap: wrap; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

/* Icons */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 1.15em; height: 1.15em; stroke-width: 1.75; }
.plate {
  display: inline-grid; place-items: center; flex: none;
  width: 64px; height: 64px; font-size: 34px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 4px;
  box-shadow: 4px 4px 0 var(--paper-2), 4px 4px 0 1.5px var(--ink);
}
.plate-lg { width: 84px; height: 84px; font-size: 46px; }
.plate-xl { width: 112px; height: 112px; font-size: 64px; box-shadow: 6px 6px 0 var(--paper-2), 6px 6px 0 1.5px var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-lede { max-width: 62ch; color: var(--ink-muted); margin-bottom: var(--space-8); }
.note.center { text-align: center; margin: var(--space-10) auto 0; max-width: 60ch; }
.btn-icon { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; }

/* Choose your path */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-8); }
.path {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4);
  padding: clamp(var(--space-6), 4vw, var(--space-10)); text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.path:hover, .path:focus-visible { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.path-dark { background: var(--ink); color: var(--paper); }
.path-dark:hover, .path-dark:focus-visible { color: var(--paper); box-shadow: 6px 6px 0 var(--rule); }
.path-dark .plate { box-shadow: 4px 4px 0 var(--ink), 4px 4px 0 1.5px var(--paper); }
.path-title { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; }
.path-text { font-size: var(--text-base); max-width: 40ch; }
.path-go { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-ui); font-weight: 600; font-size: var(--text-sm); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Download hero */
.page-hero { border-bottom: 1px solid var(--rule); }
.hero-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-16)); align-items: center; }
.dl-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3);
  padding: var(--space-10) var(--space-6); background: var(--ink); color: var(--paper); text-decoration: none;
  border: 1.5px solid var(--ink); transition: transform 160ms ease, box-shadow 160ms ease;
}
.dl-card:hover, .dl-card:focus-visible { color: var(--paper); transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--rule); }
.dl-card .plate { margin-bottom: var(--space-3); box-shadow: 6px 6px 0 var(--ink), 6px 6px 0 1.5px var(--paper); }
.dl-title { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.15; }
.dl-meta { font-family: var(--font-ui); font-size: var(--text-sm); opacity: 0.85; }

/* Steps */
.steps { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); counter-reset: none; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-num { font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-3); color: var(--ink-muted); }
.step-num::before { content: "Step "; }
.step h3 { margin: var(--space-5) 0 var(--space-2); }
.step p { font-size: var(--text-sm); color: var(--ink-muted); margin: 0; }

/* Chapter tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.tile { border: 1px solid var(--rule); border-top: 2px solid var(--ink); padding: var(--space-6); background: var(--paper); }
.tile-head { display: flex; gap: var(--space-4); align-items: center; margin-bottom: var(--space-4); }
.tile-eyebrow { font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.tile h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.2; margin: 0; }
.files { list-style: none; margin: 0; padding: 0; }
.file {
  display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: var(--space-2) var(--space-2);
  border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-family: var(--font-ui); font-size: var(--text-sm);
}
.file:hover { background: var(--paper-2); color: var(--ink); }
.file-name { flex: 1; }
.tile-note { font-size: var(--text-sm); color: var(--ink-muted); margin: var(--space-3) 0 0; }
.badge { display: inline-block; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--ink); border-radius: 2px; line-height: 1.5; vertical-align: middle; }
.badge-pdf { background: var(--ink); color: var(--paper); }

/* File kinds, platforms */
.kinds { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.kinds-3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.kind { display: flex; gap: var(--space-6); align-items: flex-start; }
.kind h3 { margin: var(--space-2) 0 var(--space-2); display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.kind p { margin: 0; color: var(--ink-muted); }

/* Instructor parts */
.parts { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.part { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border: 1px solid var(--rule); border-top: 2px solid var(--ink); padding: var(--space-6); }
.part h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); margin: var(--space-6) 0 var(--space-2); }
.part p { font-size: var(--text-sm); color: var(--ink-muted); }
.part-link { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-family: var(--font-ui); font-weight: 600; font-size: var(--text-sm); }

/* Term tiles */
.terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.term {
  display: flex; flex-direction: column; height: 100%; padding: var(--space-8) var(--space-6); text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--ink); background: var(--paper); transition: transform 160ms ease, box-shadow 160ms ease;
}
a.term:hover, a.term:focus-visible { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.term-num { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 4vw, 6rem); line-height: 0.9; }
.term-unit { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-5); }
.term-name { font-family: var(--font-display); font-size: var(--text-lg); }
.term-items { font-family: var(--font-ui); font-weight: 600; font-size: var(--text-sm); margin: var(--space-2) 0; }
.term-desc { font-size: var(--text-sm); color: var(--ink-muted); margin-bottom: var(--space-6); }
.term-links { margin-top: auto; display: flex; flex-direction: column; }
.term-links .term-dl { margin-top: 0; min-height: 44px; padding: var(--space-3) 0; }
.kind .files { margin-top: var(--space-3); }
.curriculum { list-style: none; margin: var(--space-8) 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-8); }
.curriculum li { display: flex; gap: var(--space-3); align-items: flex-start; border-top: 1px solid var(--rule); padding-top: var(--space-4); }
.curriculum .icon { flex: none; margin-top: 0.2em; }
@media (max-width: 820px) { .curriculum { grid-template-columns: 1fr; } }
.author-photo { display: block; width: 100%; max-width: 320px; height: auto; margin-bottom: var(--space-6); border: 1px solid var(--rule); }
.author .photo-credit { margin: calc(-1 * var(--space-6) + var(--space-2)) 0 0; font-family: var(--font-ui); font-size: var(--text-xs); color: var(--ink-muted); }
.about .seal-small { width: 350px; height: auto; margin-top: var(--space-6); }
.term-dl { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-ui); font-weight: 600; font-size: var(--text-sm); border-top: 1px solid var(--rule); padding-top: var(--space-4); }

/* Home card icons */
.card .plate { margin-bottom: var(--space-4); }

@media (max-width: 1000px) {
  .parts { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-10); }
}
@media (max-width: 820px) {
  .paths, .hero-split, .kinds, .kinds-3, .terms { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tiles, .parts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-5); text-align: left; align-items: center; }
  .step .plate { grid-row: 1 / span 3; grid-column: 1; }
  .step-num { grid-column: 2; margin: 0; }
  .step h3 { grid-column: 2; margin: 0; }
  .step p { grid-column: 2; }
  .plate-lg { width: 72px; height: 72px; font-size: 40px; }
  .plate-xl { width: 96px; height: 96px; font-size: 54px; }
  .kind { gap: var(--space-5); }
  .dl-card { padding: var(--space-8) var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .path, .dl-card, .term { transition: none; }
  .path:hover, .dl-card:hover, .term:hover { transform: none; }
}
@media (max-width: 420px) { .cover-author { font-size: var(--text-xs); letter-spacing: 0.04em; } }

/* Instructor access, forms, adoption page */
.access { background: var(--paper); border: 1.5px solid var(--ink); padding: clamp(var(--space-6), 3vw, var(--space-8)); box-shadow: 6px 6px 0 var(--paper-2), 6px 6px 0 1.5px var(--ink); }
.access-head { display: flex; gap: var(--space-4); align-items: flex-start; margin-bottom: var(--space-5); }
.access-head p { margin: 0; color: var(--ink-muted); font-size: var(--text-sm); }
.access-title { font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.access-open .dl-card { width: 100%; }
.code-line { margin: 0 0 var(--space-4); font-size: var(--text-sm); }
.code-line strong { font-family: var(--font-ui); letter-spacing: 0.06em; }
.form { display: grid; gap: var(--space-4); }
.form.card { padding: clamp(var(--space-6), 3vw, var(--space-8)); }
.field { display: grid; gap: var(--space-1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field label { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #8a8a88; border-radius: 2px; padding: 0.6rem 0.75rem; min-height: 44px; width: 100%;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form .btn { justify-self: start; cursor: pointer; }
.form .btn:disabled { opacity: 0.6; cursor: default; }
.form-msg { margin: 0; min-height: 1.2em; font-family: var(--font-ui); font-size: var(--text-sm); }
.form-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.have-code { margin-top: var(--space-5); border-top: 1px solid var(--rule); padding-top: var(--space-4); }
.have-code summary { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.have-code .form { margin-top: var(--space-4); }
.weeks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.week { display: grid; grid-template-columns: 5.5rem 1fr 1.2fr; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); font-size: var(--text-sm); }
.week-num { font-family: var(--font-ui); font-weight: 600; }
.week-due { color: var(--ink-muted); }
.week-open .week-due { color: var(--ink-muted); }
.table-wrap { overflow-x: auto; }
.rubric { width: 100%; border-collapse: collapse; font-size: var(--text-sm); background: var(--paper); }
.rubric th, .rubric td { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--rule); }
.rubric thead th { font-family: var(--font-ui); border-bottom: 2px solid var(--ink); }
.rubric tbody th { font-family: var(--font-ui); font-weight: 600; width: 32%; }
.rubric td:nth-child(2) { font-family: var(--font-ui); white-space: nowrap; }
.link-list { padding-left: var(--space-6); margin-top: var(--space-6); }
.link-list li { margin-bottom: var(--space-2); }
.step h3 a { color: inherit; }
@media (max-width: 640px) {
  .week { grid-template-columns: 4.5rem 1fr; }
  .week-due { grid-column: 2; }
  .field-row { grid-template-columns: 1fr; }
  .rubric thead { display: none; }
  .rubric tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--rule); padding: var(--space-2) 0; }
  .rubric th, .rubric td { border: 0; padding: var(--space-1) 0; }
  .rubric tbody th { width: auto; }
  .rubric td:nth-child(3) { grid-column: 1 / -1; color: var(--ink-muted); }
}
@media (max-width: 440px) {
  .site-header .nav-wide { display: none; }
  .site-header ul { gap: var(--space-4); flex-wrap: wrap; row-gap: var(--space-1); }
}
@media (max-width: 380px) {
  .site-header .nav-narrow { display: none; }
}
#access, #review, section[id] { scroll-margin-top: 7rem; }

/* Articles, FAQ, footer navigation */
.wrap.narrow { max-width: 46rem; }
@media (max-width: 600px) { .site-header .nav-roomy { display: none; } }
.footer-nav { flex-basis: 100%; }
.footer-nav ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.footer-nav a { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--ink); }
.crumbs { font-family: var(--font-ui); font-size: var(--text-xs); color: var(--ink-muted); margin-bottom: var(--space-6); }
.crumbs a { color: var(--ink-muted); }
.byline { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--ink-muted); margin-top: var(--space-6); }
.byline a { color: var(--ink); }
.article-hero h1 { max-width: 22ch; }
.key-points { border: 1.5px solid var(--ink); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-10); background: var(--paper); }
.key-points h2 { font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 var(--space-3); }
.key-points ul { margin: 0; padding-left: var(--space-5); }
.key-points li { margin-bottom: var(--space-2); }
.prose { font-size: var(--text-base); line-height: 1.7; }
.prose h2 { font-size: var(--text-xl); margin: var(--space-12) 0 var(--space-4); line-height: 1.2; }
.prose h3 { font-family: var(--font-ui); font-size: var(--text-base); font-weight: 600; margin: var(--space-8) 0 var(--space-2); }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--space-4); }
.prose ul, .prose ol { padding-left: var(--space-6); }
.prose li { margin-bottom: var(--space-2); }
.prose blockquote { margin: var(--space-6) 0; padding: var(--space-5) var(--space-6); background: var(--paper-2); border-left: 3px solid var(--ink); font-size: var(--text-sm); }
.prose blockquote p { margin: 0 0 var(--space-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.article-cta { margin-top: var(--space-12); padding: var(--space-6); background: var(--ink); color: var(--paper); }
.article-cta .cta-title { font-family: var(--font-display); font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.article-cta p { color: var(--paper); }
.article-cta .cta-line { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.article-cta .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.article-cta .btn-quiet { color: var(--paper); border-color: var(--paper); }
.article-cta .btn .icon { width: 1em; height: 1em; margin-right: var(--space-2); vertical-align: -0.125em; }
.art-list { list-style: none; margin: 0; padding: 0; }
.art-item { padding: var(--space-6) 0; border-bottom: 1px solid var(--rule); }
.art-item:first-child { border-top: 1px solid var(--rule); }
.art-item h2 { font-size: var(--text-xl); margin: var(--space-2) 0; line-height: 1.2; }
.art-item h2 a { color: var(--ink); }
.art-item p:last-child { margin: 0; color: var(--ink-muted); }
.art-meta { font-family: var(--font-ui); font-size: var(--text-xs); color: var(--ink-muted); margin: 0; letter-spacing: 0.04em; }
.art-teasers { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-6); }
.art-teasers a { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; padding: var(--space-6); border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.art-teasers a:hover, .art-teasers a:focus-visible { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.art-title { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.2; }
.art-teasers + .cta-line { margin-top: var(--space-8); }
.faq { margin: var(--space-6) 0 0; border-top: 1px solid var(--rule); }
.faq div { padding: var(--space-5) 0; border-bottom: 1px solid var(--rule); }
.faq dt { font-family: var(--font-ui); font-weight: 600; margin-bottom: var(--space-2); }
.faq dd { margin: 0; color: var(--ink-muted); max-width: 62ch; }
@media (max-width: 640px) { .art-teasers { grid-template-columns: 1fr; } }
