:root {
  --paper: #fbfaf6;
  --ink: #232220;
  --muted: #58544f;
  --line: #dfdcd3;
  --orange: #ff7155;
  --accent: #b5381f;
  --blue: #e5e7f5;
  --green: #dfebdb;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #2453bd; outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.75; }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; background: white; padding: 12px; z-index: 3; }
.skip:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { font-size: 21px; font-weight: 850; white-space: nowrap; }
.brand span { color: var(--accent); }
.header-row nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
.header-cta { border: 1px solid var(--line); padding: 9px 14px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1fr .98fr; gap: 55px; align-items: center; padding-block: 78px 94px; }
.kicker { font-size: 13px; font-weight: 750; color: var(--accent); }
h1 { font-size: clamp(46px, 6.1vw, 86px); letter-spacing: -.085em; line-height: 1.08; margin: 20px 0 22px; }
.hero h1 span { color: var(--accent); }
.lead { font-size: 17px; max-width: 34em; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.button { display: inline-flex; gap: 20px; align-items: center; color: white; background: var(--ink); padding: 13px 19px; border-radius: 10px; font-weight: 730; font-size: 14px; }
.button:hover { background: #4a413b; }
.quiet { display: inline-block; font-weight: 720; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.hero-art { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; transform: rotate(-3deg); }
.art-main, .art-note { border-radius: 22px; padding: 22px; }
.art-main { grid-row: span 2; background: var(--orange); }
.art-main strong { display: block; margin-top: 19px; font-size: clamp(26px, 3vw, 44px); letter-spacing: -.065em; line-height: 1.13; }
.art-top { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 750; }
.game-board { position: relative; height: 135px; margin-top: 22px; border: 1px solid #5b291e; border-radius: 13px; background: radial-gradient(#ac422f 1px, transparent 1px) 0 0 / 15px 15px, #ff9b84; }
.star { position: absolute; line-height: 1; color: #52281d; }
.star-one { left: 22%; top: 22%; font-size: 31px; }
.star-two { left: 62%; top: 14%; font-size: 24px; }
.star-three { left: 50%; top: 49%; font-size: 19px; }
.catcher { position: absolute; bottom: 13%; left: 38%; width: 25%; height: 12px; background: var(--ink); border-radius: 4px 4px 12px 12px; }
.art-note { display: flex; flex-direction: column; justify-content: end; gap: 6px; }
.art-note b { font-size: clamp(16px, 2vw, 23px); }
.art-note span { font-size: 13px; line-height: 1.5; }
.art-blue, .online { background: var(--blue); }
.art-green, .offline { background: var(--green); }
.section { padding-block: 57px; }
.section-head { margin-bottom: 27px; }
h2 { font-size: clamp(28px, 3.7vw, 49px); letter-spacing: -.065em; line-height: 1.19; }
.section-head p { margin-top: 10px; color: var(--muted); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path, .course-panel { border-radius: 23px; padding: clamp(20px, 3.2vw, 37px); }
.tag { display: inline-block; font-size: 13px; font-weight: 750; }
.path h3 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 6px; letter-spacing: -.055em; }
.path > p { color: var(--muted); margin-bottom: 18px; }
.path a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #23222035; }
.path a:hover b { text-decoration: underline; }
.path a small { display: block; color: var(--muted); margin-top: 5px; }
.process { background: #f1eee5; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { border-top: 1px solid #b9b4a6; padding-top: 14px; }
.steps span { display: block; color: var(--accent); margin-bottom: 12px; font-size: 13px; font-weight: 750; }
.steps b { font-size: 19px; }
.steps p { margin-top: 7px; color: var(--muted); }
.teacher { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(25px, 6vw, 82px); align-items: center; }
.teacher img { width: 100%; aspect-ratio: 5 / 4; height: auto; object-fit: cover; object-position: 50% 26%; border-radius: 22px; }
.teacher p { margin-top: 14px; color: var(--muted); }
.teacher .quiet { margin-top: 17px; }
.faq { border-top: 1px solid var(--line); display: grid; grid-template-columns: .55fr 1fr; gap: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 720; }
.faq summary { padding-block: 15px; }
.faq p { color: var(--muted); padding-bottom: 15px; }
.contact { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: start; background: #ffdace; padding: clamp(20px, 4vw, 48px); border-radius: 25px; margin-bottom: 45px; }
.contact p { margin-top: 10px; }
.wechat summary { background: var(--ink); color: white; border-radius: 10px; padding: 12px 16px; }
.qr { padding: 13px; background: white; border-radius: 10px; margin-top: 10px; text-align: center; }
.qr img { width: 155px; height: auto; margin: auto; }
footer { border-top: 1px solid var(--line); }
.footer-row { flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.course-intro { padding-block: 55px 28px; }
.course-intro h1 { font-size: clamp(36px, 5.6vw, 67px); }
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.jump a { border: 1px solid var(--line); padding: 8px 13px; border-radius: 9px; font-size: 14px; }
.jump a:hover { background: white; }
.course-list { display: grid; gap: 19px; padding-block: 5px 55px; }
.course-panel h2 { margin: 8px 0 12px; font-size: clamp(26px, 3.2vw, 40px); }
.course-panel > p { max-width: 45em; color: var(--muted); }
.course-panel .button { margin-top: 19px; }
.lessons { padding-left: 1.7em; margin: 20px 0 0; }
.lessons li { padding: 9px 0 9px 8px; border-top: 1px solid #23222035; }
.lessons li b { display: block; }
.lessons li span { display: block; margin-top: 5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 800px) {
  .wrap { width: min(100% - 36px, 680px); }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 34px; }
  .hero-art { transform: none; }
  .section { padding-block: 38px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .header-row { min-height: 59px; gap: 10px; }
  .header-row nav { gap: 12px; }
  .header-row nav a:nth-child(2) { display: none; }
  .brand { font-size: 18px; }
  .header-cta { font-size: 12px; padding: 8px 10px; }
  .hero h1 { font-size: clamp(44px, 11vw, 60px); }
  .art-main, .art-note { padding: 13px; border-radius: 15px; }
  .game-board { height: 90px; margin-top: 12px; }
  .art-main strong { margin-top: 12px; }
  .paths, .teacher, .faq, .contact { grid-template-columns: 1fr; }
  .teacher img { max-width: 300px; }
  .footer-row { padding-block: 15px; justify-content: flex-start; gap: 12px; }
}

.path .tag {
  background: #ffffffa8;
  border-radius: 6px;
  padding: 5px 9px;
}
.path-focus {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
}
.path-focus b, .path-focus span { display: block; }
.path-focus span { margin-top: 4px; color: var(--muted); line-height: 1.55; }
.advancement { margin-top: 28px; padding-top: 20px; border-top: 1px solid #23222035; }
.advancement h3 { font-size: 22px; letter-spacing: -.035em; }
.extension-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.extension-grid article { background: #ffffff80; border-radius: 13px; padding: 17px 20px; }
.extension-grid h4 { margin: 0 0 6px; font-size: 17px; }
.extension-grid p, .advancement > p { color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 13px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 540px) {
  .extension-grid { grid-template-columns: 1fr; }
}
