/* Magnifita 26.0 — scoped home and personal study space.
   Lesson posters stay complete: never crop embedded words or titles. */
.mf26-home {
  --mf26-ink: #233f51;
  --mf26-muted: #597382;
  --mf26-blue: #0875b5;
  --mf26-blue-dark: #075a8d;
  --mf26-coral: #c64e32;
  --mf26-yellow: #ffda52;
  --mf26-line: #d5e6ed;
  --mf26-soft: #edf7fc;
  --mf26-serif: Georgia, 'Times New Roman', serif;
  color: var(--mf26-ink);
  min-width: 0;
  width: 100%;
}
.mf26-home *, .mf26-home *::before, .mf26-home *::after { box-sizing: border-box; }
.mf26-home [hidden] { display: none !important; }
.mf26-home a { text-decoration: none; }
.mf26-home button, .mf26-home input, .mf26-home select { font: inherit; }
.mf26-home button, .mf26-home a, .mf26-home select { -webkit-tap-highlight-color: transparent; }
.mf26-home button { cursor: pointer; }
.mf26-home svg { flex-shrink: 0; }
.mf26-home :is(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid #b17408;
  outline-offset: 4px;
}
.mf26-home :is(h1, h2, h3, p, a, label, button, small) { overflow-wrap: break-word; }
.mf26-home .kicker { color: var(--mf26-coral); font-size: 11px; line-height: 1.5; letter-spacing: .12em; }
.mf26-section, .mf26-lab-inner, .mf26-personal-inner {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  min-width: 0;
}
.mf26-section { padding-block: 48px 54px; scroll-margin-top: 90px; }
.mf26-heading { display: block; margin-bottom: 26px; }
.mf26-heading > div { min-width: 0; }
.mf26-heading .kicker { margin: 0 0 10px; }
.mf26-heading h2 { font: 400 clamp(29px, 3vw, 40px)/1.15 var(--mf26-serif); letter-spacing: -.025em; color: var(--mf26-ink); margin: 0; }
.mf26-heading p:not(.kicker) { color: var(--mf26-muted); font-size: 15px; line-height: 1.65; margin: 10px 0 0; max-width: 560px; }
.mf26-heading > p { max-width: 380px; }
.mf26-heading > a { color: var(--mf26-blue); font-size: 14px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }

/* Compact introduction and six-path rotating lesson showcase. */
.mf26-home .hero.home-hero.mf22-hero {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  min-height: unset;
  padding: 34px 0 38px;
}
.mf26-home .mf22-hero .hero-copy { min-width: 0; padding: 0; }
.mf22-intro-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; max-width: 520px; }
.mf22-sun { display: grid; place-items: center; width: 44px; height: 44px; position: relative; flex-shrink: 0; border-radius: 14px; background: #fff0b4; color: #a66710; }
.mf22-sun svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mf22-sun-spark { fill: currentColor; stroke: none; }
.mf22-sun::after { content: ''; position: absolute; inset: -4px; border: 1px solid #dbad35; border-radius: 17px; opacity: 0; }
.mf22-hero.is-enhanced:not(.is-motion-paused) .mf22-sun { animation: mf26-sun-pulse 2.6s ease-in-out infinite; }
.mf22-hero.is-enhanced:not(.is-motion-paused) .mf22-sun::after { animation: mf26-sun-ring 2.6s ease-out infinite; }
@keyframes mf26-sun-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.94); } }
@keyframes mf26-sun-ring { 0% { opacity: .6; transform: scale(.95); } 85%,100% { opacity: 0; transform: scale(1.2); } }
.mf26-home .mf22-hero .kicker { margin: 0 0 14px; }
.mf26-home .mf22-hero h1 { font: 400 clamp(44px, 4.4vw, 56px)/1.07 var(--mf26-serif); letter-spacing: -.038em; margin: 0; max-width: 570px; color: var(--mf26-ink); }
.mf26-home .mf22-hero h1 span { display: block; color: var(--mf26-blue); font-style: italic; animation: none; transform: none; }
.mf26-home .mf22-hero .hero-text { margin: 22px 0; font-size: 17px; line-height: 1.7; max-width: 520px; color: var(--mf26-muted); }
.mf26-home .mf22-hero .hero-actions { display: flex; flex-wrap: wrap; flex-direction: row; align-items: center; gap: 13px 20px; margin-top: 24px; }
.mf26-home .mf22-hero .hero-actions a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; line-height: 1.4; }
.mf26-home .mf22-hero .primary-button { background: var(--mf26-blue); color: white; border: 1px solid var(--mf26-blue); border-radius: 14px; padding: 13px 20px; box-shadow: 0 10px 24px #0875b518; }
.mf26-home .mf22-hero .primary-button:hover { background: var(--mf26-blue-dark); }
.mf26-home .mf22-hero .secondary-button { color: var(--mf26-blue-dark); border: 0; background: transparent; box-shadow: none; padding: 10px 0; }
.mf26-home .mf22-hero .trust-row { display: flex; flex-wrap: wrap; gap: 14px 25px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--mf26-line); color: var(--mf26-muted); }
.mf26-home .mf22-hero .trust-row span { font-size: 11px; line-height: 1.4; }
.mf26-home .mf22-hero .trust-row b { color: var(--mf26-ink); font-size: 21px; }
.mf22-audience { max-width: 520px; width: 100%; padding-block: 11px; margin-top: 19px; border-block: 1px solid var(--mf26-line); color: #2f5b70; }
.mf22-marquee-group { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; flex-shrink: 0; }
.mf22-marquee [data-marquee-copy] { display: none; }
.mf22-audience-item { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.mf22-audience-item i { color: var(--mf26-coral); font-size: 11px; font-style: normal; margin-left: 10px; }
.mf22-language-badge { display: grid; place-items: center; min-width: 29px; height: 27px; font-size: 10px; border-radius: 8px; background: #e1f2fc; color: var(--mf26-blue-dark); }
.mf22-language-badge--zh { background: #fff0c2; color: #775308; }
.mf22-language-badge--en { background: #ffebe3; color: #a9432a; }
.mf22-hero.is-enhanced:not(.is-motion-paused) .mf22-audience { overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); }
.mf22-hero.is-enhanced:not(.is-motion-paused) .mf22-marquee { display: flex; width: max-content; animation: mf26-languages 11s linear infinite; }
.mf22-hero.is-enhanced:not(.is-motion-paused) .mf22-marquee-group { flex-wrap: nowrap; gap: 22px; padding-right: 22px; }
.mf22-hero.is-enhanced:not(.is-motion-paused) [data-marquee-copy] { display: flex; }
@keyframes mf26-languages { to { transform: translateX(-50%); } }
.mf22-hero.is-motion-suspended :is(.mf22-marquee, .mf22-sun, .mf22-sun::after) { animation-play-state: paused !important; }
.mf22-motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--mf26-line); border-radius: 99px; color: #527081; background: #fff; font-size: 11px; font-weight: 600; line-height: 1.3; }
.mf22-motion-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mf22-play-icon { display: none; }
.is-motion-paused .mf22-pause-icon { display: none; }
.is-motion-paused .mf22-play-icon { display: block; }
.mf22-motion-toggle:disabled { cursor: default; color: #647885; }
.mf22-motion-toggle:disabled .mf22-play-icon { display: none; }
.mf22-showcase { width: 100%; max-width: 590px; min-width: 0; justify-self: end; }
.mf22-stage { position: relative; overflow: hidden; border: 1px solid var(--mf26-line); border-radius: 24px; background: #f4f8fa; box-shadow: 0 20px 48px #25475e10; isolation: isolate; }
.mf22-track { display: flex; gap: 16px; align-items: stretch; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.mf22-track::-webkit-scrollbar { display: none; }
.mf22-slide { position: relative; flex: 0 0 100%; min-width: 0; display: flex; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; isolation: isolate; background: #f4f8fa; }
.mf22-backdrop { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .1; filter: blur(25px); transform: scale(1.08); pointer-events: none; }
.mf22-card { display: flex; flex-direction: column; min-width: 0; width: 100%; padding: 0; color: var(--mf26-ink); }
.mf22-picture { display: flex; align-items: center; justify-content: center; height: 430px; padding: 12px 12px 10px; flex-shrink: 0; }
.mf22-cover { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; border-radius: 11px; }
.mf22-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; width: 100%; height: 100%; border-radius: 16px; color: var(--mf26-blue); background: #e5f3fb; }
.mf22-art > svg { width: 90px; height: 90px; stroke-width: 1.3; }
.mf22-art > span { font: italic 33px/1.2 var(--mf26-serif); }
.mf22-slide--letture .mf22-art { background: #fff4c5; color: #85630e; }
.mf22-slide--situazioni .mf22-art { background: #fff0e8; color: var(--mf26-coral); }
.mf22-slide--temi .mf22-art { background: #eef0ff; color: #56659b; }
.mf22-card-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 17px 22px 18px; background: #fff; border-top: 1px solid #e4edf1; }
.mf22-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #55778a; font-size: 11px; line-height: 1.45; }
.mf22-meta > span:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mf22-meta svg { width: 17px; height: 17px; }
.mf22-meta b { font-weight: 400; }
.mf22-level { white-space: nowrap; flex-shrink: 0; }
.mf22-card-copy h2 { color: var(--mf26-ink); font: 400 27px/1.17 var(--mf26-serif); letter-spacing: -.02em; margin: 0 0 6px; overflow-wrap: anywhere; }
.mf22-card-copy > p { font-size: 13px; line-height: 1.5; color: var(--mf26-muted); margin: 0 0 12px; }
.mf22-open { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; color: var(--mf26-blue); font-size: 12px; font-weight: 700; line-height: 1.4; }
.mf22-open > span { display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; border-radius: 50%; background: #e8f5fd; font-size: 20px; }
.mf22-slider-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 11px; }
.mf22-slider-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--mf26-line); padding: 0; border-radius: 50%; color: var(--mf26-blue); background: white; }
.mf22-slider-controls button:hover { background: #e7f4fc; }
.mf22-slider-controls button:disabled { opacity: .35; cursor: default; }
.mf22-slider-controls svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mf22-slider-controls [data-home-status] { min-width: 46px; text-align: center; color: var(--mf26-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.mf22-swipe-hint { text-align: center; margin: 7px 0 0; color: #657f8d; font-size: 11px; line-height: 1.4; }
.mf22-empty { padding: 18px; text-align: center; }
.mf22-empty .mf22-art { height: 320px; }
.mf22-empty h2 { font: 400 25px/1.2 var(--mf26-serif); margin: 20px 0 0; }
.mf22-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Images themselves are the path navigation — no nested call-to-action boxes. */
.mf26-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.mf26-path { --mf26-accent: var(--mf26-blue); display: block; min-width: 0; color: var(--mf26-ink); border-radius: 18px; }
.mf26-path[data-kind='situazioni'], .mf26-path[data-kind='situations'] { --mf26-accent: var(--mf26-coral); }
.mf26-path[data-kind='letture'], .mf26-path[data-kind='reading'] { --mf26-accent: #896509; }
.mf26-path[data-kind='temi'], .mf26-path[data-kind='themes'] { --mf26-accent: #5967a8; }
.mf26-path[data-kind='grammatica'], .mf26-path[data-kind='grammar'] { --mf26-accent: #08759a; }
.mf26-path[data-kind='verbi'], .mf26-path[data-kind='verbs'] { --mf26-accent: #b95133; }
.mf26-path-picture { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #dce8ed; border-radius: 18px; background: #f2f7fa; transition: box-shadow .2s, transform .2s; }
.mf26-path-picture img { display: block; width: 100%; height: 100%; padding: 8px; object-fit: contain; object-position: center; }
.mf26-path-picture > svg { width: 108px; height: 108px; stroke: currentColor; fill: none; stroke-width: 1.2; color: var(--mf26-accent); }
.mf26-path-picture .mf26-path-symbol { font: italic 70px/1 var(--mf26-serif); color: var(--mf26-accent); }
.mf26-path[data-kind='letture'] .mf26-path-picture, .mf26-path[data-kind='reading'] .mf26-path-picture { background: #fff8df; }
.mf26-path[data-kind='situazioni'] .mf26-path-picture, .mf26-path[data-kind='situations'] .mf26-path-picture { background: #fff2ec; }
.mf26-path[data-kind='temi'] .mf26-path-picture, .mf26-path[data-kind='themes'] .mf26-path-picture { background: #f0f2fc; }
.mf26-path-copy { padding: 15px 4px 0; position: relative; min-width: 0; }
.mf26-path-copy h3 { margin: 0; padding-right: 36px; font-size: 19px; line-height: 1.3; font-weight: 750; color: var(--mf26-ink); }
.mf26-path-copy p { color: var(--mf26-muted); font-size: 14px; line-height: 1.6; margin: 7px 0 0; max-width: 340px; }
.mf26-arrow { position: absolute; top: 16px; right: 4px; color: var(--mf26-accent); font-size: 23px; line-height: 1; }
.mf26-arrow svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.mf26-path:hover .mf26-path-picture { transform: translateY(-3px); box-shadow: 0 12px 28px #284d6013; }
.mf26-path:hover h3 { color: var(--mf26-accent); }
.mf26-path small, .mf26-path .mf26-path-tag { display: inline-block; color: var(--mf26-accent); font-size: 11px; font-weight: 700; line-height: 1.4; margin-top: 8px; }

/* Actual, explicitly illustrative practice examples. */
.mf26-lab { background: var(--mf26-soft); border-block: 1px solid #d7eaf4; padding-block: 48px 54px; }
.mf26-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.mf26-tools > .mf26-tool:nth-child(2) { grid-column: 1 / -1; order: 1; }
.mf26-tool [data-demo-interactive] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: start; }
.mf26-practice-part { min-width: 0; }
.mf26-practice-part > label, .mf26-practice-part > p:first-child { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--mf26-ink); margin: 0 0 8px; }
.mf26-practice-part > label + p { font-size: 13px; line-height: 1.6; color: var(--mf26-muted); margin: 0 0 13px; }
.mf26-tool { background: #fff; border: 1px solid #d6e6ed; border-radius: 22px; padding: 25px; min-width: 0; display: flex; flex-direction: column; }
.mf26-tool-top { display: block; margin-bottom: 18px; }
.mf26-tool-top > small { display:block; color:var(--mf26-coral); font-size:11px; letter-spacing:.08em; margin-bottom:10px; }
.mf26-tool-top > svg, .mf26-tool-icon { width: 32px; height: 32px; color: var(--mf26-blue); stroke: currentColor; fill: none; stroke-width: 1.6; }
.mf26-tool-top > div { min-width: 0; }
.mf26-tool-top h3 { font-size: 20px; line-height: 1.3; margin: 0; font-weight: 750; color: var(--mf26-ink); }
.mf26-tool-top p, .mf26-tool > p { font-size: 14px; line-height: 1.6; color: var(--mf26-muted); margin: 7px 0 0; }
.mf26-tool-demo { min-width: 0; margin-bottom: 18px; }
.mf26-demo-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 188px; padding: 24px; background: #fff7da; color: var(--mf26-ink); border: 1px solid #e7d49b; border-radius: 17px; box-shadow: 0 10px 23px #8e69100b; text-align: center; transition: background .2s, transform .2s; }
.mf26-demo-card:hover { background: #fff1c1; transform: translateY(-2px); }
.mf26-demo-card [data-demo-front], .mf26-demo-card [data-demo-back] { font: 400 30px/1.3 var(--mf26-serif); }
.mf26-demo-card small { color: #786a4c; font-size: 12px; line-height: 1.5; }
.mf26-demo-caption { font-size: 12px; color: #667f8e; line-height: 1.6; margin: 11px 0 0; text-align: center; }
.mf26-gap-line { font-size: 22px; line-height: 1.9; color: var(--mf26-ink); margin: 0 0 15px; padding: 17px 18px; border-radius: 14px; background: #f3f9fc; }
.mf26-gap-line input[data-demo-gap] { display: inline-block; width: 105px; max-width: 100%; min-height: 44px; margin: 0 4px; padding: 5px 7px; border: 0; border-bottom: 2px solid #5693b5; border-radius: 5px 5px 0 0; background: #fff; color: var(--mf26-blue-dark); text-align: center; font-size: 20px; line-height: 1.4; }
.mf26-home .mf26-check { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 11px; padding: 10px 17px; background: var(--mf26-blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.45; }
.mf26-home .mf26-check:hover { background: var(--mf26-blue-dark); }
.mf26-word-bank { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.mf26-home .mf26-word-choice { min-height: 44px; padding: 9px 12px; color: var(--mf26-blue-dark); font-size: 15px; font-weight: 650; line-height: 1.4; background: #fff; border: 1px solid #b9d7e9; border-radius: 11px; box-shadow: 0 3px 0 #e7f1f7; }
.mf26-home .mf26-word-choice:hover { background: #eff8fd; }
.mf26-home .mf26-word-choice:disabled { opacity: .35; box-shadow: none; cursor: default; }
.mf26-order-answer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-height: 75px; padding: 13px; border: 1px dashed #9bc6de; border-radius: 13px; background: #f3faff; margin-bottom: 12px; color: #647f90; font-size: 14px; line-height: 1.5; }
.mf26-order-answer:empty::before { content: attr(data-placeholder); }
.mf26-feedback { min-height: 25px; font-size: 13px; line-height: 1.6; margin: 10px 0 0; color: #557387; }
.mf26-feedback[data-state='success'], .mf26-feedback.is-success { color: #197347; }
.mf26-feedback[data-state='error'], .mf26-feedback.is-error { color: #b4462a; }
.mf26-tool-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; margin-top: auto; color: var(--mf26-blue); font-size: 14px; font-weight: 700; line-height: 1.4; }
.mf26-tool-link svg { width: 17px; height: 17px; }
.mf26-tool-help { border-top: 1px solid #e1edf2; margin-top: 11px; padding-top: 9px; font-size: 13px; color: var(--mf26-muted); line-height: 1.65; }
.mf26-tool-help summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--mf26-blue-dark); font-weight: 650; }
.mf26-tool-help summary::before { content: '+'; font-size: 21px; font-weight: 400; margin-right: 9px; }
.mf26-tool-help[open] summary::before { content: '−'; }
.mf26-tool-help summary::-webkit-details-marker { display: none; }
.mf26-tool-help p { margin: 0 0 10px; }
.mf26-tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 15px; }
.mf26-tool-actions button:not(.mf26-check) { min-height: 44px; padding: 9px 12px; font-size: 13px; color: var(--mf26-blue-dark); border: 1px solid #b9d7e9; border-radius: 11px; background: white; }
.mf26-audio-demo { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff4ec; border-radius: 16px; margin-block: 5px 15px; }
.mf26-audio-demo svg { width: 33px; height: 33px; color: var(--mf26-coral); }
.mf26-audio-demo strong { font-size: 19px; font-weight: 600; }
.mf26-tool audio { display: block; width: 100%; max-width: 100%; margin-top: 12px; }

/* Signed-in home: real counts, the saved last lesson, and optional daily target. */
.mf26-personal { background: #edf7fc; border-bottom: 1px solid #d5e8f1; padding: 30px 0 35px; }
.mf26-personal:not(:has(.mf26-personal-inner)) { padding-inline: max(32px, calc((100% - 1240px)/2)); }
.mf26-welcome { display: block; margin-bottom: 22px; }
.mf26-welcome > div { min-width: 0; }
.mf26-welcome h1 { font: 400 clamp(29px, 3.3vw, 42px)/1.16 var(--mf26-serif); letter-spacing: -.025em; margin: 0; color: var(--mf26-ink); }
.mf26-welcome p { color: var(--mf26-muted); font-size: 15px; line-height: 1.6; margin: 9px 0 0; }
.mf26-welcome .kicker { margin: 0 0 9px; }
.mf26-personal-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.mf26-personal-grid > article { display: flex; flex-direction: column; min-width: 0; padding: 21px; border: 1px solid #d2e5ee; border-radius: 18px; background: #fff; }
.mf26-personal-grid h2, .mf26-personal-grid h3 { font-size: 16px; line-height: 1.4; font-weight: 750; margin: 0 0 12px; color: var(--mf26-ink); }
.mf26-personal-grid p { color: var(--mf26-muted); font-size: 13px; line-height: 1.6; margin: 7px 0; }
.mf26-personal-grid > article > a:last-child { display: inline-flex; align-items: center; width: fit-content; gap: 8px; min-height: 44px; margin-top: auto; color: var(--mf26-blue); font-size: 13px; font-weight: 700; line-height: 1.4; }
.mf26-stat { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 2px 0 11px; }
.mf26-stat strong { color: var(--mf26-blue); font-size: 35px; line-height: 1.1; font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.mf26-stat label, .mf26-stat span, .mf26-stat small { font-size: 12px; color: var(--mf26-muted); line-height: 1.5; }
.mf26-resume a { color: var(--mf26-blue-dark); font-size: 17px; font-weight: 650; line-height: 1.4; display: inline-flex; min-height: 44px; align-items: center; }
.mf26-resume .mf26-resume-title { font: 400 22px/1.25 var(--mf26-serif); color: var(--mf26-ink); }
.mf26-goal-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mf26-goal-form label { width: 100%; font-size: 12px; line-height: 1.5; color: var(--mf26-muted); }
.mf26-goal-form select { min-height: 44px; max-width: 100%; flex: 1 1 100px; border: 1px solid #bed9e8; border-radius: 10px; background: white; color: var(--mf26-ink); padding: 8px 9px; font-size: 13px; }
.mf26-goal-form button { min-height: 44px; font-size: 13px; font-weight: 700; padding: 9px 12px; border: 0; border-radius: 10px; background: var(--mf26-blue); color: white; }
.mf26-personal-grid > .mf26-goal { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr 1.3fr; gap:10px 22px; align-items:center; }
.mf26-goal > .mf26-tool-help { grid-column:3; }
.mf26-personal-grid > .mf26-resume h2 { font:400 25px/1.25 var(--mf26-serif); margin-top:12px; }
.mf26-goal-progress { margin-top: 11px; font-size: 12px; line-height: 1.5; color: var(--mf26-muted); }
.mf26-goal-progress progress { display: block; width: 100%; height: 7px; accent-color: var(--mf26-blue); border: 0; margin-top: 8px; border-radius: 10px; overflow: hidden; background: #e7f0f5; }
.mf26-goal-progress progress::-webkit-progress-bar { background: #e7f0f5; border-radius: 10px; }
.mf26-goal-progress progress::-webkit-progress-value { background: var(--mf26-blue); border-radius: 10px; }
.mf26-goal-progress progress::-moz-progress-bar { background: var(--mf26-blue); border-radius: 10px; }

/* Discovery covers are complete too, including portrait lesson posters. */
.mf26-discover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mf26-discover { display: block; min-width: 0; background: #fff; border: 1px solid var(--mf26-line); border-radius: 19px; overflow: hidden; color: var(--mf26-ink); transition: transform .2s, box-shadow .2s; }
.mf26-discover > img { display: block; width: 100%; height: 260px; padding: 10px; object-fit: contain; object-position: center; background: #f2f7fa; }
.mf26-discover > div, .mf26-discover-copy { padding: 18px 20px 20px; }
.mf26-discover small { font-size: 11px; line-height: 1.5; color: var(--mf26-coral); font-weight: 700; }
.mf26-discover h3 { color: var(--mf26-ink); font: 400 25px/1.22 var(--mf26-serif); margin: 9px 0 7px; letter-spacing: -.02em; }
.mf26-discover p { color: var(--mf26-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.mf26-discover:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #284d600e; }
.mf26-mobile-dock { display: none; }
.mf26-sound-demo svg { display:block; width:100%; max-width:360px; height:140px; margin:10px auto; stroke:var(--mf26-coral); stroke-width:5; stroke-linecap:round; }
.mf26-progress-demo { display:flex; align-items:center; justify-content:center; gap:18px; min-height:170px; }
.mf26-progress-demo span { display:grid; place-items:center; width:65px; height:65px; border-radius:50%; background:#fff4c9; color:var(--mf26-blue); font-size:32px; }
.mf26-feedback[data-result='correct'] { color:#197347; }
.mf26-feedback[data-result='retry'] { color:#b4462a; }
.mf26-goal-progress > strong { display:block; font-size:22px; color:var(--mf26-blue); }
.mf26-goal-form { margin-top:15px; }
.mf26-home .mf22-hero .series-button { color:var(--mf26-blue-dark); border:0; background:transparent; box-shadow:none; padding:10px 0; }

@media (max-width: 1050px) {
  .mf26-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mf26-tools > .mf26-tool:nth-child(2) { order: 0; }
}
@media (max-width: 1000px) {
  .mf26-home .hero.home-hero.mf22-hero { gap: 28px; }
  .mf26-home .mf22-hero h1 { font-size: 48px; }
  .mf26-home .mf22-hero .hero-text { font-size: 15px; }
  .mf22-picture { height: 380px; }
  .mf22-card-copy h2 { font-size: 25px; }
  .mf26-personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mf26-personal-grid > .mf26-resume { grid-column: 1 / -1; }
  .mf26-path-picture { height: 190px; }
  .mf26-path-copy h3 { font-size: 17px; }
  .mf26-path-copy p { font-size: 13px; }
  .mf26-tool { padding: 21px; }
}
@media (max-width: 760px) {
  .mf26-section, .mf26-lab-inner, .mf26-personal-inner { width: calc(100% - 36px); }
  .mf26-section { padding-block: 35px 39px; }
  .mf26-home .hero.home-hero.mf22-hero { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 24px; padding: 24px 0 30px; }
  .mf26-home .mf22-hero .hero-copy { width: 100%; max-width: 620px; margin-inline: auto; }
  .mf26-home .mf22-hero h1 { font-size: 42px; max-width: 600px; }
  .mf26-home .mf22-hero .hero-text { font-size: 16px; margin: 17px 0; }
  .mf22-intro-top { max-width: none; margin-bottom: 15px; }
  .mf22-audience { max-width: none; margin-top: 16px; }
  .mf22-showcase { justify-self: center; max-width: 620px; }
  .mf22-picture { height: 320px; }
  .mf22-card-copy { padding: 16px 19px; }
  .mf26-heading { display: block; margin-bottom: 21px; }
  .mf26-heading h2 { font-size: 32px; }
  .mf26-heading > a { margin-top: 8px; }
  .mf26-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .mf26-path-picture { height: 200px; border-radius: 15px; }
  .mf26-path-picture img { padding: 6px; }
  .mf26-path-picture > svg { width: 85px; height: 85px; }
  .mf26-path-copy { padding-top: 12px; }
  .mf26-path-copy h3 { padding-right: 25px; font-size: 17px; }
  .mf26-arrow { right: 1px; top: 14px; font-size: 20px; }
  .mf26-path-copy p { font-size: 13px; }
  .mf26-lab { padding-block: 35px 40px; }
  .mf26-tools { grid-template-columns: 1fr; gap: 17px; }
  .mf26-tools > .mf26-tool:nth-child(2) { grid-column: auto; }
  .mf26-tool [data-demo-interactive] { grid-template-columns: 1fr; gap: 20px; }
  .mf26-tool { padding: 22px; border-radius: 18px; }
  .mf26-tool-top h3 { font-size: 20px; }
  .mf26-demo-card { min-height: 175px; }
  .mf26-personal { padding-block: 23px 27px; }
  .mf26-personal:not(:has(.mf26-personal-inner)) { padding-inline: 18px; }
  .mf26-welcome { display: block; }
  .mf26-welcome h1 { font-size: 33px; }
  .mf26-welcome p { font-size: 14px; }
  .mf26-personal-grid { gap: 13px; }
  .mf26-personal-grid > .mf26-goal { display:flex; align-items:stretch; }
  .mf26-goal > .mf26-tool-help { grid-column:auto; }
  .mf26-personal-grid > article { padding: 17px; }
  .mf26-personal-grid h2, .mf26-personal-grid h3 { font-size: 15px; }
  .mf26-discover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .mf26-discover > img { height: 225px; padding: 7px; }
  .mf26-discover > div, .mf26-discover-copy { padding: 14px; }
  .mf26-discover h3 { font-size: 23px; }
  .mf26-discover p { font-size: 13px; }
  .mf26-mobile-dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; z-index: 40; inset: auto 0 0; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid #c7e0ed; background: #fffffff5; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -5px 20px #264c6208; }
  .mf26-mobile-dock a { min-width: 0; min-height: 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #426477; text-decoration: none; font-size: 11px; font-weight: 650; line-height: 1.35; text-align: center; padding: 4px 2px; border-radius: 11px; }
  .mf26-mobile-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mf26-mobile-dock a[aria-current='page'] { background: #e6f4fd; color: var(--mf26-blue); }
  .mf26-mobile-dock a:hover { color: var(--mf26-blue); background: #eff8fd; }
  .mf26-home.has-dock, .mf26-home.mf26-has-dock { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  body:has(.mf26-mobile-dock) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.mf26-mobile-dock) .mf26-home { padding-bottom: 0; }
}
@media (max-width: 480px) {
  .mf26-personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mf26-personal-grid > article { padding: 14px; }
  .mf26-personal-grid > .mf26-stat { gap: 5px; }
  .mf26-personal-grid > .mf26-stat > a { font-size: 12px; }
  .mf26-stat strong { font-size: 29px; }
  .mf26-discover-grid { grid-template-columns: 1fr; }
  .mf26-discover > img { height: 300px; }
  .mf26-path-picture { height: 170px; }
  .mf26-gap-line { font-size: 20px; padding: 14px; }
  .mf26-tool { padding: 19px; }
}
@media (max-width: 380px) {
  .mf26-section, .mf26-lab-inner, .mf26-personal-inner { width: calc(100% - 28px); }
  .mf26-home .hero.home-hero.mf22-hero { width: calc(100% - 28px); }
  .mf26-home .mf22-hero h1 { font-size: 38px; }
  .mf26-home .mf22-hero .hero-text { font-size: 15px; }
  .mf26-home .mf22-hero .hero-actions { gap: 9px 13px; }
  .mf26-home .mf22-hero .hero-actions a { font-size: 13px; }
  .mf26-home .mf22-hero .primary-button { padding: 12px 16px; }
  .mf22-audience-item { font-size: 12px; gap: 7px; }
  .mf22-marquee-group { gap: 10px 17px; }
  .mf22-picture { height: 320px; padding: 9px; }
  .mf22-card-copy { padding: 15px 16px; }
  .mf22-card-copy h2 { font-size: 25px; }
  .mf26-heading h2 { font-size: 29px; }
  .mf26-paths { grid-template-columns: 1fr; gap: 25px; }
  .mf26-path-picture { height: 235px; }
  .mf26-path-copy h3 { font-size: 19px; }
  .mf26-path-copy p { max-width: none; font-size: 14px; }
  .mf26-tool-top { gap: 9px; }
  .mf26-tool-top h3 { font-size: 18px; }
  .mf26-demo-card [data-demo-front], .mf26-demo-card [data-demo-back] { font-size: 28px; }
  .mf26-word-bank { gap: 7px; }
  .mf26-mobile-dock a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .mf26-home *, .mf26-home *::before, .mf26-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mf22-hero .mf22-audience { overflow: visible !important; mask-image: none !important; }
  .mf22-hero .mf22-marquee { display: block !important; width: auto !important; transform: none !important; }
  .mf22-hero .mf22-marquee-group { flex-wrap: wrap !important; padding: 0 !important; }
  .mf22-hero [data-marquee-copy] { display: none !important; }
}
@media print {
  .mf26-mobile-dock, .mf22-motion-toggle, .mf22-slider-controls { display: none !important; }
  .mf26-home .hero.home-hero.mf22-hero, .mf26-section, .mf26-lab-inner, .mf26-personal-inner { width: 100%; }
  .mf26-home { padding-bottom: 0 !important; }
}
