:root {
  --ink: #171815;
  --ink-2: #252721;
  --paper: #f5f2e9;
  --white: #ffffff;
  --accent: #32636f;
  --accent-dark: #244a53;
  --gold: #b79a5b;
  --active: #2f7d4c;
  --complete: #526c78;
  --muted: #77796f;
  --line: #deded7;
  --line-dark: #393b35;
  --danger: #8a5b16;
  --font-display: "STSong", "Songti SC", "SimSun", serif;
  --font-ui: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
  --shadow: 0 16px 38px rgba(23, 24, 21, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-ui); font-size: 15px; line-height: 1.65; letter-spacing: 0; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.icon { width: 18px; height: 18px; flex: none; }
.section-shell { width: var(--shell); margin: 0 auto; }

.site-header { height: 68px; position: relative; z-index: 30; background: #fff; border-bottom: 1px solid #e7e7e2; }
.site-header-inner { width: var(--shell); height: 100%; margin: 0 auto; display: flex; align-items: center; }
.wordmark { min-width: 188px; display: flex; align-items: baseline; color: var(--ink); font-family: var(--font-display); line-height: 1; }
.wordmark span { font-size: 24px; font-weight: 700; }
.wordmark strong { margin-left: 4px; color: var(--accent); font-family: Georgia, serif; font-size: 28px; }
.wordmark i { margin-left: 12px; padding-left: 12px; color: #75776e; border-left: 1px solid #c8c9c3; font-family: var(--font-ui); font-size: 10px; font-style: normal; font-weight: 700; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; color: #4d4f48; font-size: 13px; font-weight: 700; }
.site-nav a::after { content: ""; height: 2px; position: absolute; right: 100%; bottom: -9px; left: 0; background: var(--accent); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.account-link { min-height: 38px; margin-left: 34px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); border-left: 1px solid #deded8; font-size: 12px; font-weight: 700; }
.account-link:hover { color: var(--accent); }
.menu-button { width: 40px; height: 40px; margin-left: auto; display: none; place-items: center; color: var(--ink); border: 0; background: transparent; cursor: pointer; }

.hero { min-height: 600px; height: calc(100vh - 150px); max-height: 750px; position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.22); }
.hero-art { width: 52%; height: 100%; position: absolute; top: 0; right: 0; object-fit: cover; object-position: center 52%; filter: saturate(.72) contrast(1.05); -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.62) 24%, #000 51%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.62) 24%, #000 51%); }
.hero-inner { width: var(--shell); height: 100%; margin: 0 auto; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.hero-copy { width: min(610px, 58%); padding-bottom: 82px; }
.hero h1 { margin: 0; font: 700 clamp(66px, 8vw, 110px)/.92 var(--font-display); }
.hero-title { margin: 24px 0 0; color: #d4bb83; font: 700 24px/1.35 var(--font-display); }
.hero-description { max-width: 540px; margin: 20px 0 0; color: #c5c7be; font-size: 15px; line-height: 1.9; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; }
.btn { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 700; line-height: 1.2; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn-large { min-height: 50px; padding: 0 23px; font-size: 13px; }
.btn-primary, .btn-red { color: #fff; background: var(--accent); border-color: var(--accent); }
.btn-primary:hover, .btn-red:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ink { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn-paper { color: var(--accent-dark); background: var(--paper); border-color: var(--paper); }
.btn-secondary { color: #32342f; background: #fff; border-color: #d6d7d0; }
.btn-danger { color: var(--danger); background: #fff; border-color: #dfd0b6; }
.btn-sm { min-height: 34px; padding: 0 11px; font-size: 11px; }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #e3e5df; font-size: 12px; font-weight: 700; }
.text-link .icon { width: 16px; transition: transform .18s ease; }
.text-link:hover .icon { transform: translateX(4px); }
.hero-current { width: min(510px, 52%); min-height: 72px; position: absolute; left: 0; bottom: 42px; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.13); }
.live-mark { width: 8px; height: 8px; display: block; background: var(--active); border-radius: 50%; box-shadow: 0 0 0 5px rgba(47,125,76,.15); animation: pulse 2.4s ease infinite; }
.hero-current small, .hero-current strong { display: block; }
.hero-current small { color: #8f9288; font-size: 10px; }
.hero-current strong { margin-top: 2px; font: 700 15px/1.35 var(--font-display); }
.hero-current > span:last-child { color: #83d3a1; font-size: 11px; font-weight: 700; }
.hero-caption { position: absolute; right: 24px; bottom: 17px; z-index: 2; color: rgba(255,255,255,.48); font: 10px/1 var(--font-ui); writing-mode: vertical-rl; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(47,125,76,.14); } 50% { box-shadow: 0 0 0 9px rgba(47,125,76,0); } }

.campaign-section { padding: 58px 0 112px; background: #fff; }
.campaign-layout { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(56px, 9vw, 128px); align-items: start; }
.sticky-intro { position: sticky; top: 42px; }
.section-number { display: block; margin-bottom: 22px; color: var(--accent); font: 700 12px/1 Georgia, serif; }
.section-intro h2, .download-heading h2, .membership-copy h2 { margin: 0; font: 700 38px/1.22 var(--font-display); }
.section-intro > p { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.status-key { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; color: #6b6e65; font-size: 10px; }
.status-key span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }
.dot.done { background: var(--complete); }
.dot.active { background: var(--active); }
.dot.queued { background: #bbbdb5; }
.series-list { min-width: 0; }
.series-board { border-top: 3px solid var(--ink); }
.series-board + .series-board { margin-top: 64px; }
.series-summary { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.series-summary h3 { margin: 0; font: 700 27px/1.2 var(--font-display); }
.series-summary h3 span { color: var(--accent); font-family: Georgia, serif; font-size: 18px; }
.series-summary p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.series-count { min-width: 116px; text-align: right; }
.series-count strong, .series-count span { display: block; }
.series-count strong { color: var(--accent); font: 700 29px/1 Georgia, serif; }
.series-count span { margin-top: 6px; color: #898b83; font-size: 10px; }
.campaign-list { margin: 0; padding: 0; list-style: none; }
.campaign-row { min-height: 116px; display: grid; grid-template-columns: 55px minmax(0, 1fr) 42px; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.campaign-order { color: #a8aaa2; font: 14px/1 Georgia, serif; }
.campaign-heading { display: flex; align-items: center; gap: 13px; }
.campaign-heading h4 { margin: 0; font: 700 22px/1.2 var(--font-display); }
.status-label { padding-left: 12px; border-left: 1px solid #d6d7d1; font-size: 10px; font-weight: 700; }
.status-completed .status-label { color: var(--complete); }
.status-in_progress .status-label { color: var(--active); }
.status-queued .status-label { color: #8d8f87; }
.campaign-main p { margin: 6px 0 10px; color: #85877f; font-size: 11px; }
.progress-track { width: 100%; max-width: 330px; height: 3px; overflow: hidden; background: #e9e9e4; }
.progress-track span { height: 100%; display: block; background: var(--complete); }
.status-in_progress .progress-track span { background: var(--active); }
.campaign-mark { width: 10px; height: 10px; justify-self: center; border: 2px solid #bfc1b9; border-radius: 50%; }
.status-completed .campaign-mark { background: var(--complete); border-color: var(--complete); }
.status-in_progress .campaign-mark { background: var(--active); border-color: var(--active); box-shadow: 0 0 0 5px rgba(47,125,76,.12); }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--accent); border: 1px solid #d2dde0; border-radius: 50%; }
.icon-button:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.series-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 11px; font-weight: 700; }

.download-section { padding: 92px 0 100px; background: var(--paper); border-top: 1px solid #ebe6d9; }
.download-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.download-heading > div { flex: 1; }
.download-heading .section-number { margin-bottom: 18px; }
.download-heading > p { width: min(430px, 44%); margin: 0 0 2px; color: #6f7168; font-size: 12px; line-height: 1.85; }
.resource-list { border-top: 1px solid #c9c7bd; }
.resource-row { min-height: 142px; padding: 24px 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 24px; border-bottom: 1px solid #d6d3c9; }
.resource-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent); border: 1px solid #ccc8bb; }
.resource-icon .icon { width: 22px; height: 22px; }
.resource-title-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 11px; }
.resource-title-line h3 { margin: 0; font: 700 20px/1.3 var(--font-display); }
.resource-title-line span { color: var(--accent); font-size: 10px; font-weight: 700; }
.resource-copy > p { margin: 7px 0 9px; color: #6e7068; font-size: 12px; }
.resource-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #96978f; font-size: 9px; }
.resource-meta span + span { position: relative; padding-left: 16px; }
.resource-meta span + span::before { content: ""; width: 2px; height: 2px; position: absolute; top: 7px; left: 0; background: #a7a9a0; }
.download-note { margin: 22px 0 0; display: flex; align-items: center; gap: 8px; color: #8b8c84; font-size: 10px; }
.download-note .icon { width: 14px; }

.membership-section { color: #fff; background: var(--accent-dark); }
.membership-inner { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.membership-copy { max-width: 610px; }
.membership-copy .section-number { margin-bottom: 17px; color: #d4bb83; }
.membership-copy p { margin: 16px 0 0; color: #d2e1e2; font-size: 13px; }
.membership-actions { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.membership-actions > a:last-child { color: #d5e3e4; font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { color: #a7aaa1; background: #121310; }
.site-footer .section-shell { min-height: 138px; display: flex; align-items: center; gap: 34px; }
.footer-mark { min-width: 188px; color: #fff; }
.site-footer p { margin: 0; font-size: 10px; }
.site-footer .section-shell > a { margin-left: auto; font-size: 10px; }
.empty-state { margin: 0; padding: 36px 0; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.toast-region { width: min(360px, calc(100% - 32px)); position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: grid; gap: 8px; }
.toast { padding: 13px 15px; color: #fff; background: #252721; border-left: 3px solid var(--active); box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 12px; }
.toast-error { border-left-color: var(--danger); }
.simple-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); }
.simple-state { width: min(420px, calc(100% - 40px)); text-align: center; }
.simple-state > strong { color: var(--accent); font: 700 72px/1 Georgia, serif; }
.simple-state h1 { margin: 18px 0 0; font: 700 34px/1.2 var(--font-display); }
.simple-state p { margin: 12px 0 28px; color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 760px); }
  .site-nav { gap: 20px; }
  .account-link { margin-left: 20px; }
  .hero { min-height: 590px; height: calc(100svh - 132px); }
  .hero-art { width: 57%; }
  .hero-copy { width: 62%; }
  .campaign-layout { grid-template-columns: 1fr; gap: 42px; }
  .sticky-intro { position: static; }
  .section-intro { max-width: 540px; }
  .download-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .download-heading > p { width: min(560px, 100%); }
  .membership-inner { min-height: 310px; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 560px); }
  .site-header { height: 60px; }
  .wordmark { min-width: 0; }
  .wordmark span { font-size: 20px; }
  .wordmark strong { font-size: 24px; }
  .wordmark i { display: none; }
  .site-nav { position: absolute; top: 60px; right: 0; left: 0; padding: 10px 14px 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0,0,0,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .site-nav a::after { display: none; }
  .account-link { margin-left: auto; padding: 0 10px; border-left: 0; font-size: 0; }
  .account-link .icon { width: 19px; height: 19px; }
  .menu-button { display: grid; }
  .hero { min-height: 540px; height: calc(100svh - 118px); max-height: 650px; }
  .hero-inner { justify-content: flex-start; padding-top: 68px; }
  .hero-copy { width: 100%; padding: 0; }
  .hero h1 { font-size: clamp(58px, 19vw, 82px); }
  .hero-title { margin-top: 17px; font-size: 20px; }
  .hero-description { max-width: 92%; margin-top: 15px; font-size: 13px; line-height: 1.75; }
  .hero-actions { margin-top: 25px; gap: 19px; }
  .hero-actions .btn { min-height: 46px; padding: 0 17px; }
  .hero-art { width: 100%; height: 44%; top: auto; right: 0; bottom: 0; opacity: .72; object-position: center 54%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%); mask-image: linear-gradient(to bottom, transparent 0%, #000 40%); }
  .hero-current { width: calc(100% - 20px); min-height: 65px; bottom: 24px; }
  .hero-caption { display: none; }
  .campaign-section { padding: 46px 0 80px; }
  .section-intro h2, .download-heading h2, .membership-copy h2 { font-size: 30px; }
  .campaign-layout { gap: 32px; }
  .series-summary { min-height: 104px; }
  .series-summary h3 { font-size: 23px; }
  .series-count { min-width: 76px; }
  .campaign-row { min-height: 104px; grid-template-columns: 36px minmax(0, 1fr) 30px; gap: 10px; }
  .campaign-heading h4 { font-size: 20px; }
  .campaign-mark { width: 9px; height: 9px; }
  .download-section { padding: 70px 0 74px; }
  .download-heading { margin-bottom: 30px; }
  .resource-row { min-height: 0; padding: 25px 0; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 16px; }
  .resource-icon { width: 42px; height: 42px; }
  .resource-row > .btn { grid-column: 2; justify-self: start; margin-top: 5px; }
  .resource-copy > p { line-height: 1.7; }
  .membership-inner { min-height: 350px; padding: 56px 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 32px; }
  .membership-actions { width: 100%; align-items: stretch; }
  .membership-actions .btn { width: 100%; }
  .membership-actions > a:last-child { text-align: center; }
  .site-footer .section-shell { min-height: 170px; padding: 30px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer .section-shell > a { margin: 4px 0 0; }
}

@media (max-width: 390px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-current { grid-template-columns: 10px minmax(0, 1fr); }
  .hero-current > span:last-child { display: none; }
  .status-key { gap: 12px; }
  .series-count { display: none; }
  .campaign-row { grid-template-columns: 30px minmax(0, 1fr) 22px; }
  .resource-row { grid-template-columns: 1fr; }
  .resource-icon { display: none; }
  .resource-row > .btn { grid-column: 1; }
}
