:root {
  color-scheme: light;
  --ink: #203c36;
  --muted: #4e645c;
  --paper: #fbfaf5;
  --card: #fffefa;
  --line: #cfd9ce;
  --soft: #e7efe3;
  --accent: #315e4a;
  --warm: #faebcd;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
.shell { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: space-between; padding: 18px max(5vw, calc((100% - 1140px) / 2)); border-bottom: 1px solid var(--line); background: var(--card); }
a { color: var(--accent); text-underline-offset: 3px; }
.brand { font: bold 23px Georgia, serif; letter-spacing: -.6px; color: var(--ink); text-decoration: none; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav a { padding: 6px 0; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
nav [aria-current] { border-color: var(--accent); color: var(--ink); font-weight: 650; }
main { max-width: 1140px; width: 90%; margin: clamp(30px,5vw,68px) auto 72px; min-height: 60vh; }
main:focus { outline: none; }
h1,h2,h3,p { margin: 0 0 .65em; }
h1,h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem,5.4vw,4.4rem); max-width: 23ch; }
h2 { font-size: clamp(1.5rem,2.7vw,2.25rem); }
h3 { font-size: 1.1rem; line-height: 1.4; }
p { max-width: 79ch; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 67ch; }
.hero { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(180px,1fr); align-items: center; gap: 32px; padding: clamp(24px,4vw,54px); background: var(--soft); border-radius: 16px; }
.hero h1 { max-width: 15ch; }
.overview { padding: 12px 0 12px 32px; border-left: 1px solid #a7bfaa; }
.overview strong { display: block; font: 500 clamp(2.4rem,5vw,4rem)/1 Georgia,serif; }
.overview p { margin: 8px 0 15px; }
progress { width: 100%; height: .65rem; accent-color: var(--accent); }
.stack { display: grid; gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: 16px; align-items: start; }
.card,.panel { padding: clamp(18px,3vw,30px); border: 1px solid var(--line); border-radius: 12px; background: var(--card); min-width: 0; }
.card h3 a { color: var(--ink); }
.group { margin-top: 42px; }
.meta,.eyebrow { font-size: .88rem; color: var(--muted); }
.eyebrow { font-weight: 650; margin-bottom: 9px; }
.actions,.tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 2px; }
.button,button { font: inherit; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; cursor: pointer; border-radius: 7px; padding: 8px 16px; border: 1px solid var(--accent); background: var(--accent); color: white; text-decoration: none; text-align: center; }
.secondary,.tabs a { background: var(--card); color: var(--accent); }
.tabs a { display: inline-block; border: 1px solid var(--line); border-radius: 24px; padding: 6px 16px; text-decoration: none; }
.tabs [aria-current] { background: var(--ink); color: white; }
.button:hover,button:hover { filter: brightness(.92); }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #995e13; outline-offset: 3px; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 4px; top: 4px; background: white; padding: 8px; z-index: 9; }
fieldset { padding: 0; border: 0; margin: 20px 0; min-width: 0; }
.choice { padding: 12px 16px; margin: 8px 0; display: flex; gap: 12px; align-items: baseline; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: white; }
.choice:has(input:checked) { background: var(--soft); border-color: var(--accent); }
.choice input { flex: 0 0 auto; }
input[type=radio],input[type=checkbox] { accent-color: var(--accent); }
.field { display: block; margin: 12px 0; }
.field input,.field select,.field textarea { display: block; margin-top: 5px; }
input:not([type=radio]):not([type=checkbox]),select,textarea { font: inherit; padding: 10px 12px; border: 1px solid #9aae9e; border-radius: 6px; width: min(100%,32rem); background: white; color: var(--ink); }
.readable { max-width: 820px; }
.prose,.prompt { white-space: pre-wrap; overflow-wrap: anywhere; }
figure { margin: 1.25em 0; }
.diagram { max-width: 100%; max-height: 430px; height: auto; display: block; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 12px 0 20px; }
table { border-collapse: collapse; width: auto; max-width: 100%; font-variant-numeric: tabular-nums; }
th,td { padding: 8px 14px; border: 1px solid var(--line); text-align: left; }
thead th { background: var(--soft); }
.prompt { font: 1.12rem/1.65 Georgia,serif; }
.feedback,.callout { padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--soft); margin: 16px 0; }
.review { background: var(--warm); border-color: #9c7330; }
.crumb { display: inline-block; margin-bottom: 14px; }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: flex; gap: 10px 22px; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding: 11px 0; }
.rows small { color: var(--muted); }
li + li { margin-top: 5px; }
details { margin: 12px 0; }
summary { cursor: pointer; font-weight: 650; }
video { width: 100%; max-height: 65vh; background: #172822; }
#notice:not(:empty) { position: sticky; top: 0; z-index: 2; background: var(--warm); padding: 10px 5%; color: #352d18; border-bottom: 1px solid #b8a47a; }
footer { padding: 24px 5%; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; text-align: center; }
@media(max-width:660px) { .hero { grid-template-columns: 1fr; gap: 12px; } .overview { border-left: none; border-top: 1px solid #a7bfaa; padding: 18px 0 0; } .shell { gap: 8px; } nav { gap: 4px 12px; } .rows li { display: grid; gap: 3px; } }
[data-prerequisite-page] h1 { overflow-wrap: anywhere; }
