:root { color-scheme: light; --ink: #17211b; --muted: #647069; --paper: #fffdf7; --background: #f1f2e9; --accent: #d7ff5f; --deep: #173d2a; --line: #cfd4c8; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.page { width: min(42rem, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0 5rem; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; }
.back { color: var(--ink); font-weight: 800; text-decoration: none; }
.time { color: var(--muted); font-size: .8rem; font-weight: 750; }
.eyebrow { margin: 0 0 .7rem; color: #59735f; font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 1rem; font-size: clamp(2.7rem, 10vw, 5rem); letter-spacing: -.06em; line-height: .92; }
.dek { margin: 0 0 2.5rem; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }
.source { padding: 1rem; border-left: .35rem solid var(--accent); background: var(--paper); font-size: .86rem; line-height: 1.5; }
.lesson-body { margin-top: 3.5rem; }
.lesson-body h2 { margin: 3rem 0 .8rem; font-size: 1.75rem; letter-spacing: -.03em; }
.lesson-body p, .lesson-body li { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.75; }
.example, .prompt { margin: 2.5rem 0; padding: 1.3rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--paper); }
.example h2, .prompt h2 { margin-top: 0; }
.takeaway { margin: 2.5rem 0; padding: 1.4rem; color: white; background: var(--deep); }
.takeaway strong { color: var(--accent); }
.actions { display: grid; gap: .8rem; margin-top: 3rem; }
button, .next { width: 100%; padding: 1rem; border: 1px solid var(--deep); border-radius: .35rem; cursor: pointer; font: inherit; font-weight: 850; text-align: center; }
.complete { color: var(--deep); background: var(--accent); }
.complete[data-complete="true"] { color: white; background: var(--deep); }
.next { color: var(--deep); background: transparent; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #ff9e45; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
