:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-strong: #efede5;
  --ink: #1d2520;
  --muted: #667068;
  --line: #dcded7;
  --green: #2f5b46;
  --green-dark: #244838;
  --orange: #d56b3f;
  --white: #fff;
  --shadow: 0 18px 45px rgba(42, 50, 44, 0.09);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 8px 12px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent; background: rgba(247, 245, 239, 0.88); backdrop-filter: blur(15px); transition: border-color 0.2s ease; }
.site-header.is-scrolled { border-bottom-color: rgba(29, 37, 32, 0.1); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px 10px 10px 3px; display: inline-grid; place-items: center; background: var(--green); color: #fff; font-family: "STSong", "SimSun", serif; font-size: 18px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.site-nav a:not(.nav-action) { color: #4d584f; }
.site-nav a:hover { color: var(--green); }
.nav-action { padding: 9px 17px; border: 1px solid var(--green); border-radius: 8px; color: var(--green); font-weight: 600; }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform 0.2s ease; }

.hero { padding: 70px 0 86px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr); gap: 92px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: "STSong", "Songti SC", "SimSun", serif; font-size: clamp(48px, 6vw, 78px); font-weight: 600; line-height: 1.16; letter-spacing: -0.055em; }
.hero-lead { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.button.primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(47, 91, 70, 0.2); }
.button.primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.text-link { color: var(--green); font-size: 14px; font-weight: 600; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-notes { display: flex; gap: 42px; margin: 48px 0 0; }
.hero-notes div { position: relative; }
.hero-notes div + div::before { content: ""; position: absolute; left: -21px; top: 5px; width: 1px; height: 34px; background: var(--line); }
.hero-notes dt { font-size: 14px; font-weight: 700; }
.hero-notes dd { margin: 1px 0 0; color: #858d86; font-size: 12px; }

.hero-board { position: relative; padding: 28px; border: 1px solid #dedfd7; border-radius: 16px; background: #fffef9; box-shadow: var(--shadow); }
.hero-board::before { content: ""; position: absolute; z-index: -1; width: 210px; height: 210px; right: -70px; top: -60px; border-radius: 50%; background: #dce5d8; }
.board-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.board-label { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.board-top h2 { margin: 4px 0 0; font-family: "STSong", "Songti SC", serif; font-size: 25px; font-weight: 600; }
.board-week { padding-top: 2px; color: #9a9f9a; font: 700 11px/1.3 ui-monospace, monospace; letter-spacing: 0.16em; }
.focus-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; margin: 24px 0; }
.focus-visual { position: relative; height: 112px; overflow: hidden; border-radius: 12px; background: #e7e1d3; }
.sheet { position: absolute; display: block; width: 58px; height: 72px; border-radius: 3px; background: #fff; box-shadow: 0 8px 15px rgba(34, 37, 34, 0.12); }
.sheet-back { left: 30px; top: 18px; transform: rotate(8deg); background: #d28b6b; }
.sheet-front { left: 23px; top: 20px; transform: rotate(-5deg); padding: 20px 10px; }
.sheet-front i { display: block; height: 2px; margin-bottom: 8px; background: #b9c4bb; }
.sheet-front i:nth-child(2) { width: 75%; }
.pencil { position: absolute; width: 7px; height: 66px; right: 22px; bottom: 12px; border-radius: 3px; background: var(--green); transform: rotate(28deg); }
.pencil::after { content: ""; position: absolute; bottom: -6px; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 8px solid #be926d; }
.focus-card p { margin: 0 0 3px; color: #929892; font-size: 12px; }
.focus-card h3 { margin: 0 0 9px; font-size: 18px; }
.focus-card span { color: var(--muted); font-size: 12px; }
.progress-row { display: flex; justify-content: space-between; color: #717971; font-size: 12px; }
.progress-row strong { color: var(--ink); }
.progress-track { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 10px; background: #e4e7e2; }
.progress-track span { display: block; width: 60%; height: 100%; border-radius: inherit; background: var(--orange); }
.hero-board blockquote { margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #6f766f; font-family: "STSong", "Songti SC", serif; font-size: 14px; }

.course-section { padding: 88px 0 104px; background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .method-copy h2, .about-card h2 { margin: 0; font-family: "STSong", "Songti SC", "SimSun", serif; font-size: clamp(32px, 4vw, 46px); font-weight: 600; line-height: 1.3; letter-spacing: -0.03em; }
.course-search { width: 245px; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.course-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 91, 70, 0.09); }
.course-search svg { width: 18px; fill: none; stroke: #7a837b; stroke-width: 1.7; }
.course-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.course-search input::placeholder { color: #a0a6a1; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 25px; }
.category-list button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: #657067; font-size: 13px; cursor: pointer; }
.category-list button:hover, .category-list button.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.course-card { overflow: hidden; border: 1px solid #e1e3dd; border-radius: 13px; background: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(30, 38, 33, 0.09); }
.course-card[hidden] { display: none; }
.course-cover { position: relative; height: 205px; overflow: hidden; padding: 21px; color: #213027; }
.course-cover p { position: absolute; left: 21px; bottom: 18px; margin: 0; font-family: "STSong", "Songti SC", serif; font-size: 20px; font-weight: 600; line-height: 1.45; }
.cover-index { position: relative; z-index: 2; font: 700 11px/1 ui-monospace, monospace; letter-spacing: 0.15em; opacity: 0.55; }
.cover-ink { background: #d9dfd8; }
.cover-moss { background: #dfe5ca; }
.cover-clay { background: #ebd1c0; }
.cover-paper { background: #eee7d8; }
.cover-blue { background: #d7e2e7; }
.cover-plum { background: #e6d9e0; }
.cover-lines { position: absolute; right: 30px; top: 45px; width: 118px; height: 90px; padding: 24px 17px; border: 1px solid rgba(32, 48, 39, 0.24); transform: rotate(4deg); }
.cover-lines i { display: block; height: 3px; margin-bottom: 12px; background: rgba(32, 48, 39, 0.34); }
.cover-lines i:nth-child(2) { width: 70%; }
.mini-table { position: absolute; right: 28px; top: 36px; width: 126px; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(56, 74, 51, 0.26); transform: rotate(-3deg); }
.mini-table i { height: 35px; border-right: 1px solid rgba(56, 74, 51, 0.2); border-bottom: 1px solid rgba(56, 74, 51, 0.2); }
.mini-table i:nth-child(even) { border-right: 0; }
.mini-table i:nth-last-child(-n+2) { border-bottom: 0; }
.mini-chart { position: absolute; right: 27px; top: 36px; width: 135px; height: 102px; display: flex; align-items: end; gap: 9px; padding: 15px; border-left: 1px solid rgba(91, 58, 42, 0.3); border-bottom: 1px solid rgba(91, 58, 42, 0.3); }
.mini-chart i { flex: 1; background: rgba(145, 76, 48, 0.48); }
.mini-chart i:nth-child(1) { height: 38%; } .mini-chart i:nth-child(2) { height: 72%; } .mini-chart i:nth-child(3) { height: 55%; } .mini-chart i:nth-child(4) { height: 88%; }
.review-note { position: absolute; right: 29px; top: 35px; width: 118px; height: 105px; padding: 15px; background: rgba(255,255,255,.68); box-shadow: 7px 9px 0 rgba(74, 64, 46, 0.1); transform: rotate(3deg); }
.review-note b { font-family: "STSong", serif; font-size: 17px; }
.review-note i { display: block; height: 2px; margin-top: 11px; background: rgba(74,64,46,.25); }
.meeting-dots { position: absolute; right: 30px; top: 43px; width: 130px; height: 95px; }
.meeting-dots i { position: absolute; width: 36px; height: 36px; border: 1px solid rgba(48, 70, 82, 0.35); border-radius: 50%; }
.meeting-dots i:nth-child(1) { left: 5px; top: 5px; } .meeting-dots i:nth-child(2) { right: 5px; top: 5px; } .meeting-dots i:nth-child(3) { left: 47px; bottom: 2px; }
.meeting-dots span { position: absolute; left: 26px; top: 30px; width: 78px; height: 38px; border: 1px solid rgba(48, 70, 82, 0.2); transform: rotate(-2deg); }
.chart-ring { position: absolute; right: 30px; top: 40px; width: 110px; height: 110px; border: 19px solid rgba(91, 48, 73, 0.18); border-right-color: rgba(91, 48, 73, 0.55); border-radius: 50%; transform: rotate(-28deg); }
.chart-ring i { position: absolute; left: 36px; top: 36px; width: 40px; height: 1px; background: rgba(91,48,73,.35); transform: rotate(28deg); }
.course-body { padding: 20px 20px 18px; }
.course-type { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.course-body h3 { margin: 5px 0 7px; font-size: 18px; }
.course-body > p { min-height: 47px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.course-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #eceee9; color: #8a918b; font-size: 12px; }
.course-meta button { padding: 0; border: 0; background: transparent; color: var(--green); font-weight: 700; cursor: pointer; }
.empty-state { padding: 44px 0; text-align: center; color: var(--muted); }
.course-message { min-height: 24px; margin: 22px 0 0; text-align: center; color: var(--green); font-size: 13px; }

.method-section { padding: 105px 0; background: var(--paper); }
.method-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 105px; align-items: start; }
.method-copy { position: sticky; top: 110px; }
.method-copy > p:last-child { max-width: 480px; margin: 22px 0 0; color: var(--muted); }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d6d9d2; }
.method-list li { display: grid; grid-template-columns: 58px 1fr; gap: 25px; padding: 27px 0; border-bottom: 1px solid #d6d9d2; }
.method-list > li > span { color: var(--orange); font: 700 12px/1.5 ui-monospace, monospace; letter-spacing: 0.1em; }
.method-list h3 { margin: -4px 0 5px; font-size: 18px; }
.method-list p { margin: 0; color: var(--muted); font-size: 14px; }

.about-section { padding: 0 0 104px; background: var(--paper); }
.about-card { display: grid; grid-template-columns: 1.05fr 1fr auto; gap: 56px; align-items: center; padding: 55px 60px; border-radius: 16px; background: var(--green); color: #fff; }
.about-card .eyebrow { color: #ecc39f; }
.about-card > p { margin: 0; color: #d9e2dc; font-size: 14px; }
.button.light { background: #fff; color: var(--green); white-space: nowrap; }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #7c847d; font-size: 12px; }
.footer-row p { margin: 0; }
.footer-brand { color: var(--ink); font-size: 14px; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 8px 8px 8px 3px; font-size: 15px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 0.82fr; gap: 46px; }
  .hero-notes { gap: 24px; }
  .hero-notes div + div::before { left: -12px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid { gap: 60px; }
  .about-card { grid-template-columns: 1fr 1fr; }
  .about-card .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 560px); }
  .nav-wrap { min-height: 64px; }
  .nav-toggle { display: block; cursor: pointer; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 64px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .nav-action { margin-top: 5px; text-align: center; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lead { margin-top: 22px; font-size: 15px; }
  .hero-actions { margin-top: 27px; }
  .hero-notes { gap: 20px; margin-top: 38px; }
  .hero-notes div { flex: 1; }
  .hero-notes div + div::before { left: -10px; }
  .hero-board { padding: 22px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .course-search { width: 100%; }
  .course-section { padding: 66px 0 75px; }
  .category-list { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .category-list::-webkit-scrollbar { display: none; }
  .category-list button { flex: none; }
  .course-grid { grid-template-columns: 1fr; }
  .course-cover { height: 215px; }
  .method-section { padding: 76px 0; }
  .method-grid { grid-template-columns: 1fr; gap: 42px; }
  .method-copy { position: static; }
  .about-section { padding-bottom: 72px; }
  .about-card { grid-template-columns: 1fr; gap: 22px; padding: 37px 27px; }
  .about-card .button { grid-column: auto; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
