:root {
  --blue: #087bea;
  --navy: #102948;
  --ink: #172e49;
  --muted: #65788d;
  --line: #dce7f1;
  --pale: #f1f7fd;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; }
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ecb73b; outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
p { font-size: 16px; line-height: 1.85; }
h2 { font-size: 34px; line-height: 1.45; letter-spacing: -.6px; }
h3 { font-size: 22px; line-height: 1.5; }
.topbar { max-width: 1000px; margin: auto; height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 25px; }
.logo { width: 125px; }
.text-button { background: none; color: var(--blue); font-weight: 700; }
.intro { max-width: 1000px; margin: auto; padding: 50px 25px 42px; }
.eyebrow { color: var(--blue); font-size: 14px; font-weight: 650; margin-bottom: 16px; }
h1 { font-size: 54px; line-height: 1.3; letter-spacing: -1.6px; }
h1 span { color: var(--blue); }
.intro-line { margin-top: 22px; color: var(--muted); font-size: 18px; }
.section { max-width: 1000px; padding: 45px 25px; margin: auto; }
.path { padding-top: 0; }
.path-card { border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 30px; }
.path-main { display: grid; grid-template-columns: 1fr 290px; gap: 45px; align-items: center; }
.stage-label { color: var(--blue); font-size: 14px; margin-bottom: 8px; }
.path-copy { color: var(--muted); margin-top: 15px; }
.path-main figure img { width: 100%; height: 205px; border: 1px solid var(--line); border-radius: 10px; object-fit: cover; object-position: top; background: #f7f9fc; }
figcaption { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 8px; }
img[data-zoom] { cursor: zoom-in; }
details { border-top: 1px solid var(--line); margin-top: 22px; }
.path-card > details { border-top: 0; margin-top: 12px; }
summary { cursor: pointer; list-style: none; position: relative; padding: 17px 30px 17px 0; font-size: 15px; line-height: 1.7; color: var(--blue); font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font-size: 25px; font-weight: 400; }
details[open] > summary::after { content: '−'; }
.detail-intro { margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.gallery { display: flex; gap: 15px; overflow-x: auto; padding: 0 0 18px; scroll-snap-type: x mandatory; }
.gallery figure { flex: 0 0 200px; scroll-snap-align: start; }
.gallery img { width: 100%; height: 270px; object-fit: contain; object-position: top; border: 1px solid var(--line); border-radius: 9px; background: #f8fafd; }
.text-link { color: var(--blue); font-size: 15px; display: inline-block; padding-bottom: 12px; }
.understanding { border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-top: 8px; background: var(--pale); }
.understanding summary { color: var(--ink); }
.understanding small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 4px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 20px; }
.resource-links a { background: #fff; border: 1px solid var(--line); padding: 10px 14px; color: var(--blue); font-size: 14px; border-radius: 8px; }
.review { background: var(--pale); max-width: 1000px; border-radius: 18px; }
.case-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 22px; }
.case-steps > div { border-left: 2px solid #a1c9ec; padding-left: 13px; }
.case-steps span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.case-steps strong { display: block; font-size: 25px; }
.case-steps p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.report img { width: 100%; max-height: 240px; object-fit: contain; background: white; border-radius: 8px; }
.report figcaption { font-size: 14px; }
.advice p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.advice b { display: block; color: var(--ink); }
.lesson-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 20px; }
.lesson-proof img, .lesson-proof video { border-radius: 9px; width: 100%; max-height: 300px; object-fit: contain; background: #fff; }
.people { padding-top: 45px; }
.people-photo { position: relative; overflow: hidden; border-radius: 12px; }
.people-photo > img { width: 100%; height: 260px; object-fit: cover; object-position: center 45%; }
.people-photo > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 20px; color: #fff; font-size: 20px; font-weight: 650; background: linear-gradient(transparent,#102948bc); pointer-events: none; }
.teacher-fact { font-size: 15px; margin-top: 18px; }
.teacher-track { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.teacher-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; flex: 0 0 235px; scroll-snap-align: start; }
.teacher-card > img { width: 100%; height: 275px; object-fit: cover; object-position: center 18%; }
.teacher-info { padding: 18px; }
.teacher-info .school { color: var(--blue); font-size: 14px; margin: 6px 0 10px; }
.teacher-info .experience { font-size: 15px; font-weight: 650; }
.teacher-info .style { font-size: 14px; color: var(--muted); margin-top: 8px; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-bottom: 20px; }
.class-grid article { background: var(--pale); padding: 20px; border-radius: 10px; }
.class-grid h3 { color: var(--blue); font-size: 22px; margin-bottom: 10px; }
.class-grid p { font-size: 15px; }
.contact { text-align: center; border-top: 1px solid var(--line); padding-bottom: 125px; }
blockquote { font-size: 19px; color: var(--muted); line-height: 1.85; margin: 0 0 45px; }
blockquote small { display: block; font-size: 13px; margin-top: 10px; }
.contact .qr { width: 210px; margin: 25px auto 18px; }
.contact > p { color: var(--muted); font-size: 14px; }
.primary { min-height: 46px; background: var(--blue); color: #fff; border-radius: 10px; padding: 11px 23px; font-weight: 650; font-size: 15px; white-space: nowrap; }
.bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: #fffffff2; backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 12px max(20px,calc((100vw - 950px)/2)); padding-bottom: max(12px,env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.bottom-bar > span { font-size: 15px; font-weight: 600; }
Dialog { border: 0; border-radius: 18px; padding: 28px; max-height: 90dvh; max-width: min(900px,94vw); color: var(--ink); }
dialog::backdrop { background: #081c39c9; backdrop-filter: blur(4px); }
.close { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; font-size: 30px; border-radius: 50%; color: var(--navy); background: var(--pale); z-index: 2; }
#viewer { width: 900px; padding: 48px 14px 14px; }
#viewer-caption { font-size: 15px; margin: 0 12px 15px; color: var(--muted); }
.viewer-scroll { max-height: 68dvh; overflow: auto; background: #f0f4fa; border-radius: 10px; }
#viewer-image { width: 100%; height: auto; max-width: none; }
.viewer-scroll.zoomed #viewer-image { width: 1500px; max-width: none; }
.zoom-toggle { display: block; margin: 14px auto 0; color: var(--blue); background: var(--pale); padding: 10px 18px; border-radius: 9px; }
#consult-dialog { text-align: center; width: 390px; padding-top: 55px; }
#consult-dialog h2 { font-size: 24px; }
#consult-dialog > img { width: 270px; margin: 22px auto; }
#consult-dialog p { font-size: 15px; color: var(--muted); }
@media (max-width:700px) {
  .topbar { height: 62px; padding: 0 20px; }
  .logo { width: 112px; }
  .intro { padding: 30px 22px 30px; }
  h1 { font-size: 41px; letter-spacing: -1.4px; }
  .eyebrow { font-size: 13px; margin-bottom: 14px; }
  .intro-line { font-size: 15px; margin-top: 19px; }
  .section { padding: 34px 20px; }
  .path { padding-top: 0; padding-bottom: 34px; }
  .path-card { padding-top: 22px; margin-bottom: 14px; }
  .path-main { grid-template-columns: 1fr 135px; gap: 15px; }
  .stage-label { font-size: 12px; margin-bottom: 8px; }
  h2 { font-size: 28px; }
  .path-copy { font-size: 14px; line-height: 1.9; margin-top: 12px; }
  .path-copy br { display: none; }
  .path-main figure img { height: 178px; border-radius: 8px; }
  figcaption { font-size: 12px; margin-top: 6px; }
  summary { font-size: 14px; padding-top: 15px; padding-bottom: 15px; }
  summary::after { top: 9px; }
  .path-card > details { margin-top: 4px; }
  .gallery { gap: 12px; }
  .gallery figure { flex-basis: 178px; }
  .gallery img { height: 245px; }
  .understanding { padding: 0 16px; margin-top: 12px; }
  .understanding small { font-size: 13px; line-height: 1.8; }
  .review { margin: 0 12px; padding: 30px 18px; border-radius: 14px; }
  .case-steps { gap: 7px; margin: 25px 0 20px; }
  .case-steps > div { padding-left: 8px; }
  .case-steps span { font-size: 12px; }
  .case-steps strong { font-size: 17px; white-space: nowrap; }
  .case-steps p { font-size: 12px; line-height: 1.7; }
  .report figcaption { font-size: 13px; margin-top: 11px; }
  .lesson-proof { grid-template-columns: 1fr; gap: 20px; }
  .people { padding-top: 34px; }
  .people-photo > img { height: 210px; }
  .people-photo > span { font-size: 17px; padding: 35px 17px 17px; }
  .teacher-fact { font-size: 13px; margin-top: 14px; }
  .people details { margin-top: 14px; }
  .class-grid { grid-template-columns: 1fr; gap: 12px; }
  .class-grid article { padding: 18px; }
  .contact { padding-top: 32px; padding-bottom: 120px; }
  blockquote { font-size: 18px; margin-bottom: 34px; }
  blockquote small { font-size: 12px; }
  .contact > p { font-size: 13px; }
  .bottom-bar { padding: 11px 16px; padding-bottom: max(11px,env(safe-area-inset-bottom)); gap: 10px; }
  .bottom-bar > span { font-size: 13px; }
  .primary { padding: 11px 20px; font-size: 14px; min-height: 44px; }
}
@media (max-width:350px) {
  .path-main { grid-template-columns: 1fr 112px; gap: 12px; }
  .path-main figure img { height: 165px; }
  .path-copy { font-size: 13px; }
  .case-steps strong { font-size: 15px; }
}
@media (prefers-reduced-motion:reduce) { :root { scroll-behavior: auto; } }

/* Score stages: visible materials and clear service groups. */
.stage-section,.data-section { padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.tinted { background: var(--pale); border-radius: 18px; border-top: 0; }
.stage-heading { margin-bottom: 28px; }
.stage-heading .eyebrow { margin-bottom: 5px; }
.stage-heading h2 { font-size: 44px; font-weight: 800; line-height: 1.3; }
.stage-heading h2 span { color: var(--blue); font-size: 1.25em; margin: 0 4px; }
.stage-goal { font-size: 23px; font-weight: 700; margin-top: 12px; }
.stage-desc { color: var(--muted); margin-top: 8px; }
.materials-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.materials-row img { width: 100%; aspect-ratio: 1459/2048; object-fit: contain; border-radius: 7px; border: 1px solid var(--line); background: white; }
.materials-row figcaption { text-align: center; font-size: 14px; }
.high-materials { grid-template-columns: repeat(3,minmax(0,1fr)); }
.material-note { margin: 22px 0 5px; color: var(--muted); }
.purpose-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.purpose-pair p { color: var(--muted); }
.purpose-pair b { display: block; color: var(--ink); margin-bottom: 4px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 22px; }
.service-card { min-width: 0; }
.service-card > img,.animation-preview { width: 100%; height: 210px; object-fit: cover; object-position: top; background: var(--pale); border: 1px solid var(--line); border-radius: 10px; }
.service-card h3 { font-size: 20px; margin: 14px 0 7px; }
.service-card p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.inline-sample { padding: 7px 0 0; font-size: 14px; background: none; color: var(--blue); }
.resource-entry { margin-top: 25px; padding-bottom: 0; }
.animation-preview { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--blue); background: #eaf5ff; gap: 12px; }
.animation-preview strong { font-size: 22px; line-height: 1.6; }
.animation-link { font-size: 14px; border-bottom: 1px solid #8cbce8; padding-bottom: 3px; }
.motion-scene { display: flex; gap: 8px; align-items: end; height: 32px; }
.motion-scene i { display: block; width: 24px; height: 17px; background: #56b3ef; border-radius: 5px; }
.motion-scene i:nth-child(2) { height: 25px; background: #218ee3; }
.motion-scene i:nth-child(3) { height: 32px; background: #0a6fc4; }
.review-block { border-top: 1px solid #cddfeb; padding-top: 25px; margin-top: 28px; }
.review-label { display: inline-block; border-radius: 6px; background: #dceeff; color: #086fc9; font-size: 14px; padding: 5px 12px; margin-bottom: 12px; font-weight: 700; }
.review-block > p { color: var(--muted); margin-top: 9px; }
.weekly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.weekly-grid img,.weekly-grid video { width: 100%; height: 230px; object-fit: contain; background: white; border-radius: 9px; }
.case-advice { border-left: 3px solid #6faee7; padding-left: 15px; margin-top: 20px!important; }
@media(max-width:700px) {
 .intro-line { font-size: 16px; }
 .stage-section,.data-section { padding: 34px 20px; }
 .tinted { border-radius: 0; }
 .stage-heading { margin-bottom: 22px; }
 .stage-heading h2 { font-size: 34px; }
 .stage-heading .eyebrow { font-size: 14px; }
 .stage-goal { font-size: 21px; margin-top: 10px; }
 .stage-desc { font-size: 16px; }
 .materials-row { gap: 8px; }
 .materials-row figcaption { font-size: 12px; line-height: 1.6; margin-top: 8px; }
 .material-note { font-size: 16px; margin-top: 18px; }
 .purpose-pair { gap: 16px; margin-top: 20px; }
 .purpose-pair p { font-size: 16px; }
 .purpose-pair b { font-size: 16px; }
 .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 16px; }
 .service-card > img,.animation-preview { height: 170px; }
 .service-card h3 { font-size: 18px; margin-top: 12px; }
 .service-card p { font-size: 16px; line-height: 1.75; }
 .animation-preview strong { font-size: 18px; }
 .animation-preview { gap: 9px; }
 .animation-link { font-size: 13px; }
 .review-block h3 { font-size: 21px; }
 .weekly-grid { grid-template-columns: 1fr; gap: 23px; }
 .weekly-grid img { height: auto; max-height: 220px; }
 .weekly-grid video { height: auto; max-height: 260px; }
 .case-advice { font-size: 16px; }
 .people .teacher-fact { font-size: 14px; }
}

/* Minimal section copy, direct image destinations. */
.stage-heading .eyebrow { font-size: 24px; font-weight: 750; margin-bottom: 16px; }
.stage-heading { margin-bottom: 28px; }
.service-card > a:not(.animation-preview) { display: block; }
.service-card > a > img { width: 100%; height: 210px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 10px; }
.service-card > a img,.materials-row a img { cursor: pointer; }
.service-card h3 { margin-bottom: 0; }
@media(max-width:700px) {
 .stage-heading .eyebrow { font-size: 22px; margin-bottom: 12px; }
 .service-card > a > img { height: 170px; }
}

/* Three study resources, then one full-width area per feature. */
.stage-three img { aspect-ratio: 1459/2048; object-fit: cover; object-position: top; }
.stage-three figcaption { font-size: 18px; font-weight: 650; color: var(--ink); margin-top: 14px; }
.feature-block { margin-top: 32px; padding-top: 30px; border-top: 1px solid #ccdfed; }
.feature-block h3 { margin-bottom: 22px; font-size: 25px; }
.feature-block > video { display: block; width: 100%; max-height: 480px; background: #fff; border-radius: 12px; }
.feature-mistakes { grid-template-columns: repeat(3,minmax(0,1fr)); }
.feature-mistakes img { object-fit: cover; object-position: top; }
.feature-animation { height: 230px; width: 100%; }
.feature-animation > span:last-child { font-size: 15px; }
@media(max-width:700px) {
 .stage-three figcaption { font-size: 14px; line-height: 1.65; margin-top: 10px; }
 .feature-block { margin-top: 26px; padding-top: 25px; }
 .feature-block h3 { font-size: 22px; margin-bottom: 18px; }
 .feature-animation strong { font-size: 22px; }
 .feature-animation { height: 200px; }
}

/* Preserve complete photos and chat; use actual demo covers. */
.stage-three img[src*="pretest-new"] { object-fit: contain; background: #f5f7fa; }
.feature-mistakes { grid-template-columns: repeat(2,minmax(0,1fr)); }
.feedback-full { margin: 26px auto 0; max-width: 440px; }
.feedback-full img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.feedback-full figcaption { text-align: center; font-size: 15px; }
.demo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.demo-card { display: block; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.demo-card img { width: 100%; aspect-ratio: 16/10; object-fit: contain; padding: 16px; background: #fff; }
.demo-card span { display: block; padding: 14px 16px; color: var(--ink); font-size: 16px; font-weight: 650; border-top: 1px solid var(--line); }
@media(max-width:700px) { .demo-grid { gap: 12px; } .demo-card img { padding: 9px; } .demo-card span { padding: 11px; font-size: 14px; } .feedback-full { max-width: 100%; } }

/* Final compact presentation and consistent resource frames. */
h1 { white-space: nowrap; font-size: clamp(20px,6.2vw,54px); letter-spacing: -1.3px; }
.stage-three img { object-fit: contain; object-position: center; background: #f4f8fc; }
.stage-three img[src*="pretest-clean"] { background: white; }
.features { max-width: 1000px; }
.feature-mistakes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: start; }
.feature-mistakes img { width: 100%; height: auto; aspect-ratio: 1459 / 2048; object-fit: cover; object-position: top; background: #fff; }
.feature-mistakes .feedback-card img { object-position: center bottom; }
.feature-mistakes figcaption { margin-top: 12px; color: var(--ink); font-size: 16px; font-weight: 650; }
.demo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.demo-card span { font-size: 14px; padding: 12px; }
.demo-scene { display: grid; place-items: center; aspect-ratio: 4/3; padding: 13px; overflow: hidden; color: #1879c8; background: #e5f3ff; }
.demo-scene svg { display: block; width: 100%; height: 100%; max-height: 165px; }
.demo-scene svg [stroke="#1d1d1d"],.demo-scene svg [stroke="#555"] { stroke: currentColor; }
.demo-scene svg text { fill: currentColor; }
.demo-scene svg rect[fill="#fff"] { fill: transparent; }
.demo-scene.bee-lake circle[r="150"] { fill: #bce9ff; stroke: #1494cb; }
.demo-scene.bee-lake circle:not([r="150"]) { fill: #f5af21; stroke: #b07a11; stroke-width: 1; }
.demo-scene.triangle-72 { color: #6b43bd; background: #f1eaff; }
.demo-scene.three-squares { background: #e6f7f0; color: #198764; }
.demo-scene.three-squares rect[fill="#d9d9d9"] { fill-opacity: .65; }
.demo-scene.three-squares rect[fill="#d9d9d9"]:nth-of-type(2) { fill: #36a8ec; }
.demo-scene.three-squares rect[fill="#d9d9d9"]:nth-of-type(3) { fill: #31bf8b; }
.demo-scene.three-squares rect[fill="#d9d9d9"]:nth-of-type(4) { fill: #f6b948; }
.demo-scene.rotate-cd { color: #137bc5; background: #eaf5ff; }
.demo-scene.rotate-cd path[fill="#bfbfbf"] { fill: #f5b24c; fill-opacity: .8; }
.contact { padding-top: 38px; }
@media(max-width:700px) {
 h1 { font-size: clamp(20px,6.2vw,40px); letter-spacing: -.7px; }
 .feature-mistakes { grid-template-columns: repeat(3,minmax(175px,1fr)); gap: 16px; overflow-x: auto; padding-bottom: 15px; scroll-snap-type: x mandatory; }
 .feature-mistakes figure { scroll-snap-align: start; }
 .feature-mistakes figcaption { font-size: 14px; }
 .demo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
 .demo-scene { padding: 5px; }
 .demo-card span { font-size: 12px; line-height: 1.6; padding: 8px 5px; }
 .demo-card { border-radius: 8px; }
}

.material-preview { display: block; width: 100%; padding: 0; background: transparent; border-radius: 7px; }
.material-preview img { cursor: zoom-in; }

/* One-page cover previews, without navigation or a popup. */
.cover-preview { display: block; width: 100%; border-radius: 7px; }
.preview-stack { display: block; position: relative; width: 100%; aspect-ratio: 1459 / 2048; }
.materials-row .preview-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .18s ease; }
.preview-inner { opacity: 0; pointer-events: none; }
.cover-preview.is-preview .preview-inner,.cover-preview:focus-visible .preview-inner { opacity: 1; }
.cover-preview.is-preview .preview-cover,.cover-preview:focus-visible .preview-cover { opacity: 0; }
.material-preview.cover-preview img { cursor: pointer; }
@media (hover: hover) {
 .cover-preview:hover .preview-inner { opacity: 1; }
 .cover-preview:hover .preview-cover { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .materials-row .preview-stack img { transition: none; } }
