:root {
  color-scheme: light;
  --ink: #192f27;
  --muted: #4a6056;
  --forest: #183c32;
  --fern: #2e6755;
  --cream: #f7f4e9;
  --paper: #fffdf6;
  --mint: #e0ecdf;
  --mist: #e9eee2;
  --line: #cbd9ce;
  --page-gutter: max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
  --sans: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
button, audio { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .demo-story h3 { font-family: var(--serif); }
h2 { font-size: clamp(2.3rem, 5vw, 4.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.045em; }
ul { padding: 0; margin: 0; list-style: none; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(calc(100% - 2 * var(--page-gutter)), 75rem); margin-inline: auto; }
:focus-visible { outline: 3px solid #a34a10; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .6rem 1rem; background: var(--paper); z-index: 5; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.top { min-height: calc(6rem + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; line-height: 1.05; }
.brand img { flex: 0 0 auto; }
.brand strong { display: block; font-size: 1.52rem; letter-spacing: .04em; }
.brand small { display: block; margin-top: .24rem; color: var(--muted); font: 600 1rem/1 Georgia, serif; }
nav { display: flex; gap: clamp(1.2rem, 4vw, 3rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration-thickness: .075em; text-underline-offset: .28em; }
nav a:not(:hover) { text-decoration-color: transparent; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.25rem; border: 1px solid var(--forest); border-radius: .6rem; background: var(--forest); color: white; text-decoration: none; font-weight: 700; font-size: 1rem; white-space: nowrap; transition: background .18s ease, box-shadow .18s ease; }
.button:hover { background: var(--fern); box-shadow: 0 .25rem .6rem #133d3022; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.6rem, 4vw, 4rem); padding-block: 1rem 5.3rem; }
.hero-copy { padding-block: 1rem; animation: enter .65s ease both; }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: .95rem; color: var(--fern); font-size: .95rem; font-weight: 750; letter-spacing: .09em; }
.eyebrow span { width: .62rem; height: .62rem; border-radius: 50% 12% 50% 50%; transform: rotate(-20deg); background: var(--fern); }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6.75rem); line-height: 1.075; font-weight: 900; letter-spacing: -.07em; }
.intro { max-width: 27rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.18rem); line-height: 1.9; text-wrap: pretty; }
.intro + .intro { margin-top: .55rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-top: 1.7rem; }
.hero-release { color: var(--fern); font-weight: 720; }
.hero-art { position: relative; overflow: hidden; border-radius: 1.45rem; background: var(--mist); box-shadow: 0 1.15rem 2.5rem #2142351a; transform-origin: 60% 70%; animation: enter .8s .08s ease both; }
.hero-art img { width: 100%; aspect-ratio: 1.24; height: auto; object-fit: cover; }
.device-section { padding-block: 0 clamp(2.7rem, 6vw, 5rem); background: #e8edde; }
.device-gallery { padding: clamp(1rem, 3.3vw, 2.8rem); border: 1px solid var(--line); border-radius: 1.55rem; background: linear-gradient(165deg, #f8faf2, #dce8dc); }
.device-stage { display: grid; grid-template-columns: minmax(0, 2.72764fr) minmax(0, 1fr); align-items: start; gap: clamp(1.2rem, 3.3vw, 3rem); }
.device-panel { display: grid; gap: .65rem; min-width: 0; }
.device-caption { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 720; }
/* Housing and display insets follow Apple's dimensional drawings for iPad Pro 13-inch (M5) and iPhone 18 Pro. */
.device-frame { position: relative; min-height: 0; background: #111615; box-shadow: inset 0 0 0 1px #7f8883, inset 0 0 0 2px #383e3c, 0 .75rem 1.55rem #172d2630; }
.device-tablet .device-frame { aspect-ratio: 281.58 / 215.53; --screen-x: 2.91%; --screen-y: 3.802%; border-radius: 4.7% / 6.14%; }
.device-phone .device-frame { aspect-ratio: 71.85 / 150.01; --screen-x: 3.674%; --screen-y: 1.76%; border-radius: 18.6% / 8.91%; box-shadow: inset 0 0 0 1px #777e79, inset 0 0 0 2px #454946, 0 .75rem 1.55rem #172d2630; }
.device-display { position: absolute; inset: var(--screen-y) var(--screen-x); width: calc(100% - 2 * var(--screen-x)); height: calc(100% - 2 * var(--screen-y)); object-fit: contain; background: #111615; }
.device-tablet .device-display { border-radius: 3.12% / 4.16%; }
.device-phone .device-display { border-radius: 14.8% / 6.8%; }
.device-tablet .device-frame::before { content: ''; position: absolute; z-index: 1; inset: 1.9% auto auto 50%; width: .87%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 42% 42%, #4f6577 0 17%, #243846 22% 43%, #090e14 51%); pointer-events: none; }
.phone-controls { position: absolute; inset: 0; pointer-events: none; }
.phone-controls i { position: absolute; width: .66%; min-width: 1px; border-radius: .2rem; background: linear-gradient(90deg, #777f7c, #3b4240); }
.phone-controls i:nth-child(1) { left: -.63%; top: 20.55%; height: 4.6%; }
.phone-controls i:nth-child(2) { left: -.63%; top: 28.55%; height: 7.47%; }
.phone-controls i:nth-child(3) { left: -.63%; top: 38%; height: 7.47%; }
.phone-controls i:nth-child(4) { right: -.63%; top: 31.12%; height: 11.8%; }
.phone-controls i:nth-child(5) { right: -.46%; top: 59.9%; height: 11.4%; }

#app-screens { scroll-margin-top: 1.5rem; }
@media (max-width: 47.99rem) {
  .device-stage { grid-template-columns: 1fr; gap: 1.65rem; }
  .device-panel { gap: .55rem; }
  .device-tablet { width: min(100%, 36rem); margin-inline: auto; }
  .device-phone { width: min(90%, 18rem); margin-inline: auto; }
}
.ui-icon { position: relative; display: inline-block; flex: 0 0 auto; width: 1rem; height: 1rem; color: inherit; }
.ui-icon::before, .ui-icon::after { content: ''; position: absolute; }
.ui-icon-shelf::before { inset: 2px auto auto 2px; width: 5px; height: 5px; border-radius: 1.3px; background: currentColor; box-shadow: 7px 0 currentColor, 0 7px currentColor, 7px 7px currentColor; }
.ui-icon-read::before, .ui-icon-read::after { top: 3px; height: 10px; width: 7px; border: 1.4px solid currentColor; }
.ui-icon-read::before { left: 1px; border-radius: 2px 3px 1px 2px; transform: skewY(10deg); }
.ui-icon-read::after { right: 1px; border-radius: 3px 2px 2px 1px; transform: skewY(-10deg); }
.ui-icon-quiz::before { inset: 1px 2px; border: 1.5px solid currentColor; border-radius: 3px; }
.ui-icon-quiz::after { top: 5px; left: 5px; width: 6px; height: 4px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.ui-icon-record::before { left: 2px; bottom: 1px; width: 3px; height: 5px; border-radius: 1px; background: currentColor; }
.ui-icon-record::after { left: 7px; bottom: 1px; width: 3px; height: 9px; border-radius: 1px; background: currentColor; }
.ui-icon-record { background: linear-gradient(currentColor, currentColor) right 1px bottom 1px / 3px 13px no-repeat; }
.feature-icon { display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 auto; border-radius: .55rem; color: var(--fern); background: #dce8da; }

.sample-section { padding-block: clamp(3.6rem, 7vw, 6.5rem); }
.sample-heading > p:last-child { color: var(--muted); margin-top: .6rem; }
.demo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1px; margin-top: 1.8rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--line); box-shadow: 0 1rem 2.5rem #173e3010; }
.demo-main, .demo-quiz { background: var(--paper); padding: clamp(1.1rem, 3.2vw, 2.6rem); min-width: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; }
.tabs button { min-height: 44px; border: 1px solid var(--line); padding: .48rem .7rem; border-radius: .45rem; background: transparent; color: var(--forest); font-weight: 700; }
.tabs button[aria-selected="true"] { border-color: var(--forest); background: var(--forest); color: white; }
.demo-story { margin-top: 1.35rem; }
.demo-story h3 { overflow-wrap: anywhere; font-size: clamp(1.65rem, 3.05vw, 2.4rem); line-height: 1.2; }
.excerpt { margin-block: .7rem .9rem; font-size: 1.13rem; }
.gloss { margin-bottom: .9rem; color: var(--muted); }
.gloss summary { color: var(--fern); cursor: pointer; font-weight: 650; }
.gloss p { margin-top: .3rem; }
audio { width: min(100%, 24rem); }
.demo-quiz { display: flex; flex-direction: column; align-items: flex-start; background: #edf2e8; }
.demo-quiz fieldset { border: 0; padding: 0; margin: 0; width: 100%; min-width: 0; }
.quiz-chinese { margin-bottom: .45rem; }
.quiz-question, .quiz-option { display: flex; align-items: center; gap: .45rem; width: 100%; }
.quiz-question { justify-content: space-between; font-size: 1.15rem; margin-bottom: .65rem; }
.quiz-option { margin-bottom: .4rem; padding-inline-end: .3rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--paper); }
.demo-quiz label { flex: 1; min-width: 0; overflow-wrap: anywhere; min-height: 48px; display: flex; align-items: baseline; gap: .55rem; padding: .55rem .65rem; cursor: pointer; }
.quiz-option:has(input:checked) { border-color: var(--fern); box-shadow: inset 0 0 0 .06rem var(--fern); }
.quiz-translation { display: block; color: var(--muted); font-size: .95rem; }
.quiz-control { flex: none; min-height: 44px; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--paper); color: var(--forest); font-size: .92rem; font-weight: 700; white-space: nowrap; }
.quiz-control:hover { background: var(--mint); }
.quiz-control[aria-pressed="true"], .quiz-control[aria-expanded="true"] { background: var(--forest); color: white; border-color: var(--forest); }
.quiz-sound { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fern); }
.quiz-sound[aria-pressed="true"] { background: var(--mint); color: var(--forest); }
.speaker-icon { position: relative; display: block; width: 17px; height: 16px; }
.speaker-icon::before, .speaker-icon::after { content: ""; position: absolute; }
.speaker-icon::before { inset: 2px auto 2px 0; width: 10px; background: currentColor; clip-path: polygon(0 33%, 38% 33%, 100% 0, 100% 100%, 38% 67%, 0 67%); }
.speaker-icon::after { width: 8px; height: 12px; inset: 2px 0 auto auto; border-right: 1.7px solid currentColor; border-radius: 50%; }
.quiz-audio-error { color: var(--muted); font-size: .95rem; }
.demo-quiz input { accent-color: var(--fern); }
.feedback { min-height: 1.65em; color: var(--fern); font-weight: 650; margin-top: .5rem; }

.feature-section { background: var(--mist); padding-block: clamp(2.7rem, 6vw, 5rem); }
.reading-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1rem, 5vw, 4rem); margin: clamp(1.3rem, 3vw, 2rem) 0 .7rem; }
.reading-features > div { padding: .95rem 0 1.15rem; border-top: 1px solid #becfc0; }
.reading-features dt { display: flex; align-items: center; gap: .55rem; font-weight: 780; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.reading-features dd { margin: .28rem 0 0; color: var(--muted); line-height: 1.65; }
.edition-section { color: var(--cream); background: var(--forest); padding-block: clamp(3.05rem, 6vw, 5.5rem); }
.edition-section .eyebrow { color: #b7d5be; }
.edition-section .eyebrow span { background: #b7d5be; }
.edition-intro { margin-top: .65rem; color: #d8e8d9; }
.edition-intro a { color: var(--cream); text-underline-offset: .2em; }
.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-block: 1.65rem 1rem; }
.edition-card { display: flex; flex-direction: column; min-width: 0; gap: .75rem; border: 1px solid #507a65; border-radius: 1rem; padding: clamp(1rem, 2.7vw, 2rem); background: #204638; }
.edition-lite { background: var(--cream); border-color: var(--cream); color: var(--forest); }
.edition-live { background: #f7dda7; border-color: #e8ba72; color: #38291f; }
.edition-card header { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.edition-card h3 { font: 800 clamp(1.35rem, 2.5vw, 1.8rem)/1.2 var(--serif); }
.edition-price { padding: .18rem .62rem; border-radius: 2rem; background: var(--mint); font-weight: 750; font-size: .9rem; }
.voice-example { margin: 0; padding: 1rem; border-radius: .7rem; background: #16392e; }
.edition-lite .voice-example { background: var(--mint); }
.edition-live .voice-example { background: #fff3d9; }
.voice-example figcaption { font-weight: 750; margin-bottom: .65rem; }
.voice-example dl { display: grid; gap: .55rem; margin: 0; }
.voice-example dl > div { display: grid; grid-template-columns: 3.9rem minmax(0, 1fr); gap: .5rem; }
.voice-example dt { font-weight: 750; }
.voice-example dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.edition-status { margin-top: auto; padding-top: .75rem; border-top: 1px solid #507a65; color: #d8e8d9; font-size: .95rem; }
.edition-lite .edition-status { color: var(--muted); border-color: var(--line); }
.edition-live .edition-status { color: #60452b; border-color: #c09a60; }
.footer { min-height: 6.4rem; color: var(--muted); flex-wrap: wrap; padding-block: 1rem max(1rem, env(safe-area-inset-bottom)); }
@keyframes enter { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }
@media (max-width: 56rem) {
  .hero { grid-template-columns: .96fr 1.04fr; gap: 1.35rem; padding-bottom: 3.3rem; }
  .hero h1 { font-size: clamp(2.7rem, 6.3vw, 4.4rem); }
}
@media (max-width: 40rem) {
  h2 { font-size: clamp(1.95rem, 7.3vw, 2.85rem); }
  .top { gap: .6rem; min-height: calc(4.35rem + env(safe-area-inset-top)); }
  .top .brand img { width: 52px; height: 52px; }
  .top .brand strong { font-size: 1.45rem; }
  .top .brand small { font-size: .94rem; }
  .top nav { gap: .75rem; }
  .top nav a { white-space: nowrap; padding-inline: .35rem; }
  .hero { grid-template-columns: 1fr; gap: 1.35rem; padding-block: .45rem 3rem; }
  .hero-copy { padding-block: .75rem 0; }
  .hero h1 { font-size: clamp(2.5rem, 10.2vw, 4.2rem); }
  .intro { margin-top: .8rem; }
  .hero-actions { justify-content: center; margin-top: 1.1rem; }
  .hero-actions .button { width: 100%; }
  .sample-section { padding-block: 2rem 3.2rem; }
  .demo { margin-top: 1.15rem; }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs button { min-width: 0; padding-inline: .35rem; }
  .demo-main audio { width: 100%; }
  .hero-art img { aspect-ratio: 4 / 3; }
  .editions, .reading-features, .demo { grid-template-columns: 1fr; }
  .footer { gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.experience-section { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 3vw, 2rem); background: #e8edde; }
.experience-intro { max-width: 39rem; color: var(--muted); margin-top: .75rem; }
.experience-board { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.28fr); margin-top: clamp(1.3rem, 3vw, 2.45rem); overflow: hidden; border: 1px solid #bccfc0; border-radius: 1.5rem; box-shadow: 0 1.3rem 3rem #25473415; }
.experience-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1.45rem; isolation: isolate; overflow: hidden; min-height: 28rem; padding: clamp(1.3rem, 3.2vw, 2.6rem); color: #fff8df; background: #173c35; }
.pond-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: linear-gradient(0deg, #123832 3%, #14383255 60%, #245447 100%), radial-gradient(ellipse at 74% 21%, #9bbd8c 0%, #376c55 30%, #183b35 75%); }
.pond-art i { position: absolute; width: clamp(4.5rem, 10vw, 8rem); aspect-ratio: 1; border-radius: 50%; top: 8%; right: 17%; background: radial-gradient(circle at 36% 35%, #fff8dc, #edce80 78%); box-shadow: 0 0 2.5rem #ffe6a065; }
.pond-art b { position: absolute; translate: 50%; right: 28%; top: 36%; width: 120%; height: 45%; border-radius: 50%; opacity: .7; background: repeating-radial-gradient(ellipse at center, #a5b97655 0 1px, transparent 2px 13px); transform: scaleY(.65); }
.experience-story h3 { margin-block: .35rem; font: 700 clamp(2.5rem, 4.65vw, 4.3rem)/.97 Georgia, serif; letter-spacing: -.055em; }
.experience-story p { color: #e4efcf; font-size: .95rem; font-weight: 650; }
.experience-stage { padding: clamp(1.3rem, 3.4vw, 2.7rem); min-width: 0; background: var(--paper); }
.experience-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.experience-stage h3 { font-size: clamp(1.48rem, 2.45vw, 2rem); line-height: 1.25; }
.experience-help { margin-top: .45rem; color: var(--muted); font-size: .96rem; }
.experience-chip { flex: 0 0 auto; min-height: 44px; padding: .35rem .7rem; border: 1px solid #c1d5c7; border-radius: .55rem; background: #ecf2e7; color: #224d3f; font-size: .92rem; font-weight: 750; }
.experience-chip[aria-pressed="true"], .experience-chip:hover { background: #d7e8d9; border-color: #86ad9a; }
.experience-lines { display: grid; gap: .55rem; margin: 1.15rem 0 0; padding: 0; list-style: none; }
.experience-lines li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: start; gap: clamp(.55rem, 1.4vw, 1.05rem); padding: .52rem .7rem; border: 1px solid #dee5d7; border-radius: .7rem; background: #f4f6ed; }
.experience-lines li:has(button[data-line][aria-pressed="true"]) { border-color: #9cbe98; background: #e6f0df; }
.experience-lines li > div { align-self: center; }
.experience-lines p[lang="en"] { font: 1.15rem/1.53 Georgia, serif; }
.experience-play { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #bed7c2; border-radius: 50%; background: #e3eedb; color: #205a45; font-size: .72rem; }
.experience-play[aria-pressed="true"] { background: #21624e; color: #fff; }
.experience-play[aria-pressed="true"] span { font-size: 0; }
.experience-play[aria-pressed="true"] span::after { content: 'Ⅱ'; font-size: .9rem; }
.experience-word { border: 0; border-radius: .25rem; padding: 0 .22em; min-height: 29px; background: #dbecdc; color: #1a5944; text-decoration: underline dotted; text-underline-offset: .17em; }
.experience-word:hover, .experience-word[aria-pressed="true"] { background: #bdddc5; }
.experience-translation { margin-top: .18rem; color: #4a6056; font-size: .91rem; }
.experience-definition, .experience-word-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .8rem; border: 1px solid #dbcb9a; border-radius: .7rem; padding: .65rem .85rem; background: #faf2da; }
.experience-definition { grid-column: 2; margin-bottom: .15rem; }
.experience-definition strong, .experience-word-list strong { font: 700 1.34rem/1.2 Georgia, serif; }
.experience-definition p, .experience-word-list p { font-size: .95rem; }
.experience-word-list { display: grid; gap: .6rem; margin-top: 1.1rem; }
.experience-empty { margin-top: 1.1rem; padding: 1rem; background: #f4f6ed; border-radius: .7rem; }
.experience-status { font-size: .95rem; font-weight: 650; color: #236449; }
.experience-status:not(:empty) { margin-top: .65rem; }
.experience-flower-count { border-radius: 999px; padding: .2rem .65rem; background: #f5e9d1; color: #713e22; font-size: .92rem; font-weight: 750; }
#experience-question fieldset { display: grid; gap: .36rem; padding: 0; border: 0; margin: .85rem 0 .65rem; min-width: 0; }
#experience-question legend { padding: 0 0 .35rem; font: 700 1.16rem/1.45 Georgia, serif; }
#experience-question label { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .32rem .75rem; border: 1px solid #cddacd; border-radius: .5rem; background: #f5f7f0; cursor: pointer; }
#experience-question label:has(:checked) { background: #deeddd; border-color: #91b49b; }
#experience-question input { accent-color: #24644d; }
.experience-flower { display: grid; place-items: center; width: 5rem; height: 5rem; margin: 1rem 0 .4rem; border-radius: 50%; background: #f4e3bf; color: #916138; font: 3.3rem/1 Georgia, serif; animation: flower-open .46s ease-out both; }
@keyframes flower-open { from { opacity: 0; transform: scale(.55) rotate(-22deg); } to { opacity: 1; transform: none; } }
@media (max-width: 52rem) {
  .experience-board { grid-template-columns: 1fr; }
  .experience-cover { min-height: 15rem; }
}
@media (max-width: 28rem) {
  .experience-lines li { padding-inline: .5rem; }
  .experience-heading { flex-wrap: wrap; }
  .experience-definition { grid-column: 1 / -1; }
  .experience-lines p[lang="en"] { font-size: 1.04rem; }
}


.experience-followup { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
.experience-followup .experience-panel { padding: clamp(1.3rem, 3.4vw, 2.7rem); background: var(--paper); min-width: 0; }
.experience-followup h3 { font-size: clamp(1.45rem, 2.45vw, 1.85rem); line-height: 1.25; }
@media (max-width: 40rem) {
  .experience-followup { grid-template-columns: 1fr; }
}

.device-tablet { position: relative; }
.ipad-demo-actions { display: contents; }
.ipad-demo-button { border: 1px solid #d5dfd0; border-radius: .65rem; background: var(--paper); color: var(--forest); min-height: 36px; padding: .3rem .42rem; font-size: clamp(.72rem, 1.08vw, .95rem); font-weight: 750; line-height: 1.2; }
.ipad-demo-button:hover { background: var(--mint); }
.ipad-books-button { position: absolute; z-index: 2; top: 7%; left: 4.65%; min-width: 44px; }
.ipad-ai-buttons { position: absolute; z-index: 2; top: 38%; right: 5.2%; width: 17.4%; display: grid; gap: .38rem; }
.ipad-quiz-button { border-color: var(--fern); background: #e0ecdf; }
.ipad-demo-dialog { width: min(91%, 33rem); max-height: min(90vh, 39rem); border: 1px solid var(--line); border-radius: 1rem; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 1.25rem 3rem #162e2a38; }
.ipad-demo-dialog::backdrop { background: #102721a3; }
.ipad-dialog-content { position: relative; padding: clamp(1.2rem, 4vw, 2rem); }
.ipad-dialog-content h3 { font: 800 1.55rem/1.2 var(--serif); padding-inline-end: 2.8rem; }
.ipad-dialog-content h3:focus { outline: none; }
.ipad-dialog-content h3 + p { color: var(--muted); margin: .4rem 0 1rem; }
.ipad-dialog-close { position: absolute; top: .7rem; right: .7rem; }
.ipad-dialog-close button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mint); color: var(--forest); font-size: 1.55rem; }
.ipad-shelf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.ipad-shelf-grid a { display: grid; align-content: start; gap: .2rem; padding: .65rem; background: #e8eee1; border: 1px solid var(--line); border-radius: .6rem; color: var(--forest); text-decoration: none; overflow-wrap: anywhere; }
.ipad-shelf-grid a:nth-child(odd) { background: #f2e7d0; }
.ipad-shelf-grid a:hover { outline: 1px solid var(--fern); }
.ipad-shelf-grid small { color: var(--muted); }
.ipad-conversation { display: grid; gap: .65rem; margin: 0; }
.ipad-turn { max-width: 90%; padding: .6rem .8rem; border-radius: .7rem; }
.ipad-turn-teacher { justify-self: start; background: #e8eee1; }
.ipad-turn-child { justify-self: end; background: #f3e7d0; }
.ipad-dialog-actions { position: sticky; bottom: -.1rem; display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .6rem; padding: .5rem 0; background: var(--paper); }
.ipad-dialog-actions .button { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; padding: .55rem .85rem; font-size: .92rem; }
.ipad-dialog-actions .ipad-dialog-next { border-color: var(--line); background: var(--mint); color: var(--forest); }
.ipad-dialog-next:disabled { opacity: .56; cursor: default; }
.ipad-dialog-status { color: var(--muted); font-size: .88rem; }
.ipad-dialog-status:empty { display: none; }
.ipad-conversation dt { font-weight: 750; }
.ipad-conversation dd { margin: .2rem 0 0; }
@media (max-width: 43rem) {
  .ipad-demo-actions { display: flex; justify-content: space-between; gap: .35rem; }
  .ipad-books-button, .ipad-ai-buttons { position: static; }
  .ipad-ai-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; width: auto; gap: .35rem; }
  .ipad-demo-button { min-height: 44px; padding-inline: .5rem; font-size: .82rem; }
}
