/* November 2026: preserve content and structure; use original app fonts and captures. */
:root { --ink: #2d2d2d; --radius-lg: 32px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; }
.hero-copy { padding: 16px 0; }
.hero-visual.app-hero { min-height: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: var(--shadow-card); }
.app-hero img { width: 100%; height: auto; border-radius: 23px; }
.app-hero figcaption,.family-capture figcaption,.capture-note { color: var(--muted); font-size: .875rem; line-height: 1.55; padding: 12px 8px 2px; margin: 0; }
.hero-glow,.hero::before,.hero::after { display: none; }
.main-nav { gap: 18px; }
.main-nav > a { white-space: nowrap; }
.site-header { background: rgba(247,244,238,.96); }
.section { padding-block: clamp(56px,7vw,96px); }
.section-heading h2 { font-size: clamp(2rem,3.5vw,3.25rem); }
.journey-section::after { pointer-events: none; }
.world-browser { min-width: 0; border: 1px solid var(--line); border-radius: 28px; padding: 14px; background: #fff; box-shadow: var(--shadow-card); }
.world-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; padding: 5px; border-radius: 18px; background: var(--cream); }
.world-tabs button { display: grid; min-width: 0; align-content: center; gap: 2px; min-height: 54px; padding: 8px; border: 0; border-radius: 13px; color: var(--muted); background: transparent; font-size: .875rem; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; cursor: pointer; }
.world-tab-detail { font-size: .75rem; font-weight: 500; }
.world-tabs button[aria-selected="true"] { color: #fff; background: var(--teal-dark); }
.world-tabs button:hover:not([aria-selected="true"]) { background: #e2f7f5; color: var(--teal-dark); }
.world-panel { display: grid; align-items: center; margin: 0; height: 440px; overflow-y: auto; border-radius: 16px; background: var(--cream); }
.world-panel[hidden] { display: none; }
.world-panel img { width: 100%; height: auto; }
.world-panel.world-panel-map { height: auto; }
.world-forest { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.world-forest summary { padding: 12px 14px; color: var(--teal-dark); font-size: .875rem; font-weight: 700; cursor: pointer; }
.world-forest .capture-link { margin: 0 8px 8px; }
.world-forest img { display: block; width: 100%; height: auto; border-radius: 10px; }
.app-sample-frame { display: block; width: 100%; height: 640px; border: 0; background: var(--cream); }
.sample-fallback { padding: 12px 16px; margin: 0; font-size: .8rem; text-align: center; }
.sample-fallback a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.showcase-stage { min-width: 0; }
.family-capture { margin: 0; padding: 32px; align-self: center; min-width: 0; }
.family-capture img { width: 100%; height: auto; object-fit: contain; border-radius: 20px; border: 1px solid var(--line); }
.audience-card.school { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 36px); min-height: 0; padding: clamp(24px, 4.5vw, 56px); background: #fff; }
.school .audience-copy { order: 0; min-width: 0; padding: 0; color: var(--ink); }
.school .audience-copy p,.school .check-list { color: var(--muted); }
.school .eyebrow,.school .text-link { color: var(--teal-dark); }
.school .check-list li > span:first-child { color: var(--teal-dark); background: var(--teal-pale); }
.school-classroom { min-width: 0; margin: 0; align-self: center; }
.school-classroom img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 20px; }
.school-classroom figcaption { margin: 0; padding: 10px 4px 0; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.school-access { grid-column: 1 / -1; min-width: 0; margin: 0; padding: clamp(18px,3vw,36px); border: 1px solid #c7e5df; border-radius: 26px; background: #edf8f4; }
.school-access h3 { font-size: clamp(1.5rem,2.5vw,2rem); margin-bottom: 14px; }
.school-access > p { max-width: 72ch; margin-bottom: 0; font-size: .95rem; }
.school-access ol { margin: 0; padding: 0; list-style: none; counter-reset: access; }
.school-access li { position: relative; min-width: 0; padding-block: 18px; padding-inline-start: 48px; counter-increment: access; }
.school-access li::before { content: counter(access); position: absolute; inset-inline-start: 0; top: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal-dark); font-weight: 800; }
.school-access li + li { border-top: 1px solid #c7e5df; }
.school-access li:last-child { padding-block-end: 0; }
.school-access strong { display: block; font-size: 1rem; }
.school-access li p { font-size: .875rem; margin: 6px 0 0; line-height: 1.65; }
@media (min-width: 861px) {
  .audience-card.school { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(28px, 4vw, 56px); }
  .school-access ol { --school-step-inset: clamp(14px, 1.8vw, 24px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
  .school-access li { padding-block: 0; padding-inline-end: var(--school-step-inset); }
  .school-access li::before { top: 0; }
  .school-access li + li { border-top: 0; border-inline-start: 1px solid #c7e5df; padding-inline-start: calc(48px + var(--school-step-inset)); }
  .school-access li + li::before { inset-inline-start: var(--school-step-inset); }
  .school-access li:last-child { padding-inline-end: 0; }
}
.story-section::before,.mission-section::before { display: none; }
@media (max-width: 1120px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .hero-visual.app-hero { max-width: 640px; margin-inline: auto; } .hero-copy { max-width: 700px; } }
@media (max-width: 760px) { .world-panel { height: 360px; } .world-tabs button { font-size: .78rem; padding: 12px 6px; } .family-capture { padding: 0 24px 28px; } .hero-visual.app-hero { margin-top: 0; border-radius: 24px; } }
.step-image { height: auto; aspect-ratio: auto; background: #f7f4ee; border: 1px solid var(--line); }
.step-image::after { display: none; }
.step-image img, .step-card:hover .step-image img { height: auto; object-fit: contain; transform: none; }
.step-image figcaption { position: static; padding: 10px 14px; color: #326b73; background: #fff; font-size: .875rem; text-shadow: none; }
.step-image a { display: block; }
.journey-capture { margin: 0; border: 1px solid var(--line); border-radius: 28px; padding: 12px; background: #f7f4ee; box-shadow: var(--shadow-card); }
.journey-capture img { width: 100%; height: auto; border-radius: 20px; }
.journey-capture figcaption, .school-capture figcaption { padding: 14px 8px 4px; font-size: .875rem; line-height: 1.6; }
.school-capture { margin: 0; min-width: 0; }
.school-capture img { width: 100%; height: auto; border-radius: 16px; }
.school-capture figcaption { color: #c9e9eb; }
.capture-link { display: block; color: inherit; }
.capture-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.capture-link[aria-haspopup="dialog"] { cursor: zoom-in; }
.step-preview { margin: auto; padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-card); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
.step-preview:not([open]) { display: none; }
.step-preview::backdrop { background: rgb(15 26 30 / 78%); }
html:has(.step-preview[open]) { overflow: hidden; }
.step-preview-content { padding: 12px; }
.step-preview form { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.step-preview button { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 12px; color: #fff; background: var(--teal-dark); font: inherit; font-weight: 700; cursor: pointer; }
.step-preview button span[aria-hidden] { margin-inline-start: 4px; }
.step-preview button:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 3px; }
.step-preview img { display: block; width: auto; height: auto; max-width: min(1120px, calc(100vw - 48px)); max-height: calc(100dvh - 100px); border-radius: 12px; margin: 0 auto; }
.showcase { grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); align-items: start; }
.showcase-stage { min-height: 0; }
.mini-app { min-height: 0; padding: 24px; background: #f7f4ee; }
.browser-bar span { font-size: .875rem; }
.browser-bar b { font-size: .75rem; }
.demo-guide > p { font-size: 1rem; }
.demo-step-list li strong { font-size: 1rem; }
.demo-step-list li small { font-size: .875rem; }
.demo-reset { font-size: .875rem; }
.current-exercise { scroll-margin-top: 100px; padding: 24px; border: 1px solid #e8e8e4; border-radius: 30px; background: #fff; color: #303332; box-shadow: 0 12px 35px -24px #326b7355; }
.sample-progress { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.sample-progress progress { flex: 1; min-width: 0; height: 10px; border: 0; border-radius: 99px; overflow: hidden; background: #e9e9e9; accent-color: #55a9b4; }
.sample-progress progress::-webkit-progress-bar { background: #e9e9e9; }
.sample-progress progress::-webkit-progress-value { background: #55a9b4; border-radius: 99px; }
.sample-progress progress::-moz-progress-bar { background: #55a9b4; }
.sample-progress > span { font-size: .875rem; color: #637178; font-weight: 800; }
.sample-restart { width: 44px; height: 44px; border: 0; background: transparent; color: #637178; font-size: 1.5rem; cursor: pointer; }
.sample-coach { display: flex; align-items: center; gap: 16px; padding: 20px; background: #f8faf9; border: 1px solid #e1e7e5; border-radius: 26px; margin-bottom: 28px; }
.sample-coach img { width: 52px; height: 68px; object-fit: contain; flex: none; }
.sample-coach h4 { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.5; letter-spacing: 0; }
.sample-coach h4:last-child { margin-bottom: 0; }
.sample-audio { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; min-height: 44px; border: 1px solid #d4e1df; border-radius: 15px; color: #326b73; background: #fff; font: inherit; font-size: .875rem; font-weight: 750; cursor: pointer; }
.sample-stimulus { display: grid; min-height: 170px; place-items: center; padding: 25px; border: 1px solid #edf0ee; border-radius: 26px; text-align: center; box-shadow: 0 6px 20px -14px #326b7350; }
.sample-stimulus p { margin: 0; color: #303332; font-size: clamp(1.65rem, 2.6vw, 2.3rem); font-weight: 800; line-height: 1.4; letter-spacing: -.02em; }
.sample-help { margin: 24px 0; text-align: center; font-size: .875rem; line-height: 1.6; }
.sample-primary, .sample-secondary { display: flex; width: 100%; min-height: 54px; justify-content: center; align-items: center; gap: 8px; padding: 14px 18px; border: 1px solid transparent; border-radius: 16px; font: inherit; font-size: 1rem; font-weight: 800; text-align: center; cursor: pointer; }
.sample-primary { color: #fff; background: #326b73; }
.sample-primary:hover { background: #24545b; }
.sample-secondary { color: #326b73; background: #f5faf9; border-color: #d4e1df; margin-top: 12px; }
.sample-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sample-answer { position: relative; min-height: 96px; border: 3px solid #e9e9e5; border-radius: 24px; background: #fbfbf7; color: #303332; padding: 22px 16px; font: inherit; font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.sample-answer:hover { border-color: #55a9b4; }
.sample-answer.is-wrong { border-color: #c44c43; background: #fff1ef; }
.sample-answer.is-correct { border-color: #4f9944; background: #eff8ec; }
.sample-answer:disabled { opacity: 1; cursor: default; }
.sample-answer > span { position: absolute; top: 5px; right: 10px; }
.sample-feedback { min-height: 48px; margin: 20px 0; color: #637178; font-size: .95rem; font-weight: 700; text-align: center; }
.sample-feedback.is-error { color: #a63c34; }
.sample-feedback.is-good { color: #397530; }
.sample-audio-status { margin: 12px 0 0; font-size: .875rem; color: #326b73; }
.sample-audio-status:empty { display: none; }
.sample-finish { text-align: center; }
.sample-finish img { width: 92px; height: 130px; object-fit: contain; margin: 0 auto 18px; }
.sample-finish h4 { font-size: 1.75rem; }
.current-exercise button:focus-visible, .current-exercise a:focus-visible { outline: 3px solid #326b73; outline-offset: 4px; }
@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; padding: 16px; }
  .demo-step-list { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .demo-step-list li { flex-direction: column; text-align: center; padding: 10px 4px; gap: 8px; }
  .demo-step-list li small { display: none; }
  .mini-app { padding: 12px; }
  .current-exercise { padding: 16px; border-radius: 22px; }
  .sample-coach { padding: 16px; gap: 12px; }
  .sample-answer { min-height: 82px; font-size: 1.05rem; padding: 18px 9px; }
  .journey-capture { margin-top: 16px; }
}
