/* Visual style carried over from the previous Beyond the Numbers site:
   cool greys, brand red, gold tabs, Nunito, chunky bordered panels and buttons. */
:root{--red:#b0181f;--dark:#8c1218;--tint:#f7e3e4;--ink:#33333a;--muted:#666672;--paper:#fff;--wash:#f6f6f8;--line:#dddde5;--yellow:#ffc800;--green:#205c38;--goodbg:#eaf5ed;--amber:#775300;--amberbg:#fff5d6}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 'Nunito','Segoe UI',system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:var(--red)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.17;letter-spacing:-.025em}h1{font-size:clamp(34px,4.5vw,53px);font-weight:900;line-height:1.08;letter-spacing:-.04em}h2{font-size:clamp(25px,3vw,33px);font-weight:850}h3{font-size:20px;font-weight:800}p+p{margin-top:12px}.wrap{max-width:1120px;margin:auto;padding:0 24px}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;background:#fff;padding:10px;z-index:10}

/* Header and navigation */
header{border-bottom:2px solid var(--line);background:#fff}header .wrap{max-width:1180px;min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{display:block;width:160px;height:auto;max-height:76px;object-fit:contain}nav{display:flex;gap:5px;flex-wrap:wrap;font-size:14px;font-weight:800}nav a{text-decoration:none;color:var(--muted);border-radius:12px;padding:10px 14px}nav a:hover{background:var(--wash);color:var(--red)}nav a:focus-visible{background:var(--tint);color:var(--red)}

/* Hero */
.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:54px;align-items:center;padding:64px 0 54px}.hero h1{max-width:15ch}.eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:850;color:var(--red);margin-bottom:10px}.hero h1 em{font-style:normal;color:var(--red)}.lead{font-size:21px;line-height:1.45;margin-top:22px;max-width:49ch}.explain{color:var(--muted);font-size:17px;line-height:1.6;margin-top:15px;max-width:58ch}
.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:2px solid var(--dark);border-bottom-width:4px;border-radius:14px;background:var(--red);color:#fff;padding:11px 18px;text-decoration:none;font-size:15px;font-weight:800;line-height:1.35;min-height:47px}.button:hover{background:var(--dark)}.button:active{transform:translateY(1px)}.secondary{background:#fff;color:var(--red);border-color:var(--line)}.secondary:hover{background:var(--wash)}.hero .button{margin-top:27px;font-size:14px}.fine{font-size:12px;color:var(--muted);margin-top:13px}.hero .fine{font-size:13px;color:var(--red);font-weight:750;margin-top:14px}
.example{position:relative;margin:24px 12px 0 0;transform:rotate(2deg);background:var(--wash);border:2px solid var(--line);border-bottom-width:5px;border-radius:22px;padding:42px 26px 28px}.example .tab{position:absolute;top:-18px;left:20px;transform:rotate(-5deg);background:var(--yellow);padding:7px 17px;border-radius:10px;font-size:13px;letter-spacing:.02em;font-weight:850}.example h2{font-size:31px;line-height:1.15;color:var(--red)}.symptoms{list-style:none;padding:0;margin:21px 0;font-size:15px}.symptoms li{padding:13px 0;border-bottom:1px solid var(--line)}.symptoms li:before{content:'—';color:var(--red);font-weight:800;margin-right:12px}.example .question{font-weight:800;font-size:16px;line-height:1.5;background:var(--tint);color:var(--dark);border-radius:12px;padding:14px;margin-top:4px}
.strap{padding:2px 0 43px;color:var(--red);font-size:21px;font-weight:850;line-height:1.4;text-align:center}

/* Practice workspace */
.practice-bg{background:var(--wash);border-block:2px solid var(--line);padding:56px 0 64px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:25px}.section-head .eyebrow{margin-bottom:10px}.section-head h2{max-width:27ch}.section-head .small{max-width:260px}.small{font-size:13px;color:var(--muted)}
.workspace{background:#fff;border:2px solid var(--line);border-bottom-width:5px;border-radius:23px;overflow:hidden}.casebar{padding:13px 24px;background:var(--wash);border-bottom:2px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--muted)}.casebar .case-status{display:inline-flex;background:var(--goodbg);color:var(--green);border:1px solid #b3cfba;padding:4px 11px;border-radius:999px;letter-spacing:0;text-transform:none;font-size:12px;font-weight:800;white-space:nowrap}
.casegrid{display:grid;grid-template-columns:minmax(0,1fr) 280px}.stage{padding:30px 32px 36px;min-width:0;min-height:490px}.stage h3{font-size:clamp(25px,3vw,31px);font-weight:850;margin-bottom:20px}.stage h3:focus{outline:none}.stage p{font-size:16px}.stage .eyebrow{margin-bottom:10px}.stage .dialogue{font-size:22px;font-weight:800;line-height:1.4;color:var(--dark);border-left:5px solid var(--red);background:var(--tint);padding:14px 22px;margin:22px 0}.stage .email{border:2px solid var(--line);border-radius:14px;background:var(--wash);padding:16px 20px;margin:22px 0;font-size:15px}.email b{display:inline-block;background:var(--yellow);border-radius:7px;padding:4px 10px;font-size:11px;letter-spacing:.06em;margin-bottom:10px}
.response{background:var(--wash);border-radius:14px;padding:16px 20px;margin:18px 0}
.sidebar{border-left:2px solid var(--line);padding:0 0 24px;background:#fff}.sidebar h3{font-size:14px;letter-spacing:0;margin:0;padding:15px 20px}.sidebar h3:first-child{background:var(--red);color:#fff}.facts{margin:0 0 4px}.facts div{border-bottom:1px solid var(--line);padding:11px 20px}.facts div:last-child{background:var(--tint)}.facts dt{font-size:12px;color:var(--muted);font-weight:700}.facts dd{margin:2px 0 0;font-size:24px;line-height:1.3;font-weight:850;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.facts .due{color:var(--red)}.sidebar .context{font-size:12px;color:var(--muted);margin:12px 20px 18px}.sidebar h3:not(:first-child){border-top:2px solid var(--line);background:var(--wash);color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}#evidence,.sidebar>.fine{padding:0 20px}
.evidence-list{padding:0;margin:0;list-style:none}.evidence-list li{font-size:13px;border-bottom:1px solid var(--line);padding:12px 0}.evidence-list b{display:block;color:var(--green);margin-bottom:3px}.empty{font-size:13px;color:var(--muted);padding-top:12px}
.choices{display:grid;gap:9px;margin:20px 0}.choice{width:100%;display:flex;text-align:left;align-items:center;gap:12px;background:#fff;border:2px solid var(--line);border-radius:13px;padding:13px 14px;color:var(--ink);transition:background .15s,border-color .15s}.choice:hover{background:var(--tint);border-color:var(--red)}.choice .letter{background:var(--tint);border-radius:8px;flex:0 0 28px;align-self:start;text-align:center;font-size:13px;line-height:28px;color:var(--red);font-weight:800}.choice strong{display:block;font-size:16px;font-weight:700;line-height:1.4}.choice small{display:block;color:var(--muted);font-size:13px;margin-top:4px;line-height:1.5}.choice .arrow{margin-left:auto;color:var(--red);font-weight:800}
.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}.text-button{border:0;background:none;padding:9px 3px;color:var(--red);text-decoration:underline;text-underline-offset:3px;font-size:14px;min-height:44px}.back{margin:0 0 18px;font-size:12px;color:var(--muted)}
.feedback{border:2px solid #d9c690;background:var(--amberbg);border-radius:14px;padding:19px;margin:20px 0}.feedback p{font-size:15px}.record{border:2px solid var(--line);background:var(--wash);border-radius:16px;padding:20px;margin:20px 0}.record .eyebrow{color:var(--muted)}.record dl{margin:0}.record dl div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}.record dd{margin:0;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}.record dl div:last-child{border-bottom:0}
.takeaway{margin-top:22px;background:var(--goodbg);border:2px solid #afd0b9;border-radius:14px;padding:18px 20px}.takeaway b{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--green)}.takeaway p{margin-top:8px}
.badge{display:inline-block;background:var(--goodbg);color:var(--green);font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px;margin-left:5px}.next-note{background:var(--wash);border:2px solid var(--line);border-radius:16px;padding:20px;margin-top:22px}.next-note h3{font-size:20px;margin-bottom:10px}details{margin-top:16px;font-size:14px}summary{cursor:pointer;font-weight:800;color:var(--red)}details p{margin-top:8px!important}.noscript{padding:20px;background:var(--amberbg);color:var(--amber);border-radius:14px;margin-top:20px}button[disabled]{cursor:default;opacity:.6}

/* About and footer */
.about{display:grid;grid-template-columns:75px 1fr;gap:26px;max-width:850px;padding:43px 0 55px;border-top:2px solid var(--line)}.monogram{display:grid;place-items:center;width:72px;height:72px;background:var(--red);color:#fff;border-radius:20px;font-size:31px;font-weight:850;box-shadow:0 5px var(--dark)}.about h2{max-width:27ch}.about p{color:var(--muted);margin-top:16px;max-width:66ch}
footer{border-top:1px solid var(--line);padding:20px 0;font-size:12px;color:var(--muted)}footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}footer a{color:var(--muted)}

@media(max-width:950px){.hero{gap:32px}.casegrid{grid-template-columns:minmax(0,1fr) 240px}.stage{padding:26px 24px}}
@media(max-width:860px){.hero{grid-template-columns:1fr;gap:18px;padding:38px 0}.hero h1{max-width:23ch}.example{max-width:430px;margin:28px auto 0;width:calc(100% - 12px)}.logo{width:140px}nav{font-size:13px}nav a{padding:9px 10px}}
@media(max-width:720px){header .wrap{flex-wrap:wrap;padding-top:17px;padding-bottom:12px;gap:12px;min-height:0}.hero{padding:29px 0 40px}.lead{font-size:19px}.explain{font-size:16px}.strap{font-size:19px;padding-bottom:31px}.practice-bg{padding:31px 0}.section-head{display:block}.section-head .small{margin-top:12px;max-width:none}.workspace{border-radius:18px}.casegrid{display:flex;flex-direction:column}.stage{padding:22px 19px;min-height:0}.sidebar{border-left:0;border-top:2px solid var(--line)}.facts{display:grid;grid-template-columns:repeat(3,1fr)}.facts div{border-bottom:0;padding:10px 12px}.facts dd{font-size:20px}.facts dt{font-size:11px}.casebar{padding:12px 18px}.stage .dialogue{font-size:19px}.about{padding:31px 0 40px;grid-template-columns:55px 1fr;gap:20px}.monogram{width:55px;height:55px;font-size:25px;border-radius:16px}.wrap{padding:0 18px}.actions .button{flex:1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Guided investigation: keep the learner oriented as evidence is revealed. */
.flow-steps{display:flex;list-style:none;padding:0;margin:0 0 25px;gap:10px;border-bottom:2px solid var(--line);padding-bottom:17px}
.flow-steps li{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:800;line-height:1.35;flex:1}
.flow-steps li span{flex:0 0 30px;display:grid;place-items:center;height:30px;background:#fff;border:2px solid var(--line);border-radius:50%;font-size:13px}
.flow-steps [aria-current=step]{color:var(--red)}
.flow-steps [aria-current=step] span{color:#fff;background:var(--red);border-color:var(--dark)}
.guidance{background:var(--wash);border:1px solid var(--line);border-radius:12px;padding:15px 17px;margin:22px 0 18px}
.guidance strong{font-size:15px;font-weight:800;color:var(--red)}.stage .guidance p{font-size:15px;line-height:1.55;margin-top:6px;color:var(--ink)}
.asked-question{margin-bottom:18px}.asked-question span{font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.stage .asked-question p{font-size:21px;font-weight:800;line-height:1.4;margin-top:7px;color:var(--dark)}
@media(max-width:480px){nav{width:100%;justify-content:space-between;gap:2px}nav a{font-size:12px;padding:8px}.logo{width:125px}.flow-steps{gap:6px}.flow-steps li{display:block;font-size:11px}.flow-steps li span{margin-bottom:6px;width:30px}.actions .button{flex-basis:100%}.facts{grid-template-columns:1fr}.facts div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}}

/* Training rooms: shared illustrated badges, one available scenario. */
.training-rooms{padding:56px 0 60px}
.room-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
.room-card{grid-column:span 2;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:26px;border:2px solid var(--line);border-bottom-width:4px;border-radius:20px;background:#fff}
.room-card:nth-child(4){grid-column:2 / span 2}
.room-card:nth-child(5){grid-column:4 / span 2}
.room-icon{display:block;width:104px;height:104px;object-fit:contain;margin:0 0 20px}
.room-card h3{font-size:23px;font-weight:850;color:var(--red)}
.room-description{margin:12px 0 22px;font-size:15px;line-height:1.6;color:var(--muted)}
.room-link,.room-status{margin-top:auto;font-size:13px;font-weight:800;line-height:1.4}
.room-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--red);color:#fff;border:2px solid var(--dark);border-bottom-width:4px;border-radius:14px;padding:10px 16px;text-decoration:none;min-height:44px}
.room-link:hover{background:var(--dark)}
.room-status{display:inline-flex;background:var(--wash);color:var(--muted);border-radius:999px;padding:6px 12px}
.room-card-open{background:var(--wash)}
.available{display:inline-flex;margin:-6px 0 12px;background:var(--goodbg);color:var(--green);border:1px solid #b3cfba;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:0}
@media(max-width:950px){.room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.room-card,.room-card:nth-child(4),.room-card:nth-child(5){grid-column:auto}.room-card:last-child{grid-column:1 / -1;max-width:calc((100% - 20px)/2);width:100%;justify-self:center}}
@media(max-width:720px){.training-rooms{padding:36px 0 40px}.room-card{padding:22px}.room-icon{width:92px;height:92px;margin-bottom:16px}nav a{white-space:nowrap}}
@media(max-width:540px){.room-grid{grid-template-columns:minmax(0,1fr)}.room-card:last-child{grid-column:auto;max-width:none}}

/* Shared room navigation and simple landing pages. */
.room-menu{position:relative;margin:0;font:inherit}
.room-menu summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:12px;color:var(--muted);font:inherit;list-style:none}
.room-menu summary::-webkit-details-marker{display:none}
.room-menu summary:hover,.room-menu[open] summary{background:var(--wash);color:var(--red)}
.room-menu summary span{font-size:11px}
.room-submenu{position:absolute;right:0;top:calc(100% + 7px);z-index:20;width:240px;max-width:calc(100vw - 36px);padding:8px;background:var(--paper);border:2px solid var(--line);border-bottom-width:4px;border-radius:16px;box-shadow:0 8px 22px #33333312}
.room-submenu a{display:block;min-height:44px;padding:11px 12px;white-space:normal}
.room-submenu a[aria-current="page"]{background:var(--tint);color:var(--red)}
.room-landing{min-height:65vh;padding:40px 0 80px}
.room-back{display:inline-block;font-size:14px;margin-bottom:38px;text-underline-offset:4px}
.room-landing .room-icon{width:120px;height:120px;margin-bottom:22px}
.room-landing h1{color:var(--red);max-width:20ch}
.room-landing-action{margin-top:28px}
@media(max-width:480px){nav{justify-content:flex-start;gap:8px}.room-menu summary{font-size:12px;padding:8px}.room-submenu{right:auto;left:0;width:230px}.room-submenu a{font-size:14px}.room-landing{padding-top:28px}.room-back{margin-bottom:28px}}

/* Cash Room invitation and standalone scenario. */
.room-intro{max-width:54ch;margin-top:20px;font-size:19px;line-height:1.6;color:var(--muted)}
.scenario-card{max-width:800px;margin-top:36px;padding:32px;border:2px solid var(--line);border-bottom-width:4px;border-radius:20px;background:var(--wash)}
.scenario-card h2{max-width:27ch;color:var(--red)}
.scenario-description{max-width:62ch;margin-top:18px;line-height:1.65}
.scenario-page .room-back{margin-bottom:28px}
.scenario-page .section-head h1{max-width:25ch;font-size:clamp(28px,3.5vw,42px)}
@media(max-width:540px){.scenario-card{padding:22px}.room-intro{font-size:17px}}

/* About: background, practical benefits and direct contact details. */
.about h3{margin-top:28px;font-size:21px}
.about ul{padding-left:22px;margin:18px 0;color:var(--muted);max-width:66ch}
.about li+li{margin-top:10px}
.about .about-contact{list-style:none;padding-left:0}
.about-contact a{overflow-wrap:anywhere;text-underline-offset:3px}
