:root {
  color-scheme: light;
  --ink: #161e43;
  --subtle: #48536a;
  --paper: #fffdf9;
  --mint: #bcf2db;
  --line: #dadcde;
  font-family: "DM Sans", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a05209; outline-offset: 4px; }
.hero a:focus-visible { outline-color: white; }
.wrap { width: min(1232px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(44px, 5.5vw, 80px); }
section[id], main[id] { scroll-margin-top: 18px; }
.skip { position: absolute; z-index: 8; left: 10px; top: -100px; background: white; padding: 12px 18px; }
.skip:focus { top: 10px; }
.header { background: var(--paper); }
.header-row, .footer-row { display: flex; align-items: center; gap: 28px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 21px; line-height: 1.15; letter-spacing: .06em; font-weight: 850; text-decoration: none; white-space: nowrap; }
.brand small { display: block; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; margin-top: 3px; }
.brand-orb { position: relative; isolation: isolate; display: grid; place-items: center; width: 45px; height: 45px; color: var(--ink); border-radius: 50%; background: #ffcf6d; transform: rotate(-9deg); font: italic 900 22px/1 Arial,sans-serif; letter-spacing: -.14em; padding-right: 3px; }
.brand-orb::after { content:""; position:absolute; inset: 14px -6px; border: 2px solid currentColor; border-radius: 50%; transform: rotate(-17deg); clip-path: polygon(0 0,15% 0,15% 73%,80% 73%,80% 0,100% 0,100% 100%,0 100%); }
.navigation, .foot-links { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 42px); }
.navigation { margin-left: auto; }
.navigation a, .foot-links a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; font-size:15px; font-weight:650; }
.navigation a:hover, .foot-links a:hover { text-decoration: underline; }
.header-enter, .primary { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:10px 19px; border-radius:10px; text-decoration:none; font-weight:760; }
.header-enter { background:var(--ink); color:white; font-size:15px; }
.header-enter:hover { background:#353e6c; }
.primary { background:#ffcf6d; color:#202647; min-height:53px; }
.primary:hover { background:#ffda8f; }
.hero { padding-top: 9px; }
.hero-board { position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-columns: 1.08fr 1fr; border-radius:27px; background: radial-gradient(ellipse at 83% 38%, #40438a 0, #232a59 40%, #171d43 77%); color:white; }
.hero-copy { padding:clamp(46px,6vw,86px) 0 clamp(46px,6.5vw,92px) clamp(32px,5.5vw,83px); z-index:2; }
h1 { font-size:clamp(45px,5.6vw,82px); line-height:1.16; letter-spacing:-.065em; font-weight:850; }
.full-stop { color:#ffcf6d; }
.hero-copy p { color:#edf0ff; max-width:26em; margin:23px 0 27px; font-size:clamp(16px,1.3vw,20px); line-height:1.83; }
.hero-actions { display:flex; align-items:center; gap:8px 24px; flex-wrap:wrap; }
.light-link { display:inline-flex; align-items:center; gap:6px; min-height:44px; color:#fff; font-size:15px; font-weight:650; }
.sky { position:absolute; inset:0 0 0 51%; pointer-events:none; overflow:hidden; }
.sky::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 20% 25%, #fff 0 1px, transparent 2px),radial-gradient(circle at 55% 70%, #b2c1ff 0 1.3px, transparent 1.8px); background-size:77px 81px, 119px 113px; opacity:.8; mask-image:linear-gradient(90deg,transparent,black 12%); }
.sky-orbit { position:absolute; inset:22% -19% 16% 0; border:1px solid #a4aee47a; border-radius:50%; transform:rotate(-23deg); }
.orbit-two { transform:rotate(20deg); inset:22% -13% 12% -10%; border-style:dashed; opacity:.48; }
.star { position:absolute; color:#ffdc88; line-height:1; }
.star-one { top:26%; left:20%; font-size:30px; }
.star-two { top:57%; right:8%; font-size:31px; color:#cbd1ff; }
.star-three { top:56%; left:10%; font-size:14px; }
.saturn { position:absolute; top:3%; right:3%; width:clamp(66px,7.2vw,108px); height:auto; transform:rotate(11deg); }
.moon { position:absolute; width:115%; aspect-ratio:1.28; bottom:0; left:4%; transform:translateY(61%) rotate(-13deg); border-radius:50%; border-top:3px solid #d6f9df; background:linear-gradient(165deg,#b8efcf 12%,#7fc8b8 42%,#48978e 70%); box-shadow:0 -9px 35px #9af1dd28; overflow:hidden; }
.moon i { position:absolute; border-radius:50%; background:#509f967d; border-bottom:2px solid #d6ffdb9c; }
.moon i:nth-child(1) { width:11%; height:4%; top:8%; left:68%; }
.moon i:nth-child(2) { width:17%; height:6%; top:22%; left:8%; }
.moon i:nth-child(3) { width:19%; height:7%; top:25%; left:69%; }
.moon i:nth-child(4) { width:9%; height:3%; top:33%; left:46%; }
.moon i:nth-child(5) { width:6%; height:2.6%; top:17%; left:87%; }
.mascot { position:absolute; z-index:2; bottom:10.1%; left:19%; width:63%; max-height:76%; object-fit:contain; object-position:bottom; height:auto; transform:rotate(4deg); filter:drop-shadow(0 9px 6px #10183a32); }
.ground { position:absolute; bottom:9.4%; left:33%; width:37%; height:6%; background:#4a8f8b66; border-radius:50%; transform:rotate(-3deg); filter:blur(2px); }
h2 { font-size:clamp(29px,3.25vw,45px); line-height:1.28; letter-spacing:-.045em; }
h3 { font-size:clamp(21px,2vw,29px); line-height:1.45; letter-spacing:-.028em; }
.subjects { padding-block:clamp(36px,4.8vw,63px); }
.subject-list { display:grid; gap:12px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top:24px; }
.subject-tile { position:relative; display:flex; align-items:center; gap:12px; padding:20px 13px; border-radius:13px; text-decoration:none; background:var(--tint); }

.subject-tile b { align-self:flex-start; margin-left:auto; font-size:14px; }
.subject-tile strong, .subject-tile small { display:block; }
.subject-tile small { color:#3f475b; font-size:13px; line-height:1.5; margin-top:4px; }
.subject-tile strong { font-size:20px; }
.tile-symbol { display:grid; place-items:center; flex:0 0 auto; background:var(--symbol); border-radius:50%; width:47px; height:47px; font:800 23px/1 "DM Sans",system-ui,sans-serif; letter-spacing:-.055em; }
.english { --tint:#f1edf8; --symbol:#d9c9f1; }
.maths { --tint:#e8f3ee; --symbol:#bde4cf; }
.olympiad { --tint:#fcf1d9; --symbol:#f3d580; }
.dictation { --tint:#f8ece8; --symbol:#eecbc3; }
.demo-section { background:#eeeefa; }
.demo-grid,.faq-grid { display:grid; grid-template-columns: .88fr 1.12fr; gap:clamp(32px,7vw,108px); align-items:center; }
.demo-copy p,.story-copy p,.faq details p { color:var(--subtle); line-height:1.82; }
.demo-copy p { max-width:25em; margin:15px 0 23px; }
.question { position:relative; margin:0; padding:clamp(24px,3.65vw,48px); border:1px solid #c9c8d5; border-top:5px solid #f4bf61; border-radius:7px 7px 22px 7px; background:#fff; box-shadow:5px 5px 0 #d9d7ea; }
.question figcaption { font-size:14px; font-weight:700; color:#485578; }
.question h3 { margin:10px 0 22px; }
.preview-words { list-style:none; margin:0; padding:0; display:flex; gap:9px; flex-wrap:wrap; }
.preview-words li { padding:5px 18px; border-radius:7px; background:#eff0f7; color:#404760; font-size:19px; font-weight:650; }
.preview-caption,.trial-note { color:var(--subtle); font-size:15px; line-height:1.7; margin-top:16px; }
.subject-tile h3 { font-size:21px; }
.subject-tile p { font-size:16px; line-height:1.65; color:var(--subtle); margin-top:5px; }
.account-links,.cta-group { display:flex; gap:16px; align-items:center; }
.account-login { color:var(--ink); font-size:15px; font-weight:650; text-decoration:none; display:inline-flex; min-height:44px; align-items:center; }
.account-login:hover { text-decoration:underline; }
.final-cta { padding:clamp(42px,7vw,88px) 0; background:#eef4ec; }
.final-inner { display:flex; align-items:center; justify-content:space-between; gap:25px; }
.final-inner p { margin-top:10px; color:var(--subtle); line-height:1.7; }
.cta-group { flex-wrap:wrap; }
.pair { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:25px; }
.story { overflow:hidden; border-radius:20px; display:flex; flex-direction:column; background:#e8eef8; }
.story-copy { padding:clamp(22px,2.9vw,39px); }
.story-copy p { margin:9px 0 4px; }
.text-link { display:inline-flex; align-items:center; gap:9px; min-height:44px; font-weight:750; }
.math-picture { margin:auto auto 0; width:80%; max-height:245px; height:auto; aspect-ratio:2; object-fit:cover; object-position:center 10%; border-radius:12px 12px 0 0; }
.reward-story { background:#fff0cb; }
.reward-art { height:180px; margin-top:auto; overflow:hidden; position:relative; }
.ticket { position:absolute; top:15%; left:10%; width:56%; padding:12px 10% 18px 5%; border-radius:11px; background:#e0f0dd; border:2px dashed #7b9c7e; transform:rotate(-8deg); color:#294d3c; }
.ticket span { display:block; font-size:12px; }
.ticket b { display:block; font-size:clamp(19px,2.15vw,30px); margin-top:4px; line-height:1.3; }
.reward-art img { position:absolute; height:110%; width:auto; right:7%; bottom:-12%; transform:rotate(7deg); }
.faq-section { background:#f3f2ef; }
.faq-grid { align-items:start; }
.faq details { border-top:1px solid #c8c9c9; }
.faq details:last-child { border-bottom:1px solid #c8c9c9; }
.faq summary { display:flex; align-items:center; gap:18px; justify-content:space-between; padding:17px 0; min-height:58px; font-weight:720; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font:24px/1 system-ui; }
.faq details[open] summary::after { content:"−"; }
.faq details p { font-size:16px; padding:0 15px 18px 0; overflow-wrap:anywhere; }
footer { background:var(--ink); color:#fafaff; }
.footer-row { justify-content:space-between; padding-block:24px; }
@media(max-width:1000px) {
  .wrap { width:calc(100% - 52px); }
  .subject-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-copy { padding-left:35px; }
  .sky { left:53%; }
}
@media(max-width:720px) {
  .wrap { width:calc(100% - 32px); }
  .header-row { min-height:70px; justify-content:space-between; gap:9px; }
  .brand { gap:9px; font-size:18px; }.brand-orb { width:36px; height:36px; font-size:18px; }.brand-orb::after { inset:11px -4px; }
  .navigation { display:none; }.header-enter { min-height:42px; padding:9px 12px; gap:5px; }
  .hero { padding-top:3px; }.hero-board { display:flex; flex-direction:column; border-radius:20px; }
  .hero-copy { padding:31px 24px 0; }.hero-copy p { font-size:16px; margin:12px 0 16px; }
  .hero-actions { gap:6px 14px; }.primary { font-size:15px; min-height:47px; padding:9px 13px; }.light-link { font-size:14px; }
  .sky { position:relative; inset:auto; width:100%; height:clamp(180px,42vw,264px); margin-top:6px; }
  .moon { width:96%; left:15%; aspect-ratio:1.8; transform:translateY(68%) rotate(-12deg); }
  .mascot { bottom:6%; left:34%; max-height:100%; width:43%; }.ground { left:43%; width:25%; bottom:5%; }.saturn { right:7%; top:3%; }.star-one { left:18%; }
  .demo-grid,.faq-grid,.pair { grid-template-columns:1fr; gap:23px; }.pair { margin-top:20px; }
  .subject-list { gap:9px; margin-top:16px; grid-template-columns:1fr; }
  .subject-tile { align-items:flex-start; padding:16px; gap:12px; }
  .final-inner { align-items:flex-start; flex-direction:column; }
  .account-links { gap:12px; }
  .subject-tile b { position:absolute; top:11px; right:12px; }
  .tile-symbol { width:33px; height:33px; font-size:17px; }
  .subject-tile strong { font-size:17px; }.subject-tile small { margin-top:1px; }
  .demo-copy p { margin-bottom:14px; }.foot-links { gap:12px; }.foot-links a { font-size:13px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
.full-offer { border-top:2px solid var(--ink); padding:clamp(24px,4vw,48px) 0 0; display:flex; justify-content:space-between; gap:24px; align-items:center; }
.full-offer p { max-width:44em; line-height:1.85; margin:14px 0 0; }
.full-offer .primary { flex-shrink:0; }
.foot-links { flex-wrap:wrap; }
@media(max-width:760px) { .full-offer { align-items:flex-start; flex-direction:column; } }
