:root {
  color-scheme: light;
  --ink: #263a42;
  --muted: #516368;
  --paper: #fffbf4;
  --line: #e7ddcc;
  --display: "Trebuchet MS", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: linear-gradient(180deg,#fffdf8, var(--paper) 680px, #fffcf7); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
a, summary { touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid #006e83; outline-offset: 4px; }
::selection { background: #ffe18c; color: #293844; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 10; padding: 12px 16px; color: white; background: #1b5662; border-radius: 12px; }
.skip-link:focus { top: 8px; }
.header { border-bottom: 1px solid #eae3d5; background: #fffdf8; }
.masthead, .brand, .masthead nav, .login { display: flex; align-items: center; }
.masthead { min-height: 82px; justify-content: space-between; gap: 16px; }
.brand { gap: 10px; min-height: 44px; }
.brand img { width: 36px; height: auto; }
.brand > span { font: 900 27px/1.15 var(--display); letter-spacing: .035em; }
.brand small { display: block; margin-top: 4px; font: 800 9px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #6a5a46; }
.masthead nav { gap: 10px; }
.login { min-height: 44px; padding: 0 22px; justify-content: center; border-radius: 100px; white-space: nowrap; font-size: 15px; font-weight: 750; border: 1.5px solid; transition: transform .15s, background .15s; }
.student-login { color: #fff; background: #ae382b; border-color: #ae382b; box-shadow: 0 3px 0 #88291e; }
.teacher-login { color: #3f5054; background: #fff; border-color: #cbc6ba; box-shadow: 0 3px 0 #e4ded1; }
.login:active { transform: translateY(2px); }
.welcome { position: relative; isolation: isolate; margin: 26px 0 0; display: grid; place-items: center; overflow: hidden; container-type: inline-size; min-height: 235px; height: clamp(235px, 22vw, 286px); border-radius: 28px; border: 1px solid #edd8aa; background: #ffebc3; }
.welcome-art { position: absolute; inset: 0; z-index: -2; }
.welcome-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.welcome-copy { text-align: center; transform: translateX(-1.5%); padding: 10px; }
.welcome h1 { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.hello { display: inline-block; transform: rotate(-6deg); margin: -4px 0 3px; color: #b93d24; font: italic 900 clamp(48px,6.2vw,86px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.07em; }
.welcome-title { font: 900 clamp(29px,3.5vw,49px)/1.35 var(--display); color: #263b40; letter-spacing: -.025em; }
.welcome-copy p { margin: 9px 0 0; font-size: clamp(16px,1.45vw,20px); font-weight: 640; letter-spacing: .07em; color: #674a32; }
.section-title { font-weight: 840; font-size: clamp(24px,2.5vw,34px); line-height: 1.36; letter-spacing: -.035em; color: var(--ink); }
.learning { margin-top: 30px; scroll-margin-top: 16px; }
.learning > .section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.learning > .section-title::before { content: ""; width: 8px; height: .85em; border-radius: 5px; background: #f6b34c; transform: rotate(8deg); }
.learning-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.learning-card { --glow: #fff8; display: grid; grid-template-columns: 49% 51%; position: relative; isolation: isolate; min-width: 0; min-height: clamp(174px,16vw,206px); color: var(--tone); background-color: var(--color); border: 1.5px solid var(--edge); border-radius: 24px; box-shadow: 0 4px 0 var(--shadow); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.phonics { --color:#ffead6; --tone:#804015; --edge:#e8c29c; --shadow:#e8c9a6; --action:#fff4e6; }
.words { --color:#e1f0ff; --tone:#225780; --edge:#b1cde7; --shadow:#bed7e8; --action:#fff; }
.reading { --color:#e5f2dc; --tone:#345e3b; --edge:#b9d3ab; --shadow:#c1d8b5; --action:#fff; }
.games { --color:#efe7ff; --tone:#5a4487; --edge:#cbb9e5; --shadow:#d6c7ed; --action:#fff; }
.card-copy { padding: 20px 0 20px clamp(18px,2.4vw,32px); z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.card-english { font: 750 clamp(13px,1vw,15px)/1.3 var(--display); color: var(--tone); letter-spacing: .02em; }
.card-copy h3 { color: #283a40; font-size: clamp(24px,2.45vw,36px); line-height: 1.35; font-weight: 850; letter-spacing: -.035em; }
.card-copy p { margin-top: 3px; font-size: clamp(13px,1.18vw,16px); line-height: 1.55; color: var(--tone); }
.card-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 5px 12px; min-height: 29px; background: var(--action); border-radius: 30px; font-weight: 750; font-size: 13px; line-height: 1.35; white-space: nowrap; }
.arrow { width: 12px; height: 2px; display: inline-block; position: relative; border-radius: 2px; background: currentColor; }
.arrow::after { content: ""; position: absolute; width: 6px; height: 6px; border-right: 2px solid; border-top: 2px solid; right: 0; top: -2px; transform: rotate(45deg); }
.phonics .arrow { display: none; }
.card-art { position: relative; display: grid; place-items: center; align-self: stretch; min-width: 0; z-index: 0; }
.card-art::before { content: ""; position: absolute; inset: 11% 6% -26% 1%; border-radius: 50% 48% 30% 53%; transform: rotate(-14deg); background: var(--glow); }
.card-art::after { content:""; position:absolute; width:11px;height:11px;right:13%;top:13%;background:var(--action);clip-path:polygon(50% 0,64% 37%,100% 50%,64% 64%,50% 100%,36% 64%,0 50%,36% 37%); }
.card-art img { position: absolute; width: 99%; height: 102%; left: -1%; top: -1%; object-fit: contain; filter: drop-shadow(0 3px 2px #59432e17); transition: transform .22s; }
@media (hover:hover) {
  .learning-card:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--shadow); }
  .learning-card:hover .card-art img { transform: rotate(2deg) scale(1.025); }
  .login:hover { transform: translateY(-1px); }
  summary:hover { color: #135b67; }
}
.learning-card:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--shadow); }
.editorial { margin-top: clamp(45px,6.5vw,78px); }
.section-intro { margin-bottom: 20px; }
.section-intro > p, .reader-heading p { margin-top: 6px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.course-list { border-top: 2px solid #34454b; }
.course-story { --stripe: #e5a75b; display: grid; grid-template-columns: minmax(205px,30%) 1fr; align-items:start; gap: 22px; border-bottom: 1px solid var(--line); padding: 22px 8px; }
.course-story:nth-child(2) { --stripe:#92bd91; } .course-story:nth-child(3) { --stripe:#8cb8dc; }
.course-story:nth-child(4) { --stripe:#ac9ed3; } .course-story:nth-child(5) { --stripe:#e2b95c; }
.course-caption { padding-left: 15px; border-left: 4px solid var(--stripe); }
.course-caption h3 { font-size: clamp(18px,1.7vw,23px); line-height: 1.45; }
.course-tagline { font-size: 14px; color: #625d54; margin-top: 5px; line-height: 1.65; }
.course-body { max-width: 72ch; }
.course-body p, .course-body li, .reading-path p, .step-extra p { font-size: 15px; line-height: 1.85; }
.course-body details { margin-top: 2px; }
summary { cursor:pointer; list-style: none; }
summary::-webkit-details-marker { display:none; }
.course-body summary { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: #35675b; line-height: 1.5; font-size: 14px; font-weight: 740; }
.twist { position:relative; flex:none; width: 14px; height:14px; color:currentColor; }
.twist::after,.twist::before { content:""; width: 11px; height: 1.5px; border-radius:2px; background:currentColor; position:absolute; left:1px; top:6px; }
.twist::after { transform: rotate(90deg); }
details[open] > summary .twist::after { transform: rotate(0); }
.course-body ul { padding-left: 19px; }
.course-body li::marker { color:#a66d26; }
.book-list b { margin-right: 9px; color: #385b52; font-size: 13px; }
.note { margin-top: 13px; font-size: 13px; color: #625f58; line-height: 1.75; }
.reader { background:#edf4e8; border:1px solid #cbdbc5; border-radius:24px; padding: 27px clamp(19px,3vw,38px) 30px; overflow:hidden; }
.reader-heading { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.reader-heading img { width: 65px; height: 78px; object-fit:contain; align-self: flex-end; }
.reading-path { list-style: none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap: 24px; padding: 23px 0 0; border-top:1px solid #c6d9be; margin-top: 12px; }
.reading-path h3 { font-size: 18px; margin-bottom:6px; }
.reading-path p { color:#455c51; }
.reading-path .reading-books { font-size:13px; font-weight:700; margin-top:7px; }
.growth-path { list-style:none; padding:0; border-block:1px solid var(--line); }
.growth-path li + li { border-top:1px solid var(--line); }
.growth-path summary { min-height:68px; display:grid; align-items:center; grid-template-columns:31px minmax(0,1fr) auto 20px; gap:14px; padding:10px; }
.step-number { width:29px;height:29px;display:grid;place-items:center; border-radius:10px;background:#ffe0a4;color:#644822;font:800 15px var(--display); }
.growth-path li:nth-child(3n+2) .step-number {background:#dcebd5;color:#38543d;}
.growth-path li:nth-child(3n+3) .step-number {background:#e6e2f4;color:#4d456f;}
.growth-path strong { font-size:18px;line-height:1.5; }
.word-goal { color:#526269; font-size:14px;white-space:nowrap; }
.step-extra { padding: 0 12px 16px 55px; }
.step-extra h4 { margin-bottom: 4px; }
.step-extra p { color:#4e5b5e; }
.enrollment-contact { margin-top:clamp(45px,6vw,76px); display:flex; align-items:center; justify-content:space-between; gap:22px; padding:26px clamp(24px,5vw,52px); background:#fff0d2; border:1px solid #e6cf9e; border-radius:24px; }
.enrollment-copy h2 {font-size:clamp(23px,2.3vw,31px);}
.enrollment-copy > p { margin:7px 0 15px; color:#685740; line-height:1.65; }
.enrollment-phone-label { display:block;font-size:13px;color:#745535; }
.enrollment-phone {display:inline-flex;align-items:center;min-height:44px;color:#8a311f;font:bold clamp(21px,2.6vw,33px) var(--display);letter-spacing:.015em;}
.enrollment-qr {text-align:center;}
.enrollment-qr img {width:105px; height:auto;border:5px solid white;border-radius:6px;margin:auto; }
.enrollment-qr figcaption { font-size:12px;color:#685740;margin-top:6px; }
.footer {display:flex;align-items:center;justify-content:flex-end;color:#526067;padding-block:14px 24px;flex-wrap:wrap;gap:2px 22px;}
.footer a {display:inline-flex;align-items:center;min-height:44px;font-size:14px;}
.back {gap:7px;}
@media(max-width:800px) {
  .shell {width:calc(100% - 38px);}
  .masthead { min-height:70px; }
  .welcome { margin-top:18px; }
  .learning-card { min-height:155px; }
  .card-copy {padding:15px 0 15px 15px;}
  .card-copy h3 {font-size:23px;}
  .card-action {margin-top:11px;}
  .learning-grid {gap:12px;}
  .course-story {grid-template-columns:minmax(170px,30%) 1fr;gap:14px;}
  .reading-path {gap:16px;}
}
@media(max-width:600px) {
  .shell {width:calc(100% - 28px);}
  .masthead {min-height:65px;gap:8px;}
  .brand {gap:6px;} .brand img {width:28px;}
  .brand > span {font-size:22px;} .brand small {font-size:7px;letter-spacing:.08em;margin-top:3px;}
  .masthead nav {gap:7px;}
  .login {min-height:44px;padding:0 13px;font-size:13px;}
  .welcome {height:clamp(164px,40vw,221px);min-height:0;margin-top:14px;border-radius:21px;place-items:center start;}
  .welcome-art img {object-fit:cover;object-position:right center;}
  .welcome::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fff0d3 4%,#fff0d3fa 35%,#fff0d3b8 54%,transparent 72%);}
  .welcome-copy {text-align:left;transform:none;padding:10px 0 10px 20px;max-width:67%;}
  .welcome h1 {align-items:flex-start;}
  .hello {font-size:clamp(40px,9vw,58px);margin:0 0 5px;}
  .welcome-title {font-size:clamp(21px,5.5vw,30px);letter-spacing:-.05em;}
  .welcome-copy p {font-size:clamp(13px,3.3vw,16px);margin:5px 0 0;letter-spacing:.01em;}
  .learning {margin-top:22px;}
  .learning > .section-title {margin-bottom:12px;gap:8px;}
  .learning-grid {gap:12px 10px;}
  .learning-card {display:flex;flex-direction:column-reverse;justify-content:space-between;min-height:0;border-radius:18px;}
  .card-art {height:clamp(94px,26vw,148px);flex:none;}
  .card-art::before {inset:15% 6% -18% 6%;border-radius:50% 50% 30% 40%;}
  .card-art img {width:96%;height:103%;left:2%;top:2%;}
  .card-copy {padding:9px 10px 12px;align-items:flex-start;justify-content:flex-start;min-width:0;}
  .card-english {font-size:12px;}
  .card-copy h3 {font-size:clamp(19px,4.7vw,23px);margin:1px 0;line-height:1.3;white-space:nowrap;}
  .card-copy p {font-size:12px;line-height:1.5;margin-top:1px;}
  .card-action {margin-top:8px;font-size:12px;min-height:24px;padding:3px 9px;}
  .course-story {grid-template-columns:1fr;padding:17px 0 11px;gap:8px;}
  .course-caption {padding-left:10px;}
  .section-intro {margin-bottom:14px;}
  .section-intro > p,.reader-heading p {font-size:14px;}
  .reading-path {grid-template-columns:1fr;gap:14px;padding-top:17px;}
  .reader {padding:17px;}
  .reader-heading img {width:48px;height:64px;}
  .reader-heading h2 {font-size:22px;}
  .reader-heading p {font-size:13px;}
  .growth-path summary {grid-template-columns:25px 1fr 14px;column-gap:8px;row-gap:1px;padding:9px 3px;}
  .step-number {grid-row:1/3;width:24px;height:26px;font-size:13px;}
  .growth-path strong {font-size:16px;} .word-goal {grid-column:2;font-size:12px;}
  .growth-path .twist {grid-column:3;grid-row:1/3;}
  .step-extra {padding:0 6px 14px 36px;}
  .enrollment-contact {padding:17px;gap:9px;}
  .enrollment-copy > p {font-size:13px;}
  .enrollment-qr {max-width:112px;}
  .enrollment-qr img {width:84px;}
  .enrollment-qr figcaption {font-size:11px;}
}
@media(max-width:359px) {
  .shell {width:calc(100% - 20px);}
  .login {padding:0 10px;}
  .card-copy {padding:8px;}
  .card-copy p {font-size:12px;min-height:36px;}
  .welcome-copy {padding-left:14px;}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto;}
  *,*::before,*::after {transition:none!important;animation:none!important;}
}
.footer .filing { margin-right:auto; text-decoration:underline; text-underline-offset:3px; }


