/* Landing-only layout. The learning screens retain their existing shell. */
body.body-home { padding-bottom: 0; }
.body-home .app-bottom-nav { display: none; }
#s-home { max-width: none; padding: 0; gap: 0; }
#s-home > .content { width: 100%; }
#s-home > .sidebar { display: none; }
#s-home .lab-hero {
  --lab-ink: #062d2b;
  height: calc(100svh - var(--landing-header-height, 122px));
  min-height: 580px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--lab-ink);
  isolation: isolate;
}
#s-home .lab-hero::before, #s-home .lab-hero::after { content: none; }
.lab-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lab-scene img {
  position: absolute;
  height: 100%;
  width: auto;
  max-width: none;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
html[data-learning-language="it"] .lab-scene img { height: 92%; }
.lab-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,27,26,.5), transparent 34%, transparent 78%, rgba(3,27,26,.65)); }
#s-home .hero-popup-inner { display: flex; flex-direction: column; height: 100%; gap: 0; padding: clamp(24px, 4vh, 48px) 32px 22px; }
#s-home .hero-copy { order: 0; align-items: center; text-align: center; gap: 14px; max-width: 920px; }
#s-home .hero-kicker { color: #a5e1d5; background: none; border: 0; padding: 0; letter-spacing: 2.5px; font-size: 10px; }
#s-home .hero-copy h1 { font-size: clamp(32px, 3.8vw, 58px); line-height: 1.04; letter-spacing: -.035em; color: #fffdf0; max-width: 23ch; text-wrap: balance; text-shadow: 0 3px 18px #062d2b; }
#s-home .hero-copy > p { color: #c5dcd5; font-size: 15px; line-height: 1.5; max-width: 57ch; text-wrap: balance; }
#s-home .hero-actions { position: absolute; inset: 53% 6% auto; display: flex; flex-direction: row; width: auto; justify-content: space-between; flex-wrap: nowrap; gap: 24px; margin: 0; }
#s-home .hero-action-item { min-width: 0; width: 245px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 12px; align-items: flex-start; }
.lab-route-number { color: #a2c9bc; font-size: 10px; font-weight: 700; letter-spacing: 3px; }
#s-home .hero-action-item .btn { width: 100%; min-height: 54px; padding: 17px 12px; border-radius: 8px; font-size: 14px; text-align: center; white-space: normal; display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 24px #001b1a55; }
#s-home .hero-action-item .btn-teal { background: #f4d26a; border: 1px solid #f4d26a; color: #123d38; }
#s-home .hero-action-item .btn-outline { background: #123e3be8; color: #f7f7e8; border: 1px solid #addace88; }
#s-home .hero-action-item .btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
#s-home .hero-action-desc { color: #d2e4dc; font-size: 12px; line-height: 1.6; text-shadow: 0 1px 8px #002b27; }
.lab-scroll { margin-top: auto; display: flex; align-items: center; gap: 12px; color: #d5e5db; text-decoration: none; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; }
.lab-scroll > span:last-child { font-size: 20px; }
#s-home a:focus-visible, #s-home button:focus-visible, #s-home summary:focus-visible { outline: 3px solid #e5b53f; outline-offset: 5px; }
.landing-content { max-width: 1160px; margin: 0 auto; padding: 72px 32px 80px; }
#s-home .home-progress-card { margin: 0 0 64px; padding: 0 0 48px; border: 0; border-bottom: 1px solid #d9e6df; border-radius: 0; background: none; box-shadow: none; }
#s-home .home-progress-head { align-items: center; margin-bottom: 30px; }
#s-home .home-progress-head h2, #s-home .android-install-copy h2, #s-home .seo-answer-head h2, .landing-faq h2 { font: 700 clamp(26px, 3vw, 38px)/1.15 Cabin, sans-serif; letter-spacing: -.025em; color: #173f40; margin: 10px 0 16px; }
#s-home .home-progress-head .section-sub { font-size: 15px; line-height: 1.6; color: #526c67; }
#s-home .home-progress-cta { flex-shrink: 0; border-radius: 8px; }
#s-home .home-progress-card .stats-row { background: #e0ebe5; gap: 1px; border-radius: 12px; }
#s-home .home-progress-card .stat-box { background: #f1f6f2; padding: 24px 14px; }
#s-home .android-install-card { margin: 0 0 80px; padding: 32px; background: #eaf2ec; border: 1px solid #d4e3d9; box-shadow: none; border-radius: 20px; }
#s-home .android-install-media { background: transparent; }
#s-home .seo-answer-strip { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; margin: 0 0 72px; }
#s-home .seo-answer-head { max-width: 760px; margin-bottom: 34px; }
#s-home .seo-answer-head p { font-size: 16px; color: #526c67; line-height: 1.8; }
.landing-learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.landing-learning-grid article { border-top: 1px solid #cadbd2; padding-top: 24px; }
.landing-step { color: #479485; font: 400 32px/1 Cabin, sans-serif; }
.landing-learning-grid h3 { font: 700 21px/1.2 Cabin, sans-serif; color: #173f40; margin: 20px 0 12px; }
.landing-learning-grid p, .landing-faq p { font-size: 15px; color: #526c67; line-height: 1.8; }
.landing-faq { display: grid; grid-template-columns: 1fr 1.65fr; gap: 32px 60px; padding-top: 48px; border-top: 1px solid #d9e6df; }
.landing-faq details { border-bottom: 1px solid #d9e6df; padding: 0 0 20px; margin-bottom: 20px; scroll-margin-top: 100px; }
.landing-faq summary { position: relative; padding: 3px 32px 3px 0; list-style: none; cursor: pointer; font: 700 18px/1.45 Cabin, sans-serif; color: #173f40; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after { content: '+'; position: absolute; right: 4px; top: 0; color: #348575; font-size: 26px; font-weight: 400; }
.landing-faq details[open] summary::after { content: '−'; }
.landing-faq details p { margin-top: 14px; }
.landing-faq .seo-resource-links { grid-column: 1 / -1; border-top: 0; padding-top: 20px; }
#homeProgressHeading { scroll-margin-top: 100px; }
@media (min-width: 1700px) { #s-home .hero-actions { left: calc(50% - 720px); right: calc(50% - 720px); } }
@media (max-width: 1000px) {
  #s-home .hero-actions { left: 4%; right: 4%; }
  #s-home .hero-action-item { width: 205px; }
}
@media (max-width: 1000px) {
  #s-home .lab-hero { min-height: 440px; }
  #s-home .hero-popup-inner { padding: 24px 18px 16px; }
  #s-home .hero-copy { gap: 12px; }
  #s-home .hero-kicker { font-size: 9px; letter-spacing: 1.7px; }
  #s-home .hero-copy h1 { font-size: clamp(28px, 7.6vw, 42px); line-height: 1.06; max-width: 22ch; }
  #s-home .hero-copy > p { font-size: 12px; line-height: 1.5; max-width: 40ch; }
  .lab-scene img { height: 75%; bottom: 70px; mask-image: linear-gradient(180deg, transparent, #000 10%, #000); }
  html[data-learning-language="it"] .lab-scene img { height: 70%; }
  .lab-scene::after { background: linear-gradient(180deg, #062d2b44, transparent 45%, transparent 76%, #062d2b 100%); }
  #s-home .hero-actions { inset: auto 16px 38px; gap: 10px; align-items: stretch; }
  #s-home .hero-action-item { width: calc(50% - 5px); gap: 7px; }
  .lab-route-number { font-size: 9px; letter-spacing: 2px; }
  #s-home .hero-action-item .btn { min-height: 55px; height: 100%; padding: 10px 8px; font-size: 12px; line-height: 1.3; }
  #s-home .hero-action-desc { display: none; }
  .lab-scroll { font-size: 8px; letter-spacing: 1px; gap: 8px; }
  .lab-scroll > span:last-child { font-size: 14px; }
  .landing-content { padding: 44px 22px 48px; }
  #s-home .home-progress-head { align-items: stretch; flex-direction: column; gap: 18px; }
  #s-home .home-progress-card { margin-bottom: 36px; padding-bottom: 36px; }
  #s-home .home-progress-card .stat-box { padding: 18px 10px; }
  #s-home .android-install-card { padding: 24px; margin-bottom: 48px; }
  .landing-learning-grid { grid-template-columns: 1fr; gap: 24px; }
  .landing-learning-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 10px 14px; padding-top: 22px; }
  .landing-step { grid-row: 1 / 3; font-size: 26px; }
  .landing-learning-grid h3 { margin: 0; }
  .landing-learning-grid p { grid-column: 2; }
  #s-home .seo-answer-strip { margin-bottom: 44px; }
  .landing-faq { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
}
@media (max-height: 700px) and (min-width: 1001px) {
  #s-home .lab-hero { min-height: 480px; }
  #s-home .hero-popup-inner { padding-top: 20px; }
  #s-home .hero-copy h1 { font-size: 32px; }
  #s-home .hero-copy > p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { #s-home .btn { transition: none; } #s-home .hero-action-item .btn:hover { transform: none; } }

@media (max-width: 1000px) and (max-height: 650px) {
  #s-home .hero-popup-inner { padding-top: 16px; }
  #s-home .hero-copy { gap: 8px; }
  #s-home .hero-copy h1 { font-size: 25px; }
  #s-home .hero-copy > p { font-size: 11px; }
}

/* An illustrated installation scene, followed immediately by the FAQ. */
#s-home .landing-install {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  margin: 0 0 72px;
  overflow: hidden;
  background: #f8f4e9;
  border: 1px solid #e8e2d4;
  border-radius: 24px;
  align-items: center;
}
#s-home .landing-install::after { content: none; }
#s-home .landing-install .android-install-media { padding: 0; border: 0; box-shadow: none; border-radius: 0; background: none; min-height: 0; }
.landing-install-art { display: block; width: 100%; height: auto; }
.landing-install-content { padding: 36px 32px; }
#s-home .landing-install .android-install-kicker { color: #8a611e; letter-spacing: 2px; }
#s-home .landing-install h2 { font-size: clamp(28px, 3vw, 42px); margin: 14px 0; max-width: 13ch; text-wrap: balance; }
#s-home .landing-install .android-install-copy p { color: #526558; font-size: 15px; line-height: 1.7; }
.landing-platforms { display: flex; gap: 8px; margin: 20px 0 24px; flex-wrap: wrap; }
.landing-platforms span { padding: 7px 11px; border: 1px solid #d6d8c9; border-radius: 30px; color: #526558; font-size: 11px; font-weight: 700; }
#s-home .landing-install .android-install-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
#s-home .landing-install .btn { border-radius: 9px; background: #173f40; border-color: #173f40; min-height: 50px; padding: 16px 24px; }
#s-home .landing-install .android-install-hint { max-width: 36ch; text-align: left; font-size: 12px; line-height: 1.6; color: #627367; }
.landing-family { margin-top: 64px; padding-top: 48px; border-top: 1px solid #d9e6df; }
.landing-family-head { max-width: 640px; margin-bottom: 30px; }
.landing-family h2 { font: 700 clamp(26px, 3vw, 38px)/1.15 Cabin, sans-serif; color: #173f40; margin: 12px 0 14px; letter-spacing: -.025em; }
.landing-family-head p { color: #526c67; font-size: 15px; line-height: 1.7; }
.landing-family-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.landing-family-link { display: flex; flex-direction: column; padding: 24px; background: #f1f5ec; border: 1px solid #dce5d4; border-radius: 16px; color: #173f40; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.landing-family-link:hover { transform: translateY(-3px); box-shadow: 0 10px 25px #173f4012; }
.family-context { background: #f6f0e4; border-color: #e9dfc9; }
.family-coach { background: #f7eee9; border-color: #e9dcd2; }
.family-mark { display: flex; align-items: center; gap: 4px; min-height: 60px; font: 700 32px/1 Cabin, sans-serif; margin-bottom: 20px; }
.family-mark i { font-style: normal; font-size: 13px; padding: 7px; background: #d8e8f4; border-radius: 7px; }
.family-mark i:nth-child(2) { background: #f4dadc; }
.family-mark i:nth-child(3) { background: #e8dff8; }
.landing-family h3 { font: 700 23px/1.1 Cabin,sans-serif; margin: 0 0 12px; }
.landing-family-link p { font-size: 14px; line-height: 1.6; margin-bottom: 24px; color: #53665e; }
.family-go { margin-top: auto; font-size: 12px; font-weight: 700; }
@media (max-width: 1000px) {
  .landing-family-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #s-home .landing-install { grid-template-columns: 1fr; }
  #s-home .landing-install .android-install-media { max-width: 650px; width: 100%; justify-self: center; }
  .landing-install-content { padding: 24px 32px 32px; }
  #s-home .landing-install h2 { max-width: 100%; }
}
@media (max-width: 560px) {
  #s-home .landing-install { margin-bottom: 44px; border-radius: 18px; }
  .landing-install-content { padding: 22px; }
  #s-home .landing-install .android-install-actions { align-items: stretch; }
  #s-home .landing-install .android-install-hint { max-width: none; }
  .landing-family { margin-top: 40px; padding-top: 36px; }
  .landing-family-grid { grid-template-columns: 1fr; }
  .landing-family-link { padding: 22px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; }
  .family-mark { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: center; font-size: 24px; }
  .family-mark i { font-size: 10px; padding: 5px; }
  .landing-family h3, .landing-family-link p { margin: 0; }
  .family-go { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .landing-family-link { transition: none; } .landing-family-link:hover { transform: none; } }

.landing-install-art-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 0; }
#s-home .landing-install-art-button:focus-visible { outline: 4px solid #e5b53f; outline-offset: -6px; }
.landing-install-art-button:hover:not(:disabled) { filter: brightness(1.025); }
.landing-install-art-button:disabled { cursor: default; }

/* Learning language is distinct from the language of the interface. */
[data-german-only][hidden] { display: none !important; }
.topbar-copy { flex-wrap: wrap; }
.learning-select-label { font-size: 11px; color: #52665c; }
.learning-select { max-width: 160px; border: 1px solid #ffffff38; border-radius: 6px; padding: 5px 25px 5px 8px; background: #fff; color: #173f40; font: 700 12px Cabin,sans-serif; cursor: pointer; }
.interface-language { display: flex; align-items: center; gap: 9px; }
.interface-language > span { font-size: 10px; color: #52665c; }
.hero-language-picker { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 4px; border: 1px solid #a5e1d533; background: #082d2bc9; border-radius: 30px; backdrop-filter: blur(12px); }
.hero-language-picker a { padding: 8px 14px; min-height: 36px; border-radius: 24px; text-decoration: none; color: #d6ebe3; font: 700 12px Cabin,sans-serif; }
.hero-language-picker a[aria-current="page"] { background: #cce9df; color: #153d37; }
.hero-language-picker a:last-child { font-size: 11px; font-weight: 400; }
.hero-language-picker a:focus-visible, .learning-select:focus-visible, .world-languages a:focus-visible { outline: 3px solid #edc45e; outline-offset: 3px; }
html[data-learning-language="en"] .hero-language-picker a[aria-current="page"] { background: #f4d26a; color: #3d3010; }
html[data-learning-language="en"] #s-home .hero-kicker { color: #f4d26a; }
html[data-learning-language="en"] .topbar-badge { background: #f4d26a; color: #3d3010; }
#s-home .hero-copy { gap: 10px; }
#s-home .hero-popup-inner { padding-top: clamp(16px, 2.5vh, 28px); }
.landing-world { position: relative; margin-top: 64px; padding: clamp(28px,4vw,52px); background: radial-gradient(ellipse at 95% 0,#32675b 0,transparent 55%),#123e39; color: #fff9e8; border-radius: 24px; overflow: hidden; scroll-margin-top: 24px; }
.world-copy { max-width: 650px; position: relative; }
.world-kicker { font: 700 11px/1.5 Cabin,sans-serif; letter-spacing: .25em; color: #f1cf74; }
.landing-world h2 { font: 700 clamp(30px,4vw,48px)/1.08 Cabin,sans-serif; letter-spacing: -.025em; margin: 15px 0; max-width: 20ch; }
.landing-world p { color: #bfd4c9; font-size: 15px; line-height: 1.7; max-width: 53ch; }
.world-languages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.world-languages > * { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 22px 17px; border-radius: 14px; border: 1px solid #cce9df38; background: #ffffff08; color: #fff9e8; text-decoration: none; }
.world-languages a:hover { background: #ffffff14; }
.world-languages a[aria-current="page"] { border-color: #f1cf74; background: #d2b05712; }
.world-code { display: grid; place-items: center; height: 42px; width: 42px; background: #cce9df; color: #123e39; border-radius: 50%; font: 700 14px Cabin,sans-serif; margin-bottom: 23px; }
.world-languages [data-learning-link="en"] .world-code { background: #f4d26a; }
.world-languages [data-learning-link="es"] .world-code { background: #efb99b; }
.world-languages h3 { font: 700 23px Cabin,sans-serif; margin: 0 0 5px; }
.world-languages > * > span:not(.world-code) { color: #b6cec3; font-size: 12px; }
.world-languages strong { font: 700 11px/1.5 Cabin,sans-serif; margin-top: 23px; }
.world-languages .world-coming { opacity: .65; border-style: dashed; }
.landing-family-link { padding: 16px 16px 24px; overflow: hidden; gap: 0; }
.family-screen { margin: 0 0 24px; border-radius: 9px; overflow: hidden; border: 1px solid #173f4026; background: white; box-shadow: 0 8px 20px #173f4012; }
.family-screen-bar { display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px; background: #e5e7df; border-bottom: 1px solid #173f4012; }
.family-screen-bar i { width: 4px; height: 4px; border-radius: 50%; background: #98aaa0; }
.family-screen img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 850; object-fit: cover; object-position: top; }
.landing-family-link h3, .landing-family-link p, .landing-family-link .family-go { margin-left: 6px; margin-right: 6px; }
@media (max-width: 1000px) {
  .world-languages { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topbar-inner { gap: 8px; }
  .topbar-copy .learning-select-label { display: none; }
  .topbar-copy { gap: 7px; }
  .learning-select { max-width: 120px; font-size: 11px; }
  .interface-language { flex-direction: column; gap: 3px; }
  .interface-language > span { font-size: 8px; }
  #s-home .hero-copy { gap: 9px; }
  .hero-language-picker a { padding: 7px 10px; font-size: 11px; }
  #s-home .hero-copy h1 { font-size: clamp(26px,6.5vw,42px); }
}
@media (max-width: 560px) {
  .topbar-copy { max-width: 185px; }
  .topbar-badge { font-size: 9px; }
  .learning-select { padding: 3px 6px; min-height: 28px; }
  .landing-world { margin-top: 40px; border-radius: 18px; padding: 28px 20px; }
  .world-languages { gap: 8px; }
  .world-languages > * { padding: 17px 12px; }
  .world-languages h3 { font-size: 21px; }
  .world-languages strong { font-size: 10px; }
  .landing-family-link { display: flex; padding: 13px 13px 22px; }
  .landing-family-link p { margin-bottom: 20px; }
  .family-screen { margin-bottom: 20px; }
}
@media (max-width: 1000px) and (max-height: 700px) {
  #s-home .lab-hero { min-height: 0; }
  #s-home .hero-popup-inner { padding-top: 10px; }
  #s-home .hero-copy { gap: 6px; }
  #s-home .hero-copy h1 { font-size: 23px; }
  #s-home .hero-copy > p { display: none; }
  #s-home .hero-kicker { font-size: 8px; }
  .hero-language-picker a { min-height: 32px; padding: 7px 9px; }
}

@media (max-width: 860px) {
  .topbar { display: block; padding: 7px 12px; }
  .topbar-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 0; }
}

/* Guided laboratory entrances share the language identity of the landing. */
body.body-workbench { padding-bottom: 0; }
.body-workbench .app-bottom-nav { display: none; }
#s-simple, #s-advanced { max-width: none; padding: 0; gap: 0; }
#s-simple > .content, #s-advanced > .content { width: 100%; min-width: 0; }
#s-simple > .sidebar, #s-advanced > .sidebar { display: none; }
.workbench-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; align-items: center; height: calc(100svh - var(--landing-header-height, 122px)); min-height: 500px; padding: 64px max(32px,calc((100vw - 1200px)/2)) 80px; background: #092f2c; color: #fff9e9; overflow: hidden; }
.workbench-hero > .breadcrumb { position: absolute; top: 20px; left: max(32px,calc((100vw - 1200px)/2)); color: #c7ded5; z-index: 2; }
.workbench-copy { position: relative; z-index: 1; max-width: 580px; }
.workbench-kicker { color: #f4d26a; font: 700 11px/1.5 Cabin,sans-serif; letter-spacing: .16em; }
.workbench-copy h1 { font: 700 clamp(38px,4.6vw,68px)/1.02 Cabin,sans-serif; letter-spacing: -.045em; margin: 20px 0; text-wrap: balance; }
.workbench-copy > p { color: #c5d9cf; font-size: 16px; line-height: 1.65; max-width: 43ch; }
.workbench-art { position: absolute; z-index: 0; inset: 0 0 0 46%; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 20%); }
.workbench-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.workbench-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 30px; }
.workbench-actions button { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; border: 1px solid #cee2d33d; border-radius: 12px; padding: 16px 13px; background: #123d36ed; color: #f9f5df; font: 700 13px/1.35 Cabin,sans-serif; cursor: pointer; }
.workbench-actions button:hover { border-color: #f4d26a; background: #225246; }
.workbench-actions b { color: #f4d26a; font: 700 22px/1 Cabin,sans-serif; }
.workbench-scroll { position: absolute; z-index: 2; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 15px; color: #f5e8bc; text-decoration: none; font: 700 12px/1.3 Cabin,sans-serif; white-space: nowrap; }
.workbench-scroll span:last-child { font-size: 24px; animation: workbench-nudge 1.8s ease-in-out infinite; }
@keyframes workbench-nudge { 50% { transform: translateY(5px); } }
.workbench-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 15px; }
.workbench-steps li { display: flex; align-items: center; gap: 15px; font-size: 15px; }
.workbench-steps b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #a2bfa270; border-radius: 50%; color: #f4d26a; font-size: 11px; }
#s-simple .topic-library, .workbench-filters { max-width: 1200px; margin: 0 auto; padding: 64px 32px 80px; scroll-margin-top: 20px; }
.workbench-filters .filter-label { margin-top: 28px; }
.workbench-filters .filter-label:first-child { margin-top: 0; }
.workbench-hero a:focus-visible, .workbench-hero button:focus-visible { outline: 3px solid #f4d26a; outline-offset: 4px; }
@media (max-width: 760px) {
  .workbench-hero { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding: 42px 20px 42px; }
  .workbench-hero > .breadcrumb { top: 12px; left: 20px; font-size: 11px; }
  .workbench-copy { max-width: none; text-align: center; }
  .workbench-kicker { font-size: 9px; }
  .workbench-copy h1 { font-size: clamp(27px,7.5vw,42px); margin: 11px 0; }
  .workbench-copy > p { margin: 0 auto; font-size: 12px; line-height: 1.45; max-width: 38ch; }
  .workbench-actions { gap: 6px; margin-top: 15px; }
  .workbench-actions button { align-items: center; text-align: center; font-size: 10px; padding: 10px 6px; gap: 8px; }
  .workbench-actions b { font-size: 18px; }
  .workbench-art { position: relative; inset: auto; flex: 1; width: calc(100% + 40px); margin: 0 -20px; min-height: 0; mask-image: linear-gradient(180deg,transparent,#000 15%,#000 85%,transparent); }
  .workbench-art img { object-fit: cover; object-position: center 66%; }
  .workbench-scroll { bottom: 12px; font-size: 11px; }
  .workbench-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 16px 0 0; }
  .workbench-steps li { flex-direction: column; gap: 6px; font-size: 11px; }
  .workbench-steps b { width: 26px; height: 26px; }
  #s-simple .topic-library, .workbench-filters { padding: 36px 20px 50px; }
}
@media (max-width: 760px) and (max-height: 650px) {
  .workbench-hero { padding-top: 33px; }
  .workbench-copy h1 { font-size: 26px; margin: 8px 0; }
  .workbench-copy > p { display: none; }
  .workbench-actions { margin-top: 9px; }
  .workbench-actions button { padding: 7px 5px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { .workbench-scroll span:last-child { animation: none; } }

/* Carry the laboratory's emerald and gold palette through the lower landing. */
.landing-deep {
  margin: 0 calc(50% - 50vw) -80px;
  padding: 72px max(32px, calc((100vw - 1096px) / 2)) 80px;
  background: radial-gradient(ellipse at 90% 5%, #24584b 0, transparent 38%), linear-gradient(180deg, #103d35, #082d2b);
  color: #fff8e8;
}
#s-home .landing-deep .landing-install { background: #17483e; border: 1px solid #b7a66966; box-shadow: 0 24px 70px #001b2655; border-radius: 24px; margin-bottom: 80px; }
.landing-deep .landing-install-content { padding: 40px 36px; }
#s-home .landing-deep .android-install-kicker, .landing-deep .filter-label { color: #f4d26a; }
#s-home .landing-deep .landing-install h2 { color: #fff8e8; font-size: clamp(32px,3.4vw,48px); line-height: 1.08; }
#s-home .landing-deep .landing-install .android-install-copy p { color: #d6e6dc; font-size: 16px; }
.landing-deep .landing-platforms span { color: #e3eedf; border-color: #b7cdb866; background: #ffffff08; }
#s-home .landing-deep .landing-install .btn { background: #f4d26a; color: #173d32; border-color: #f4d26a; font-size: 14px; box-shadow: 0 6px 24px #001f2733; }
#s-home .landing-deep .landing-install .android-install-hint { color: #d1e2d6; }
.landing-deep .landing-faq { border-top: 1px solid #c5d4b83d; padding-top: 56px; }
.landing-deep .landing-faq h2, .landing-deep .landing-family h2 { color: #fff8e8; font-size: clamp(30px,3.2vw,44px); }
.landing-deep .landing-faq p, .landing-deep .landing-family-head p { color: #c9ded1; font-size: 16px; }
.landing-deep .landing-faq details { padding: 20px 24px; margin-bottom: 12px; border: 1px solid #c5d4b833; border-radius: 13px; background: #194b40; }
.landing-deep .landing-faq details[open] { border-color: #e4c46b88; background: #1b5144; }
.landing-deep .landing-faq summary { color: #fff8e8; }
.landing-deep .landing-faq summary::after { color: #f4d26a; }
.landing-deep .seo-resource-links a { color: #d9e8dc; border-color: #b5ccba55; background: #ffffff08; }
.landing-deep .landing-world { border: 1px solid #c6b16d66; background: radial-gradient(ellipse at 100% 0,#42745b 0,transparent 55%), #1a4b3f; box-shadow: 0 20px 45px #001b2633; }
.landing-deep .world-languages > * { background: #0e372f; border-color: #c8d3b84d; }
.landing-deep .world-languages a[aria-current="page"] { background: #354c2c; border-color: #f4d26a; }
.landing-deep .world-languages .world-coming { opacity: 1; background: #1a4037; color: #c9d8cc; }
.landing-deep .world-languages a:hover { background: #285c48; }
.landing-deep .landing-family { border-color: #c5d4b83d; padding-top: 56px; }
.landing-deep .landing-family-link { background: #194b40; border: 1px solid #c5d4b840; border-radius: 18px; box-shadow: 0 14px 30px #001b2626; }
.landing-deep .landing-family-link:hover { border-color: #f4d26a99; box-shadow: 0 18px 35px #001b264d; }
.landing-deep .landing-family h3 { color: #fff8e8; }
.landing-deep .landing-family-link p { color: #c9ded1; }
.landing-deep .family-go { color: #f4d26a; }
.landing-deep .family-screen { border-color: #b5b78577; box-shadow: 0 8px 24px #001b2644; }
.landing-deep .family-screen-bar { background: #d9d9ba; }
@media (max-width: 1000px) {
  #s-home .landing-deep .landing-install .android-install-media { max-width: none; }
}
@media (max-width: 560px) {
  .landing-deep { margin-bottom: -48px; padding: 40px 22px 48px; }
  #s-home .landing-deep .landing-install { margin-bottom: 48px; border-radius: 18px; }
  .landing-deep .landing-install-content { padding: 28px 24px; }
  .landing-deep .landing-faq { padding-top: 36px; }
  .landing-deep .landing-faq details { padding: 18px; }
  .landing-deep .landing-faq summary { font-size: 17px; }
  .landing-deep .landing-family { padding-top: 36px; }
}

/* A compact language switchboard and living previews of the sister apps. */
.landing-deep .landing-world { padding: 26px; background: #fff9ed; border-color: #eadbbd; box-shadow: 0 10px 30px #001c2326; color: #302c35; border-radius: 20px; }
.landing-deep .world-kicker { color: #8d6223; font-size: 10px; }
.landing-deep .landing-world h2 { color: #302c35; font-size: clamp(24px,2.6vw,32px); margin: 9px 0; max-width: none; }
.landing-deep .landing-world p { color: #645d65; font-size: 13px; margin: 0; max-width: none; }
.landing-deep .world-languages { margin-top: 20px; gap: 10px; }
.landing-deep .world-languages > * { position: relative; padding: 14px; background: #fff; border: 1px solid #dfd9d0; border-radius: 12px; color: #302c35; transition: transform .2s, box-shadow .2s; }
.landing-deep .world-languages a[aria-current="page"] { background: #fff1c9; border-color: #bd8a2c; }
.landing-deep .world-languages a:hover { background: #fff5de; transform: translateY(-3px); box-shadow: 0 7px 14px #58472815; }
.landing-deep .world-code { display: block; width: auto; height: auto; font-size: 32px; line-height: 1.1; border-radius: 0; background: transparent; margin-bottom: 10px; }
.landing-deep .world-languages h3 { font-size: 18px; margin-bottom: 3px; }
.landing-deep .world-languages > * > span:not(.world-code) { color: #6a6268; font-size: 11px; }
.landing-deep .world-languages strong { font-size: 10px; margin-top: 12px; color: #6a4915; }
.landing-deep .world-languages .world-coming { background: #f1eee8; color: #605b60; border-style: dashed; }
.landing-deep .landing-family-link { padding: 16px 16px 24px; background: #142f3c; border-color: #61738370; overflow: hidden; }
.landing-deep .family-articles { background: #202d46; }
.landing-deep .family-context { background: #392e48; }
.landing-deep .family-coach { background: #44312f; }
.family-play { position: relative; height: 220px; margin: -16px -16px 24px; overflow: hidden; isolation: isolate; border-bottom: 1px solid #ffffff24; }
.family-play::before { content: ''; position: absolute; width: 220px; height: 220px; border: 1px solid #ffffff26; border-radius: 50%; top: -80px; right: -65px; }
.family-play::after { content: ''; position: absolute; inset: 20px; border: 1px dashed #ffffff20; border-radius: 50%; z-index: -1; }
.family-play-articles { background: radial-gradient(ellipse at top,#536b9d,#293c63); }
.family-play-context { background: radial-gradient(ellipse at top,#825f94,#49365c); }
.family-play-coach { background: radial-gradient(ellipse at top,#af7556,#66413e); }
.play-spark { position: absolute; right: 22px; bottom: 22px; color: #f8d98b; font-size: 24px; transition: transform .4s; }
.article-token { position: absolute; top: 35px; width: 68px; padding: 13px 0; border-radius: 14px; text-align: center; font: 700 22px Cabin,sans-serif; box-shadow: 0 8px 0 #11182733; transition: transform .35s; }
.token-der { left: calc(50% - 112px); background: #afdcff; color: #21496a; transform: rotate(-12deg); }
.token-die { left: calc(50% - 34px); background: #ffbac7; color: #6f293e; transform: translateY(-8px); }
.token-das { left: calc(50% + 44px); background: #d9c5ff; color: #4f337c; transform: rotate(12deg); }
.article-word { position: absolute; top: 128px; left: 50%; transform: translateX(-50%); padding: 14px 24px; border: 1px solid #ffffff66; border-radius: 12px; background: #ffffff16; color: #fff3cd; font-size: 20px; white-space: nowrap; }
.article-answer { position: absolute; inset: 0; display: grid; place-items: center; background: #ffbac7; border-radius: inherit; color: #6f293e; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; font-weight: 700; }
.family-context .context-quote { display: block; color: #f9d78d; font: 80px/1 Georgia,serif; margin: 14px 0 -23px 25px; }
.context-line { display: block; color: #fff5e7; font: 700 clamp(20px,2vw,26px)/1.7 Cabin,sans-serif; padding-left: 28px; }
.context-line b { background: #f9d78d; color: #4b3354; padding: 2px 5px; border-radius: 5px; }
.context-note { display: inline-block; margin: 12px 0 0 28px; padding: 6px 10px; background: #ffffff1f; color: #f6e3ff; border-radius: 8px; font-size: 12px; transition: transform .3s, background .3s; }
.context-cursor { color: #f9d78d; animation: family-cursor 1.4s step-end infinite; }
.coach-bubble, .coach-reply { position: absolute; border-radius: 18px 18px 18px 4px; font: 700 25px Cabin,sans-serif; transition: transform .35s; }
.coach-bubble { top: 30px; left: 26px; background: #fff1cf; color: #593832; padding: 12px 25px; transform: rotate(-5deg); }
.coach-reply { top: 98px; right: 24px; background: #f6bb96; color: #593832; padding: 13px 18px; font-size: 17px; border-radius: 18px 18px 4px 18px; transform: rotate(3deg); }
.coach-wave { position: absolute; left: 30px; bottom: 25px; height: 30px; display: flex; align-items: center; gap: 5px; }
.coach-wave i { width: 5px; height: 12px; border-radius: 8px; background: #ffe1a1; animation: family-wave 1.5s ease-in-out infinite; }
.coach-wave i:nth-child(2n) { animation-delay: -.4s; height: 24px; }
.coach-wave i:nth-child(3n) { animation-delay: -.8s; height: 30px; }
.landing-family-link:is(:hover,:focus-visible,:active) .article-answer { opacity: 1; transform: translateY(0); }
.landing-family-link:is(:hover,:focus-visible,:active) .token-die { transform: translateY(5px) scale(1.1); }
.landing-family-link:is(:hover,:focus-visible,:active) .context-note { background: #ffffff35; transform: translateX(7px); }
.landing-family-link:is(:hover,:focus-visible,:active) .coach-bubble { transform: rotate(0) translateY(-4px); }
.landing-family-link:is(:hover,:focus-visible,:active) .coach-reply { transform: rotate(0) translateX(-5px); }
.landing-family-link:is(:hover,:focus-visible,:active) .play-spark { transform: rotate(90deg) scale(1.2); }
.landing-family-link:focus-visible { outline: 3px solid #f4d26a; outline-offset: 5px; }
@keyframes family-wave { 50% { transform: scaleY(.45); } }
@keyframes family-cursor { 50% { opacity: 0; } }
@media (max-width:560px) {
  .landing-deep .landing-world { padding: 22px 18px; }
  .landing-deep .world-languages { gap: 8px; }
  .landing-deep .world-languages > * { padding: 12px; }
  .landing-deep .world-code { font-size: 28px; }
  .landing-deep .world-languages strong { font-size: 9px; }
  .family-play { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .family-play *, .landing-deep .world-languages > * { animation: none !important; transition: none !important; }
}
.landing-deep .world-languages .world-code { background: transparent; }

/* Light lower landing; character art supplies the colour, not dark panels. */
.landing-deep { color: #263b4e; background: #faf8f2; border-top: 1px solid #e8e4d8; }
#s-home .landing-deep .landing-install { background: #fffdf8; border-color: #e3ddcf; box-shadow: 0 16px 45px #243b4b0d; }
#s-home .landing-deep .landing-install h2, .landing-deep .landing-faq h2, .landing-deep .landing-family h2 { color: #20394f; }
#s-home .landing-deep .landing-install .android-install-copy p, .landing-deep .landing-faq p, .landing-deep .landing-family-head p { color: #526170; }
#s-home .landing-deep .android-install-kicker, .landing-deep .filter-label { color: #88601b; }
.landing-deep .landing-platforms span { color: #41576a; background: #f1f5f8; border-color: #d4dfe6; }
#s-home .landing-deep .landing-install .btn { background: #254e74; border-color: #254e74; color: white; box-shadow: 0 5px 15px #254e741c; }
#s-home .landing-deep .landing-install .android-install-hint { color: #596b79; }
.landing-deep .landing-faq, .landing-deep .landing-family { border-color: #e2ded3; }
.landing-deep .landing-faq details { background: #fff; border-color: #dedfdc; box-shadow: 0 3px 12px #26394a04; }
.landing-deep .landing-faq details[open] { background: #fffaf0; border-color: #d6b66b; }
.landing-deep .landing-faq summary { color: #263b4e; }
.landing-deep .landing-faq summary::after { color: #9b7122; }
.landing-deep .seo-resource-links a { background: #fff; color: #395b78; border-color: #d6dfe5; }
.landing-deep .landing-world { box-shadow: none; }
.landing-deep .landing-family-link { background: #fff; border-color: #dbe2e8; box-shadow: 0 8px 24px #25426308; }
.landing-deep .landing-family-link:hover { border-color: #8caecb; box-shadow: 0 12px 28px #25426314; }
.landing-deep .landing-family h3 { color: #20394f; }
.landing-deep .landing-family-link p { color: #536579; }
.landing-deep .family-go { color: #245c91; }
.family-play { border-color: #d9e4ec; }
.family-play::before, .family-play::after { display: none; }
.family-play-articles { background: linear-gradient(135deg,#e7f4ff,#d2e6fa); }
.family-play-context { background: linear-gradient(135deg,#f7f5ed,#e8edf4); }
.family-play-coach { background: linear-gradient(135deg,#e4f3ff,#bfdbf6); }
.family-mascot { position: absolute; bottom: 0; left: 0; height: 95%; width: 53%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 4px 4px #25426312); transition: transform .3s; }
.article-token { top: 30px; width: 49px; padding: 9px 0; font-size: 18px; box-shadow: 0 4px 0 #24436715; }
.token-der { left: auto; right: 112px; }
.token-die { left: auto; right: 60px; }
.token-das { left: auto; right: 8px; }
.article-word { left: auto; right: 14px; top: 120px; transform: none; padding: 12px 14px; background: #fff; border-color: #aac3dc; color: #274b6e; font-size: 17px; }
.context-line { position: relative; padding-left: 48%; padding-right: 12px; font-size: 19px; line-height: 1.55; color: #294559; }
.mascot-context + .context-line { margin-top: 44px; }
.context-line b { background: #ffe6a4; color: #584322; }
.context-note { position: absolute; right: 12px; bottom: 24px; margin: 0; max-width: 49%; color: #3c5972; background: #fff; border: 1px solid #cbd7e2; font-size: 10px; padding: 6px; }
.landing-family-link:is(:hover,:focus-visible,:active) .context-note { background: #fff7dc; transform: translateY(-3px); }
.landing-family-link:is(:hover,:focus-visible,:active) .family-mascot { transform: translateY(-4px); }
.family-coach-logo { position: absolute; width: 112px; height: 112px; left: 20px; top: 30px; border-radius: 50%; box-shadow: 0 6px 20px #27568720; }
.coach-bubble { left: auto; right: 20px; top: 38px; padding: 10px 14px; font-size: 22px; background: #fff; color: #214b76; }
.coach-reply { top: 105px; right: 15px; padding: 10px 12px; font-size: 14px; background: #286293; color: #fff; }
.coach-wave { left: 40px; }
.coach-wave i { background: #397fb7; }
@media (max-width:560px) {
  .family-coach-logo { width: 98px; height: 98px; left: 16px; }
  .context-line { font-size: 17px; }
  .article-token { width: 43px; font-size: 16px; }
  .token-der { right: 100px; }
  .token-die { right: 53px; }
  .token-das { right: 6px; }
}

/* One compact interface control; learning choice lives with the content. */
.interface-select { border:1px solid #d8e2e8; border-radius:20px; background:white; color:#25455e; padding:9px 30px 9px 12px; font:600 13px Cabin,sans-serif; max-width:125px; }
.learning-choice { display:flex; align-items:center; justify-content:center; gap:12px; padding:8px 16px; border-radius:24px; background:#fffdf3; color:#244159; }
.learning-choice .learning-select-label { color:#244159; font-size:13px; }
.learning-choice .learning-select { color:#244159; max-width:180px; }
.workbench-hero { background:#fbf7ec; color:#253f56; }
.workbench-hero > .breadcrumb, .workbench-scroll { color:#254760; }
.workbench-copy > p { color:#526779; }
.workbench-kicker { color:#846126; }
.workbench-art { mask-image:linear-gradient(90deg,transparent,#000 18%); }
.workbench-actions button { color:#254760; background:#ffffffeb; border-color:#d8e2e8; box-shadow:0 4px 16px #29456008; }
.workbench-actions button b { color:#98641d; }
.workbench-steps { color:#254760; }
.topic-library-advanced { border:0; background:none; color:#536e83; font:600 13px Cabin,sans-serif; text-decoration:underline; padding:10px; cursor:pointer; }
#s-advanced .workbench-hero { height:auto; min-height:0; padding-top:70px; padding-bottom:50px; }
#s-advanced .workbench-art, #s-advanced .workbench-scroll { display:none; }
#s-advanced .workbench-copy { max-width:900px; grid-column:1/-1; }
#s-advanced .workbench-copy h1 { font-size:clamp(28px,4vw,46px); }
@media(max-width:760px) {
  .workbench-art { mask-image:linear-gradient(180deg,transparent,#000 10%,#000 88%,transparent); }
  .workbench-art img { object-position:center 72%; }
  .learning-choice { gap:8px; padding:5px 10px; }
  .learning-choice .learning-select-label { font-size:12px; }
  .learning-choice .learning-select { max-width:145px; }
}

.workbench-actions button:hover { background:#eef5fc; color:#254760; border-color:#9cbcd4; }
.workbench-steps b { color:#91631e; border-color:#d7c8a8; }

.library-language-choice { display:flex; align-items:center; gap:10px; margin-top:12px; font-size:12px; color:#455e73; }
.library-language-choice .learning-select { background:#fffdf8; color:#254760; border:1px solid #d9e2e8; }
.practice-language-context { font-size:12px; color:#526779; margin:6px 0; }
@media(max-width:760px) { .library-language-choice { justify-content:center; margin-top:6px; } .library-language-choice .learning-select { min-height:30px; padding-top:4px; padding-bottom:4px; } }

/* Keep the library introduction light and remove repeated navigation. */
.body-workbench .workbench-hero > .breadcrumb { display:none; }
#s-simple .workbench-hero { padding-top: 30px; }
#s-simple .workbench-copy h1 { font-size:clamp(30px,3.6vw,52px); margin-top:0; }
#s-simple .workbench-actions { display:flex; flex-wrap:wrap; gap:10px; }
#s-simple .workbench-actions button { flex-direction:row; align-items:center; gap:9px; border-radius:24px; padding:11px 15px; font-size:12px; box-shadow:none; }
#s-simple .workbench-actions button b { font-size:17px; }
#s-simple .topic-library { padding-top:20px; }
#s-simple .topic-library-head { position:sticky; top:0; z-index:3; background:#fff; padding:12px 0; margin-bottom:16px; }
@media(max-width:760px) {
 #s-simple .workbench-hero { padding-top:20px; }
 #s-simple .workbench-copy h1 { font-size:28px; }
 #s-simple .workbench-actions { justify-content:center; gap:7px; margin-top:12px; }
 #s-simple .workbench-actions button { font-size:11px; padding:9px 12px; }
}
