:root {
  --paper: #f7f2e8;
  --paper-2: #fffdf8;
  --ink: #20211f;
  --muted: #68675f;
  --rule: #cbc2b2;
  --wine: #8d2738;
  --wine-dark: #651927;
  --mustard: #d7a42e;
  --teal: #17756d;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif; line-height: 1.72; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-inner, .header-inner, .hero-inner { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 242, 232, .97); border-bottom: 1px solid var(--ink); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 800; }
.brand img { width: 44px; height: 44px; }
.site-nav { display: flex; align-items: center; gap: 31px; font-size: 14px; font-weight: 700; }
.site-nav > a:not(.nav-download) { position: relative; padding: 23px 0 20px; }
.site-nav > a:not(.nav-download)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 15px; height: 2px; background: var(--wine); transition: right .2s ease; }
.site-nav > a:hover::after, .site-nav > a.active::after { right: 0; }
.nav-download { padding: 9px 18px; color: var(--white); background: var(--wine); border: 1px solid var(--wine); }
.nav-download:hover { background: var(--wine-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { border-bottom: 1px solid var(--ink); }
.hero-inner { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; gap: clamp(48px, 7vw, 96px); padding-block: 42px 44px; }
.eyebrow { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; color: var(--wine); font-size: 12px; font-weight: 800; letter-spacing: 0; }
.eyebrow span:first-child { padding: 2px 8px; color: var(--paper); background: var(--wine); }
.hero h1 { margin: 0 0 18px; font-size: clamp(48px, 5vw, 70px); line-height: 1.05; letter-spacing: 0; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--wine); }
.hero-copy > p { max-width: 600px; margin: 0; color: #4f4f49; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 28px 0 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid var(--ink); font-weight: 800; line-height: 1.2; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); border-color: var(--wine); background: var(--wine); box-shadow: 5px 5px 0 var(--mustard); }
.button.secondary { background: var(--paper-2); }
.button.light { color: var(--ink); border-color: var(--white); background: var(--white); }
.text-link { font-weight: 800; border-bottom: 1px solid var(--ink); }
.hero-facts { display: flex; gap: 0; margin: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero-facts div { flex: 1; padding: 10px 12px; border-right: 1px solid var(--rule); }
.hero-facts div:first-child { padding-left: 0; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { color: var(--muted); font-size: 11px; }
.hero-facts dd { margin: 0; font-size: 14px; font-weight: 800; }

.hero-media { width: min(100%, 450px); justify-self: end; background: var(--paper-2); border: 1px solid var(--ink); box-shadow: 12px 12px 0 rgba(32, 33, 31, .12); }
.ledger-head, .ledger-foot { display: flex; align-items: center; justify-content: space-between; padding: 9px 13px; font-size: 11px; font-weight: 800; }
.ledger-head { border-bottom: 1px solid var(--ink); }
.ledger-head strong { color: var(--wine); }
.ledger-body { height: 407px; display: grid; grid-template-columns: minmax(0, 1fr) 68px; align-items: center; padding: 14px 13px; }
.ledger-body img { width: 222px; max-width: 400px; max-height: 370px; object-fit: contain; justify-self: center; border: 1px solid var(--ink); }
.ledger-track { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 5px 0; border-left: 1px solid var(--rule); }
.track-label, .track-value { writing-mode: vertical-rl; font-size: 11px; font-weight: 800; }
.track-line { position: relative; flex: 1; width: 1px; margin-block: 10px; background: var(--rule); }
.track-line i { position: absolute; left: -4px; top: 32%; width: 9px; height: 9px; background: var(--teal); border-radius: 50%; }
.ledger-foot { gap: 5px; border-top: 1px solid var(--ink); }
.ledger-foot span { flex: 1; text-align: center; border-right: 1px solid var(--rule); }
.ledger-foot span:last-child { border: 0; }

.section-band { border-bottom: 1px solid var(--ink); }
.section-band.alt { background: var(--paper-2); }
.section-heading { display: grid; grid-template-columns: 125px 1fr; align-items: end; gap: 24px; padding: 56px 0 25px; border-bottom: 1px solid var(--ink); }
.section-heading > span, .section-index { color: var(--wine); font-size: 11px; font-weight: 900; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.step-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0 0 56px; }
.step-grid li { min-height: 205px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 20px 0; border-right: 1px solid var(--rule); }
.step-grid li:first-child { padding-left: 0; }
.step-grid li:last-child { border-right: 0; }
.step-grid b { color: var(--mustard); font-size: 36px; }
.step-grid h3 { margin: 12px 0 4px; font-size: 18px; }
.step-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 28px; padding: 34px 0 62px; }
.screen-item { margin: 0; border: 1px solid var(--ink); background: var(--paper); }
.screen-frame { height: 445px; display: grid; place-items: center; padding: 18px; overflow: hidden; background: linear-gradient(90deg, transparent 49.5%, rgba(32,33,31,.08) 50%, transparent 50.5%); }
.screen-frame img { width: auto; max-width: 400px; max-height: 100%; object-fit: contain; border: 1px solid var(--ink); }
.screen-item figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-top: 1px solid var(--ink); font-size: 13px; }
.screen-item figcaption span { color: var(--muted); text-align: right; }

.feature-layout { display: grid; grid-template-columns: 300px 1fr; gap: 70px; padding-block: 60px; }
.sticky-heading { display: block; padding: 0; border: 0; align-self: start; position: sticky; top: 105px; }
.sticky-heading h2 { margin-top: 10px; }
.feature-list { border-top: 1px solid var(--ink); }
.feature-list article { display: grid; grid-template-columns: 70px 230px 1fr; gap: 22px; align-items: start; padding: 23px 0; border-bottom: 1px solid var(--ink); }
.feature-list article > span { color: var(--wine); font-size: 12px; font-weight: 900; }
.feature-list h3, .feature-list p { margin: 0; }
.feature-list h3 { font-size: 18px; }
.feature-list p { color: var(--muted); font-size: 14px; }

.dark-band { color: var(--white); background: var(--ink); }
.deep-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1px; background: #55564f; }
.deep-grid > * { min-height: 210px; padding: 34px; background: var(--ink); }
.deep-grid h2 { margin: 10px 0 8px; font-size: 34px; }
.deep-note { color: #c9c6bd; }
.deep-grid a { display: flex; flex-direction: column; justify-content: space-between; }
.deep-grid a:hover { background: var(--wine-dark); }
.deep-grid a span { color: #c9c6bd; font-size: 13px; }

.faq-preview .section-inner { padding-bottom: 60px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 19px 45px 19px 0; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; top: 13px; color: var(--wine); font-size: 28px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 900px; margin: -4px 0 20px; color: var(--muted); }
.more-link { display: inline-block; margin-top: 26px; font-weight: 800; border-bottom: 1px solid var(--ink); }
.download-band { color: var(--white); background: var(--wine); }
.download-inner { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-inner span { font-size: 11px; font-weight: 900; }
.download-inner h2 { margin: 7px 0 0; font-size: clamp(28px, 4vw, 45px); line-height: 1.15; }

.page-hero { border-bottom: 1px solid var(--ink); }
.page-hero-inner { min-height: 335px; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-block: 55px; }
.page-hero h1 { margin: 12px 0 14px; font-size: clamp(42px, 5vw, 66px); line-height: 1.08; }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }
.article-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 75px; padding-block: 58px 80px; }
.article-nav { position: sticky; top: 105px; align-self: start; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.article-nav > span { padding: 13px 0; color: var(--wine); font-size: 12px; font-weight: 900; border-bottom: 1px solid var(--rule); }
.article-nav a { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.article-nav a:hover { color: var(--wine); }
.prose section { position: relative; padding: 0 0 46px 78px; margin-bottom: 46px; border-bottom: 1px solid var(--rule); }
.prose section:last-child { border-bottom: 0; }
.step-no { position: absolute; left: 0; top: -8px; color: var(--mustard); font-size: 34px; font-weight: 900; }
.prose h2 { margin: 0 0 15px; font-size: 28px; }
.prose p { margin: 0 0 15px; color: #484943; }
.note { padding: 16px 18px; border-left: 4px solid var(--teal); background: var(--paper-2); }
.next-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px; margin-top: 28px; color: var(--white); background: var(--ink); }
.next-panel div { display: flex; flex-direction: column; }
.next-panel span { color: #c9c6bd; font-size: 11px; }
.next-panel a { font-weight: 800; }

.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 70px; padding-block: 60px 80px; }
.faq-intro { align-self: start; position: sticky; top: 105px; }
.faq-intro > span { color: var(--wine); font-size: 12px; font-weight: 900; }
.faq-intro h2 { margin: 10px 0; font-size: 33px; line-height: 1.2; }
.faq-intro p { color: var(--muted); }
.faq-intro .button { margin-top: 15px; }
.faq-list.numbered summary { display: flex; gap: 20px; align-items: baseline; font-size: 17px; }
.faq-list.numbered summary span { color: var(--mustard); font-size: 22px; min-width: 28px; }
.faq-list.numbered details p { padding-left: 48px; }

.site-footer { background: var(--paper); }
.footer-inner { min-height: 125px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 12px; }
.footer-inner p { margin: 2px 0; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr 360px; gap: 32px; }
  .hero h1 { font-size: 48px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .screen-item.featured { grid-column: 1 / -1; }
  .feature-layout, .faq-layout { grid-template-columns: 240px 1fr; gap: 40px; }
  .feature-list article { grid-template-columns: 55px 1fr; }
  .feature-list p { grid-column: 2; }
}

@media (max-width: 720px) {
  .section-inner, .header-inner, .hero-inner { width: min(calc(100% - 30px), var(--max)); }
  .header-inner { min-height: 64px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 15px 20px; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.nav-download) { padding: 13px 4px; border-bottom: 1px solid var(--rule); }
  .site-nav > a:not(.nav-download)::after { display: none; }
  .nav-download { margin-top: 14px; text-align: center; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 27px; padding-block: 25px 28px; }
  .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: 43px; margin-bottom: 12px; }
  .hero-copy > p { font-size: 15px; line-height: 1.65; }
  .hero-actions { margin: 20px 0; }
  .hero-facts { display: none; }
  .hero-media { width: 100%; justify-self: center; box-shadow: 7px 7px 0 rgba(32,33,31,.12); }
  .ledger-head, .ledger-foot { padding-block: 6px; }
  .ledger-body { height: 264px; grid-template-columns: minmax(0, 1fr) 55px; padding-block: 9px; }
  .ledger-body img { width: 145px; max-height: 238px; }
  .section-heading { grid-template-columns: 88px 1fr; padding: 38px 0 20px; }
  .section-heading h2 { font-size: 31px; }
  .step-grid { grid-template-columns: 1fr 1fr; padding-bottom: 38px; }
  .step-grid li { min-height: 165px; padding: 19px 14px 0 0; }
  .step-grid li:nth-child(2) { border-right: 0; padding-left: 14px; }
  .step-grid li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .step-grid li:nth-child(3) { padding-left: 0; }
  .step-grid li:nth-child(4) { border-right: 0; padding-left: 14px; }
  .gallery-grid { display: flex; gap: 16px; padding: 25px 0 42px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .screen-item, .screen-item.featured { min-width: 78vw; grid-column: auto; scroll-snap-align: start; }
  .screen-frame { height: 390px; }
  .feature-layout, .faq-layout, .article-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 42px; }
  .sticky-heading, .faq-intro, .article-nav { position: static; }
  .feature-list article { grid-template-columns: 48px 1fr; }
  .deep-grid { grid-template-columns: 1fr; }
  .deep-grid > * { min-height: 160px; padding: 25px; }
  .download-inner { min-height: 175px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .page-hero-inner { min-height: 310px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 25px; padding-block: 42px; }
  .page-hero h1 { font-size: 42px; }
  .article-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .article-nav > span { grid-column: 1 / -1; }
  .article-nav a { padding-right: 8px; }
  .prose section { padding-left: 0; padding-top: 52px; }
  .step-no { top: 0; }
  .next-panel { align-items: flex-start; flex-direction: column; }
  .faq-list.numbered summary { padding-right: 34px; }
  .faq-list.numbered details p { padding-left: 0; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 40px; }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 20px; }
  .ledger-body { height: 252px; }
  .ledger-body img { width: 138px; max-height: 226px; }
  .ledger-foot { font-size: 10px; }
  .screen-item { min-width: 82vw; }
  .page-hero h1 { font-size: 34px; }
}
