/* Local fonts: Limelight for the wordmark, Host Grotesk for the interface. */
@font-face{font-family:Limelight;src:url('/Limelight-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Host;src:url('/HostGrotesk-Variable.ttf') format('truetype');font-weight:300 800;font-display:swap}
body{font-family:Host,system-ui,sans-serif}
.shell{max-width:1160px;padding-inline:36px}
.site-head{background:var(--page);backdrop-filter:none;-webkit-backdrop-filter:none}
.head-row{height:96px}
.brand{display:inline-flex;align-items:center;min-height:44px;gap:8px;text-decoration:none;color:var(--ink,#171715)}
.brand-wordmark{font-family:Limelight,Georgia,serif;font-size:30px;font-weight:400;line-height:1;letter-spacing:-.025em;white-space:nowrap}
.sync-btn{font-size:12px;gap:8px;min-height:44px;padding-inline:8px}
.site-tabs{gap:28px;padding:0;overflow-y:hidden}
.site-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:12px 0 16px;border:0;border-radius:0;min-height:50px;font-size:14px;color:var(--muted);font-weight:400}
.site-tab[aria-current=page]{background:transparent;color:var(--ink)}
.site-tab[aria-current=page]::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent)}
.main-wrap{padding-top:48px;padding-bottom:56px}
.eyebrow{font-size:13px;font-weight:400;letter-spacing:0;text-transform:none;gap:9px}
.eyebrow::before{width:5px;height:5px}
h1,h2,h3{font-family:Host,system-ui,sans-serif;font-weight:600;letter-spacing:-.035em}
h1{font-size:clamp(44px,5.3vw,66px);line-height:1.12}
h2{font-size:29px;line-height:1.23}
h3{font-size:22px;line-height:1.3}
.hero h1{margin-top:16px}
.hero .lead{font-size:15px;line-height:1.8;margin-top:20px;max-width:50ch}
.home-hero{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:48px;margin-bottom:48px}
.home-hero h1{font-size:clamp(42px,4.5vw,59px);text-wrap:initial}
.hero-copy{padding-bottom:0}
.hero-link{display:inline-flex;gap:12px;align-items:center;min-height:44px;margin-top:20px;text-decoration:none;font-size:13px}
.hero-link svg{width:17px;height:17px;color:var(--accent)}
.hero-feature{padding:0;border:0;background:transparent;min-width:0;text-align:left;display:block}
.feature-image{display:block;padding:10px;background:#fff;border:1px solid var(--line);border-radius:5px;box-shadow:0 5px 18px #17171507}
.feature-image img{display:block;width:100%;height:auto;aspect-ratio:1200/949;object-fit:contain}
.feature-caption{display:flex;align-items:center;justify-content:space-between;padding:16px 0 0;gap:16px}
.feature-kicker{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
.feature-caption strong{font-family:Host,system-ui,sans-serif;font-size:21px;line-height:1.4;font-weight:500;letter-spacing:-.02em}
.feature-caption .arrow{border:0;color:var(--accent)}
.section-label{margin:32px 0 18px;scroll-margin-top:22px;gap:16px}
.section-label h2{font-family:Host,system-ui,sans-serif;font-size:24px;font-weight:500;letter-spacing:-.02em}
.section-label span{font-size:11px}
.course-grid{gap:16px}
.course-card{padding:28px;border-radius:16px;box-shadow:none;min-height:240px}
.course-top{margin-bottom:24px}
.course-icon{background:transparent;width:28px;height:28px;border-radius:0;color:var(--accent);font-size:23px;font-weight:400;letter-spacing:-.02em}
.course-icon svg{width:24px;height:24px;stroke-width:1.25}
.course-card h2{font-size:29px;letter-spacing:-.02em;line-height:1.25}
.course-card p{font-size:13px;line-height:1.75;max-width:45ch;margin-top:8px}
.course-foot{margin-top:auto;padding-top:24px;font-size:11px}
.count{font-size:11px}
.arrow{width:28px;height:28px}
.topic-list,.book-panel,.artist-panel,.reading,.question-panel,.result-panel{border-radius:16px;box-shadow:none}
.topic-row{padding:24px;gap:20px}
.topic-title{display:block;min-height:44px;font-weight:400;letter-spacing:0}
.btn{font-weight:400;font-size:13px;line-height:1.4;min-height:48px;padding-inline:20px;gap:8px}
.btn.small{font-size:12px;min-height:44px;padding-inline:16px}
.continue h3{font-family:Host,system-ui,sans-serif;letter-spacing:0;font-size:16px}
.book-copy h2,.artist-copy h2{font-size:34px;font-weight:600;letter-spacing:-.025em;line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
.artist-cover{border-radius:4px}
.chip{font-size:11px;letter-spacing:0}
.reading{font-size:15px;line-height:1.9;padding:36px 42px}
.reading h2{font-size:27px;line-height:1.3;margin-top:34px}
.reading h3{font-size:23px;line-height:1.3}
.reading p{max-width:75ch}
.detail-head h1{font-size:clamp(34px,4vw,48px);font-weight:600;line-height:1.22;letter-spacing:-.025em}
.question-prompt{font-family:Host,system-ui,sans-serif;font-size:25px;font-weight:400;line-height:1.45;letter-spacing:-.015em}
.question-label{text-transform:none;letter-spacing:0;font-size:12px}
.option,.pair-button{font-weight:400}
.question-artwork img,.art-gallery img{border-radius:4px}
.foot{font-size:11px;line-height:1.8}
.login-page form{padding:36px;border-radius:16px;box-shadow:none}
.login-page h1{font-size:31px;font-weight:600;letter-spacing:-.025em;margin:30px 0 22px}
.login-page .brand-wordmark{font-size:27px}
@media(hover:hover) and (pointer:fine){
 .site-tab:hover,.site-tab[aria-current=page]:hover{background:transparent;color:var(--ink)}
 .site-tab:hover::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--strong)}
 .site-tab[aria-current=page]:hover::after{background:var(--accent)}
 .course-card:hover{background:#fff;border-color:var(--strong)}
 .hero-link:hover{color:var(--accent)}
 .hero-feature:hover .feature-caption strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
}
@media(max-width:900px){
 .home-hero{gap:30px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-hero h1{font-size:clamp(35px,4.7vw,46px)}
 .site-tabs{gap:23px}
 .site-tab{font-size:13px}
 .hero .lead{font-size:14px}
}
@media(max-width:700px){
 .shell{padding-inline:20px}
 .head-row{height:80px;gap:12px}
 .brand-wordmark{font-size:25px}
 .sync-btn{font-size:12px;padding:0;gap:8px}
 .site-tabs{margin-inline:-20px;padding-inline:20px;gap:24px}
 .site-tab{min-height:48px;padding:10px 0 15px;font-size:13px}
 .main-wrap{padding-top:32px;padding-bottom:36px}
 .hero{margin-bottom:28px}
 .hero h1{font-size:clamp(28px,8.5vw,42px);overflow-wrap:anywhere;hyphens:auto}
 .home-hero{grid-template-columns:1fr;gap:24px;margin-bottom:32px}
 .home-hero h1{font-size:clamp(38px,10.4vw,54px);margin-top:16px}
 .hero .lead{font-size:14px;margin-top:16px;line-height:1.8}
 .hero-link{margin-top:12px}
 .home-hero .lead br.desktop-break{display:none}
 .feature-image{padding:8px;max-width:470px;margin-inline:auto}
 .feature-image img{max-height:320px}
 .feature-caption{padding-top:12px}
 .feature-caption strong{font-size:21px}
 .section-label{margin-top:24px;align-items:baseline}
 .section-label h2{font-size:23px}
 .section-label span{font-size:10px;max-width:14ch;text-align:right}
 .course-card{padding:24px;min-height:216px;border-radius:14px}
 .course-card h2{font-size:27px;overflow-wrap:anywhere}
 .course-top{margin-bottom:20px}
 .course-card p{font-size:13px}
 .course-foot{margin-top:auto;padding-top:24px}
 .artist-panel{padding:24px;gap:24px}
 .artist-copy h2,.book-copy h2{font-size:29px}
 .book-panel{grid-template-columns:minmax(0,95px) minmax(0,1fr)}
 .book-copy h2{font-size:24px}
 .book-copy .lead{font-size:12px}
 .reading{padding:24px;font-size:14px;line-height:1.85}
 .reading h2{font-size:25px}
 .reading h3{font-size:21px}
 .detail-head h1{font-size:34px}
 .question-prompt{font-size:22px;line-height:1.5}
 .foot{gap:12px;font-size:10px}
 .login-page form{padding:28px}
}
@media(max-width:360px){
 .shell{padding-inline:16px}
 .site-tabs{margin-inline:-16px;padding-inline:16px}
 .brand-wordmark{font-size:23px}
 .sync-btn svg{display:none}
 .home-hero h1{font-size:36px}
}

/* Consistent control geometry and deliberate, brief feedback. */
.book-panel{grid-template-columns:180px minmax(0,1fr);padding:28px;gap:32px;align-items:center}
.book-copy .book-actions{margin-top:24px}
.book-actions,.detail-actions{gap:12px;align-items:stretch}
.artist-panel{padding:28px;gap:32px}
.artist-copy .book-actions{margin-top:24px}
.topic-actions{gap:12px}
.topic-list .course-icon{flex:none}
.bread{gap:8px;min-height:44px}
.question-panel{padding:32px}
.options,.pairs{gap:12px;margin-top:24px}
.pairs-col{gap:12px}
.option{min-height:56px;padding:16px;gap:12px}
.pair-button{padding:16px;min-height:64px}
.sequence{gap:12px;margin-top:24px}
.sequence button{min-height:56px;padding:16px;gap:12px}
.question-aids{gap:12px;margin-top:16px}
.feedback{margin-top:24px;padding:20px}
.feedback{transition:opacity 160ms var(--ease)}
@starting-style{.feedback{opacity:0}}
.dock{padding:24px 24px calc(20px + env(safe-area-inset-bottom))}
.dock .btn{min-height:48px}
.toast{border-radius:16px;line-height:1.6;padding:12px 20px;opacity:1;transition:opacity 160ms var(--ease),transform 160ms var(--ease),display 160ms;transition-behavior:allow-discrete}
.toast[hidden]{opacity:0;transform:translate(-50%,8px)}
@starting-style{.toast{opacity:0;transform:translate(-50%,8px)}}
body:has(.dock) .toast{bottom:calc(112px + env(safe-area-inset-bottom))}
.hero-link,.brand{transition:transform 120ms var(--ease)}
.hero-link:active,.brand:active{transform:scale(.98)}
html[data-input=keyboard] *,html[data-input=keyboard] *::before,html[data-input=keyboard] *::after{transition:none!important;animation:none!important}
html[data-input=keyboard] .hero-link:active,html[data-input=keyboard] .brand:active{transform:none}
.login-page form{animation:none}
.login-page input,.login-page button{height:48px;line-height:1.4}
.login-page button{margin-top:12px}
@media(max-width:700px){
 .book-panel{grid-template-columns:100px minmax(0,1fr);padding:24px;gap:24px;align-items:start}
 .book-copy{display:contents}
 .book-copy>.chip{align-self:start;white-space:normal}
 .book-copy>h2,.book-copy>.lead,.book-copy>.topic-meta{grid-column:2}
 .book-panel .book-cover{grid-column:1;grid-row:1/span 4;align-self:start}
 .book-copy>h2{margin-top:0!important}
 .book-copy>.lead,.book-copy>.topic-meta{margin-top:0!important}
 .book-panel .book-actions{grid-column:1/-1;margin-top:0}
 .book-panel{row-gap:12px}
 .artist-panel{padding:24px;gap:24px}
 .topic-row{padding:20px;gap:12px}
 .topic-actions{padding-left:32px;gap:12px}
 .topic-actions .btn,.continue .btn{min-height:44px}
 .test-wrap{padding:24px 20px 144px}
 .question-panel{padding:24px}
 .option{padding:16px;min-height:56px;gap:12px}
 .pair-button{padding:12px;min-height:68px}
 .dock{padding-inline:20px}
 .reading{padding:24px}
 .detail-actions .btn{min-height:48px}
}
@media(max-width:440px){
 .book-actions,.detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .book-actions>.btn,.detail-actions>.btn{min-width:0;width:100%;min-height:48px;padding:10px 12px;white-space:normal;text-align:center}
 .book-actions>.btn:last-child:nth-child(odd),.detail-actions>.btn:last-child:nth-child(odd){grid-column:1/-1}
 .book-panel{grid-template-columns:80px minmax(0,1fr);gap:12px 20px}
 .book-cover{min-height:0;padding:12px}
 .book-copy h2{font-size:22px;line-height:1.25}
 .book-copy .lead{font-size:13px}
 .section-label h2{font-size:21px}
 .topic-actions{padding-left:0;justify-content:space-between}
}
@media(max-width:360px){
 .test-wrap{padding-inline:16px}
 .question-panel,.reading,.artist-panel,.book-panel,.course-card{padding:20px}
 .dock{padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .hero-link:active,.brand:active{transform:none}
}
