:root {
  color-scheme: light;
  --ink: #1c3550;
  --ink-dark: #11283f;
  --muted: #536a79;
  --paper: #f8f6f0;
  --white: #fffefa;
  --line: #d9e0db;
  --orange: #e98245;
  --serif: "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.9 "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ba6b3c; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 650; color: var(--ink-dark); }
h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.45; letter-spacing: -.045em; margin: 10px 0 18px; }
h1 .path-line { font-size: .8em; letter-spacing: -.04em; }
h2 { font-size: 1.5rem; line-height: 1.65; margin-bottom: 14px; }
h3 { font-size: 1.125rem; line-height: 1.7; }
.wrap { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { font-size: .875rem; color: #9a5a36; font-weight: 700; margin-bottom: 13px; }
.text-link, .quiet-link { color: #34596d; text-decoration: underline; text-underline-offset: 5px; font-size: .9375rem; }
.text-link:hover, .quiet-link:hover { color: #a66438; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid transparent; border-radius: 99px; padding: 11px 24px; font-size: .9375rem; font-weight: 700; line-height: 1.6; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #2a4c69; }
.btn-outline { background: transparent; color: var(--ink); border-color: #abbec7; }
.btn-outline:hover { background: white; }
.skip-link { position: absolute; left: -9999px; z-index: 100; padding: 8px 16px; background: white; }
.skip-link:focus { left: 12px; top: 8px; }
.topbar { border-bottom: 1px solid #1c355010; background: var(--paper); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: var(--ink); color: white; font: 700 23px var(--serif); transform: rotate(-7deg); }
.brand strong { display: block; font-size: 1.2rem; letter-spacing: .09em; line-height: 1.4; }
.brand small { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .12em; line-height: 1.6; }
.navlinks { display: flex; align-items: center; gap: 29px; }
.navlinks a { font-size: .875rem; font-weight: 700; padding: 10px 0; }
.navlinks a[aria-current="page"], .navlinks a:hover { color: #a2633a; }
.navlinks a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); font-size: 24px; }
main { min-height: calc(100svh - 162px); }
.opening { min-height: calc(100svh - 162px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 65px; align-items: center; padding-block: 36px; }
.opening h1 { font-size: clamp(3.8rem, 5.8vw, 5.25rem); line-height: 1.4; margin: 13px 0 17px; letter-spacing: -.055em; }
.opening h1 .path-line { font-size: .76em; }
.wild-theory { font-family: var(--serif); font-size: 1.55rem; display: inline-block; position: relative; margin: 0 0 23px; isolation: isolate; }
.wild-theory::after { content: ""; position: absolute; left: 0; right: -3px; bottom: 6px; height: 9px; background: #eab57b99; transform: rotate(-1.2deg); z-index: -1; }
.opening-note { max-width: 585px; font-size: 1rem; line-height: 2.1; color: var(--muted); margin-bottom: 27px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.opening-art { height: 490px; position: relative; isolation: isolate; }
.art-field { position: absolute; inset: 19px 26px 26px 23px; background: #d8e9ef; border-radius: 47% 47% 14% 14% / 39% 40% 14% 14%; overflow: hidden; }
.art-field::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff45 1px, transparent 1px), linear-gradient(90deg, #ffffff45 1px, transparent 1px); background-size: 38px 38px; }
.art-orbit { position: absolute; width: 390px; height: 270px; border: 1.5px dashed #5c849b80; border-radius: 50%; left: 5%; top: 25%; transform: rotate(-28deg); }
.art-route { position: absolute; width: 270px; height: 220px; border-left: 9px solid #567b9190; border-bottom: 9px solid #567b9190; border-radius: 0 0 0 100px; top: 120px; left: 90px; transform: rotate(-28deg); }
.art-sun { position: absolute; right: 36px; top: 58px; width: 70px; height: 70px; border-radius: 50%; background: #efb476; box-shadow: 0 0 0 16px #efb47633; }
.art-question { position: absolute; top: 138px; left: 45px; font: 700 145px/1 var(--serif); color: #294c6526; transform: rotate(-16deg); }
.thought-slip { position: absolute; display: block; padding: 20px 24px; border-radius: 13px; background: var(--white); box-shadow: 0 15px 40px #203c5821; width: 245px; transition: box-shadow .2s; }
.thought-slip:hover { box-shadow: 0 18px 43px #203c5833; }
.thought-slip small { display: block; font-size: .8125rem; color: #6e7d84; margin-bottom: 8px; }
.thought-slip strong { display: block; font-family: var(--serif); font-weight: 650; font-size: 1.35rem; line-height: 1.75; }
.slip-society { top: 8px; left: 0; transform: rotate(-7deg); border-left: 4px solid var(--orange); }
.slip-self { top: 204px; right: 0; transform: rotate(6deg); }
.slip-family { left: 33px; bottom: 0; transform: rotate(-5deg); background: #f0c991; }
.slip-family small { color: #775b36; }
.chapter { padding-block: 38px 32px; }
.page-intro { max-width: 850px; margin-bottom: 24px; }
.page-intro > p:last-child { color: var(--muted); max-width: 820px; margin-bottom: 0; }
.chapter-nav { display: flex; flex-wrap: wrap; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.chapter-nav a { padding: 9px 0 13px; font-size: .9375rem; color: var(--muted); border-bottom: 2px solid transparent; }
.chapter-nav a[aria-current], .chapter-nav a.current { color: #a16335; border-color: #d99966; font-weight: 700; }
.belief-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.belief-pair article { border-radius: 19px; padding: 27px 32px; background: #e3eef0; }
.belief-pair article + article { background: #e5ecdf; }
.belief-pair article p:last-child { margin-bottom: 0; }
.page-turn { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 25px; }
.page-turn p { color: var(--muted); max-width: 720px; margin: 0; }
.page-turn .btn { flex-shrink: 0; }
.quiet-link { display: inline-block; font-size: .875rem; margin-top: 18px; }
.support-steps { padding: 0; margin: 0; list-style-position: inside; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: stages; }
.support-steps li { list-style: none; border: 1px solid #d4ded8; padding: 20px 25px; background: #fffefa; border-radius: 15px; counter-increment: stages; }
.support-steps li > span { font-size: .875rem; color: #9b633d; }
.support-steps li > span::before { content: counter(stages) " / "; }
.support-steps h2 { font-family: inherit; font-weight: 700; font-size: 1.1rem; line-height: 1.7; margin: 7px 0; }
.support-steps p { color: var(--muted); margin: 0; }
.parent-prompts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.parent-prompts article { border-left: 3px solid #c4d6cf; padding: 8px 0 8px 22px; }
.parent-prompts h2 { font-size: 1.3rem; }
.parent-prompts p { color: var(--muted); margin-bottom: 0; }
.direction-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; margin-top: 32px; }
.direction-choice { display: flex; flex-direction: column; padding: 26px 28px; border-radius: 19px; min-height: 315px; background: #e1ece6; transition: transform .2s, box-shadow .2s; }
.direction-choice.world { background: #ddeaf1; }
.direction-choice.tools { background: #f0e5d5; }
.direction-choice:hover { transform: translateY(-4px); box-shadow: 0 15px 35px #19364c14; }
.direction-count { font-size: .875rem; color: #617a6c; margin-bottom: 15px; }
.direction-choice h2 { font-size: 1.8rem; }
.direction-choice > p { margin-bottom: 17px; }
.direction-choice .direction-names { font-size: .875rem; color: #586e79; line-height: 2; }
.card-action { display: block; font-size: .9375rem; font-weight: 700; color: #315973; margin-top: auto; padding-top: 15px; text-decoration: underline; text-underline-offset: 5px; }
.category-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.category-heading .page-intro { margin-bottom: 19px; }
.category-heading > .btn { flex-shrink: 0; }
.category-page h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.category-note { color: var(--muted); margin: 20px 0 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card { padding: 23px 27px; border: 1px solid #d6dfdc; border-radius: 16px; background: var(--white); display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
a.product-card:hover { border-color: #9fb7be; box-shadow: 0 9px 25px #19364c0c; }
.product-card h2 { font-size: 1.4rem; margin-bottom: 7px; }
.product-card p { font-size: 1rem; line-height: 1.8; margin-bottom: 9px; color: var(--muted); }
.product-card .product-subtitle { font-size: .875rem; color: #8b6441; }
.product-card .card-action { padding-top: 8px; }
.world .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.world .product-card { padding: 19px 23px; }
.world .product-card > p:not(.product-subtitle) { display: none; }
.world .product-card h2 { font-size: 1.25rem; }
.world .product-card .card-action { font-size: .875rem; }
.tools .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card.reserved { background: #f2eee5; border-style: dashed; border-color: #d1c3ac; padding-block: 30px; }
.state-label { font-size: .8125rem !important; color: #8c7659 !important; margin-bottom: 17px !important; }
.family-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.family-choice { display: grid; grid-template-columns: 170px 1fr; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--white); }
.family-choice > div:last-child { padding: 27px; }
.family-choice h2 { font-size: 1.7rem; }
.family-choice p:not(.eyebrow) { color: var(--muted); margin-bottom: 4px; }
.family-picture { min-height: 305px; position: relative; overflow: hidden; }
.train-picture { background: #d9e9ef; }
.rail-track { position: absolute; width: 290px; height: 180px; border: 8px solid #4b7188; border-radius: 50%; top: 84px; left: -70px; transform: rotate(-25deg); }
.rail-stop { position: absolute; width: 47px; height: 47px; border-radius: 50%; background: #f3bc77; left: 88px; top: 75px; border: 8px solid #f7e5c5; }
.court-picture { background: #e6e9d5; }
.court-lines { position: absolute; border: 5px solid #fffff6; width: 160px; height: 250px; border-radius: 70px 70px 10px 10px; background: #9fbea7; transform: rotate(21deg); top: 30px; left: -16px; }
.court-lines::after { content: ""; position: absolute; top: 50%; width: 100%; border-top: 4px solid #fffff6; }
.court-ball { width: 48px; height: 48px; border-radius: 50%; background: #f5d579; position: absolute; top: 112px; left: 67px; box-shadow: inset 0 0 0 6px #ffe9a9; }
.story-page .page-intro { margin-bottom: 17px; }
.story-body { max-width: 900px; font-size: 1.0625rem; }
.story-body p { line-height: 2; margin-bottom: 18px; }
.story-belief { border-left: 3px solid #d59464; padding: 9px 0 9px 22px; font-family: var(--serif); font-size: 1.4rem; }
.page-lead { padding: 33px 0 20px; }
.page-lead .crumb { display: none; }
.page-lead h1 { font-size: 2.6rem; }
.page-lead p { max-width: 800px; color: var(--muted); margin: 0; }
.section { padding-block: 17px 32px; }
.scenario-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; }
.scenario-tabs { display: flex; flex-direction: column; gap: 10px; }
.scenario-tabs button { border: 1px solid var(--line); border-radius: 12px; padding: 14px 19px; text-align: left; background: #eef2ed; color: var(--ink); font-size: 1rem; }
.scenario-tabs button[aria-selected="true"] { background: #dce9df; border-color: #97b3a1; font-weight: 700; }
.scenario-panels { padding: 27px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; }
.scenario-panels h2 { font-size: 1.7rem; }
.scenario-panels .btn { margin-top: 8px; }
.reading-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.reading-topics article { border-left: 2px solid #d9b28e; padding: 3px 0 3px 23px; }
.reading-topics h2 { font-size: 1.45rem; }
.reading-topics p:last-child { color: var(--muted); margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-grid > div > p { color: var(--muted); }
.contact-panel { padding: 25px 30px; border-radius: 18px; background: #e7eeea; }
.contact-panel h3 { margin-bottom: 19px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: .9375rem; font-weight: 700; margin-bottom: 6px; }
input, textarea { width: 100%; display: block; border: 1px solid #b7c6bd; border-radius: 10px; padding: 10px 13px; background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.8; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #687a72; opacity: 1; }
.form-help { font-size: .875rem; color: #486357; margin: 13px 0 0; }
.practice-page .page-intro { margin-bottom: 14px; }
.practice-page h1 { font-size: 2.6rem; }
.practice-stage > h2 { margin-bottom: 10px; }
.practice-story { max-width: 900px; }
.practice-story p { line-height: 2; margin-bottom: 16px; }
.practice-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
.stage-help { color: var(--muted); margin-bottom: 18px; }
.stage-actions { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 14px; }
.stage-actions > span { font-size: .9375rem; color: var(--muted); }
.record-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.text-button { border: 0; background: none; padding: 8px 0; color: #34596d; text-decoration: underline; text-underline-offset: 4px; font-size: .9375rem; }
.record-status { color: #436858; font-size: .875rem; margin: 16px 0 2px; }
.storage-note { color: #65756d; font-size: .8125rem; margin-bottom: 0; }
footer { border-top: 1px solid var(--line); }
.footer-in { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: .875rem; color: #687982; }
.footer-in > div { display: flex; gap: 25px; flex-wrap: wrap; }
.footer-in .text-link, .back-link { font-size: .875rem; }
.back-link { color: #385b71; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1060px) {
  .wrap { width: calc(100% - 48px); }
  .navlinks { gap: 20px; }
  .opening { gap: 28px; }
  .opening h1 { font-size: 3.9rem; }
  .opening-art { height: 455px; }
  .thought-slip { width: 214px; padding: 18px 20px; }
  .thought-slip strong { font-size: 1.25rem; }
  .slip-self { top: 183px; }
  .slip-family { left: 10px; }
  .family-choice { grid-template-columns: 115px 1fr; }
  .family-choice > div:last-child { padding: 23px; }
  .family-choice h2 { font-size: 1.45rem; }
  .contact-grid { gap: 35px; }
  .direction-choice { padding: 23px; }
}
@media (max-width: 760px) {
  .wrap { width: min(560px, calc(100% - 36px)); }
  .nav { min-height: 70px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { font-size: .75rem; }
  .brand-icon { width: 34px; height: 34px; font-size: 20px; }
  .menu-button { display: block; }
  .navlinks { display: none; position: absolute; top: 70px; inset-inline: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px #17314812; padding: 13px 18px 20px; }
  .navlinks.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .navlinks a { padding: 11px 13px; font-size: 1rem; }
  .navlinks a[aria-current="page"] { text-decoration: none; border-radius: 8px; background: #e5ece5; }
  main { min-height: calc(100svh - 171px); }
  .opening { min-height: 0; display: flex; flex-direction: column; gap: 18px; padding-block: 30px 25px; align-items: stretch; }
  .opening h1 { font-size: clamp(2.6rem, 11.2vw, 3.8rem); line-height: 1.4; margin: 12px 0 13px; }
  .opening h1 .path-line { font-size: .72em; }
  .wild-theory { font-size: 1.3rem; margin-bottom: 19px; }
  .opening-note { font-size: 1rem; line-height: 1.95; margin-bottom: 23px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 11px 16px; font-size: .875rem; }
  .opening-art { height: 317px; width: min(380px, 100%); margin: 4px auto 0; }
  .art-field { inset: 12px 17px 16px; }
  .art-sun { width: 45px; height: 45px; top: 35px; right: 32px; box-shadow: 0 0 0 11px #efb47633; }
  .art-orbit { width: 280px; height: 180px; left: 0; }
  .art-route { top: 70px; left: 50px; width: 190px; height: 170px; border-width: 7px; }
  .art-question { font-size: 90px; top: 100px; left: 25px; }
  .thought-slip { padding: 13px 15px; width: 182px; }
  .thought-slip small { font-size: .75rem; margin-bottom: 5px; }
  .thought-slip strong { font-size: 1.0625rem; }
  .slip-society { top: 0; left: 0; }
  .slip-self { top: 113px; right: 0; }
  .slip-family { left: 12px; bottom: 0; }
  .chapter { padding-block: 28px; }
  h1 { font-size: 2.2rem; }
  .page-intro { margin-bottom: 22px; }
  .chapter-nav { gap: 17px; margin-bottom: 23px; }
  .chapter-nav a { font-size: .875rem; padding-bottom: 10px; }
  .belief-pair, .direction-choices, .support-steps, .parent-prompts, .family-choices, .product-grid, .tools .product-grid, .world .product-grid, .contact-grid, .scenario-layout, .reading-topics, .practice-fields { grid-template-columns: 1fr; }
  .belief-pair { gap: 16px; }
  .belief-pair article { padding: 23px; }
  .page-turn { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 22px; }
  .support-steps { gap: 13px; }
  .support-steps li { padding: 18px 21px; }
  .parent-prompts { gap: 22px; }
  .direction-choices { gap: 17px; margin-top: 24px; }
  .direction-choice { min-height: 0; padding: 22px 25px; }
  .direction-choice h2 { font-size: 1.65rem; }
  .direction-count { margin-bottom: 8px; }
  .direction-choice .direction-names { margin-bottom: 3px; }
  .category-heading { display: block; }
  .category-heading > .btn { margin: 0 0 20px; }
  .category-page h1 { font-size: 2.2rem; }
  .product-grid { gap: 13px; }
  .product-card { padding: 21px 24px; }
  .product-card h2 { font-size: 1.3rem; }
  .world .product-grid { gap: 0; }
  .world .product-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 14px 1px; }
  .world .product-card .card-action { display: none; }
  .world .product-card h2 { font-size: 1.125rem; margin: 0 0 2px; }
  .world .product-card .product-subtitle { margin: 0; }
  .family-choice { grid-template-columns: 110px 1fr; }
  .family-choice > div:last-child { padding: 22px; }
  .family-picture { min-height: 250px; }
  .family-choice h2 { font-size: 1.4rem; }
  .family-choice p:not(.eyebrow) { font-size: .9375rem; }
  .story-body { font-size: 1rem; }
  .story-belief { font-size: 1.25rem; }
  .page-lead { padding-top: 26px; }
  .page-lead h1 { font-size: 2rem; }
  .scenario-layout { gap: 18px; }
  .scenario-tabs { gap: 8px; }
  .scenario-tabs button { padding: 11px 15px; }
  .scenario-panels { padding: 23px; }
  .scenario-panels h2 { font-size: 1.5rem; }
  .reading-topics { gap: 23px; margin-top: 24px; }
  .reading-topics h2 { font-size: 1.3rem; }
  .reading-topics h2 br { display: none; }
  .contact-grid { gap: 23px; }
  .contact-panel { padding: 22px; }
  .practice-page h1 { font-size: 2.1rem; }
  .practice-stage h2 { font-size: 1.35rem; }
  .stage-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .record-actions .btn { padding-inline: 18px; }
  .footer-in { min-height: 101px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding-block: 14px; }
  .footer-in > div { gap: 17px; }
}
@media (max-width: 400px) {
  .family-choice { grid-template-columns: 76px minmax(0, 1fr); }
  .family-choice > div:last-child { padding: 18px; }
  .family-choice h2 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
