:root {
  --ink: #172632;
  --ink-soft: #4f5f6b;
  --paper: #fffdf8;
  --cream: #fff6dc;
  --blue: #1d5fc6;
  --blue-dark: #114492;
  --sky: #e8f5ff;
  --orange: #ff7b21;
  --orange-dark: #d95507;
  --yellow: #ffd54e;
  --lime: #b9d83b;
  --pink: #f66c86;
  --wa: #25d366;
  --line: #dbe3e9;
  --shadow: 0 18px 38px rgba(34, 61, 83, 0.14);
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
mark { padding: 0 .12em; background: linear-gradient(transparent 45%, rgba(255, 213, 78, .78) 45%); color: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { margin: 0; font-weight: 900; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.28; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--blue); font-style: normal; }

/* Top line & header */
.topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 8px 16px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.45; text-align: center; }
.topline b { color: var(--yellow); }
.topline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .25); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(23, 38, 50, .06); background: rgba(255, 253, 248, .92); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-seal { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px 13px 13px 4px; background: var(--blue); color: #fff; font-size: 21px; font-weight: 900; box-shadow: 4px 4px 0 var(--yellow); }
.brand strong { display: block; font-size: 19px; letter-spacing: .03em; }
.brand small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.site-header nav { display: flex; gap: 26px; margin-left: auto; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.site-header nav a:hover { color: var(--blue); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 22px; background: var(--ink); color: #fff; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .grade-tabs button:focus-visible, .review-filters button:focus-visible, .zoomable:focus-visible, .chapters button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.button-small { padding: 12px 18px; background: var(--wa); color: #073b1b; font-size: 14px; }
.button-primary { padding: 18px 26px; background: var(--orange); box-shadow: 0 6px 0 var(--orange-dark); font-size: 17px; }
.button-primary:hover { background: #f76c0f; box-shadow: 0 8px 0 var(--orange-dark); }
.button-primary[data-whatsapp] { background: var(--wa); color: #073b1b; box-shadow: 0 6px 0 #128c4a; }
.button-primary[data-whatsapp]:hover { background: #20bf5b; box-shadow: 0 8px 0 #128c4a; }
.button-compact { padding: 13px 20px; font-size: 15px; box-shadow: 0 4px 0 var(--orange-dark); }
.button-white { padding: 18px 28px; background: #fff; color: var(--blue-dark); box-shadow: 0 6px 0 rgba(17, 68, 146, .3); font-size: 17px; }
.button-outline { border: 2px solid var(--ink); background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.button-full { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 84px; background: linear-gradient(125deg, #fff 3%, var(--cream) 55%, #ffefb1 100%); }
.hero::before, .curriculum-section::before, .notes-section::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(27, 111, 180, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 111, 180, .12) 1px, transparent 1px); background-size: 28px 28px; content: ""; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.hero-sun { position: absolute; z-index: -1; top: -240px; right: -150px; width: 680px; height: 680px; border-radius: 50%; background: var(--yellow); opacity: .7; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--blue-dark); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 11px; height: 11px; margin-right: 12px; border-radius: 50%; background: var(--orange); box-shadow: 13px 0 0 var(--lime); }
.hero h1 { max-width: 640px; font-size: clamp(34px, 4.1vw, 52px); line-height: 1.25; letter-spacing: -.04em; }
.hero-lead { max-width: 560px; margin: 22px 0 28px; color: var(--ink-soft); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.cta-note { margin: 0; color: var(--ink-soft); font-size: 13px; font-weight: 700; line-height: 1.6; }
.cta-note b { color: var(--orange-dark); }
.hero-trust { display: grid; grid-template-columns: repeat(3, auto); width: fit-content; margin: 38px 0 0; padding: 0; overflow: hidden; border: 1px solid rgba(19, 61, 102, .12); border-radius: 16px; background: rgba(255, 255, 255, .75); box-shadow: 0 10px 24px rgba(42, 86, 112, .08); list-style: none; }
.hero-trust li { padding: 12px 18px; border-right: 1px solid rgba(19, 61, 102, .1); line-height: 1.3; }
.hero-trust li:last-child { border-right: 0; }
.hero-trust b { display: block; color: var(--blue); font-size: 18px; letter-spacing: -.02em; }
.hero-trust span { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.hero-visual { position: relative; min-height: 540px; }
.portrait-frame { position: absolute; top: 0; right: 14px; width: min(100%, 420px); overflow: hidden; border: 10px solid #fff; border-radius: 48% 48% 18% 18%; background: #e5e4df; box-shadow: var(--shadow); transform: rotate(2deg); }
.portrait-frame::after { position: absolute; inset: 0; border: 5px solid var(--blue); border-radius: inherit; content: ""; pointer-events: none; }
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: center top; }
.portrait-sticker { position: absolute; z-index: 3; top: 22px; right: 0; padding: 8px 16px; border-radius: 99px; background: var(--yellow); box-shadow: 3px 4px 0 var(--ink); transform: rotate(7deg); }
.portrait-sticker span { font-size: 12px; font-weight: 900; }
.portrait-sticker b { margin-left: 4px; font-size: 12px; }
.chat-float { position: absolute; z-index: 4; bottom: 34px; left: -26px; width: 300px; margin: 0; padding: 14px 16px 15px; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: 0 16px 34px rgba(23, 38, 50, .18); transform: rotate(-3deg); }
.chat-float figcaption { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; color: #128c4a; font-size: 12px; font-weight: 900; }
.wa-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); }
.chat-float blockquote { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; }
.magazine-float { position: absolute; z-index: 5; right: -8px; bottom: -10px; width: 128px; padding: 6px 6px 0; border: 0; border-radius: 6px; background: #fff; box-shadow: 8px 8px 0 var(--blue); cursor: zoom-in; transform: rotate(5deg); }
.magazine-float img { border-radius: 3px; }
.magazine-float span { display: block; padding: 6px 0 7px; font-size: 11px; font-weight: 900; text-align: center; }

/* Sections */
.section { position: relative; padding: 100px 0; }
.section-kicker { display: flex; align-items: center; gap: 12px; }
.section-kicker span { display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0; }
.section-kicker.light { color: #badeff; }
.section-kicker.light span { background: var(--yellow); color: var(--ink); }
.section-lead { margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; }
.split-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 48px; margin-bottom: 44px; }
.split-heading p { margin: 0; color: var(--ink-soft); }
.split-light h2 { color: #fff; }
.split-light h2 em { color: var(--yellow); }
.split-light p { color: #d4e6fb; }

/* Media & schools */
.media-section { overflow: hidden; padding-bottom: 0; background: #fff; }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pull-quote { position: relative; margin: 30px 0 0; padding: 22px 24px 20px 26px; border-left: 6px solid var(--yellow); border-radius: 0 18px 18px 0; background: var(--cream); }
.pull-quote p { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.65; }
.pull-quote cite { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 13px; font-style: normal; font-weight: 700; }
.credential-list { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.credential-list li { display: flex; align-items: baseline; gap: 12px; color: var(--ink-soft); font-size: 15px; }
.credential-list b { flex: 0 0 auto; min-width: 104px; padding: 3px 10px; border-radius: 8px; background: var(--sky); color: var(--blue-dark); font-size: 13px; text-align: center; }
.credential-list span { line-height: 1.5; }
.magazine-stack { position: relative; min-height: 520px; }
.zoomable { padding: 0; border: 0; background: none; cursor: zoom-in; }
.mag-cover { position: absolute; z-index: 2; top: 0; left: 4%; width: 46%; overflow: hidden; border: 6px solid #fff; border-radius: 8px; box-shadow: 12px 12px 0 var(--blue), var(--shadow); transform: rotate(-4deg); transition: transform .25s ease; }
.mag-spread { position: absolute; z-index: 1; right: 0; bottom: 46px; width: 74%; overflow: hidden; border: 6px solid #fff; border-radius: 8px; box-shadow: 12px 12px 0 var(--yellow), var(--shadow); transform: rotate(3deg); transition: transform .25s ease; }
.mag-cover:hover, .mag-spread:hover { z-index: 3; transform: rotate(0) scale(1.02); }
.zoom-hint { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-align: center; }
.school-band { position: relative; margin-top: 90px; padding: 70px 0; overflow: hidden; isolation: isolate; background: var(--blue-dark); color: #fff; }
.school-wall { position: absolute; z-index: -2; inset: -40px -60px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 18px 22px; opacity: .11; transform: rotate(-6deg); }
.school-band::after { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 52% 62% at 50% 50%, rgba(17, 68, 146, .96) 30%, rgba(17, 68, 146, 0) 100%); content: ""; }
.school-wall span { display: grid; width: 118px; height: 118px; place-items: center; padding: 14px; border: 3px solid #fff; border-radius: 50%; box-shadow: inset 0 0 0 6px var(--blue-dark), inset 0 0 0 8px rgba(255,255,255,.8); font-size: 17px; font-weight: 900; line-height: 1.25; text-align: center; }
.school-card { max-width: 860px; text-align: center; }
.school-label { display: inline-block; margin: 0 0 12px; padding: 4px 14px; border-radius: 99px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 900; }
.school-card h3 { max-width: 780px; margin: 0 auto; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; text-wrap: balance; }
.school-card p { margin: 14px auto 0; max-width: 760px; color: #d7e8ff; }
.school-card small { display: block; margin-top: 16px; color: #a9c7ef; font-size: 10px; }

/* Results */
.results-section { background: var(--paper); }
.change-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.change-card { display: flex; flex-direction: column; padding: 24px 22px; border: 2px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.change-card p { margin: 0; }
.before { color: #7b8892; font-size: 14px; text-decoration: line-through; text-decoration-color: rgba(246, 108, 134, .7); text-decoration-thickness: 2px; }
.before span, .after span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 6px; font-size: 11px; font-weight: 900; text-decoration: none; vertical-align: 2px; }
.before span { background: #eef1f4; color: #6a7884; }
.after { flex: 1; margin-top: 14px !important; font-size: 19px; font-weight: 900; line-height: 1.5; }
.after span { background: var(--ink); color: #fff; }
.proof { margin-top: 18px !important; padding-top: 14px; border-top: 1px dashed rgba(23, 38, 50, .25); color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.tone-blue { background: #dff1ff; }
.tone-yellow { background: #fff3bf; }
.tone-lime { background: #ecf6c3; }
.tone-pink { background: #ffe0e6; }
.parent-relief { display: grid; grid-template-columns: auto 1fr 1fr; gap: 22px; align-items: center; margin-top: 34px; padding: 24px 28px; border-radius: 22px; background: var(--sky); }
.relief-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--blue); color: var(--yellow); font-size: 22px; }
.parent-relief p { margin: 0; color: var(--ink-soft); }
.parent-relief p b { display: block; color: var(--ink); font-size: 18px; }
.parent-relief blockquote { margin: 0; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: 14px; font-weight: 700; }

/* Reviews */
.reviews-section { background: #fff8e6; }
.featured-review { position: relative; margin: 0 0 30px; padding: 34px 40px 30px 150px; border: 3px solid var(--ink); border-radius: 26px; background: #fff; box-shadow: 9px 9px 0 var(--orange); }
.featured-badge { position: absolute; top: 50%; left: 30px; display: grid; width: 92px; height: 92px; place-items: center; align-content: center; border-radius: 50%; background: var(--orange); color: #fff; line-height: 1.1; text-align: center; transform: translateY(-50%) rotate(-8deg); }
.featured-badge b { font-size: 26px; }
.featured-badge span { font-size: 12px; font-weight: 900; }
.featured-review blockquote { margin: 0; font-size: clamp(19px, 2vw, 25px); font-weight: 900; line-height: 1.6; }
.featured-review figcaption { margin-top: 12px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.review-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.review-filters button { padding: 9px 16px; border: 2px solid var(--ink); border-radius: 99px; background: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.review-filters button.is-active { background: var(--ink); color: #fff; }
.review-grid { columns: 3 300px; column-gap: 18px; }
.review { position: relative; display: inline-block; width: 100%; margin: 0 0 18px; padding: 18px 18px 14px; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: 0 8px 22px rgba(64, 52, 20, .08); break-inside: avoid; }
.review::before { position: absolute; top: -10px; left: 16px; color: var(--yellow); content: "“"; font-family: Georgia, serif; font-size: 44px; line-height: 1; }
.review p { margin: 0; font-size: 15px; line-height: 1.75; }
.review span { display: block; margin-top: 10px; color: #128c4a; font-size: 12px; font-weight: 900; }
.review.is-hidden { display: none; }
.review-more { display: none; margin-top: 6px; text-align: center; }
.review-note { margin: 18px 0 0; color: var(--ink-soft); font-size: 10px; }
.review-note a { margin-left: 6px; color: var(--blue); font-weight: 900; border-bottom: 2px solid currentColor; }

/* Method */
.method-section { position: relative; overflow: hidden; padding: 100px 0 110px; background: var(--blue-dark); color: #fff; }
.method-section::after { position: absolute; bottom: -150px; left: -60px; width: 220px; height: 220px; border: 22px solid var(--yellow); border-radius: 50%; content: ""; opacity: .9; pointer-events: none; }
.framework { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.framework li { position: relative; padding: 22px 18px; border-radius: 20px; background: #f5fbff; color: var(--ink); }
.framework li:not(:last-child)::after { position: absolute; z-index: 1; top: 50%; right: -15px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); content: "›"; font-size: 16px; font-weight: 900; transform: translateY(-50%); }
.framework b { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; }
.framework h3 { margin: 12px 0 4px; font-size: 24px; }
.framework p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.framework .framework-goal { background: var(--yellow); }
.framework .framework-goal b { background: var(--orange); }
.lesson-video { position: relative; z-index: 1; display: grid; grid-template-columns: .78fr 1.22fr; gap: 36px; align-items: center; margin-top: 64px; padding: 26px; border: 2px solid rgba(255,255,255,.6); border-radius: 26px; background: rgba(255,255,255,.08); }
.video-eyebrow { margin: 0; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.lesson-copy h3 { margin: 8px 0 12px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; }
.lesson-copy > p:not(.video-eyebrow) { margin: 0; color: #d7eaff; font-size: 15px; }
.chapters { display: grid; gap: 8px; margin-top: 20px; }
.chapters button { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; }
.chapters button:hover, .chapters button.is-current { border-color: var(--yellow); background: rgba(255, 213, 78, .16); }
.chapters span { padding: 2px 8px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-size: 12px; }
.video-frame { overflow: hidden; border: 5px solid #fff; border-radius: 16px; background: #0b234a; box-shadow: 10px 10px 0 rgba(0,0,0,.25); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #0b234a; }

/* Notes */
.notes-section { overflow: hidden; isolation: isolate; background: #f8fbff; }
.notes-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.mini-quote { margin: 26px 0 0; padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: 0 10px 24px rgba(31,68,97,.1); font-size: 15px; font-weight: 800; }
.mini-quote cite { display: block; margin-top: 6px; color: #128c4a; font-size: 12px; font-style: normal; }
.notes-flip { margin: 0; overflow: hidden; border: 3px solid var(--ink); border-radius: 20px; background: #fff; box-shadow: 9px 9px 0 var(--yellow); }
.notes-flip video { width: 100%; aspect-ratio: 1000 / 694; background: #eef3f7; }
.notes-flip figcaption { padding: 10px 14px; font-size: 13px; font-weight: 800; }
.notes-flip figcaption span, .notes-thumbs span { margin-right: 8px; color: var(--orange-dark); }
.notes-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.notes-thumbs button { overflow: hidden; border: 2px solid var(--ink); border-radius: 12px; background: #fff; text-align: left; }
.notes-thumbs img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: top; }
.notes-thumbs span { display: block; padding: 6px 8px; font-size: 12px; font-weight: 900; }

/* Feedback */
.feedback-section { background: #fff; }
.feedback-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.feedback-media { position: relative; }
.sticker { position: absolute; z-index: 2; top: -16px; left: 18px; padding: 7px 14px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 900; transform: rotate(-5deg); }
.feedback-main { display: block; width: 100%; overflow: hidden; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 9px 9px 0 var(--blue); }
.media-caption { margin: 14px 4px 0; color: var(--ink-soft); font-size: 13px; }
.steps { display: grid; gap: 4px; margin: 26px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 13px; }
.steps h3 { margin: 0 0 2px; font-size: 17px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Curriculum */
.curriculum-section { overflow: hidden; isolation: isolate; background: #fffbf0; }
.stage-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 26px; overflow: hidden; border: 2px solid var(--ink); border-radius: 18px; background: #fff; }
.stage-row div { padding: 14px 18px; border-right: 2px solid var(--ink); }
.stage-row div:last-child { border-right: 0; }
.stage-row div:nth-child(1) { background: #dff1ff; }
.stage-row div:nth-child(2) { background: #fff3bf; }
.stage-row div:nth-child(3) { background: #ecf6c3; }
.stage-row b { display: block; font-size: 20px; }
.stage-row span { color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.grade-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.grade-tabs button { min-width: 72px; padding: 11px 18px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-size: 17px; font-weight: 900; cursor: pointer; }
.grade-tabs .exam-tab { min-width: 98px; background: #fff3bf; }
.grade-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.grade-panel { padding: 30px 32px; border: 3px solid var(--ink); border-radius: 26px; background: #fff; box-shadow: 8px 8px 0 var(--ink); }
.exam-panel { border-color: var(--orange-dark); box-shadow: 8px 8px 0 var(--orange); }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.grade-label { color: var(--blue-dark); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.panel-head h3 { font-size: clamp(22px, 2.4vw, 30px); }
.unit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.unit-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: 12px; background: #f6f8fa; font-size: 15px; font-weight: 700; }
.unit-list b { flex: 0 0 auto; color: var(--blue); font-size: 13px; }
.panel-extra { margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; }
.exam-intro { margin: 20px 0 0; padding: 15px 18px; border-radius: 15px; background: #fff3bf; color: var(--ink); font-size: 15px; line-height: 1.75; }
.exam-intro b, .exam-panel .panel-extra b { color: var(--orange-dark); }
.exam-unit-list { margin-top: 18px; }
.text-note { color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.text-link { border-bottom: 2px solid var(--ink) !important; font-size: 15px; font-weight: 900; }
.year-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 30px; }
.year-timeline div { position: relative; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.year-timeline b { display: block; font-size: 15px; }
.year-timeline span { color: var(--ink-soft); font-size: 13px; }
.year-timeline .is-now { background: var(--orange); color: #fff; box-shadow: none; }
.year-timeline .is-now span { color: #fff; }
.year-timeline .is-now::after { position: absolute; top: -11px; right: 10px; padding: 1px 8px; border-radius: 99px; background: var(--ink); color: #fff; content: "現正進行"; font-size: 11px; font-weight: 900; }
.timeline-note { margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; }

/* Fees */
.fees-section { background: #fff2d5; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border: 3px solid var(--ink); border-radius: 26px; background: #fff; box-shadow: 9px 9px 0 var(--ink); }
.price-trial { box-shadow: 10px 10px 0 var(--orange); }
.price-tag { align-self: flex-start; padding: 5px 12px; border-radius: 8px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; }
.tag-plain { background: var(--lime); color: var(--ink); }
.price-card h3 { margin-top: 14px; font-size: 22px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; color: var(--blue); line-height: 1; }
.price small { font-weight: 900; }
.price strong { font-size: 60px; letter-spacing: -.05em; }
.price em { color: var(--ink-soft); font-size: 15px; font-style: normal; font-weight: 800; }
.check-list { display: grid; flex: 1; align-content: start; gap: 9px; margin: 22px 0 24px; padding: 0; list-style: none; font-size: 15px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { position: absolute; top: 0; left: 0; color: var(--orange); content: "✓"; font-weight: 900; }
.bundle { margin: -6px 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--sky); }
.bundle b { display: block; color: var(--blue-dark); }
.bundle span { color: var(--ink-soft); font-size: 14px; }
.price-foot { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; text-align: center; }
.trial-journey { margin-top: 38px; padding: 22px; border: 2px solid rgba(23, 38, 50, .12); border-radius: 20px; background: rgba(255,255,255,.42); }
.trial-journey h3 { margin: 0 0 16px; font-size: 20px; text-align: center; }
.start-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.start-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.7); font-weight: 800; }
.start-steps b { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.start-steps span { line-height: 1.5; }
.start-steps li:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -22px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); content: "→"; font-size: 15px; font-weight: 900; transform: translateY(-50%); }

/* FAQ */
.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.faq-grid .button-small { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 4px; font-size: 17px; font-weight: 900; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 24px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: 0; padding: 0 4px 20px; color: var(--ink-soft); font-size: 15px; }

/* Final CTA & footer */
.final-cta { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0; background: var(--blue); color: #fff; text-align: center; }
.final-grid-lines { position: absolute; z-index: -1; inset: 0; opacity: .16; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 32px 32px; }
.final-content .eyebrow { justify-content: center; color: #dcefff; }
.final-content h2 { font-size: clamp(34px, 4.4vw, 56px); }
.final-content h2 em { color: var(--yellow); }
.final-content > p:not(.eyebrow) { max-width: 640px; margin: 18px auto 28px; color: #dcefff; }
.site-footer { padding: 30px 0 40px; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.footer-inner p { margin: 0; color: var(--ink-soft); }
.footer-links { display: flex; gap: 18px; color: var(--blue); font-weight: 900; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; z-index: 30; right: 12px; bottom: 12px; left: 12px; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(23, 38, 50, .96); color: #fff; box-shadow: 0 14px 30px rgba(10, 20, 30, .3); transform: translateY(140%); transition: transform .3s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta p { margin: 0; line-height: 1.3; }
.sticky-cta b { display: block; color: var(--yellow); font-size: 15px; }
.sticky-cta span { font-size: 12px; color: #d0dbe3; }

/* Lightbox */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 18px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox::backdrop { background: rgba(10, 20, 30, .78); }
.lightbox img { width: 100%; max-height: calc(92vh - 110px); object-fit: contain; }
.lightbox p { margin: 10px 4px 0; color: var(--ink-soft); font-size: 14px; text-align: center; }
.lightbox-close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* Responsive */
@media (max-width: 1080px) {
  .change-grid { grid-template-columns: 1fr 1fr; }
  .framework { grid-template-columns: repeat(3, 1fr); }
  .framework li:nth-child(3)::after { display: none; }
}
@media (max-width: 840px) {
  html { scroll-padding-top: 70px; }
  .shell { width: min(100% - 32px, 620px); }
  .topline { font-size: 12px; }
  .header-inner { min-height: 64px; }
  .site-header nav { display: none; }
  .hero { padding: 38px 0 56px; }
  .hero-grid, .media-grid, .feedback-grid, .notes-grid, .faq-grid, .split-heading, .lesson-video { grid-template-columns: 1fr; gap: 28px; }
  .split-heading { margin-bottom: 30px; }
  .hero h1 { font-size: clamp(28px, 8.2vw, 44px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-note { max-width: 270px; font-size: 13px; }
  .hero-trust { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-trust li { padding: 10px; }
  .hero-trust b { font-size: 15px; }
  .hero-trust span { font-size: 11px; }
  .hero-visual { width: 92%; max-width: 440px; min-height: 470px; margin: 6px auto 0; }
  .portrait-frame { right: 0; width: 88%; }
  .chat-float { left: -12px; bottom: 20px; width: 250px; }
  .chat-float blockquote { font-size: 13px; }
  .magazine-float { width: 98px; right: -10px; }
  .section { padding: 72px 0; }
  .media-section { padding-bottom: 0; }
  .magazine-stack { min-height: 0; aspect-ratio: 1 / .95; }
  .school-band { margin-top: 60px; padding: 54px 0; }
  .school-wall span { width: 92px; height: 92px; font-size: 14px; }
  .parent-relief { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .featured-review { padding: 76px 22px 24px; }
  .featured-badge { top: -30px; left: 22px; width: 84px; height: 84px; transform: rotate(-8deg); }
  .review-more { display: block; }
  .method-section { padding: 72px 0 86px; }
  .lesson-video { margin-top: 44px; padding: 18px; }
  .notes-thumbs { grid-template-columns: repeat(2, 1fr); }
  .stage-row { grid-template-columns: 1fr; }
  .stage-row div { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stage-row div:last-child { border-bottom: 0; }
  .grade-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .grade-tabs button { min-width: 0; padding: 10px 0; font-size: 15px; }
  .grade-panel { padding: 22px 20px; }
  .unit-list { grid-template-columns: 1fr; }
  .year-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding-top: 12px; }
  .year-timeline div:last-child { grid-column: 1 / -1; }
  .price-grid, .start-steps { grid-template-columns: 1fr; }
  .start-steps { gap: 28px; }
  .start-steps li:not(:last-child)::after { top: auto; right: auto; bottom: -24px; left: 50%; background: var(--cream); color: var(--blue); content: "↓"; transform: translateX(-50%); }
  .price-card { padding: 26px 22px; }
  .trial-journey { margin-top: 30px; padding: 18px; }
  .trial-journey h3 { font-size: 19px; }
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 104px; }
}
@media (max-width: 520px) {
  h2 { font-size: clamp(27px, 7vw, 32px); line-height: 1.32; letter-spacing: -.05em; text-wrap: balance; }
  .hero h1 { font-size: clamp(28px, 7.2vw, 32px); line-height: 1.28; letter-spacing: -.055em; text-wrap: balance; }
  .final-content h2 { font-size: clamp(27px, 7vw, 32px); line-height: 1.32; letter-spacing: -.055em; text-wrap: balance; }
  .change-grid, .framework { grid-template-columns: 1fr; }
  .framework li::after { display: none !important; }
  .framework li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 16px; }
  .framework b { grid-row: span 2; }
  .framework h3 { margin: 0; font-size: 20px; }
  .credential-list { gap: 8px; margin-top: 20px; }
  .credential-list li { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(29, 95, 198, .16); border-radius: 12px; background: #f8fbff; font-size: 13px; line-height: 1.45; }
  .credential-list b { min-width: 0; padding: 5px 7px; font-size: 12px; }
  .price strong { font-size: 52px; }
  .panel-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .panel-actions .text-link { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .mag-cover, .mag-spread, .sticky-cta { transition: none; }
}

/* Final usability refinements */
.chat-float small { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.footer-links button { border: 0; padding: 0; background: none; color: var(--blue); font-size: 13px; font-weight: 900; cursor: pointer; }
.privacy-dialog { width: min(620px, calc(100vw - 32px)); max-height: 86vh; border: 0; border-radius: 20px; padding: 28px; color: var(--ink); }
.privacy-dialog::backdrop { background: rgba(10,20,30,.78); }
.privacy-dialog h2 { font-size: 25px; }
.privacy-dialog p { color: var(--ink-soft); font-size: 15px; }
.privacy-dialog a { color: var(--blue); text-decoration: underline; }
@media (max-width: 840px) {
  .hero-visual { min-height: 470px; }
  .sticky-cta { bottom: max(12px, env(safe-area-inset-bottom)); }
  .footer-links { flex-wrap: wrap; gap: 14px 20px; }
  .featured-review { margin-top: 20px; }
}
@media (max-width: 420px) {
  .hero-visual { min-height: 390px; }
  .chat-float { width: 230px; bottom: 8px; }
  .magazine-float { width: 86px; right: -8px; bottom: -26px; }
  .hero-trust b { font-size: 13px; }
  .sticky-cta { left: 8px; right: 8px; padding-left: 12px; gap: 8px; }
  .sticky-cta .button { padding: 13px 14px; font-size: 14px; }
  .sticky-cta span { font-size: 11px; }
}

/* High-contrast orange surfaces */
.button-primary, .featured-badge, .price-tag, .year-timeline .is-now, .year-timeline .is-now span { color: var(--ink); }
.price-trial .price-tag { color: var(--ink); }
.framework .framework-goal b { color: var(--ink); }
.sticker { color: var(--ink); }
