:root {
  --canvas: #f7f3eb;
  --paper: #fffdf9;
  --ink: #29261f;
  --muted: #746b5f;
  --line: #ded4c4;
  --accent: #9a5948;
  --accent-deep: #63362d;
  --mint: #dce8e1;
  --sand: #e9deca;
  --night: #1e2926;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: 16px;
  line-height: 1.6;
}
button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip-link:focus { top: 12px; }
.site-header { width: min(var(--max), calc(100% - 64px)); height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(132, 111, 82, .24); }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: 4px; }
.brand-seal { width: 30px; height: 30px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 7px; font-size: 16px; letter-spacing: 0; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 28px; color: #63594d; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--ink); }

.hero { position: relative; min-height: 720px; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 42% 0 -18%; background: url("assets/theme/yazhi-page-background.svg") center / cover no-repeat; opacity: .68; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding: 84px 0 96px 36px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(68px, 9vw, 132px); line-height: .94; letter-spacing: 14px; font-weight: 600; }
h2 { margin-bottom: 28px; font-size: clamp(36px, 4vw, 58px); line-height: 1.22; letter-spacing: 2px; font-weight: 600; }
.hero-statement { margin-bottom: 26px; font-size: 25px; line-height: 1.65; }
.hero-detail { max-width: 390px; color: var(--muted); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.button-primary { background: var(--accent); color: #fffaf3; }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent-deep); }
.text-link { text-decoration: none; color: #54493c; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; }
.text-link span { margin-left: 6px; color: var(--accent); }
.hero-stage { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 690px; }
.sun-disc { position: absolute; top: 90px; width: 450px; height: 450px; border-radius: 50%; background: #e7e8d3; }
.hero-orbit { position: absolute; border: 1px solid rgba(85, 117, 108, .24); border-radius: 50%; }
.orbit-one { width: 550px; height: 310px; transform: rotate(-28deg); }
.orbit-two { width: 350px; height: 580px; transform: rotate(35deg); }
.device { overflow: hidden; background: #171717; border: 8px solid #1d1c1a; border-radius: 30px; box-shadow: 0 26px 50px rgba(45, 37, 27, .18); }
.device img { width: 100%; height: 100%; object-fit: cover; }
.device-hero { position: relative; z-index: 2; width: 270px; border-radius: 34px; transform: rotate(4deg); }
.stage-note { position: absolute; right: 28px; bottom: 78px; z-index: 2; padding-left: 22px; color: #5b665d; font-size: 14px; writing-mode: vertical-rl; letter-spacing: 5px; }
.stage-note::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #78958b; }

.intro-section, .cabinet-section, .record-section, .privacy-section { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.intro-section { padding: 144px 0 132px; }
.section-label { display: flex; gap: 14px; align-items: center; color: var(--accent); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; letter-spacing: 2px; }
.section-label::after { content: ""; width: 68px; height: 1px; background: currentColor; opacity: .6; }
.section-label span { font-family: Georgia, serif; }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 110px; margin-top: 46px; }
.intro-grid h2 { margin: 0; }
.intro-body { padding-top: 8px; color: #5d5449; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 2; }
.intro-body p + p { margin-top: 22px; }

.cabinet-section { padding: 124px 0 142px; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 340px; gap: 70px; align-items: end; }
.section-head h2 { margin: 0; }
.section-head > p { margin: 0 0 4px; color: var(--muted); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.9; }
.cabinet-layout { display: grid; grid-template-columns: 260px 1fr 220px; gap: 60px; align-items: center; margin-top: 72px; }
.device-cabinet { width: 260px; }
.device-add { width: 210px; justify-self: end; transform: rotate(4deg); }
.cabinet-notes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cabinet-notes article { padding: 25px 0 24px; border-bottom: 1px solid var(--line); }
.cabinet-notes span { color: var(--accent); font-family: Georgia, serif; font-size: 13px; }
.cabinet-notes h3 { margin: 7px 0 8px; font-size: 21px; font-weight: 600; }
.cabinet-notes p { margin: 0; color: var(--muted); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.8; }

.record-section { display: grid; grid-template-columns: 1.02fr .98fr; gap: 90px; padding: 132px 0; }
.record-section::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); }
.record-copy { padding-top: 32px; }
.record-copy > p:not(.eyebrow) { max-width: 420px; color: var(--muted); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.95; }
.record-list { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.record-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: #52483e; font-size: 14px; }
.record-list li span:last-child { color: var(--muted); }
.record-screens { position: relative; min-height: 610px; display: grid; place-items: center; }
.record-screens::before { content: ""; position: absolute; inset: 8% 0 6% 12%; background: #e5d9c1; border-radius: 44% 56% 54% 46% / 45% 40% 60% 55%; }
.device-record-large { position: relative; z-index: 1; width: 290px; transform: rotate(3deg); }
.record-rule { position: absolute; z-index: 2; right: 8%; bottom: 15%; width: 118px; height: 118px; border: 1px solid #a97958; border-radius: 50%; }
.record-rule::before, .record-rule::after { content: ""; position: absolute; border: 1px solid #a97958; border-radius: 50%; }
.record-rule::before { inset: 14px; }.record-rule::after { inset: 28px; }
.record-screens > p { position: absolute; z-index: 3; left: 0; bottom: 10%; margin: 0; padding: 13px 18px; background: var(--canvas); color: #705d4b; font-size: 14px; line-height: 1.8; }

.theme-section { padding: 28px 0 138px; }
.theme-panel { position: relative; width: min(1320px, calc(100% - 32px)); min-height: 620px; margin: 0 auto; overflow: hidden; background: #e9e4d8; color: #26302b; }
.theme-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .96; transition: opacity .25s ease; }
.theme-panel::after { content: ""; position: absolute; inset: 0; background: rgba(255, 252, 245, .66); }
.theme-content, .theme-preview { position: relative; z-index: 1; }
.theme-content { width: 63%; padding: 86px 8%; }
.theme-content h2 { margin-bottom: 28px; }
.theme-description { max-width: 440px; margin-bottom: 42px; color: #4d5149; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.95; }
.theme-picker { display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.theme-choice { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border: 1px solid rgba(63, 69, 59, .25); border-radius: 2px; background: rgba(255, 255, 255, .35); color: #4b4d45; cursor: pointer; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; }
.theme-choice:hover, .theme-choice:focus-visible, .theme-choice.is-active { border-color: var(--accent); background: rgba(255, 251, 243, .72); color: var(--accent-deep); }
.theme-choice img { width: 19px; height: 19px; object-fit: contain; }
.theme-preview { position: absolute; right: 8%; bottom: 0; width: 250px; height: 420px; padding: 34px 28px; background: rgba(248, 244, 235, .82); border: 1px solid rgba(72, 70, 57, .2); border-bottom: 0; transition: background-color .25s ease, color .25s ease; }
.preview-kicker { display: block; margin-bottom: 6px; color: #756d61; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; }
.theme-preview > strong { font-size: 27px; letter-spacing: 4px; }
.preview-sheet { display: flex; flex-direction: column; justify-content: space-between; height: 250px; margin-top: 32px; padding: 24px; background: rgba(255, 253, 248, .76); border: 1px solid rgba(89, 83, 71, .15); }
.preview-sheet span { color: var(--accent); font-size: 14px; letter-spacing: 3px; }.preview-sheet b { font-size: 25px; line-height: 1.45; font-weight: 600; }.preview-sheet small { color: #817567; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.theme-panel[data-theme="zhusha"] .theme-preview { background: #f0ded5; }.theme-panel[data-theme="qingci"] .theme-preview { background: #dae7e1; }.theme-panel[data-theme="xiangye"] .theme-preview { background: #eee4c4; }.theme-panel[data-theme="yuebai"] .theme-preview { background: #e2edf0; }.theme-panel[data-theme="xuanmo"] .theme-preview { background: #26312d; color: #f6eee0; }.theme-panel[data-theme="xuanmo"] .theme-preview .preview-kicker, .theme-panel[data-theme="xuanmo"] .theme-preview small { color: #c7bdac; }.theme-panel[data-theme="xuanmo"] .preview-sheet { background: rgba(18, 31, 27, .58); border-color: rgba(240, 230, 207, .18); }

.privacy-section { display: grid; grid-template-columns: 230px 1fr 290px; gap: 72px; align-items: start; padding: 130px 0 144px; }
.privacy-mark { width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid #b86f5c; border-radius: 50%; color: #914a3c; font-size: 31px; line-height: 1.5; letter-spacing: 5px; text-align: center; }
.privacy-copy h2 { margin-bottom: 22px; }.privacy-copy p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.95; }.privacy-copy p:not(.eyebrow) + p { margin-top: 18px; }
.privacy-facts { border-top: 1px solid var(--line); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }.privacy-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }.privacy-facts span { display: block; margin-bottom: 4px; color: var(--accent); font-size: 12px; }.privacy-facts strong { font-size: 14px; font-weight: 500; }

.closing-section { min-height: 510px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; background: var(--night) url("assets/theme/xuanmo-page-background.svg") center / cover no-repeat; color: #f5ede1; text-align: center; }.closing-section > img { width: 72px; height: 72px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .8; }.closing-section .eyebrow { color: #ddc48f; }.closing-section h2 { margin-bottom: 18px; }.closing-section > p:not(.eyebrow) { margin-bottom: 30px; color: #d3cbbd; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }.button-light { border-color: rgba(245, 237, 225, .55); color: #fff7eb; }.button-light:hover, .button-light:focus-visible { background: #f5ede1; color: var(--night); }
.site-footer { width: min(var(--max), calc(100% - 64px)); min-height: 100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; color: #776b5d; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; }.site-footer .brand { color: var(--ink); }.site-footer p { margin: 0; }.site-footer p:last-child { text-align: right; }

@media (max-width: 900px) { .hero { min-height: auto; grid-template-columns: 1fr; }.hero-copy { padding: 76px 0 36px; }.hero::before { inset: 0 0 43% -25%; }.hero-stage { min-height: 540px; }.sun-disc { width: 340px; height: 340px; top: 42px; }.device-hero { width: 230px; }.intro-grid, .record-section { grid-template-columns: 1fr; gap: 34px; }.cabinet-layout { grid-template-columns: 220px 1fr; gap: 38px; }.device-cabinet { width: 220px; }.device-add { display: none; }.record-section::before { display: none; }.record-copy { padding-top: 0; }.record-screens { min-height: 500px; }.section-head { grid-template-columns: 1fr; gap: 4px; }.privacy-section { grid-template-columns: 150px 1fr; gap: 36px; }.privacy-mark { width: 144px; height: 144px; font-size: 25px; }.privacy-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.privacy-facts > div { border-top: 1px solid var(--line); }.theme-content { width: 74%; padding-left: 7%; }.theme-preview { right: 4%; }.site-footer { grid-template-columns: 1fr 1fr; }.site-footer p:last-child { grid-column: 1 / -1; text-align: left; } }
@media (max-width: 620px) { .site-header, .intro-section, .cabinet-section, .record-section, .privacy-section, .site-footer { width: min(100% - 40px, var(--max)); }.site-header { height: 70px; }.menu-toggle { display: block; }.site-nav { position: absolute; top: 70px; left: 20px; right: 20px; z-index: 5; display: none; padding: 16px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 30px rgba(71, 55, 38, .11); }.site-nav.is-open { display: grid; gap: 14px; }.hero-copy { padding: 72px 20px 24px; }.hero-statement { font-size: 21px; }.hero-detail { max-width: 330px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }.hero-stage { min-height: 460px; }.stage-note { right: 7px; bottom: 46px; }.orbit-one { width: 390px; height: 230px; }.orbit-two { width: 260px; height: 420px; }.intro-section, .cabinet-section, .record-section, .privacy-section { padding-top: 88px; padding-bottom: 88px; }.intro-grid { margin-top: 30px; }.cabinet-layout { grid-template-columns: 1fr; margin-top: 44px; }.device-cabinet { width: 238px; }.cabinet-notes { order: 2; }.record-screens { min-height: 420px; }.device-record-large { width: 230px; }.record-screens > p { bottom: 0; left: 0; font-size: 13px; }.record-rule { right: 0; bottom: 7%; width: 88px; height: 88px; }.theme-section { padding-bottom: 88px; }.theme-panel { min-height: 730px; width: 100%; }.theme-content { width: 100%; padding: 64px 26px; }.theme-content h2 { font-size: 36px; }.theme-preview { left: 26px; right: auto; bottom: 0; width: calc(100% - 52px); height: 232px; padding: 20px; }.theme-preview > strong { font-size: 21px; }.preview-sheet { height: 128px; margin-top: 10px; padding: 16px; }.preview-sheet b { font-size: 18px; }.privacy-section { grid-template-columns: 1fr; }.privacy-mark { width: 120px; height: 120px; }.privacy-facts { display: block; grid-column: auto; }.closing-section { min-height: 450px; }.closing-section h2 { font-size: 35px; }.site-footer { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 0; gap: 10px; }.site-footer p:last-child { text-align: left; } }
