:root{color-scheme:dark;--asphalt:#25282a;--surface:#303436;--surface-light:#393e40;--ivory:#f1f0e9;--muted:#bcc2bc;--line:#4b5152;--yellow:#e8ec58;--ink:#25282a;--radius:22px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--asphalt);color:var(--ivory);font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.6}button,input{font:inherit}a{color:inherit;text-underline-offset:4px}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.18;letter-spacing:-.035em}h1{font-size:clamp(2.6rem,6vw,4.6rem);font-weight:700;margin-bottom:22px}h2{font-size:1.55rem;font-weight:660}h3{font-size:1.14rem;font-weight:660}p:last-child{margin-bottom:0}.site-header,.site-footer,.main{width:min(1120px,100% - 56px);margin-inline:auto}.site-header{height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;text-decoration:none;font-size:1.55rem;font-weight:750;letter-spacing:-.065em;gap:8px}.brand-dot{color:var(--yellow);margin-left:-7px}.brand-mark{display:flex;width:29px;height:27px;gap:6px;align-items:center;transform:skew(-13deg);margin-right:4px}.brand-mark i{height:23px;width:8px;background:var(--yellow);border-radius:2px}.brand-mark i:last-child{height:14px;align-self:flex-end}.back-link{text-decoration:none;color:var(--muted);font-size:.9rem}.back-link span{color:var(--yellow);font-size:1.1rem;margin-left:4px}.main{padding:48px 0 55px;min-height:70vh}.site-footer{border-top:1px solid var(--line);padding:24px 0 35px;display:flex;justify-content:space-between;gap:18px;color:var(--muted);font-size:.8rem}.site-footer a{white-space:nowrap}.eyebrow{font-size:.72rem;letter-spacing:.18em;font-weight:750;color:var(--yellow);margin-bottom:22px}.lead{font-size:1.13rem;color:var(--muted);max-width:37ch;line-height:1.7}.hero{display:grid;grid-template-columns:1.03fr 1fr;gap:50px;align-items:center;padding:20px 0 35px}.hero-copy .button{margin-top:10px}.hero-visual{background:var(--surface);padding:12px;border:1px solid var(--line);border-radius:var(--radius);transform:rotate(1deg)}.hero-visual svg{border-radius:14px}.preview-caption{display:flex;gap:12px;justify-content:space-between;color:var(--muted);font-size:.8rem;margin:12px 7px 3px}.preview-caption strong{color:var(--ivory);font-weight:500}.traffic-diagram{display:block;width:100%;height:auto;overflow:hidden}.mini-legend{display:flex;align-items:center;gap:7px;font-size:.78rem;color:var(--muted)}.you-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:var(--yellow);flex:none}.intro-facts{display:flex;flex-wrap:wrap;gap:10px 25px;padding:22px 0;color:var(--muted);font-size:.92rem;border-top:1px solid var(--line);margin-top:8px}.intro-facts strong{font-weight:600;color:var(--ivory)}.save-control{display:flex;align-items:flex-start;gap:12px;margin:18px 0 8px;max-width:52ch;color:var(--ivory);font-size:.95rem;cursor:pointer}.save-control input{width:20px;height:20px;accent-color:var(--yellow);flex:none;margin:3px 0 0}.save-control small{display:block;color:var(--muted);font-size:.8rem;line-height:1.55;margin-top:3px}.button{min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 24px;background:var(--yellow);border:1px solid var(--yellow);border-radius:13px;color:var(--ink);font-weight:700;text-decoration:none;line-height:1.35;transition:background .15s,transform .15s}.button:hover{background:#f1f57e}.button:active{transform:translateY(1px)}.button.secondary{background:transparent;border-color:var(--line);color:var(--ivory)}.button.secondary:hover{background:var(--surface-light)}.button.compact{font-size:.88rem;min-height:44px;padding:10px 16px;gap:14px}.text-button{padding:9px 0;min-height:44px;background:none;border:0;color:var(--muted);text-decoration:underline;text-underline-offset:4px;font-size:.88rem}.small-note{font-size:.8rem;color:var(--muted);line-height:1.6}.intro-foot{max-width:76ch;padding-top:18px}.session-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px}.session-top p{margin:0;font-size:.85rem;color:var(--muted)}.session-top strong{font-weight:600;color:var(--ivory)}.session-top button{font-size:.82rem}.session-progress{display:block;width:100%;height:4px;appearance:none;-webkit-appearance:none;background:var(--line);border:0;border-radius:4px;margin:0 0 32px;overflow:hidden}.session-progress::-webkit-progress-bar{background:var(--line)}.session-progress::-webkit-progress-value{background:var(--yellow);border-radius:4px}.session-progress::-moz-progress-bar{background:var(--yellow)}.question-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:34px;align-items:start}.scenario-title{font-size:.78rem;color:var(--yellow);text-transform:uppercase;letter-spacing:.1em;font-weight:650;margin-bottom:12px}.scene-figure{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.figure-top{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:13px 17px}.zoom-button{background:none;border:0;color:var(--ivory);display:inline-flex;gap:8px;align-items:center;padding:4px 0;min-height:32px;font-size:.78rem}.zoom-button svg{width:16px;height:16px}.scene-figure figcaption{padding:17px 19px;color:var(--muted);font-size:.86rem;line-height:1.6}.scene-figure figcaption p{margin-bottom:7px}.schematic{display:block;font-size:.72rem;color:#a7afa8}.diagram-focus{border-top:1px solid var(--line);padding:16px 19px;background:#363b32;color:var(--ivory);font-size:.88rem;line-height:1.6}.diagram-focus strong{color:var(--yellow);display:block;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;margin-bottom:5px}.question-heading{font-size:clamp(1.23rem,2.2vw,1.5rem);font-weight:650;line-height:1.42;letter-spacing:-.025em;margin:0 0 20px}.question-heading:focus,.feedback-heading:focus,.recap-heading:focus{outline:none}.choices{list-style:none;margin:0;padding:0;display:grid;gap:10px}.choice{width:100%;display:flex;align-items:flex-start;text-align:left;gap:13px;border:1px solid var(--line);border-radius:13px;padding:16px;background:var(--surface);color:var(--ivory);line-height:1.5;min-height:64px;font-size:.95rem}.choice:not(:disabled):hover{background:var(--surface-light);border-color:#8d9590}.choice-number{font-size:.77rem;font-weight:650;color:var(--muted);border:1px solid #626a69;border-radius:7px;min-width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;margin-top:1px}.choice-copy{display:block}.choice-note{display:block;font-size:.73rem;font-weight:650;letter-spacing:.03em;margin-top:6px}.choice.correct{border-color:var(--yellow);background:#383d31}.choice.correct .choice-number{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}.choice.correct .choice-note{color:var(--yellow)}.choice.selected:not(.correct){border-color:#a6aaa0;background:#3b3d37}.choice.selected:not(.correct) .choice-note{color:#d6d9ce}.choices.answered .choice:not(.selected):not(.correct){opacity:.55}.keyboard-note{margin-top:13px;font-size:.74rem;color:#a7afa8}.feedback{margin-top:24px;padding:23px;border-radius:17px;background:var(--ivory);color:var(--ink)}.feedback h2{font-size:1.33rem;margin-bottom:11px}.feedback p{font-size:.94rem;line-height:1.68;margin-bottom:12px}.feedback .principle{border-top:1px solid #c6c9bd;padding-top:13px;margin-top:14px;font-weight:650;line-height:1.5}.feedback .principle small{display:block;letter-spacing:.08em;text-transform:uppercase;font-size:.67rem;margin-bottom:7px;color:#60675e}.next-bar{padding-top:20px;display:flex;justify-content:flex-end}.next-bar .button{width:100%}.question-meta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:23px 0 0;color:var(--muted);font-size:.78rem}.question-meta .text-button{font-size:.78rem;min-height:38px}.source-details{margin-top:25px;padding-top:19px;border-top:1px solid var(--line);color:var(--muted);font-size:.82rem}.source-details summary{cursor:pointer;color:var(--ivory);min-height:36px}.source-details p{margin-top:14px;line-height:1.65}.source-details ul{padding-left:21px;line-height:1.8}.source-details a{color:var(--ivory)}.recap{max-width:760px;margin:auto;padding:20px 0}.recap h1{font-size:clamp(2.3rem,5vw,3.5rem)}.recap-intro{font-size:1.05rem;color:var(--muted);max-width:57ch}.recap-stat{display:flex;gap:20px;align-items:center;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:28px 0}.recap-stat .number{font-size:3.4rem;line-height:1;color:var(--yellow);letter-spacing:-.05em}.recap-stat p{font-size:.96rem;margin:0}.recap-stat small{font-size:.8rem;color:var(--muted);display:block;margin-top:5px}.revisit-list{list-style:none;padding:0;margin:20px 0 25px;display:grid;gap:10px}.revisit-list li{display:flex;gap:13px;background:var(--surface);border-radius:12px;padding:13px 16px;font-size:.92rem;align-items:center}.revisit-list span{color:var(--yellow);font-size:.78rem}.recap-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.storage-message{margin-top:12px;font-size:.83rem;color:var(--yellow)}.reset-line{margin-top:20px;display:flex;gap:24px;flex-wrap:wrap}.diagram-dialog{width:min(1060px,calc(100% - 28px));max-height:94dvh;border:1px solid var(--line);background:var(--asphalt);color:var(--ivory);border-radius:20px;padding:20px;overflow:auto}.diagram-dialog::backdrop{background:rgb(9 12 13 / .85)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.dialog-heading h2{font-size:1.12rem;letter-spacing:-.02em;margin:0}.diagram-dialog .traffic-diagram{border-radius:12px}.diagram-dialog .zoom-caption{font-size:.88rem;color:var(--muted);margin-top:16px}.diagram-dialog .zoom-caption strong{color:var(--yellow)}.skip-link{position:absolute;top:-100px;left:20px;background:var(--yellow);padding:12px;color:var(--ink);z-index:50}.skip-link:focus{top:12px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.initial-message{padding:45px 0}.initial-message>p:not(.eyebrow){color:var(--muted)}
@media(min-width:850px){.scene-side{position:sticky;top:22px}.recap-actions .button{min-width:220px}}@media(max-width:849px){.site-header,.site-footer,.main{width:min(680px,100% - 36px)}.site-header{height:80px}.main{padding-top:29px}.hero{grid-template-columns:1fr;gap:30px;padding-top:5px}.hero-copy .lead{max-width:52ch}.hero-visual{transform:none;max-width:530px}.hero h1{font-size:clamp(2.7rem,9vw,4rem)}.hero-visual .traffic-diagram{max-height:280px}.question-layout{grid-template-columns:1fr;gap:25px}.session-progress{margin-bottom:25px}.scene-side{position:static}.question-heading{font-size:1.29rem;line-height:1.43}.scene-figure figcaption{padding:14px 17px}.choice{min-height:62px;padding:15px}.keyboard-note{display:none}.site-footer{flex-direction:column;gap:10px}.diagram-dialog{padding:13px}.diagram-dialog .traffic-diagram{min-width:530px}.diagram-dialog #zoom-content{overflow:auto}.dialog-heading h2{font-size:1rem}.next-bar{position:sticky;bottom:0;background:linear-gradient(transparent,var(--asphalt) 18%);padding:18px 0 9px;margin-bottom:-9px}.feedback{padding:20px}.intro-facts{gap:8px 18px;font-size:.85rem}.source-details{margin-top:22px}}@media(max-width:380px){.site-header,.site-footer,.main{width:calc(100% - 28px)}.wordmark{font-size:1.36rem}.back-link{font-size:.78rem}.hero h1{font-size:2.55rem}.preview-caption{font-size:.72rem}.question-heading{font-size:1.19rem}.choice{font-size:.9rem;gap:10px;padding:14px}.recap-stat{padding:18px;gap:17px}.recap-stat .number{font-size:2.8rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.site-header,.site-footer,.choices,.next-bar,.question-meta,.zoom-button{display:none}.main{width:100%;padding:0}.question-layout{display:block}.scene-figure{max-width:650px}.feedback{border:1px solid #222}.source-details{color:#222}}
