/* Marketing layout and button states adapted from sanidhyy/duolingo-clone.
   Copyright (c) 2024 Sanidhya Kumar Verma. See LICENSE-Lingo.txt. */
:root {
  --paper: #ffffff;
  --cream: #ffffff;
  --ink: #3c3c3c;
  --muted: #777777;
  --line: #e5e5e5;
  --green: #58a900;
  --link: #438900;
  --deep: #58a900;
  --edge: #3d8300;
  --soft: #f2f9e8;
  --content: 1040px;
  --demo-height: 660px;
}
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
.intro-page .wrap { width: min(var(--content), calc(100% - 64px)); }
.intro-page .site-header { min-height: 96px; border-bottom: 2px solid var(--line); }
.intro-page .wordmark { color: var(--green); font-size: 35px; font-weight: 850; letter-spacing: -1.3px; }
.intro-page .site-header nav { gap: 32px; }
.intro-page .site-header nav a { color: var(--muted); font-size: 14px; font-weight: 750; }
.intro-page .hero {
  width: min(var(--content), calc(100% - 64px));
  min-height: 638px;
  padding: 54px 0 62px;
  grid-template-columns: .95fr 1.05fr;
  gap: 62px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
}
.intro-page .hero-art { order: -1; aspect-ratio: 1 / 1; max-height: none; background: transparent; border-radius: 0; overflow: visible; }
.intro-page .hero-art iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.intro-page .hero-copy { padding: 0; }
.intro-page .hero h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.28; letter-spacing: -.045em; font-weight: 850; white-space: normal; }
.intro-page .hero-lead { margin-top: 25px; font-size: 18px; line-height: 1.85; color: var(--muted); }
.intro-page .hero-actions { display: grid; gap: 13px; margin-top: 32px; width: min(100%, 348px); }
.intro-page .button {
  background: var(--green); color: #ffffff; border: 2px solid transparent;
  border-bottom: 5px solid var(--edge); box-shadow: none; border-radius: 15px;
  min-height: 56px; padding: 13px 24px 10px; font-size: 16px; font-weight: 750;
  letter-spacing: .03em; transition: background 150ms ease, transform 100ms ease;
}
.intro-page .hero .button { min-width: 0; min-height: 57px; font-size: 16px; }
.intro-page .button:hover { background: #64b80b; }
.intro-page .button:active { transform: translateY(3px); box-shadow: none; }
.intro-page .button-outline { background: #ffffff; color: #438900; border-color: var(--line); }
.intro-page .button-outline:hover { background: #f8faf5; }
.intro-page .availability { margin-top: 23px; font-size: 12px; color: #8a8a8a; }
.learning-strip { border-block: 2px solid var(--line); }
.learning-strip .wrap { display: flex; justify-content: space-around; align-items: center; gap: 16px; padding-block: 23px; }
.learning-strip span { font-size: 15px; font-weight: 750; color: #838383; }
.intro-page .learning-section { padding-block: 85px 90px; }
.intro-page .section-heading { align-items: center; }
.intro-page h2 { font-size: clamp(31px, 3.5vw, 42px); letter-spacing: -.035em; line-height: 1.32; }
.intro-page .section-heading h2, .intro-page .showcase-copy h2 { color: var(--green); }
.intro-page .section-heading > p { font-size: 15px; }
.intro-page .feature-grid { margin-top: 38px; gap: 35px; }
.intro-page .feature-grid section { border-top: 2px solid var(--line); padding-top: 25px; }
.intro-page .feature-title { gap: 10px; }
.intro-page .feature-icon { width: 37px; height: 37px; background: transparent; color: var(--green); border-radius: 0; }
.intro-page .feature-icon svg { width: 29px; height: 29px; stroke-width: 2; }
.intro-page h3 { font-size: 18px; font-weight: 750; }
.intro-page .feature-grid p { font-size: 15px; margin-top: 13px; }
.intro-page .app-showcase { background: #f7faf2; padding: 64px 70px; border-radius: 26px; gap: 82px; }
.intro-page .app-preview { width: 250px; }
.intro-page .phone { border: 4px solid #e0e4da; border-radius: 31px; box-shadow: 0 12px 0 #e8ecdf; }
.intro-page .showcase-copy > p { font-size: 16px; line-height: 1.85; }
.intro-page .showcase-copy blockquote { border-top: 2px solid #e0e7d4; padding-top: 25px; }
.intro-page .showcase-copy blockquote > span:first-child { font-size: 23px; }
.intro-page .translation { color: var(--green); font-size: 19px; }
.intro-page .brand-note { padding-block: 98px 92px; gap: 64px; }
.intro-page .brand-copy > p { margin-top: 24px; }
.intro-page .brand-equation { gap: 11px; margin-top: 30px; font-size: 22px; }
.intro-page .brand-equals { color: var(--green); }
.intro-page .car-art { width: 100%; aspect-ratio: 1040 / 870; }
.intro-page .car-art iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.intro-page .download-band { background: var(--soft); color: var(--ink); padding-block: 63px; border-top: 2px solid #e3edda; border-bottom: 2px solid #e3edda; }
.intro-page .download-band p { color: var(--muted); margin-top: 17px; }
.intro-page .download-band .button { min-width: 240px; background: var(--green); color: #ffffff; }
.intro-page .download-band a:focus-visible, .intro-page .hero a:focus-visible { outline-color: var(--link); }
.intro-page .site-footer { padding-top: 48px; }
.intro-page .footer-brand .wordmark { font-size: 29px; }
.intro-page .site-footer nav a { color: var(--muted); font-size: 13px; }
.interactive-demo { padding: 54px 66px; border-radius: 26px; background: #f7faf2; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.demo-heading h2 { color: var(--green); }
.demo-heading > p { font-size: 14px; color: var(--muted); }
.demo-switcher { display: flex; justify-content: center; gap: 12px; padding-block: 30px 36px; }
.demo-radio { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.demo-switcher label { padding: 9px 19px; border: 2px solid #dce7d0; border-bottom-width: 4px; border-radius: 13px; background: white; font-size: 14px; font-weight: 750; cursor: pointer; color: #666; }
.demo-radio:checked + label { border-color: #aad077; background: #e8f5d8; color: #438900; }
.demo-radio:focus-visible + label { outline: 3px solid var(--link); outline-offset: 4px; }
.demo-panel { display: none; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.interactive-demo:has(#demo-word:checked) [data-demo="word"], .interactive-demo:has(#demo-answer:checked) [data-demo="answer"], .interactive-demo:has(#demo-exam:checked) [data-demo="exam"] { display: grid; }
.demo-description h3 { font-size: 31px; letter-spacing: -.035em; line-height: 1.4; }
.demo-description p { font-size: 16px; color: var(--muted); margin-top: 24px; line-height: 1.9; }
.demo-description > span { display: block; font-size: 12px; color: #838383; margin-top: 28px; }
.screenshot-gallery { padding-top: 83px; }
.gallery-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; margin-top: 42px; }
.gallery-rail figure { min-width: 0; }
.gallery-rail img { width: 100%; height: auto; aspect-ratio: 1320 / 2868; border-radius: 23px; border: 3px solid #e5e5e5; }
.gallery-rail figcaption { margin-top: 20px; }
.gallery-rail strong { display: block; color: var(--ink); font-size: 17px; }
.gallery-rail figcaption span { display: block; font-size: 13px; margin-top: 5px; }
.teacher-demo { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: center; padding-top: 96px; }
.teacher-intro h2 { color: var(--green); }
.teacher-intro > p { margin-top: 23px; font-size: 16px; color: var(--muted); line-height: 1.9; }
.teacher-intro > span { display: block; font-size: 13px; color: var(--muted); margin-top: 26px; }
.teacher-chat { display: flex; flex-direction: column; height: 580px; min-height: 0; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 22px; overflow: hidden; }
.teacher-bar { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--line); padding: 17px 23px; }
.teacher-bar strong { font-size: 18px; }
.teacher-bar span { font-size: 11px; color: #777; background: #f4f4f4; border-radius: 8px; padding: 3px 9px; }
.teacher-context { flex-shrink: 0; padding: 17px 23px; background: #f7faf2; border-bottom: 2px solid var(--line); }
.teacher-context > span { font-size: 11px; color: #777; }
.teacher-context p { font-size: 14px; font-weight: 650; line-height: 1.6; margin-top: 8px; overflow-wrap: anywhere; }
.teacher-context small { display: block; font-size: 12px; color: #777; margin-top: 10px; }
.teacher-welcome { padding: 20px 23px 5px; font-size: 14px; color: #777; }
.teacher-chat details { margin: 13px 20px; }
.teacher-chat details:last-child { margin-bottom: 22px; }
.teacher-chat summary { padding: 13px 15px; border: 2px solid #e1e6dc; border-radius: 12px; font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; min-height: 48px; }
.teacher-chat summary::-webkit-details-marker { display: none; }
.teacher-chat summary::after { content: '+'; float: right; color: #5d8f26; font-size: 18px; line-height: 20px; }
.teacher-chat details[open] summary { background: #e8f5d8; border-color: #aad077; color: #438900; }
.teacher-chat details[open] summary::after { content: '−'; }
.teacher-answer { background: #f5f5f5; border-radius: 13px; margin-top: 13px; padding: 18px; font-size: 14px; line-height: 1.85; }
.teacher-answer p + p { margin-top: 13px; }
.teacher-topics { flex-shrink: 0; display: flex; gap: 7px; padding: 12px 16px; border-bottom: 2px solid var(--line); }
.teacher-topics button, .teacher-prompts button { font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; border: 2px solid var(--line); border-bottom-width: 3px; border-radius: 10px; background: white; color: #666; padding: 7px 10px; min-height: 36px; }
.teacher-topics button[aria-pressed="true"] { background: #e8f5d8; color: #438900; border-color: #aad077; }
.teacher-message-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 16px; background: #fcfcfa; }
.chat-bubble { max-width: 94%; padding: 12px 14px; border-radius: 13px; margin-bottom: 12px; }
.chat-assistant { background: white; border: 1.5px solid #e5e5e5; }
.chat-user { margin-left: auto; background: #e8f5d8; color: #3f6918; }
.chat-label { display: block; font-size: 11px; font-weight: 750; color: #438900; margin-bottom: 6px; }
.chat-bubble p { font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.teacher-prompts { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px; border-top: 2px solid var(--line); }
.teacher-prompts button { text-align: left; }
.teacher-chat button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.intro-page .brand-equation { display: flex; align-items: flex-start; }
.equation-term { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.equation-term strong { font-size: inherit; line-height: 1.15; }
.equation-term small { font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--muted); }
.equation-sign { color: var(--green); line-height: 1.15; }
.live-demo-mount { width: min(350px, 100%); height: var(--demo-height); justify-self: center; min-width: 0; }
.demo-panel { min-height: var(--demo-height); }
.demo-app { --app-ink: #252d2e; --app-green: #237a52; --app-paper: #f4f2ed; position: relative; display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; background: var(--app-paper); color: var(--app-ink); padding: 13px; border: 4px solid #e0e4da; border-radius: 29px; box-shadow: 0 10px 0 #e8ecdf; font-size: 13px; }
.demo-app button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.demo-app button:focus-visible { outline: 3px solid var(--app-green); outline-offset: 3px; }
.demo-app button:disabled { cursor: default; opacity: .4; }
.demo-app svg { width: 18px; height: 18px; flex: none; }
.mini-top { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 3px 13px; font-size: 12px; font-weight: 650; }
.mini-top .mini-text { font-size: 11px; }
.mini-question { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: #fff; border: 1.5px solid #dfe2dd; border-radius: 19px; padding: 17px 15px; }
.mini-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #727a76; font-size: 12px; }
.mini-text { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 0; min-height: 36px; background: transparent; border: 0; color: var(--app-green); font-weight: 650; font-size: 12px; text-decoration: none; }
.mini-text svg { width: 15px; height: 15px; }
.mini-stem { font-size: 17px; font-weight: 700; line-height: 1.8; margin-top: 13px; overflow-wrap: break-word; }
.word-tap { border: 0; padding: 0; background: #f7edc7; color: #775d1b; font: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 3px; border-radius: 2px; }
.word-popover { position: relative; display: grid; gap: 5px; padding: 15px 38px 12px 13px; border: 2px solid #dfe2dd; border-radius: 14px; margin-top: 13px; }
.word-popover strong { font-size: 16px; }
.word-popover > span { color: #69716d; font-size: 12px; }
.word-popover .mini-text { justify-self: start; padding-block: 0; min-height: 27px; }
.word-close { position: absolute; top: 6px; right: 4px; background: transparent; border: 0; color: #727a76; width: 35px; height: 35px; display: grid; place-items: center; }
.mini-translation { border-top: 1px solid #dfe2dd; margin-top: 18px; padding-top: 12px; }
.mini-translation > span { font-size: 11px; color: #727a76; }
.mini-translation p { font-size: 14px; margin-top: 5px; line-height: 1.7; }
.mini-sign { width: auto; height: auto; max-width: 150px; max-height: 155px; object-fit: contain; margin: 22px auto 8px; }
.mini-save { margin-left: auto; display: flex; width: fit-content; }
.mini-hint { font-size: 11px; color: #777; margin-top: 9px; }
.mini-choices { flex-shrink: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.mini-choice { min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 2px solid #deddd7; border-bottom: 5px solid #b4b7b2; border-radius: 13px; font-size: 17px; font-weight: 750; color: var(--app-ink); }
.mini-choice:hover { background: #eef3e9; }
.mini-choice.selected { color: var(--app-green); border-color: #a7c2b4; background: #e0eee5; }
.mini-choice:active, .mini-primary:active { transform: translateY(2px); }
.mini-feedback { border-top: 1px solid #dfe2dd; padding-top: 13px; margin-top: 7px; }
.mini-feedback > strong { display: flex; align-items: center; gap: 7px; font-size: 16px; }
.mini-feedback.correct > strong { color: var(--app-green); }
.mini-feedback.wrong > strong { color: #b94b36; }
.answer-comparison { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; gap: 12px; color: #727a76; font-size: 11px; }
.answer-comparison span + span { border-left: 1px solid #dfe2dd; padding-left: 13px; }
.answer-comparison b { display: block; font-size: 21px; color: var(--app-ink); margin-top: 3px; }
.answer-comparison span + span b { color: var(--app-green); }
.mini-explanation { border: 0; margin-top: 11px; }
.mini-explanation summary { padding: 8px 0; color: var(--app-green); font-size: 13px; }
.mini-explanation p { font-size: 13px; line-height: 1.8; color: #555; padding-bottom: 0; }
.mini-primary { flex-shrink: 0; display: block; width: 100%; height: 47px; background: var(--app-green); color: white; font-size: 14px; line-height: 1.3; font-weight: 750; padding: 9px 12px; border: 0; border-bottom: 4px solid #174f38; border-radius: 13px; margin-top: 13px; min-height: 47px; }
.mini-demo-note { flex-shrink: 0; font-size: 10px; color: #7b7e77; text-align: center; margin-top: 12px; line-height: 1.6; }
.mini-submit { border: 0; border-bottom: 3px solid #174f38; border-radius: 10px; background: var(--app-green); color: white; padding: 7px 13px; font-size: 12px; font-weight: 750; min-height: 36px; }
.exam-welcome { flex: 1; min-height: 0; overflow-y: auto; padding: 27px 11px 18px; }
.exam-welcome > strong { display: block; font-size: 24px; }
.exam-welcome p { color: #727a76; margin-top: 15px; line-height: 1.8; }
.exam-welcome small { display: block; font-size: 10px; color: #727a76; margin-top: 14px; }
.exam-overview { flex-shrink: 0; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.exam-overview button { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 36px; height: 36px; background: white; border: 1.5px solid #cccfc9; border-radius: 8px; color: var(--app-ink); font-weight: 650; }
.exam-overview button[aria-current] { background: var(--app-ink); color: #fff; border-color: var(--app-ink); }
.exam-overview svg { width: 10px; height: 10px; }
.exam-overview > span { margin-left: auto; font-size: 11px; }
.exam-navigation { flex-shrink: 0; display: flex; justify-content: space-between; margin-top: 5px; }
.exam-confirm { position: absolute; bottom: 78px; left: 14px; right: 14px; z-index: 2; background: #fff; border: 2px solid #e3d7ad; border-radius: 16px; padding: 15px; box-shadow: 0 8px 24px #25352829; }
.exam-confirm > p { font-size: 12px; color: #727a76; margin-top: 7px; }
.exam-confirm .mini-text { display: flex; margin: 8px auto 0; }
.exam-results { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 20px 3px 9px; }
.exam-results > strong { font-size: 35px; color: var(--app-green); }
.exam-results > strong > span { font-size: 13px; color: #727a76; }
.exam-results > p { font-size: 12px; color: #727a76; margin-block: 10px 18px; }
.exam-review summary { font-size: 13px; padding: 14px 0; }
.exam-review p { font-size: 12px; line-height: 1.8; padding-bottom: 12px; }
.download-theme .download-page { padding-block: 60px 70px; gap: 65px; }
.download-theme .download-intro { background: transparent; color: var(--ink); padding: 8px 0; border-radius: 0; }
.download-theme .download-intro .app-icon { width: 95px; height: 95px; border-radius: 21px; }
.download-theme .app-name { color: var(--muted); font-size: 13px; }
.download-theme .download-intro h1 { font-size: clamp(35px, 3.7vw, 48px); color: var(--ink); margin-top: 16px; }
.download-theme .download-intro .lead { color: var(--muted); font-size: 17px; }
.download-theme .download-status { background: #f7faf2; border: 2px solid #e3edda; border-bottom-width: 5px; border-radius: 24px; padding: 32px 30px; }
.download-theme .download-status h2 { color: var(--green); font-size: 26px; }
.download-theme .download-status p { font-size: 15px; }
.download-theme .download-status .button { margin-top: 26px; }
.download-theme .download-questions { max-width: var(--content); }
.download-theme .download-questions h2 { color: var(--green); font-size: 30px; }
.download-theme .download-questions details { border-bottom: 2px solid var(--line); }
.download-theme .download-questions summary { font-size: 16px; color: var(--ink); }
.download-theme .download-questions p { font-size: 15px; }
@media (max-width: 820px) {
  .intro-page .hero { gap: 26px; min-height: 510px; }
  .intro-page .hero h1 { font-size: 39px; }
  .intro-page .hero-lead { font-size: 16px; }
  .intro-page .app-showcase { padding: 45px 35px; gap: 40px; }
  .intro-page .app-preview { width: 218px; }
  .intro-page .feature-grid { gap: 23px; }
  .intro-page .feature-title { flex-direction: column; align-items: flex-start; }
  .intro-page .brand-note { gap: 25px; }
  .intro-page .brand-equation { font-size: 19px; }
  .interactive-demo { padding: 40px 33px; }
  .demo-heading { align-items: flex-start; }
  .demo-panel { gap: 30px; }
  .demo-description h3 { font-size: 26px; }
  .gallery-rail { gap: 28px; }
  .teacher-demo { gap: 30px; }
  .demo-panel { gap: 38px; }
  .download-theme .download-page { gap: 30px; }
}
@media (max-width: 620px) {
  :root { --demo-height: 620px; }
  .intro-page .wrap, .intro-page .hero { width: calc(100% - 40px); }
  .intro-page .site-header { min-height: 77px; gap: 12px; }
  .intro-page .wordmark { font-size: 30px; }
  .intro-page .site-header nav { gap: 17px; }
  .intro-page .site-header nav .nav-learning, .intro-page .site-header nav .nav-teacher { display: none; }
  .intro-page .site-header nav a { font-size: 12px; }
  .intro-page .hero { display: flex; flex-direction: column; gap: 13px; padding: 20px 0 44px; min-height: 0; text-align: center; }
  .intro-page .hero-art { width: 244px; height: 244px; flex: none; }
  .intro-page .hero-copy { width: 100%; }
  .intro-page .hero h1 { font-size: 36px; letter-spacing: -.04em; line-height: 1.26; }
  .intro-page .hero-lead { font-size: 15px; margin-top: 17px; line-height: 1.8; }
  .intro-page .hero-actions { margin: 24px auto 0; max-width: 335px; }
  .intro-page .availability { font-size: 11px; margin-top: 18px; }
  .learning-strip .wrap { padding-block: 20px; gap: 9px; }
  .learning-strip span { font-size: 11px; white-space: nowrap; }
  .intro-page .learning-section { padding-block: 54px 55px; }
  .intro-page .section-heading { display: block; }
  .intro-page .section-heading > p { margin-top: 20px; font-size: 14px; }
  .intro-page .feature-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 27px; }
  .intro-page .feature-title { flex-direction: row; align-items: center; }
  .intro-page .feature-grid section { padding-top: 22px; }
  .intro-page .feature-grid p { margin-top: 9px; font-size: 14px; }
  .intro-page .app-showcase { display: flex; flex-direction: column-reverse; padding: 33px 24px 28px; gap: 35px; border-radius: 21px; }
  .intro-page .showcase-copy h2 { font-size: 31px; }
  .intro-page .showcase-copy > p { font-size: 14px; margin-top: 17px; }
  .intro-page .showcase-copy blockquote > span:first-child { font-size: 20px; }
  .intro-page .app-preview { width: 228px; }
  .intro-page .brand-note { display: flex; flex-direction: column; padding-block: 59px 45px; gap: 5px; }
  .intro-page .brand-copy { width: 100%; }
  .intro-page .brand-copy h2 { font-size: 31px; }
  .intro-page .brand-copy p { font-size: 14px; margin-top: 20px; }
  .intro-page .brand-copy .brand-equation { font-size: 19px; flex-wrap: nowrap; }
  .intro-page .car-art { max-width: 300px; }
  .intro-page .download-band { padding-block: 43px; }
  .intro-page .download-band .wrap { flex-direction: column; align-items: flex-start; gap: 27px; }
  .intro-page .download-band h2 { font-size: 32px; }
  .intro-page .download-band p { font-size: 14px; }
  .intro-page .download-band .button { width: 100%; }
  .intro-page .site-footer { grid-template-columns: 1fr; gap: 23px; }
  .intro-page .site-footer nav { gap: 22px; }
  .interactive-demo { padding: 33px 21px; }
  .demo-heading { display: block; }
  .demo-heading > p { margin-top: 18px; font-size: 13px; }
  .demo-switcher { gap: 8px; padding-block: 24px 29px; }
  .demo-switcher label { padding: 9px 11px; font-size: 12px; white-space: nowrap; }
  .demo-panel { grid-template-columns: 1fr; gap: 28px; }
  .demo-description h3 { font-size: 26px; }
  .demo-description p { font-size: 14px; margin-top: 14px; }
  .demo-description > span { margin-top: 17px; }
  .demo-description { min-height: 225px; }
  .screenshot-gallery { padding-top: 57px; }
  .screenshot-gallery .section-heading { display: block; }
  .screenshot-gallery .section-heading > p { margin-top: 17px; }
  .gallery-rail { display: flex; overflow-x: auto; gap: 18px; scroll-snap-type: x mandatory; padding-bottom: 16px; margin-top: 28px; }
  .gallery-rail figure { flex: 0 0 220px; scroll-snap-align: start; }
  .teacher-demo { grid-template-columns: 1fr; padding-top: 50px; gap: 27px; }
  .teacher-intro > p { font-size: 14px; margin-top: 17px; }
  .teacher-intro > span { margin-top: 16px; }
  .teacher-context { padding: 17px 20px; }
  .teacher-bar { padding: 15px 20px; }
  .teacher-welcome { padding-inline: 20px; }
  .teacher-chat details { margin-inline: 15px; }
  .teacher-chat { height: 620px; }
  .teacher-topics { gap: 5px; padding: 10px; }
  .teacher-topics button { font-size: 10px; padding: 7px; }
  .teacher-prompts { padding: 10px; }
  .teacher-prompts button { font-size: 11px; }
  .intro-page .brand-copy .brand-equation { gap: 9px; }
  .equation-term small { font-size: 10px; max-width: 90px; }
  .interactive-demo { padding-inline: 16px; }
  .live-demo-mount { width: 100%; }
  .demo-app { padding: 10px; border-width: 3px; border-radius: 24px; }
  .mini-question { padding: 14px 12px; }
  .mini-stem { font-size: 16px; }
  .mini-top { font-size: 11px; }
  .mini-top .mini-text { font-size: 10px; }
  .mini-meta { font-size: 11px; }
  .mini-meta .mini-text { font-size: 10px; }
  .mini-choice { font-size: 16px; }
  .download-theme .download-page { padding-block: 35px 46px; grid-template-columns: 1fr; }
  .download-theme .download-status { padding: 26px 22px; }
  .download-theme .download-questions h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-page .button { transition: none; }
}
