/* Wuffbereit: calm layout, based on the approved three-screen sketch. */
:root{--line:#dedfd9;--white:#fffdf7}
body{background:var(--paper)}
h1,.hero h2,.encouragement h2,.learning-success h2{font-family:var(--font-headline);font-weight:var(--headline-weight)}
h1{font-size:clamp(42px,11.8vw,57px);line-height:1.01;letter-spacing:-.045em;overflow-wrap:break-word}
.app-shell{max-width:520px;box-shadow:none;border:0;border-radius:0}
.topbar{height:112px;padding:12px 26px}
.brand-lockup{width:94px;height:79px}
.account-pill{border:0;border-radius:50%;padding:10px;min-width:44px;min-height:44px}
.account-pill .icon{width:27px;height:27px}
.account-pill span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.view{padding:14px 26px 32px}
.hero,.hero.small{padding-top:10px}
.home-intro .hero h1{margin-bottom:0}
.hero-art{width:100%;max-height:260px;aspect-ratio:1.6;object-fit:cover;margin:8px 0 12px}
.home-study .lead{font-size:19px;line-height:1.5;margin-bottom:10px}
.button{min-height:58px;border-radius:18px;padding:17px 46px 17px 20px;font-size:16px}
.button.secondary{border-color:var(--line)}
.text-button{text-decoration:none;color:var(--ink);font-weight:500;margin:8px auto 0}
.text-button:hover,.quiet-link:hover{text-decoration:underline;text-underline-offset:4px}




.progress-track{height:7px;background:#e0e3e8;margin-bottom:10px}

.quiet-link{border:0;background:none;color:var(--blue);padding:12px 0;min-height:44px;text-align:left;font-size:13px}
.home-study>.fine-print{margin:3px 0;color:var(--muted);font-size:11px;text-align:left}

.section-heading{border:0;padding-top:0;margin-top:28px;margin-bottom:12px}
.section-heading h2{font-size:20px}
.topic-row{border:0;padding:11px 0;grid-template-columns:34px minmax(0,1fr) 72px 32px;gap:10px}
.topic-symbol{display:grid;place-items:center}

.topic-copy strong{font-size:14px;font-weight:600}
.topic-row em{font-size:12px;font-weight:500;color:var(--muted)}
.mini-progress{height:6px;background:#e0e3e8}
.question-head{font-size:14px;font-weight:550;letter-spacing:0}
body:has(.question-view.active) .topbar,body:has(.question-view.active) .bottomnav,body:has(.question-view.active) .app-footer{display:none}
body:has(.question-view.active) .app-shell{padding-top:24px;padding-bottom:32px}
.icon-button{font-size:32px;font-weight:300;min-height:44px;min-width:44px}
.step-track{gap:0;margin:8px 0 35px;border-radius:99px;overflow:hidden}
.step-track span{height:6px;border-radius:0}
.question-card>.tag{background:none;color:var(--muted);border-radius:0;padding:0;font-size:14px;margin-bottom:20px}
.question-card>h1{font-family:var(--font-headline);font-weight:var(--headline-weight);font-size:clamp(28px,7.8vw,36px);line-height:1.13;letter-spacing:-.03em;margin-bottom:29px}
.answer-grid{gap:12px}
.answer-option{grid-template-columns:24px minmax(0,1fr);min-height:72px;gap:14px;padding:17px 16px;border-radius:16px;background:transparent}
.answer-key{display:none}
.answer-check{grid-column:1;grid-row:1;width:24px;height:24px;border-radius:8px}
.answer-text{grid-column:2;grid-row:1;font-size:16px;font-weight:450;line-height:1.45}
.answer-option.selected{box-shadow:none;border-color:#c4d3ff}
.answer-option.correct{border-color:var(--success)}
.answer-option.wrong{border-color:var(--danger)}
.multi-note{font-size:12px;margin:16px 4px 0}
.unsure{margin:28px 4px;min-height:44px;font-size:14px}
.question-actions{margin-top:10px}
.feedback{padding:20px;border:0!important}
.question-figure{border:0;background:#fff;border-radius:16px}



#practiceCaption{font-size:12px;margin:0 0 24px}
.badge-collection{margin:36px 0 22px}
.badge-collection .section-heading{margin-top:0}
.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
.badge-tile img{width:min(100%,150px)}
.badge-tile.unlocked p,.badge-tile.unlocked .badge-status{display:none}
.badge-tile h3{font-size:14px;font-weight:550}
.badge-tile.locked img{opacity:.55}
.badge-discovery{margin-top:14px}
summary{cursor:pointer;min-height:44px;padding:13px 0;font-size:14px;color:var(--blue)}
summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.badge-discovery summary{list-style:none;text-align:center}
.badge-discovery summary::-webkit-details-marker{display:none}
.badge-discovery[open] summary{margin-bottom:12px}
#badgeEmpty{font-size:14px;line-height:1.5}






.encouragement{background:transparent;padding:0;margin-top:42px}
.encouragement img{max-height:220px;object-fit:contain}
.encouragement p{max-width:340px}
.learning-success{background:transparent;padding:0;gap:14px;margin:24px 0 0}
.learning-success img{max-height:185px}
.card{background:transparent;border:0;border-radius:0;padding:0}
.exam-card{padding-top:12px}
.detail-row{padding:20px 0}

.auth-form input{border-radius:12px;background:var(--white)}
.supporter-card{padding:22px;border-radius:18px;background:#eff4d7}
.bottomnav{width:min(520px,100%);background:var(--paper);padding-top:12px;border-top:1px solid #dedfd980}
.navbtn{min-height:50px;font-size:12px}
.navbtn.active{color:var(--blue)}
.app-footer{margin-top:15px;padding:24px 26px 8px;border:0}
.badge-celebration{border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 32px #08143e18}
.public-main h1{font-family:var(--font-headline);font-weight:var(--headline-weight)}
@media(min-width:700px){body{padding:24px}.app-shell{border-radius:24px;border:1px solid #dedfd980}.view{padding:20px 32px 36px}.topbar{padding-left:32px;padding-right:32px}}
@media(max-width:999px){.progress-layout>.encouragement{order:1;margin-top:38px}.account-layout>.encouragement{order:1;margin-top:38px}}
@media(min-width:1000px){
 body{padding:28px}.app-shell{max-width:1100px;min-height:calc(100svh - 56px);padding-bottom:20px}
 .topbar{height:126px;padding:18px 48px;border:0}.brand-lockup{width:112px;height:94px}
 .bottomnav{top:39px;width:380px;padding:0;border:0}.navbtn.active{background:transparent}.navbtn{border-radius:99px}
 .view{padding:32px 60px 46px}.home-layout{grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}
 h1{font-size:72px}.home-study{padding-top:35px}.hero-art{aspect-ratio:1.6;max-height:340px;margin:15px 0 0}
 .home-study .lead{font-size:23px}
 .hero.small{max-width:700px}.hero.small h1{font-size:62px}.hero.small .lead{margin-top:18px}
 .question-view{max-width:790px;padding-top:20px}.question-card>h1{font-size:38px}.answer-option{min-height:76px}
 .progress-layout,.account-layout{grid-template-columns:1.2fr 1fr;gap:85px}.progress-layout>.encouragement{margin-top:65px}
 .badge-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 14px}.badge-tile img{max-width:135px}
 .account-layout .encouragement{margin-top:35px}.encouragement img{max-height:260px}.learning-success{max-width:650px}
 .app-footer{padding-left:60px}.result-intro h1{font-size:44px}.public-shell .topbar{padding-left:32px;padding-right:32px}
}
@media(max-width:359px){.topbar,.view{padding-left:20px;padding-right:20px}.hero-art{max-height:215px}h1{font-size:40px}.topic-row{grid-template-columns:30px minmax(0,1fr) 45px 30px;gap:8px}.answer-option{gap:10px;padding:15px 12px}.answer-text{font-size:15px}.question-card>h1{font-size:27px}}
