:root {
  --ink: #141210;
  --paper: #f4efe6;
  --sand: #a89f91;
  --brass: #e4a04a;
  --panel: #1e1b17;
  --panel-2: #2a261f;
  --line: #3a342c;
  --soot: #1a140c;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --display: "Fraunces", ui-serif, Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); }
body { min-height: 100dvh; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
h1, h2 { font-family: var(--display); font-weight: 560; text-wrap: balance; margin: 0; }
h1 { font-size: 2rem; line-height: 1.15; }
p { text-wrap: pretty; }
::selection { background: var(--brass); color: var(--soot); }
.stripe { height: 4px; background: var(--brass); }
.bar, .progress, main, .dock-in { width: min(48rem, calc(100% - 2rem)); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0; position: sticky; top: 0; background: var(--ink); z-index: 2; border-bottom: 1px solid var(--line); }
.brand, .ghost, .primary, .pill, .textbtn { border-radius: 999px; min-height: 2.75rem; }
.brand { background: none; border: 0; text-align: left; padding: 0; }
.eyebrow, .kicker, .phase, .rec { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; }
.eyebrow { display: block; color: var(--sand); }
.word { font-family: var(--display); font-size: 1.25rem; }
.brass, .kicker, .rec, .textbtn, .link { color: var(--brass); }
.ghost, .pill, .card, .note, .step, .prompt { border: 1px solid var(--line); background: transparent; }
.ghost, .primary, .pill { padding: 0.5rem 1rem; }
.ghost { color: var(--sand); }
.primary { background: var(--brass); color: var(--soot); border: 0; font-weight: 600; }
.progress { padding: 0.75rem 0 0.5rem; }
.track { height: 1px; background: var(--line); }
.fill { height: 1px; width: 100%; background: var(--brass); transform-origin: left center; }
.pills { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.75rem 0; }
.pill { flex: none; color: var(--paper); background: transparent; }
.pill.on { background: var(--brass); color: var(--soot); border-color: var(--brass); }
.pill:disabled { opacity: 0.4; }
main { padding: 1.5rem 0 6rem; }
.lead, .crumb, .cb, .dim, .hint, .count, .maker { color: var(--sand); }
.lead { margin: 0.5rem 0 0; max-width: 38rem; line-height: 1.5; }
.crumb, .count { font-size: 0.875rem; }
.kicker { margin: 0 0 0.75rem; }
.points, .stack, .grid, .fields, .steps { display: grid; gap: 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } h1 { font-size: 2.4rem; } }
.points li, .card, .note, .step { border-radius: 1rem; }
.points li { border: 1px solid var(--line); background: var(--panel); padding: 1rem; display: grid; gap: 0.25rem; }
.num { font-family: var(--display); color: var(--brass); }
.pt { font-weight: 500; }
.pb, .cb, .body, .hint { font-size: 0.875rem; line-height: 1.5; }
.row, .links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.row { margin-top: 1.5rem; }
.card { display: flex; gap: 0.75rem; text-align: left; padding: 0.85rem 1rem; background: var(--panel); width: 100%; align-items: flex-start; }
.card.on, .step { background: var(--panel-2); }
.card.on { border-color: var(--brass); }
.card.slim { min-height: 2.75rem; }
.ct { display: block; font-weight: 500; }
.badge { width: 2.5rem; height: 2.5rem; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--brass); flex: none; }
.badge.on { background: var(--brass); color: var(--soot); }
.badge svg, .box { width: 1.25rem; height: 1.25rem; }
.badge svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.model { display: grid; gap: 0.35rem; }
.model-top, .check, .prompt-bar, .dock-in { display: flex; justify-content: space-between; gap: 0.75rem; }
.model-top { align-items: flex-start; }
.maker { font-weight: 400; margin-left: 0.35rem; }
.rec { display: block; margin-top: 0.25rem; }
.tick { width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.tick.on, .box.on { background: var(--brass); color: var(--soot); border-color: var(--brass); }
.note { background: var(--panel); padding: 0.9rem 1rem; margin-top: 1rem; }
.note p { margin: 0.35rem 0; font-size: 0.925rem; line-height: 1.5; }
.compare p:first-child { margin-top: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
legend, .field > span { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; display: block; }
input, textarea { width: 100%; border-radius: 1rem; border: 1px solid var(--line); background: var(--panel); color: var(--paper); padding: 0.75rem 1rem; font: inherit; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--sand); }
.field { display: block; }
.hint { display: block; margin-top: 0.4rem; }
.dock { position: sticky; bottom: 0; border-top: 1px solid var(--line); background: var(--ink); }
.dock-in { padding: 0.75rem 0; align-items: center; }
.dock-next { text-align: right; }
.dock-next .count, .dock-next .hint { margin: 0 0 0.25rem; }
.check { width: 100%; background: none; border: 0; color: inherit; text-align: left; padding: 0; align-items: flex-start; }
.box { border: 1px solid var(--line); border-radius: 0.35rem; display: grid; place-items: center; margin-top: 0.15rem; flex: none; font-size: 0.8rem; }
.done { color: var(--sand); text-decoration: line-through; }
.step { padding: 1rem; }
.step-body { padding-left: 2.25rem; }
.body { white-space: pre-wrap; margin: 0.75rem 0 0; }
.phase { margin: 0 0 0.4rem; color: var(--sand); }
.link { display: inline-flex; align-items: center; min-height: 2.75rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 0.8rem; text-decoration: none; }
.prompt { margin-top: 0.75rem; background: var(--ink); padding: 0.75rem; }
.prompt-bar { align-items: center; color: var(--sand); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.textbtn { background: none; border: 0; min-height: 2.75rem; }
pre { margin: 0; white-space: pre-wrap; font-family: var(--sans); font-size: 0.875rem; line-height: 1.5; }
.steps { margin-top: 2rem; }
.note h2 { font-family: var(--sans); font-size: 1rem; font-weight: 500; }
.note ul { margin: 0.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.note li { color: var(--sand); font-size: 0.875rem; line-height: 1.5; }
.dimbtn { color: var(--sand); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
