:root {
  --paper: #f6f1e7;
  --paper-deep: #eee6d7;
  --ink: #1f2a24;
  --muted: #6c746f;
  --green: #225a43;
  --green-light: #d5e7da;
  --lime: #c7df72;
  --orange: #ed7d4d;
  --line: rgba(31, 42, 36, 0.14);
  --white: #fffdf8;
  --shadow: 0 18px 60px rgba(31, 42, 36, 0.12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.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; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-block { padding-block: 112px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 76px; padding-inline: max(24px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(246, 241, 231, 0.9); border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px); transition: border-color .25s;
}
.site-header.scrolled { border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.brand strong { color: var(--orange); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 11px 11px 11px 3px; font: 700 18px Georgia, serif; }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; font-weight: 600; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: right .25s; }
.site-nav a:hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px; background: var(--ink); }

.hero { min-height: 650px; padding-block: 86px 100px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 50px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.eyebrow span { width: 26px; height: 2px; background: var(--orange); }
.hero h1, .section-heading h2, .practice h2, .about h2 { margin: 0; font-family: Georgia, "Songti SC", "SimSun", serif; font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(52px, 6vw, 82px); }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-intro { max-width: 590px; margin: 30px 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border-radius: 15px; font-size: 14px; font-weight: 700; }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 30px rgba(34, 90, 67, .2); }
.button-primary:hover { transform: translateY(-2px); }
.text-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--line); padding-block: 4px; }
.hero-meta { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 28px; font-size: 12px; color: var(--muted); }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta b { color: var(--orange); font-size: 10px; }

.hero-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(34, 90, 67, .17); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 310px; height: 310px; border-style: dashed; }
.hero-visual::before { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%; background: var(--green-light); filter: blur(1px); }
.idea-card { position: absolute; background: rgba(255, 253, 248, .94); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); }
.card-main { z-index: 2; width: min(360px, 80%); padding: 35px; border-radius: 28px 28px 28px 8px; transform: rotate(-3deg); }
.card-label { display: flex; align-items: center; gap: 8px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.card-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.card-main p { margin: 24px 0; font-family: Georgia, "Songti SC", serif; font-size: 23px; font-weight: 600; line-height: 1.6; }
.prompt-lines { display: flex; flex-direction: column; gap: 9px; }
.prompt-lines i { height: 6px; background: var(--paper-deep); border-radius: 9px; }
.prompt-lines i:nth-child(2) { width: 82%; }
.prompt-lines i:nth-child(3) { width: 57%; background: var(--lime); }
.card-small { z-index: 3; padding: 15px 18px; border-radius: 18px; display: flex; align-items: center; gap: 12px; }
.card-small b, .card-small small { display: block; }
.card-small b { font-size: 12px; }
.card-small small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.mini-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: white; font: 600 13px Georgia, serif; }
.card-model { left: 0; top: 90px; transform: rotate(4deg); }
.card-practice { right: -6px; bottom: 70px; transform: rotate(-2deg); }
.card-practice .mini-icon { background: var(--orange); }
.spark { position: absolute; z-index: 4; color: var(--orange); font-size: 25px; }
.spark-a { right: 35px; top: 80px; }
.spark-b { left: 55px; bottom: 65px; color: var(--green); }

.ticker { overflow: hidden; padding: 14px 0; color: white; background: var(--green); transform: rotate(-1deg) scale(1.02); }
.ticker div { width: max-content; display: flex; align-items: center; gap: 35px; animation: drift 26s linear infinite; }
.ticker span { font-family: Georgia, "Songti SC", serif; font-size: 15px; }
.ticker i { color: var(--lime); font-style: normal; }
@keyframes drift { to { transform: translateX(-50%); } }

.section-heading { display: grid; grid-template-columns: 1fr .62fr; align-items: end; gap: 80px; margin-bottom: 60px; }
.section-heading h2, .practice h2, .about h2 { font-size: clamp(38px, 4.6vw, 62px); }
.section-heading > p { margin: 0 0 5px; color: var(--muted); }
.section-heading.compact { margin-bottom: 36px; }
.section-heading.compact h2 { font-size: clamp(38px, 4vw, 54px); }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.path-card { min-height: 410px; padding: 25px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, background .3s, color .3s; }
.path-card:hover { transform: translateY(-8px); }
.path-card.completed { color: white; background: var(--green); }
.path-card.completed p, .path-card.completed .path-top i { color: rgba(255,255,255,.7); }
.path-card.completed .path-symbol { color: var(--green); background: var(--lime); }
.path-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.path-top span { color: var(--orange); font-weight: 800; }
.path-top i { color: var(--muted); font-style: normal; }
.path-symbol { width: 72px; height: 72px; margin: 44px 0 34px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 22px 22px 22px 5px; font: 500 28px Georgia, serif; }
.path-card:nth-child(2) .path-symbol { color: var(--ink); background: var(--lime); }
.path-card:nth-child(3) .path-symbol { background: var(--orange); }
.path-card h3 { margin: 0 0 12px; font: 600 23px Georgia, "Songti SC", serif; }
.path-card p { margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.path-action { margin-top: auto; padding: 13px 0 0; display: flex; justify-content: space-between; border: 0; border-top: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; opacity: .8; }
.progress-panel { max-width: 560px; margin: 30px auto 0; }
.progress-panel > div:first-child { display: flex; justify-content: space-between; font-size: 13px; }
.progress-track { height: 7px; margin: 10px 0; overflow: hidden; background: var(--paper-deep); border-radius: 10px; }
.progress-track i { display: block; width: 0; height: 100%; background: var(--orange); border-radius: inherit; transition: width .4s; }
.progress-panel small { color: var(--muted); font-size: 10px; }

.notes { background: var(--green); color: white; }
.notes .eyebrow { color: var(--lime); }
.notes .section-heading > p { color: rgba(255,255,255,.66); }
.filter-row { display: flex; gap: 8px; margin-bottom: 27px; overflow-x: auto; }
.filter { padding: 9px 17px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; color: white; background: transparent; cursor: pointer; font-size: 12px; white-space: nowrap; }
.filter.active { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.notes-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 16px; }
.note-card { min-height: 290px; padding: 28px; display: flex; flex-direction: column; color: var(--ink); background: var(--white); border-radius: var(--radius); }
.note-featured { grid-row: span 2; padding: 0; overflow: hidden; }
.note-visual { min-height: 270px; position: relative; display: grid; place-items: center; background: var(--green-light); overflow: hidden; }
.visual-language::before, .visual-language::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(34,90,67,.18); }
.visual-language::before { width: 280px; height: 280px; }
.visual-language::after { width: 190px; height: 190px; border-style: dashed; }
.visual-language span { position: absolute; display: grid; place-items: center; border-radius: 20px; box-shadow: 0 12px 25px rgba(34,90,67,.12); font: 600 30px Georgia, serif; }
.visual-language span:nth-child(1) { width: 85px; height: 85px; left: 20%; top: 28%; color: white; background: var(--green); transform: rotate(-8deg); }
.visual-language span:nth-child(2) { z-index: 2; width: 105px; height: 105px; color: var(--ink); background: var(--lime); }
.visual-language span:nth-child(3) { width: 72px; height: 72px; right: 19%; bottom: 20%; color: white; background: var(--orange); transform: rotate(7deg); }
.note-content { padding: 34px; }
.note-tag { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.note-card h3 { margin: 14px 0 12px; font: 600 22px/1.35 Georgia, "Songti SC", serif; }
.note-featured h3 { font-size: 29px; }
.note-card p { margin: 0; color: var(--muted); font-size: 13px; }
.note-number { margin-bottom: 38px; color: var(--paper-deep); font: 500 48px Georgia, serif; }
.article-open { margin-top: auto; padding: 22px 0 0; display: flex; justify-content: space-between; border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.note-card[hidden] { display: none; }

.practice { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.practice-copy > p:not(.eyebrow) { color: var(--muted); }
.tip-card { margin-top: 36px; padding: 18px; display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 15px; font-size: 12px; }
.tip-card b { color: var(--orange); white-space: nowrap; }
.quiz-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.quiz-card > p { margin: 0 0 24px; font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 600; }
.quiz-card > button { width: 100%; margin-top: 10px; padding: 15px; display: flex; align-items: center; gap: 13px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: transparent; cursor: pointer; font-size: 13px; }
.quiz-card > button:hover { background: var(--paper); }
.quiz-card > button span { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--green); font: 600 13px Georgia, serif; }
.quiz-card > button.correct { border-color: var(--green); background: var(--green-light); }
.quiz-card > button.wrong { border-color: var(--orange); background: #f9e4dc; }
.quiz-result { min-height: 24px; margin-top: 17px; color: var(--green); font-size: 12px; font-weight: 700; }

.about { color: white; background: #17241e; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about .eyebrow { color: var(--lime); }
.about-copy .lead { margin-top: 5px; color: white; font: 500 25px/1.55 Georgia, "Songti SC", serif; }
.about-copy > p:not(.lead) { color: rgba(255,255,255,.65); }
.principles { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principles span { padding: 18px 8px 0 0; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.55); font-size: 11px; }
.principles b { display: block; margin-bottom: 5px; color: var(--lime); font-size: 14px; }

.site-footer { color: white; background: #101713; }
.footer-main { padding-block: 70px 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-brand { color: white; }
.footer-main > div:first-child p { color: rgba(255,255,255,.46); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links b { margin-bottom: 6px; color: var(--lime); font-size: 12px; }
.footer-links a, .footer-links span { color: rgba(255,255,255,.55); font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { padding-block: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 11px; }
.record-link:hover { color: white; }

.article-dialog { width: min(720px, calc(100% - 32px)); max-height: 86vh; padding: 0; color: var(--ink); background: var(--white); border: 0; border-radius: 28px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.article-dialog::backdrop { background: rgba(16,23,19,.72); backdrop-filter: blur(7px); }
.dialog-close { position: sticky; z-index: 2; top: 20px; left: calc(100% - 56px); width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper-deep); cursor: pointer; font-size: 22px; }
#article-body { padding: 0 56px 56px; }
#article-body .note-tag { display: block; margin-bottom: 12px; }
#article-body h2 { margin: 0 0 28px; font: 500 clamp(30px, 5vw, 46px)/1.2 Georgia, "Songti SC", serif; }
#article-body h3 { margin-top: 28px; font-size: 18px; }
#article-body p, #article-body li { color: var(--muted); font-size: 14px; }
#article-body blockquote { margin: 24px 0; padding: 20px; color: var(--green); background: var(--green-light); border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; }

.legal-page { min-height: 100vh; }
.legal-main { max-width: 760px; padding-block: 80px 120px; }
.legal-main h1 { font: 500 clamp(42px, 7vw, 66px) Georgia, "Songti SC", serif; }
.legal-main h2 { margin-top: 42px; font-size: 20px; }
.legal-main p, .legal-main li { color: var(--muted); }
.back-home { display: inline-block; margin-top: 42px; color: var(--green); font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-meta { justify-content: center; }
  .hero-intro { margin-inline: auto; }
  .hero-visual { min-height: 430px; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .note-featured { grid-row: auto; grid-column: span 2; }
  .practice { gap: 45px; }
  .about-grid { gap: 50px; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .section-block { padding-block: 76px; }
  .site-header { height: 66px; padding-inline: 15px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 65px; left: 15px; right: 15px; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; }
  .hero { padding-block: 45px 65px; gap: 20px; }
  .hero h1 { font-size: 48px; }
  .hero-intro { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 15px; }
  .hero-meta { gap: 14px; flex-wrap: wrap; }
  .hero-visual { min-height: 380px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 240px; height: 240px; }
  .hero-visual::before { width: 245px; height: 245px; }
  .card-main { padding: 25px; }
  .card-main p { font-size: 19px; }
  .card-model { left: -8px; top: 55px; }
  .card-practice { right: -5px; bottom: 35px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .section-heading h2, .practice h2, .about h2 { font-size: 42px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 350px; }
  .path-symbol { margin-block: 28px 24px; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-featured { grid-column: auto; }
  .note-visual { min-height: 220px; }
  .practice, .about-grid, .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .quiz-card { padding: 22px; }
  .principles { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  #article-body { padding: 0 25px 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
