/* Homepage in Heute: white page, heavy type and solid der, die, das blocks. Drawn for a phone first. */
.home-page .home-header{gap:20px;background:var(--bg)}
.home-header-practice{color:var(--ink-muted)!important}
.home-page .home-header :is(.home-signin,.home-register){display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap-min);font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap}
.home-page .home-register{padding:0 16px;border:2px solid var(--ink);border-radius:var(--radius-lg)}
.home-page :is(#main,#home-session-status){width:100%;max-width:1160px;margin:0 auto;padding:var(--space-8) var(--space-8) 0;font-size:16px;line-height:1.5}
.home-page #main [hidden]{display:none!important}
.home-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:var(--space-12);align-items:center;margin-bottom:var(--space-12)}
.home-promise{display:flex;flex-direction:column;gap:14px}
.home-page h1{margin:0;font-size:clamp(44px,4.1vw,60px);font-weight:900;line-height:1.02;letter-spacing:-.04em}
:is(.home-page,.signed-in-home) h1 .dl-highlight{border-radius:10px;padding:0 8px;margin-inline-start:-8px}
.home-lead{margin:0;font-size:17px;color:var(--ink-muted)}
.home-page .home-start{margin-top:var(--space-1);max-width:420px}
.home-account{margin:0;font-size:15px;color:var(--ink-muted)}
.home-page :is(.home-account a,.home-returning a,.home-link,.home-demo-next){display:inline-flex;align-items:center;gap:var(--space-2);min-height:var(--tap-min)}
.home-page :is(.home-link,.home-demo-next){align-self:flex-start}

/* First sentence: the Highlight panel with AnswerOption buttons. */
.home-demo{min-width:0}
.home-demo-top{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2)}
.home-demo h2{margin:0;font-size:15px;font-weight:900;line-height:1.3;letter-spacing:0}
.home-demo-line{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3)}
.home-demo-line>div{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
.home-german{overflow-wrap:anywhere}
.home-region-context{margin:0;font-size:15px;color:var(--ink-muted)}
.home-demo audio{width:100%}
.home-listen{flex:none;position:relative}
.home-listen>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-listen[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.home-demo-choices{border:0;padding:0;margin:0;min-width:0}
.home-demo-choices legend{padding:0;margin-bottom:var(--space-3);font-weight:700}
.home-demo-choices .dl-answer{min-width:0;padding:0 var(--space-2)}
.home-demo-choices .dl-answer:disabled{cursor:default}
.home-choice-result{display:none;flex:none}
.home-demo-choices .is-correct .home-choice-result--correct,.home-demo-choices .is-wrong .home-choice-result--wrong{display:block}
.home-demo-feedback,.home-audio-status,.home-demo-static{margin:0;font-size:15px;color:var(--ink-muted)}
.home-demo-static span{display:block;margin-top:var(--space-1)}

/* Sections */
.home-journey{margin:0;font-size:15px;color:var(--ink-muted)}
.home-page .home-journey a{display:inline-flex;align-items:center;min-height:var(--tap-min)}
.home-path,.home-method,.home-page .journey-tools{margin:0 0 var(--space-12);padding:0}
.home-section-intro{display:flex;flex-direction:column;gap:6px;max-width:650px;margin-bottom:18px}
.home-page :is(.home-section-intro,.home-method,.journey-tools) h2{margin:0;font-size:30px;font-weight:900;line-height:1.05;letter-spacing:-.03em;text-wrap:balance}
.home-page :is(.home-section-intro,.journey-tools)>p{margin:0;color:var(--ink-muted);line-height:1.5}
.home-page .journey-tools>h2{margin-bottom:6px}
.home-page .journey-tools .dl-tiles{margin:18px 0;grid-template-columns:repeat(4,minmax(0,1fr))}
.home-page .journey-tools .journey-editorial{font-size:15px}
.home-page .journey-editorial a{display:inline-flex;align-items:center;min-height:var(--tap-min);color:var(--link);font-weight:700}
.home-path ol{list-style:none;margin:0 0 var(--space-2);padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}
.home-path li{display:flex;min-width:0}
.home-path .dl-lesson{flex:1;width:auto}
.home-path .dl-lesson:hover,.home-page .dl-tile:hover{filter:brightness(1.08)}
.home-page .dl-tile:not(.dl-tile--wide):hover{filter:brightness(.96)}
.home-lesson-title{display:block}
.home-method{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-8)}
.home-method p{margin:0 0 var(--space-4);color:var(--ink-muted)}

/* Closing block: the one place highlight is used as a surface. Text on it stays dark in both themes. */
.home-close{display:flex;flex-direction:column;gap:14px;margin-bottom:var(--space-5);padding:var(--space-12);background:var(--highlight);color:var(--on-highlight);border-radius:var(--radius-2xl)}
.home-close h2{margin:0;font-size:clamp(40px,4.4vw,56px);font-weight:900;line-height:.98;letter-spacing:-.04em}
.home-close p{margin:0}
.home-close .home-returning{font-size:15px}
.home-page .home-close a:not(.dl-btn){color:inherit;font-weight:700;text-decoration:underline}
html .home-page .home-close .dl-btn,html .home-page .home-close .dl-btn:hover{background:var(--on-highlight);border-color:var(--on-highlight);color:#fff}
.home-returning span{margin-inline:4px}
.home-page .home-footer{width:100%;max-width:1160px;padding:14px var(--space-8) 20px;margin:auto auto 0;font-size:12px}
.home-page .home-footer :is(a,.analytics-settings){color:var(--ink-muted);min-height:32px;display:inline-flex;align-items:center;text-decoration:none}
.home-page .home-footer :is(a,.analytics-settings):hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.home-page #sidebar-toggle:disabled,.home-page #dictionary-theme:disabled{visibility:hidden}

@media(min-width:901px) and (max-width:1180px){.home-hero{grid-template-columns:minmax(0,1fr);gap:var(--space-8)}.home-promise,.home-demo{max-width:620px}.home-page .journey-tools .dl-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
 .home-page .workspace>.home-header{padding:10px var(--space-5);gap:var(--space-2);min-height:64px}
 .home-page .home-header .dict-mobile-brand{font-size:18px;font-weight:700;gap:10px;letter-spacing:-.02em}
 .home-page .home-header .header-actions{gap:10px}
 .home-header-practice,.home-page .home-header .home-register{display:none}
 .home-page #main{padding:0 var(--space-5)}
 .home-page #home-session-status{padding:24px var(--space-5) 0}
 .home-hero{grid-template-columns:minmax(0,1fr);gap:var(--space-8);padding-top:28px}
 .home-page h1{font-size:44px;line-height:.98}
 .home-page .home-start{max-width:none}
 /* Panels and blocks sit space-3 from the screen edge; text keeps the space-5 gutter. */
 .home-demo,.home-close{margin-inline:calc(var(--space-3) - var(--space-5))}
 .home-path ol{display:flex;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;margin-inline:calc(-1*var(--space-5));padding-inline:var(--space-5);scroll-padding-inline:var(--space-5)}
 .home-path li{flex:none;scroll-snap-align:start}
 .home-path .dl-lesson{width:250px}
 .home-page .journey-tools .dl-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-method{grid-template-columns:1fr;gap:var(--space-4)}
 .home-close{padding:var(--space-8) var(--space-5)}
 .home-close h2{font-size:40px}
 .home-page .home-footer{padding:14px var(--space-5) 104px}
 .home-page .home-footer :is(a,.analytics-settings){min-height:44px}
}
@media(max-width:359px){.home-page h1{font-size:38px}.home-german{font-size:32px}.home-page .workspace>.home-header{padding-inline:var(--space-3)}.home-page .home-header .dict-mobile-brand{font-size:16px}}
/* The signed-in label is wider than "Sign in": phones get the compact wordmark every other page uses. */
@media(max-width:480px){.home-page .home-header .dict-mobile-brand{font-size:14px;gap:8px}.home-page .home-header .dict-mobile-brand img{width:26px;height:26px}}
@media(max-width:359px){.home-page .home-header .dict-mobile-brand>span{display:none}}
