:root {
  --paper: #faf8f3;
  --ink: #242923;
  --secondary: #565e54;
  --muted: #5e675e;
  --line: #d9d8d1;
  --pale: #ece9df;
  --serif: "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
}
html[lang="en"] { --serif: Georgia, serif; --sans: "Segoe UI", sans-serif; }
.container { width: min(1184px, calc(100% - 96px)); }
.header { height: 72px; background: #202520; border: 0; color: #f0f0ec; }
.header-inner { display: flex; justify-content: space-between; gap: 24px; }
.wordmark { font: 500 22px/1 "Segoe UI", sans-serif; letter-spacing: .13em; }
.nav { display: flex; gap: 24px; align-items: center; font-size: 13px; }
.nav a, .nav a:hover, .nav a[aria-current="page"] { color: #ecede9; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"]::after { content: none; }
.nav a.nav-product { color: #fff; }
.nav .nav-library { padding-left: 24px; border-left: 1px solid #535951; }
.nav .nav-language { display: flex; align-items: center; gap: 8px; padding-left: 20px; border-left: 1px solid #535951; color: #bec6bc; }
.nav .nav-language [aria-current="true"] { color: #fafaf6; }
.nav .nav-library, .nav .nav-language { padding-block: 0; }
.nav .nav-language a { padding-block: 12px; color: #e0e3db; }
.header :focus-visible { outline-color: #e8b68d; }
.menu { border-color: #697066; }
.site-experience { background: #eeebe2; border-bottom: 1px solid #ded9cd; }
.site-experience-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; min-height: 56px; padding-block: 8px; }
.site-experience strong { color: #29392e; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.site-experience ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; color: #3e4a3f; font-size: 13px; }
.site-experience li { display: inline-flex; align-items: center; gap: 6px; }
.site-experience li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #536e5a; }
.site-experience a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-left: auto; color: #394a3c; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.home-experience, .product-experience { font-size: 14px; color: #3f5847; }
.home-experience { margin: 8px 0 0; }
.product-experience { max-width: 570px; }
.page-head h1, .product-headline, .section-head h2, .home-band h1, .home-band h2, .home-resources h2, .home-library h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.026em;
}
.product-hero--brief { grid-template-columns: minmax(0, 740px); }
.product-hero--brief .product-identity { margin-bottom: 20px; }
.product-hero--brief .summary { margin-bottom: 12px; }
.product-hero .release-image-space { min-width: 0; }
.product-help + .product-help { margin-top: 32px; }
.home-band { padding: 72px 0 56px; }
.home-band-inner > * { min-width: 0; }
.home-band--chaomu { text-align: center; background: linear-gradient(173deg, #faf8f4 17%, #f4f0e7 72%, #ede7da); }
.home-band--shijing { background: #111c25; color: #f4f4f0; padding-bottom: 64px; }
.home-band--xiaojing { background: #e8ede3; padding-block: 88px 68px; }
.home-identity { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; }
.home-identity img { border-radius: 8px; }
.home-band--chaomu .home-identity, .home-band--chaomu .home-actions { justify-content: center; }
.home-band h1, .home-band h2 { margin: 16px 0 0; line-height: 1.24; }
.home-band h1 { font-size: clamp(34px, 5.4vw, 76px); }
.home-band h2 { font-size: clamp(32px, 4.6vw, 64px); }
.home-band--xiaojing h2 { font-size: clamp(32px, 4vw, 52px); }
.home-description { margin: 16px 0 0; max-width: 670px; font-size: 16px; }
.home-band--chaomu .home-description { margin-inline: auto; }
.home-band--shijing .home-description { color: #bcc5cb; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 22px 0 36px; }
.button.home-primary { min-height: 44px; border-radius: 8px; padding: 9px 20px; background: #303930; border-color: #303930; }
.button.home-primary:hover { background: #404b3e; }
.home-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; }
.home-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-band--shijing .home-link { color: #e1e8eb; }
.home-status { font-size: 14px; color: var(--secondary); }
.home-band--shijing .home-primary { background: #e8ebe9; border-color: #e8ebe9; color: #26302c; }
.home-band--shijing .home-primary:hover { background: #fff; }
.home-band--xiaojing .home-primary { background: #2e513e; border-color: #2e513e; }
.home-band--xiaojing .home-primary:hover { background: #3c634c; }
.home-product-visual { margin: 0; }
.home-band--chaomu .home-product-visual { width: min(100%, 1000px); margin-inline: auto; }
.home-screen {
  display: block;
  padding: 5px;
  border: 1px solid #ffffff60;
  border-radius: 16px;
  background: #303831;
  box-shadow: 0 16px 42px -22px #172018ae, 0 32px 84px -42px #30291d8e;
}
.home-screen img { width: 100%; border-radius: 10px; }
.home-product-visual figcaption { margin: 16px 0 0; font-size: 12px; color: var(--secondary); }
.home-band--shijing .home-product-copy { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 36px; }
.home-band--shijing .home-actions { margin: 0; flex-shrink: 0; gap: 16px; }
.home-band--shijing .home-screen { background: #2b3945; border-color: #8c9aa24d; }
.home-band--shijing figcaption { color: #bac4c8; text-align: right; }
.home-band--xiaojing .home-band-inner { display: grid; grid-template-columns: minmax(260px, 31fr) minmax(0, 69fr); gap: 48px; align-items: center; }
.home-band--xiaojing .home-actions { margin-bottom: 0; }
.release-image-space {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #edf1e9;
  border: 1px solid #cdd7ca;
  border-radius: 16px;
  color: #4f6253;
  font-size: 14px;
  text-align: center;
  padding: 16px;
}
.home-resources { background: #f5f1e7; padding-block: 72px; }
.home-resources-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.home-resources h2 { font-size: clamp(30px, 4vw, 48px); }
.home-resources p { margin: 12px 0 24px; }
.home-resources .resource-grid { margin-top: 36px; }
.home-resource-status { margin: 0; border-block: 1px solid #cfcbbf; }
.home-resource-status div { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 16px; padding-block: 12px; }
.home-resource-status div + div { border-top: 1px solid #cfcbbf; }
.home-resource-status dd { margin: 0; font-size: 13px; color: var(--secondary); }
.home-library { padding-block: 60px 48px; }
.home-library-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.home-library h2 { font-size: clamp(28px, 3.5vw, 40px); }
.home-projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.home-projects a { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.home-projects a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.home-projects img { border-radius: 7px; flex-shrink: 0; }
.home-projects strong, .home-projects small { display: block; font-weight: 400; }
.home-projects strong { font-size: 14px; }
.home-projects small { font-size: 12px; color: var(--secondary); }
.footer { background: var(--paper); }
@media (max-width: 1080px) {
  .header { height: 60px; }
  .wordmark { font-size: 20px; margin-right: auto; }
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; max-height: calc(100dvh - 60px); overflow: auto; padding: 0 max(20px, calc((100% - 1184px)/2)) 8px; border: 0; box-shadow: 0 20px 24px #18201a22; background: #202520; }
  .nav[data-open="true"] { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .nav > a { grid-column: span 3; padding: 12px 4px; min-height: 44px; }
  .nav .nav-product { grid-column: span 2; font-weight: 600; border-top: 1px solid #535951; }
  .nav .nav-library { border-left: 0; padding: 12px 4px; }
  .nav .nav-language { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #535951; padding: 0 4px; }
  .home-band--shijing .home-product-copy { display: block; }
  .home-band--shijing .home-actions { margin-top: 20px; }
  .home-band--xiaojing .home-band-inner { gap: 28px; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 40px); }
  .site-experience-inner { gap: 4px 16px; padding-block: 10px; }
  .site-experience ul { flex-basis: 100%; }
  .site-experience a { margin-left: 0; }
  .home-band { padding-block: 48px 36px; }
  .home-identity img { width: 28px; height: 28px; }
  .home-description { font-size: 15px; }
  .home-actions { margin-bottom: 28px; }
  .home-screen { padding: 3px; border-radius: 12px; }
  .home-screen img { border-radius: 8px; }
  .home-band--shijing .home-product-copy { margin-bottom: 24px; }
  .home-band--xiaojing .home-band-inner, .home-resources-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-resources { padding-block: 44px; }
  .home-library { padding-block: 36px; }
  .home-projects { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
}
@media (max-width: 360px) {
  .home-band h1, .home-band h2 { font-size: 30px; }
  .home-actions { gap: 8px 12px; }
  .button.home-primary { padding-inline: 12px; }
  .home-library-head .home-link { font-size: 13px; }
}
