:root {
  color-scheme: light;
  --paper: #f9f6f3;
  --paper-deep: #f3ede9;
  --line: #ece5e1;
  --ink: #1b1624;
  --muted: #54505b;
  --sky: #5dcdf1;
  --orange: #fd976d;
  --yellow: #fdd46b;
  --violet: #c9b1fb;
  --green: #79d287;
  --serif: Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: white;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #227ba2; outline-offset: 4px; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.svg-defs { position: absolute; width: 0; height: 0; pointer-events: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 8px; left: 12px; z-index: 4; padding: 8px 16px; background: white; }
.wrap, .site-header, .intro-backdrop { width: min(1400px, calc(100% - 7.5vw)); margin-inline: auto; }
.intro-wrap { width: min(1160px, 84%); margin-inline: auto; }
.section, #courses, #course-outline { scroll-margin-top: 25px; }
.site-header { position: relative; z-index: 2; margin-top: 16px; background: var(--paper); border-radius: 20px 20px 0 0; }
.header-inner { min-height: 147px; display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: 16px 24px; padding-block: 19px 10px; }
.brand { display: inline-flex; width: fit-content; grid-column: 1 / -1; font: 800 34px/1.12 var(--serif); white-space: nowrap; }
.brand-word { position: relative; isolation: isolate; }
.brand-word::after { content: ""; position: absolute; z-index: -1; width: 52%; height: 24px; left: -5px; bottom: -2px; border-bottom: 4px solid var(--sky); border-radius: 0 0 61% 48%; transform: rotate(-12deg); }
.brand small { font-size: .56em; letter-spacing: -.045em; }
nav { display: flex; align-items: center; gap: clamp(13px, 2.2vw, 29px); white-space: nowrap; }
nav a { display: inline-flex; align-items: center; gap: 3px; font-size: 16px; font-weight: 620; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
nav svg { width: 13px; height: 13px; }
.button { display: inline-flex; width: fit-content; min-height: 47px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 22px; font-size: 15px; font-weight: 650; text-align: center; transition: transform .18s, filter .18s; }
.button:hover { transform: translateY(-2px); filter: brightness(.96); }
.button-orange { background: var(--orange); }
.button-sky, .button-primary { background: var(--sky); }
.menu-toggle { display: none; }
.intro-backdrop { position: relative; isolation: isolate; background: var(--paper); border-radius: 0 0 20px 20px; overflow: hidden; }
.intro-backdrop::before { content: ""; position: absolute; z-index: -1; bottom: -190px; left: -15%; width: 130%; height: 420px; border-radius: 50%; border: 62px solid var(--paper-deep); transform: rotate(-13deg); pointer-events: none; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(36px, 6.8vw, 110px); padding-block: 24px 46px; }
.portrait { position: relative; isolation: isolate; width: min(100%, 356px); aspect-ratio: 1.02; margin-inline: 0 auto; }
.portrait-disc { position: absolute; inset: 13% 7% 2%; border-radius: 50%; background: var(--yellow); }
.portrait-disc::after { content: ""; position: absolute; right: -9%; top: 32%; width: 19%; height: 17%; background: var(--yellow); clip-path: polygon(0 12%, 100% 0, 25% 100%); }
.portrait-orbit { position: absolute; inset: 9% 1% 1% 1%; border: 6px solid transparent; border-left-color: var(--yellow); border-bottom-color: #f0e9e2; border-radius: 50%; transform: rotate(15deg); }
.portrait-mask { position: absolute; inset: 0 8% 0 9%; overflow: hidden; border-radius: 0 0 47% 49% / 0 0 37% 42%; }
.portrait img { position: absolute; height: 142%; width: auto; max-width: none; left: 50%; top: -4%; transform: translateX(-54%); }
.hero h1 { font: 800 clamp(36px, 5.25vw, 79px)/1.15 var(--serif); letter-spacing: -.075em; }
.hero-description { max-width: 560px; margin-top: clamp(21px, 3.5vw, 43px); font-size: clamp(17px, 2.15vw, 29px); line-height: 1.45; letter-spacing: -.035em; text-wrap: pretty; }
.hero-description strong { font-family: var(--serif); }
.wave { display: inline-block; margin-left: .16em; font-size: .72em; letter-spacing: 0; transform: rotate(-10deg); }
.underline { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.underline::after, .underline::before { content: ""; position: absolute; z-index: -1; left: -3%; right: -4%; height: .24em; bottom: -.16em; border-top: .045em solid var(--sky); border-radius: 54%; transform: rotate(-4deg); }
.underline::before { left: 11%; right: 8%; bottom: -.23em; }
.underline.yellow::after { border-color: var(--yellow); border-top-width: .065em; }
.underline.yellow::before { display: none; }

.feature { position: relative; background: white; border-radius: 20px; box-shadow: 0 30px 66px #50403413; padding: clamp(27px, 6vw, 92px) clamp(25px, 7.4vw, 114px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(25px, 6vw, 82px); }
.feature-arrow { position: absolute; right: 2.5%; top: -70px; width: 78px; height: 133px; color: var(--orange); stroke-width: 3.5; pointer-events: none; }
.course-copy h2 { display: flex; align-items: center; gap: 11px; font-size: clamp(28px, 3.3vw, 47px); line-height: 1.2; letter-spacing: -.06em; }
.course-mark { display: grid; place-items: center; width: 1.26em; height: 1.26em; border-radius: 28%; background: var(--ink); color: white; }
.course-mark svg { width: .65em; height: .65em; }
.course-copy p { margin-top: 15px; font-size: clamp(15px, 1.6vw, 22px); line-height: 1.63; }
.course-copy .button { margin-top: 21px; }
.course-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px #271b2410; }
.eyebrow, .article-topic { font-size: 13px; color: var(--muted); font-weight: 650; }
.course-card h3 { margin-block: 5px 12px; font: 750 clamp(19px, 1.95vw, 27px)/1.35 var(--serif); }
.course-steps { display: grid; gap: 7px; font-size: 13px; }
.course-steps span { display: flex; gap: 8px; align-items: center; background: #fff0e9; padding: 8px 9px; border-radius: 5px; }
.course-steps span:nth-child(2) { background: #e8f7fc; }
.course-steps span:nth-child(3) { background: #f0e9ff; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.course-card summary { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-block: 7px; font-size: 13px; text-decoration: underline; }
details[open] summary .path-link svg, .course-card details[open] summary svg { transform: rotate(45deg); }
.course-card ol { margin: 0; padding-left: 1.45em; font-size: 13px; line-height: 1.8; }
.hero-foot { text-align: center; padding-block: 40px 58px; }
.hero-foot > span { font-size: 14px; color: var(--muted); }
.hero-foot p { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 5vw, 60px); margin-top: 12px; font: 750 clamp(21px, 3vw, 35px)/1 var(--serif); }
.hero-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }

.start { margin-top: clamp(63px, 9vw, 132px); }
.paths { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(145px, auto) repeat(4, minmax(115px, auto)); gap: clamp(24px, 4.8vw, 62px); }
.display-heading { font-size: clamp(39px, 6.05vw, 84px); font-weight: 400; letter-spacing: -.073em; line-height: 1.12; }
.display-heading strong { font: 780 1em/1.18 var(--serif); }
.start-heading { grid-area: 1 / 1; align-self: center; }
.path { min-width: 0; min-height: 255px; display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 14px; padding: clamp(25px, 5vw, 66px); border-radius: 20px; background: var(--paper); transition: transform .2s, background .2s; }
.path:hover { transform: translateY(-4px); background: var(--paper-deep); }
.path-course { grid-area: 1 / 2 / 3; --accent: var(--yellow); --twist: 7deg; }
.path-school { grid-area: 2 / 1 / 4; --accent: var(--orange); --twist: -8deg; }
.path-video { grid-area: 3 / 2 / 5; --accent: var(--sky); --twist: 6deg; }
.path-resource { grid-area: 4 / 1 / 6; --accent: var(--violet); --twist: -8deg; }
.path-icon { display: inline-grid; place-items: center; width: 53px; height: 53px; background: var(--accent); border: 1px solid var(--ink); border-radius: 34% 48% 34% 52%; transform: rotate(var(--twist)); font-size: 26px; margin-bottom: 5px; }
.path h3, .video-copy strong { font: 760 clamp(25px, 3.1vw, 43px)/1.25 var(--serif); letter-spacing: -.045em; }
.path p { max-width: 310px; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.65; }
.path-link { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 650; margin-top: 6px; }
.path-link > span { text-decoration: underline; text-underline-offset: 4px; }
.lower-section { margin-top: clamp(63px, 8vw, 120px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2 { margin-top: 5px; font: 760 clamp(26px, 4vw, 52px)/1.24 var(--serif); letter-spacing: -.05em; }
.section-head > p { max-width: 275px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.school-demo { background: var(--paper); border-radius: 20px; padding: clamp(18px, 4vw, 42px); }
#school-form { display: flex; gap: 9px; }
.search-label { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 999px; padding-inline: 15px; }
.search-label:focus-within { outline: 2px solid #227ba2; outline-offset: 1px; }
.search-label input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; }
.demo-note { margin-top: 11px; font-size: 13px; color: var(--muted); }
.school-results { margin: 12px 0 0; list-style: none; padding: 0; }
.school-results li { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; }
.school-results span { color: var(--muted); }
.about { margin-top: clamp(66px, 9vw, 127px); border-radius: 20px; background: var(--paper); overflow: hidden; }
.about-inner { position: relative; isolation: isolate; padding: clamp(27px, 7vw, 95px); }
.about-inner::after { content: ""; position: absolute; z-index: -1; top: -110px; right: -10%; width: 77%; height: 95%; transform: rotate(33deg); border: 54px solid var(--paper-deep); border-radius: 45%; }
.about-inner > p { max-width: 495px; margin-block: 26px 32px; font-size: clamp(15px, 1.65vw, 21px); line-height: 1.9; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.media-section { margin-top: clamp(62px, 8vw, 120px); }
.media-section > h2 { margin-bottom: clamp(24px, 5vw, 63px); }
.video-link { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--paper); border-radius: 20px; overflow: hidden; }
.video-art { min-height: 190px; display: grid; place-items: center; background: var(--yellow); }
.video-art svg { width: 91px; height: 91px; stroke-width: 1.4; transform: rotate(-8deg); }
.video-copy { display: grid; align-content: center; gap: 11px; padding: clamp(22px, 5vw, 62px); }
.video-copy small { font-size: 16px; }
.video-link:hover .path-link { text-decoration: underline; }
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; align-items: start; }
.article { background: var(--paper); border-radius: 18px; overflow: hidden; }
.article summary { display: block; }
.article-art { height: clamp(105px, 13vw, 185px); background: var(--orange); display: grid; place-items: center; font-size: 47px; }
.article:nth-child(2) .article-art { background: var(--sky); }
.article:nth-child(3) .article-art { background: var(--violet); }
.article-art svg { transform: rotate(-10deg); }
.article-title { display: grid; gap: 10px; padding: clamp(15px, 2.5vw, 32px); }
.article-title strong { font: 760 clamp(19px, 2.2vw, 31px)/1.33 var(--serif); }
.article > p { margin: 0 clamp(15px, 2.5vw, 32px) 23px; color: var(--muted); line-height: 1.75; }
.site-footer { margin-top: clamp(66px, 9vw, 133px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 22px; padding-block: 47px 65px; }
.site-footer > div { display: grid; align-content: start; gap: 9px; font-size: 14px; }
.site-footer a:not(.brand) { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 4px; }

@media (max-width: 800px) {
  .header-inner { min-height: 0; grid-template-columns: minmax(0, 1fr) auto auto; gap: 9px; padding-block: 15px; }
  .brand { grid-column: auto; font-size: 27px; }
  .header-action { padding-inline: 13px; min-height: 39px; font-size: 13px; }
  .menu-toggle { display: grid; place-items: center; width: 39px; height: 39px; border: 0; border-radius: 8px; background: var(--yellow); font-size: 17px; }
  nav { display: none; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 17px; padding-top: 10px; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  nav a { padding: 6px 0; font-size: 14px; }
  .hero { gap: 24px; }
  .hero h1 { font-size: clamp(34px, 5.6vw, 57px); }
  .hero-description { font-size: clamp(16px, 2.45vw, 23px); }
  .paths { gap: 20px; }
}
@media (max-width: 570px) {
  .wrap, .site-header, .intro-backdrop { width: calc(100% - 24px); }
  .intro-wrap { width: calc(100% - 30px); }
  .site-header { margin-top: 8px; }
  .header-inner { padding-top: 11px; }
  .brand { font-size: 24px; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding-block: 8px 30px; text-align: center; }
  .portrait { width: min(68%, 252px); margin-inline: auto; }
  .hero-description { margin: 17px auto 0; max-width: 410px; }
  .feature, .video-link { grid-template-columns: 1fr; }
  .feature { padding: 19px; }
  .feature-arrow { right: 3%; top: -25px; width: 31px; height: 50px; }
  .hero-foot { padding-block: 29px 38px; }
  .paths { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 13px; }
  .paths > * { grid-area: auto; }
  .start-heading { margin-bottom: 12px; }
  .path { min-height: 0; padding: 25px; gap: 8px; }
  .section-head { display: block; }
  .section-head > p { max-width: none; margin-top: 8px; }
  .video-art { min-height: 132px; }
  .video-art svg { width: 63px; height: 63px; }
  .articles { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 5px; gap: 17px 10px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
