:root {
  --paper: #f8f3e8;
  --surface: #fffdf7;
  --green: #315d39;
  --green-2: #618c50;
  --green-soft: #dce8cc;
  --orange: #efa43b;
  --orange-soft: #f9e8c6;
  --ink: #2d2a25;
  --ink-soft: #625e55;
  --muted: #8e887d;
  --line: rgba(49, 93, 57, .17);
  --shadow: 0 24px 65px rgba(67, 80, 56, .12);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 12% 6%, rgba(239,164,59,.12), transparent 26rem), radial-gradient(circle at 92% 18%, rgba(97,140,80,.12), transparent 30rem), var(--paper); font-family: var(--sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 16px; color: white; background: var(--green); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 78px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: rgba(248,243,232,.9); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(49,93,57,.06); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 46px; object-fit: contain; }
.brand span, .footer-brand span { display: grid; line-height: 1.15; gap: 5px; }
.brand strong, .footer-brand strong { font: 500 22px/1 var(--serif); letter-spacing: .05em; }
.brand small, .footer-brand small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px,2.5vw,36px); font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; }
.site-nav a:not(.family-link)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--orange); transition: right .2s ease; }
.site-nav a:hover::after { right: 0; }
.family-link { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); }
.menu-button { display: none; padding: 8px 14px; color: var(--green); background: rgba(255,255,255,.48); border: 1px solid var(--line); border-radius: 999px; }

.hero { width: min(1380px, 90vw); min-height: calc(100vh - 78px); margin: 0 auto; padding: 80px 0 110px; display: grid; grid-template-columns: minmax(0, .98fr) minmax(460px, .84fr); align-items: center; gap: clamp(50px, 8vw, 130px); }
.eyebrow { margin: 0 0 17px; color: var(--green-2); font-size: 11px; font-weight: 900; letter-spacing: .21em; }
.hero h1, .section-heading h2, .routine-card h2, .family-network h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.12; }
.hero h1 { font-size: clamp(48px, 6.4vw, 88px); }
.hero h1 em { color: var(--green-2); font-style: normal; }
.hero-lead { max-width: 650px; margin: 29px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 20px); }
.purchase-notice { max-width: 660px; margin-top: 28px; padding: 17px 19px; display: flex; gap: 14px; align-items: flex-start; background: rgba(255,253,247,.68); border: 1px solid rgba(239,164,59,.45); border-radius: 15px; }
.notice-mark { flex: 0 0 24px; height: 24px; display: grid; place-items: center; margin-top: 2px; color: white; background: var(--orange); border-radius: 50%; font-family: var(--serif); font-weight: 800; }
.purchase-notice p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.purchase-notice strong { display: block; margin-bottom: 2px; color: var(--ink); }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 51px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; font-size: 14px; font-weight: 900; }
.button-primary { color: white; background: var(--green); box-shadow: 0 14px 30px rgba(49,93,57,.2); }
.button-secondary { background: rgba(255,255,255,.54); border: 1px solid var(--line); }
.microcopy { margin: 18px 0 0; color: var(--muted); font-size: 11px; }

.hero-visual { position: relative; width: min(590px, 100%); aspect-ratio: .94; margin: auto; }
.hero-visual::before { content: ""; position: absolute; inset: 4% 7% 5% 3%; background: linear-gradient(145deg, rgba(220,232,204,.85), rgba(255,253,247,.6)); border: 1px solid var(--line); border-radius: 45% 55% 48% 52% / 54% 41% 59% 46%; transform: rotate(-4deg); }
.visual-card { position: absolute; padding: 15px; background: rgba(255,253,247,.95); border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 18px 48px rgba(49,93,57,.11); }
.visual-main { z-index: 2; left: 17%; top: 18%; width: 59%; min-height: 54%; display: grid; place-items: center; text-align: center; border-radius: 34px; }
.visual-main img { width: 74%; height: 180px; object-fit: contain; }
.visual-main p { margin: -8px 0 12px; color: var(--green); font: 500 20px/1.5 var(--serif); }
.visual-listen, .visual-read, .visual-speak { z-index: 3; width: 150px; display: grid; gap: 2px; }
.visual-listen span, .visual-read span, .visual-speak span { color: var(--orange); font-size: 10px; font-weight: 900; }
.visual-listen strong, .visual-read strong, .visual-speak strong { color: var(--green); font-family: var(--serif); }
.visual-listen small, .visual-read small, .visual-speak small { color: var(--muted); font-size: 10px; }
.visual-listen { top: 3%; left: 0; }.visual-read { top: 8%; right: 0; }.visual-speak { right: 0; bottom: 11%; }
.learning-streak { position: absolute; z-index: 4; left: 1%; bottom: 6%; width: 155px; min-height: 135px; display: grid; place-content: center; padding: 16px; color: white; background: var(--green); border-radius: 30px; box-shadow: var(--shadow); }
.learning-streak strong { font: 500 49px/1 var(--serif); }
.learning-streak span { font-size: 12px; }
.learning-streak small { margin-top: 12px; color: rgba(255,255,255,.7); font-size: 10px; }

.fact-strip { width: min(1100px, 88vw); margin: -25px auto 0; padding: 18px 23px; color: var(--ink-soft); background: rgba(255,253,247,.58); border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.fact-strip p { margin: 0; }.fact-strip strong { color: var(--green); }
.section { width: min(1280px, 88vw); margin: 0 auto; padding: 130px 0; }
.section-heading { max-width: 760px; margin-bottom: 55px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .routine-card h2, .family-network h2 { font-size: clamp(38px, 4.7vw, 64px); }
.section-heading > p:last-child { max-width: 650px; margin: 22px 0 0; color: var(--ink-soft); font-size: 17px; }
.section-heading.centered > p:last-child { margin-left: auto; margin-right: auto; }

.path-grid { display: grid; grid-template-columns: 1fr minmax(330px,.72fr); align-items: start; gap: clamp(35px,7vw,110px); }
.path-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.path-list li { min-height: 112px; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.path-list li > span { color: var(--orange); font: 500 22px/1 var(--serif); }
.path-list strong { font: 500 25px/1.2 var(--serif); color: var(--green); }
.path-list p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }
.poster-card, .wide-poster { margin: 0; padding: 13px; background: rgba(255,253,247,.8); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.poster-card img { display: block; width: 100%; max-height: 730px; object-fit: cover; object-position: top; border-radius: 18px; }
.poster-card figcaption, .wide-poster figcaption { padding: 13px 5px 3px; color: var(--muted); font-size: 11px; text-align: center; }

.features-section { border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.feature-grid article { min-height: 215px; padding: 25px; background: rgba(255,253,247,.66); border: 1px solid var(--line); border-radius: 22px; }
.feature-grid article > span { width: 43px; height: 43px; display: grid; place-items: center; color: white; background: var(--green-2); border-radius: 14px; font-family: var(--serif); font-weight: 800; }
.feature-grid h3 { margin: 30px 0 8px; color: var(--green); font: 500 25px/1.2 var(--serif); }
.feature-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.feature-grid .feature-wide { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 48px 190px 1fr; align-items: center; gap: 16px; }
.feature-wide h3 { margin: 0; }.feature-wide p { margin: 0; }
.wide-poster { max-width: 760px; margin: 55px auto 0; }
.wide-poster img { width: 100%; max-height: 900px; object-fit: cover; object-position: top; border-radius: 18px; display: block; }

.routine-section { padding-top: 30px; }
.routine-card { min-height: 590px; padding: clamp(38px,6vw,78px); display: grid; grid-template-columns: 1fr minmax(280px,.7fr); align-items: center; gap: 8vw; overflow: hidden; color: #f9f6ec; background: var(--green); border-radius: 36px; box-shadow: var(--shadow); }
.routine-card .eyebrow { color: #f5ba62; }
.routine-card > div > p:last-child { max-width: 570px; color: rgba(255,255,255,.72); font-size: 17px; }
.routine-card figure { margin: 0 -55px -95px 0; transform: rotate(3deg); }
.routine-card img { display: block; max-height: 560px; object-fit: cover; object-position: top; border: 10px solid rgba(255,255,255,.12); border-radius: 24px; }

.purchase-section { padding-top: 70px; }
.purchase-heading h2 { color: var(--green); }
.purchase-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 35px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: rgba(255,253,247,.55); }
.purchase-steps > div { min-height: 150px; padding: 24px; display: grid; grid-template-columns: 36px 1fr; align-content: center; column-gap: 12px; }
.purchase-steps > div + div { border-left: 1px solid var(--line); }
.purchase-steps span { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-weight: 900; }
.purchase-steps strong { color: var(--green); font-family: var(--serif); font-size: 18px; }
.purchase-steps p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.purchase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.qr-card { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px; min-height: 440px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 18px 48px rgba(49,93,57,.08); }
.qr-card-heading span { display: inline-flex; padding: 4px 9px; color: var(--green); background: var(--green-soft); border-radius: 999px; font-size: 10px; font-weight: 900; }
.xianyu-card .qr-card-heading span { color: #8a5e18; background: var(--orange-soft); }
.qr-card h3 { margin: 34px 0 10px; color: var(--green); font: 500 30px/1.2 var(--serif); }
.qr-card-heading p { color: var(--ink-soft); font-size: 14px; }
.qr-image { width: 100%; max-height: 355px; object-fit: contain; background: white; border-radius: 18px; }
.qr-tip { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11px; text-align: center; }
.xianyu-placeholder { min-height: 300px; padding: 25px; display: grid; place-items: center; align-content: center; gap: 6px; border: 1px dashed rgba(239,164,59,.7); border-radius: 20px; background: #fffaf0; text-align: center; }
.placeholder-grid { width: 100px; height: 100px; margin-bottom: 14px; opacity: .38; background: repeating-linear-gradient(45deg,var(--orange) 0 8px,transparent 8px 16px), repeating-linear-gradient(-45deg,var(--green-2) 0 8px,transparent 8px 16px); border: 9px solid white; outline: 1px solid var(--line); }
.xianyu-placeholder strong { color: var(--ink); }
.xianyu-placeholder span { color: var(--orange); font-size: 12px; font-weight: 900; }
.xianyu-placeholder small { color: var(--muted); font-size: 9px; }
.download-panel { margin-top: 24px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: white; background: var(--green); border-radius: 25px; }
.download-panel .eyebrow { margin-bottom: 8px; color: #f5ba62; }
.download-panel h3 { margin: 0; font: 500 28px/1.2 var(--serif); }
.download-panel p:last-child { margin: 9px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }
.button-download { flex: 0 0 auto; color: var(--green); background: #fffdf7; }

.faq-section { border-top: 1px solid var(--line); }
.faq-list { max-width: 930px; border-top: 1px solid var(--line); }
.faq-list details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; color: var(--green); font: 500 23px/1.4 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--orange); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 720px; margin: 15px 0 0; color: var(--ink-soft); }

.family-network { width: min(1280px,88vw); margin: 0 auto 130px; padding: clamp(34px,6vw,72px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; background: rgba(255,253,247,.65); border: 1px solid var(--line); border-radius: 32px; }
.family-network > div > p:last-child { color: var(--ink-soft); }
.family-network nav { border-top: 1px solid var(--line); }
.family-network nav a { min-height: 86px; display: grid; grid-template-columns: 100px 1fr 25px; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.family-network nav strong { color: var(--green); font-family: var(--serif); font-size: 21px; }
.family-network nav span { color: var(--ink-soft); font-size: 13px; }
.family-network nav em { color: var(--orange); font-style: normal; }

.site-footer { padding: 50px 6vw 28px; display: grid; grid-template-columns: 1fr auto; gap: 40px; color: white; background: #24472d; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .footer-logo { width: 50px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; padding: 4px; background: #fffdf7; border-radius: 13px; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.footer-brand img { width: 42px; height: 46px; display: block; object-fit: contain; }
.footer-brand small { color: rgba(255,255,255,.6); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; color: rgba(255,255,255,.72); font-size: 13px; }
.site-footer nav a:hover { color: white; }
.site-footer > p { grid-column: 1/-1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); font-size: 11px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: min(590px,90vw); }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-grid .feature-wide { grid-column: 1/-1; }
  .purchase-grid { grid-template-columns: 1fr; }
  .qr-card { grid-template-columns: 1fr 1fr; }
  .family-network { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding: 0 18px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 70px; left: 14px; right: 14px; display: none; padding: 20px; flex-direction: column; align-items: stretch; gap: 0; background: #fbf7ee; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }.site-nav a { padding: 12px 5px; }.site-nav .family-link { margin-top: 8px; text-align: center; }
  .hero { width: 90vw; padding: 62px 0 100px; gap: 65px; }
  .hero h1 { font-size: clamp(42px,13vw,62px); }
  .hero-visual { width: 94vw; margin-left: -2vw; }
  .visual-main p { font-size: 15px; }.visual-main img { height: 135px; }.visual-card { padding: 10px; }
  .visual-listen, .visual-read, .visual-speak { width: 120px; }.learning-streak { width: 125px; min-height: 115px; border-radius: 24px; }
  .fact-strip { margin-top: 0; text-align: left; }
  .section { width: 90vw; padding: 95px 0; }
  .section-heading h2, .routine-card h2, .family-network h2 { font-size: clamp(34px,10vw,48px); }
  .path-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .feature-wide { grid-template-columns: 48px 1fr; }.feature-wide p { grid-column: 1/-1; }
  .routine-card { grid-template-columns: 1fr; gap: 40px; }.routine-card figure { margin: 0 -30px -80px 12%; }
  .purchase-steps { grid-template-columns: 1fr; }.purchase-steps > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .qr-card { grid-template-columns: 1fr; padding: 23px; }.qr-tip { grid-column: 1; }.qr-image { max-height: 430px; }
  .download-panel { align-items: stretch; flex-direction: column; }.button-download { width: 100%; }
  .family-network { width: 90vw; margin-bottom: 90px; padding: 30px 22px; }.family-network nav a { grid-template-columns: 90px 1fr 20px; }
  .site-footer { grid-template-columns: 1fr; padding: 45px 23px 25px; }.site-footer > p { grid-column: 1; }
}

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