:root {
  --ink: #17231f;
  --muted: #718079;
  --paper: #f5f5ef;
  --white: #fffefa;
  --line: #dfe4dc;
  --forest: #1e5b4d;
  --forest-dark: #123f36;
  --mint: #dcebe1;
  --lime: #c7e978;
  --coral: #ef826d;
  --gold: #efbb59;
  --shadow: 0 18px 60px rgba(23, 35, 31, .09);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; }
button { font: inherit; }
button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.app-shell { min-height: 100vh; display: flex; }
.rail { width: 230px; background: var(--forest-dark); color: #e9f3e8; padding: 28px 22px 22px; display: flex; flex-direction: column; flex-shrink: 0; }
.brand-mark { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.8px; }
.brand-mark span:last-child span { color: var(--lime); }
.brand-leaf { color: var(--lime); font-size: 21px; transform: rotate(12deg); display: inline-block; }
.rail-rule { height: 1px; background: rgba(226, 241, 226, .18); margin: 32px 0 24px; }
.journey-label { color: #9db9a7; font-size: 10px; letter-spacing: 1.7px; font-weight: 700; margin-bottom: 14px; }
.journey-nav { display: grid; gap: 8px; }
.nav-item { width: 100%; border: 0; color: #aac0b3; background: transparent; padding: 12px 10px; border-radius: 8px; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; font-size: 13px; font-weight: 600; }
.nav-item.active { color: var(--forest-dark); background: var(--lime); }
.nav-item.complete { color: #d7ebd4; }
.nav-number { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 10px; flex-shrink: 0; }
.nav-item.complete .nav-number { background: #5c8d73; border-color: #5c8d73; }
.rail-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: end; }
.source-note { font-size: 11px; color: #9db9a7; line-height: 1.5; display: flex; gap: 8px; align-items: start; }
.source-dot { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; margin-top: 4px; }
.icon-button { color: #cfe2d0; border: 1px solid rgba(226, 241, 226, .25); background: transparent; width: 33px; height: 33px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.main-stage { flex: 1; min-width: 0; }
.topbar { height: 88px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 5.2vw; }
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 11px; align-items: center; }
.breadcrumb-kicker, #breadcrumbKicker { color: var(--forest); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.breadcrumb-slash { color: #b7c1b8; }
.status-cluster { display: flex; align-items: center; gap: 20px; }
.stat-chip { display: flex; align-items: center; gap: 7px; font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; }
.stat-icon { color: var(--gold); font-size: 15px; }
.stat-chip small { color: var(--muted); font: 700 9px 'DM Sans', sans-serif; letter-spacing: 1px; }
.lives { display: flex; gap: 3px; color: var(--coral); letter-spacing: 3px; font-size: 14px; }
.lives .lost { color: #d8ded7; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--forest); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.content-wrap { max-width: 1210px; margin: 0 auto; padding: 34px 5.2vw 70px; }
.progress-line { height: 4px; background: #e1e7df; border-radius: 10px; margin-bottom: 54px; overflow: hidden; }
.progress-line span { height: 100%; width: 8%; background: var(--forest); display: block; transition: width .5s ease; }
.screen { max-width: 1000px; margin: 0 auto; }
.eyebrow { color: var(--forest); font-size: 11px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; margin: 0 0 17px; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -1.5px; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: .98; max-width: 720px; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.02; }
h3 { font-size: 20px; letter-spacing: -.5px; }
p { line-height: 1.65; color: #617168; margin: 0; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.hero-copy p { font-size: 17px; max-width: 515px; margin: 25px 0 31px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font-size: 12px; font-weight: 700; margin-bottom: 18px; }
.hero-kicker::before { content: ''; width: 24px; height: 2px; background: var(--coral); }
.primary-button { border: 0; background: var(--forest); color: white; padding: 15px 22px; font-weight: 700; border-radius: 5px; cursor: pointer; transition: transform .2s, background .2s; }
.primary-button:hover { background: var(--forest-dark); transform: translateY(-2px); }
.secondary-button { border: 1px solid var(--line); background: var(--white); color: var(--forest); padding: 14px 20px; font-weight: 700; border-radius: 5px; cursor: pointer; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.art-panel { min-height: 385px; background: var(--mint); position: relative; overflow: hidden; border-radius: 3px; display: grid; place-items: center; }
.art-panel::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #a9d5b7; top: 42px; left: 18%; }
.art-panel::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: #f2d78b; top: -35px; right: -30px; }
.orbit { position: relative; z-index: 1; width: 220px; height: 220px; border: 1px solid rgba(18, 63, 54, .28); border-radius: 50%; display: grid; place-items: center; }
.orbit::before, .orbit::after { content: ''; position: absolute; border: 1px solid rgba(18, 63, 54, .2); border-radius: 50%; }
.orbit::before { width: 280px; height: 110px; transform: rotate(28deg); }
.orbit::after { width: 110px; height: 280px; transform: rotate(28deg); }
.earth { width: 143px; height: 143px; border-radius: 50%; background: #296d5a; box-shadow: inset 18px -15px 0 rgba(12, 48, 38, .15), 10px 15px 0 rgba(18, 63, 54, .11); display: grid; place-items: center; color: #e6f3cc; font-size: 49px; position: relative; }
.earth::after { content: '✦'; position: absolute; top: 18px; right: 26px; font-size: 14px; color: var(--lime); }
.floating-tag { position: absolute; z-index: 2; background: var(--white); padding: 10px 12px; box-shadow: 0 8px 20px rgba(18, 63, 54, .12); font-size: 11px; font-weight: 700; }
.tag-one { top: 65px; left: 20px; transform: rotate(-5deg); }.tag-two { bottom: 52px; right: 18px; transform: rotate(4deg); }
.lesson-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 32px; }.lesson-head p { max-width: 330px; font-size: 14px; }
.phase-pill { display: inline-flex; gap: 7px; align-items: center; background: var(--mint); color: var(--forest); padding: 8px 11px; font-size: 11px; font-weight: 700; margin-bottom: 16px; }
.phase-pill span { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; }
.lesson-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; }
.learn-card, .challenge-card, .timeline-card, .report-card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 28px; }
.learn-card { min-height: 310px; }.learn-card h3 { margin-bottom: 17px; }.learn-card p { font-size: 15px; margin-bottom: 16px; }.highlight { color: var(--forest); font-weight: 700; }
.learn-quote { border-left: 3px solid var(--coral); padding: 2px 0 2px 14px; color: var(--forest); font-size: 14px; line-height: 1.5; margin-top: 22px; }
.see-strip { margin-top: 17px; background: var(--forest-dark); color: #e7f1e5; padding: 20px; position: relative; overflow: hidden; min-height: 104px; }.see-strip::after { content: '◌'; position: absolute; right: 25px; bottom: -32px; font-size: 120px; color: rgba(199,233,120,.14); }.see-strip-label { color: var(--lime); font-size: 10px; letter-spacing: 1.5px; font-weight: 700; }.see-strip p { color: #c2d6c7; font-size: 13px; margin-top: 8px; max-width: 75%; }
.challenge-card { background: #edf4ec; border: 0; }.challenge-label { color: var(--forest); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 16px; }.challenge-card h3 { max-width: 520px; margin-bottom: 22px; }.choice-list { display: grid; gap: 10px; }.choice { border: 1px solid #d3ded3; background: rgba(255,255,255,.72); padding: 13px 15px; text-align: left; cursor: pointer; border-radius: 4px; display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: 14px; line-height: 1.35; }.choice:hover { border-color: var(--forest); background: white; }.choice-letter { width: 24px; height: 24px; border: 1px solid #bacdbd; border-radius: 50%; display: grid; place-items: center; color: var(--forest); font-weight: 700; font-size: 11px; flex-shrink: 0; }.choice.correct { border: 2px solid var(--forest); background: #e1f3d7; }.choice.incorrect { border: 2px solid var(--coral); background: #ffebe4; }.choice.disabled { cursor: default; }.feedback { margin-top: 18px; padding-top: 17px; border-top: 1px solid #d3ded3; animation: rise .35s ease both; }.feedback-title { color: var(--forest); font-weight: 700; font-size: 13px; margin-bottom: 5px; }.feedback p { color: #53645a; font-size: 13px; line-height: 1.55; }.continue-row { margin-top: 20px; display: flex; justify-content: flex-end; }
.section-title { max-width: 750px; margin-bottom: 35px; }.section-title p { max-width: 550px; margin-top: 17px; font-size: 16px; }
.timeline { display: grid; gap: 0; margin: 30px 0; }.timeline-event { display: grid; grid-template-columns: 105px 24px 1fr; gap: 15px; min-height: 88px; cursor: pointer; }.timeline-year { color: var(--forest); font: 700 14px 'Space Grotesk', sans-serif; padding-top: 4px; }.timeline-node { position: relative; }.timeline-node::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 4px solid var(--paper); outline: 1px solid var(--coral); display: block; position: relative; z-index: 1; }.timeline-node::after { content: ''; width: 1px; height: 100%; background: #cbd9cd; position: absolute; top: 12px; left: 6px; }.timeline-event:last-child .timeline-node::after { display: none; }.timeline-event:hover .timeline-title, .timeline-event.active .timeline-title { color: var(--forest); }.timeline-title { font: 700 17px 'Space Grotesk', sans-serif; }.timeline-copy { color: var(--muted); font-size: 13px; margin-top: 5px; line-height: 1.5; }.timeline-detail { margin-left: 143px; background: var(--mint); padding: 19px; margin-bottom: 20px; animation: rise .3s ease both; }.timeline-detail strong { color: var(--forest); font-size: 12px; }.timeline-detail p { margin-top: 7px; font-size: 13px; }
.map-stage { height: 210px; background: #dbeee4; position: relative; overflow: hidden; border-radius: 3px; margin-bottom: 25px; }.map-stage::before { content: 'RIVER  ·  CITY  ·  FOREST  ·  COAST'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(30,91,77,.17); font: 700 18px 'Space Grotesk'; letter-spacing: 3px; transform: rotate(-13deg); }.map-pin { position: absolute; width: 18px; height: 18px; background: var(--coral); border: 4px solid #fff8eb; border-radius: 50%; box-shadow: 0 3px 0 rgba(30,91,77,.2); }.pin-a { top: 35%; left: 24%; }.pin-b { top: 58%; left: 51%; }.pin-c { top: 28%; right: 17%; }.map-caption { position: absolute; bottom: 14px; left: 17px; color: var(--forest); font-size: 11px; font-weight: 700; }
.report-hero { background: var(--forest-dark); color: white; padding: 37px; position: relative; overflow: hidden; margin-bottom: 23px; }.report-hero::after { content: '✦'; position: absolute; right: 8%; top: -35px; font-size: 190px; color: rgba(199,233,120,.12); }.report-hero p { color: #b9d3be; margin-top: 12px; }.report-hero h2 { color: var(--lime); }.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 23px; }.report-card { padding: 21px; }.report-card strong { font: 700 30px 'Space Grotesk'; color: var(--forest); display: block; }.report-card small { color: var(--muted); font-size: 10px; letter-spacing: 1px; font-weight: 700; }.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }.badge { border: 1px solid var(--line); padding: 11px 13px; display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: var(--forest); background: var(--white); }.summary-list { display: grid; gap: 13px; margin-top: 16px; }.summary-item { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; color: #53645a; }.summary-item::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--forest-dark); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) { .rail { width: 72px; padding: 22px 12px; align-items: center; }.brand-name, .rail-rule, .journey-label, .nav-item span:not(.nav-number), .source-note { display: none; }.journey-nav { margin-top: 20px; }.nav-item { justify-content: center; padding: 10px 0; }.rail-footer { display: block; }.icon-button { margin-top: 18px; }.topbar { padding: 0 20px; }.content-wrap { padding: 27px 20px 55px; }.status-cluster { gap: 10px; }.stat-chip small { display: none; }.hero-grid, .lesson-layout { grid-template-columns: 1fr; }.art-panel { min-height: 300px; }.lesson-head { display: block; }.lesson-head p { margin-top: 15px; }.report-grid { grid-template-columns: 1fr; }.timeline-detail { margin-left: 0; }.timeline-event { grid-template-columns: 70px 20px 1fr; gap: 10px; } }
@media (max-width: 470px) { .breadcrumb { display: none; }.topbar { justify-content: flex-end; }.content-wrap { padding-inline: 16px; }.hero-copy p { font-size: 15px; }.learn-card, .challenge-card { padding: 21px; }.art-panel { min-height: 250px; }.orbit { transform: scale(.78); }.button-row > * { width: 100%; }.report-hero { padding: 25px; } }
