:root {
  --bg: #17171A;
  --bg-deep: #121214;
  --panel: #222226;
  --panel-soft: #29292e;
  --line: rgba(241, 238, 238, 0.12);
  --line-strong: rgba(241, 238, 238, 0.22);
  --text: #F1EEEE;
  --muted: #A9A3A6;
  --brand: #C84A5A;
  --brand-dark: #9f3343;
  --copper: #D08A48;
  --accent: #E59A3A;
  --success: #8bbd9b;
  --danger: #e1858f;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --content: 1120px;
  --reading: 820px;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -5%, rgba(200, 74, 90, .13), transparent 28rem),
    linear-gradient(180deg, #151517 0%, var(--bg) 30%, #161618 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, input { font: inherit; }
button { color: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 10px; z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px; border-radius: 8px;
  background: #fff; color: #111;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--header);
  background: rgba(18, 18, 20, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-shell {
  width: min(calc(100% - 40px), 1240px);
  min-height: var(--header);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand-mark { display: inline-flex; align-items: center; gap: 12px; min-width: 180px; }
.brand-mark img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; }
.brand-mark__text { display: grid; line-height: 1.2; gap: 4px; }
.brand-mark__text strong { font-size: 1.05rem; letter-spacing: .03em; }
.brand-mark__text small { color: var(--muted); font-size: .75rem; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: 4px; }
.primary-nav a {
  padding: 10px 12px; border-radius: 999px;
  color: #cbc6c8; font-size: .92rem;
  transition: background .2s ease, color .2s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: rgba(200, 74, 90, .14); color: #fff; }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(200, 74, 90, .25); }
.search-open, .menu-toggle, .back-top, .search-modal__close {
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}
.search-open { padding: 9px 14px; border-radius: 999px; color: #eee8ea; }
.search-open:hover { border-color: rgba(229,154,58,.5); background: rgba(229,154,58,.08); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border-radius: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--text); }

.content-shell { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.reading-shell { width: min(calc(100% - 40px), var(--reading)); margin-inline: auto; }
main { min-height: 70vh; }
section { scroll-margin-top: 100px; }
.eyebrow {
  margin: 0 0 10px;
  color: #e4a261;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker { color: var(--copper); font-weight: 650; }
h1, h2, h3 { margin-top: 0; line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.55rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
.lede, .page-lead { color: #d2cdcf; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.9; }
.muted { color: var(--muted); }
.text-link { color: #f0b071; text-decoration: underline; text-decoration-color: rgba(240,176,113,.35); text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: currentColor; }

.home-hero {
  width: min(calc(100% - 40px), 1260px);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  gap: 44px;
  align-items: stretch;
}
.hero-copy { padding: clamp(28px, 4vw, 58px) 0; align-self: center; }
.hero-copy h1 { max-width: 13ch; margin-bottom: 26px; }
.hero-copy .lede { max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-primary, .button-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 18px; border-radius: 999px;
  font-weight: 700; border: 1px solid transparent;
}
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 32px rgba(200,74,90,.22); }
.button-primary:hover { background: #d75867; }
.button-secondary { border-color: var(--line-strong); color: #eee; background: rgba(255,255,255,.02); }
.button-secondary:hover { border-color: rgba(208,138,72,.55); background: rgba(208,138,72,.08); }
.hero-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; color: var(--muted); font-size: .9rem; }
.hero-note::before { content: ""; width: 8px; height: 8px; margin-top: .62em; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.hero-media {
  position: relative; overflow: hidden; min-height: 460px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18,18,20,.72));
  pointer-events: none;
}
.hero-media__caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: #fff; }
.hero-media__caption small { display: block; color: #d4cccf; }

.intent-strip {
  width: min(calc(100% - 40px), 1120px);
  margin: 36px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.intent-item { padding: 24px 26px; }
.intent-item + .intent-item { border-left: 1px solid var(--line); }
.intent-item strong { display: block; margin-bottom: 6px; color: #fff; }
.intent-item span { color: var(--muted); font-size: .92rem; }

.editorial-section { padding: 86px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p:last-child { color: var(--muted); font-size: 1.02rem; }
.split-feature {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 44px; align-items: center;
}
.split-feature.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.split-feature.reverse .split-media { order: 2; }
.split-media { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-copy p { color: #cfcacd; }
.split-copy ul { margin: 22px 0; padding-left: 1.2em; color: #d8d2d4; }
.split-copy li { margin: .5em 0; }

.info-index {
  display: grid; grid-template-columns: .78fr 1.22fr;
  gap: 40px;
  padding: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #201d20, #242328);
  border: 1px solid var(--line);
}
.info-index__intro { position: sticky; top: 120px; align-self: start; }
.index-list { display: grid; gap: 4px; }
.index-row {
  display: grid; grid-template-columns: 110px 1fr auto;
  gap: 18px; align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.index-row:last-child { border-bottom: 0; }
.index-row .index-tag { color: var(--copper); font-size: .82rem; font-weight: 700; }
.index-row p { margin: 0; color: #d1ccce; }
.index-row a { color: #f3b574; font-size: .9rem; }

.numbered-flow { counter-reset: flow; display: grid; gap: 0; border-top: 1px solid var(--line); }
.flow-step {
  counter-increment: flow;
  display: grid; grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line);
}
.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  color: var(--brand); font-weight: 800; font-size: 1.2rem;
}
.flow-step h3 { margin-bottom: 7px; }
.flow-step p { margin: 0; color: var(--muted); }

.topic-band {
  width: min(calc(100% - 40px), 1260px);
  margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #1e1e22;
}
.topic-band__media { min-height: 360px; }
.topic-band__media img { width: 100%; height: 100%; object-fit: cover; }
.topic-band__copy { padding: clamp(34px, 5vw, 64px); align-self: center; }
.topic-band__copy p { color: #c8c3c5; }

.notice-box {
  padding: 28px 30px;
  border-left: 3px solid var(--accent);
  background: rgba(229, 154, 58, .07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.notice-box strong { color: #ffd29f; }
.notice-box p:last-child { margin-bottom: 0; }

.link-cluster {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.link-item { padding: 28px; background: #1c1c20; min-height: 190px; }
.link-item:hover { background: #232328; }
.link-item strong { display: block; margin-bottom: 8px; color: #fff; font-size: 1.08rem; }
.link-item p { margin: 0; color: var(--muted); }
.link-item span { display: inline-block; margin-top: 16px; color: #eda65e; font-size: .9rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  text-align: left; padding: 22px 2px; border: 0; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 1rem;
}
.faq-question::after { content: "+"; color: var(--accent); font-size: 1.35rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 32px 24px 0; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.page-intro {
  padding: 64px 0 42px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: 48px; align-items: center;
}
.page-intro__copy h1 { max-width: 14ch; margin-bottom: 22px; }
.page-intro__media { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.page-intro__media img { width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; }
.breadcrumbs { width: min(calc(100% - 40px), var(--content)); margin: 26px auto 0; color: var(--muted); font-size: .84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #696368; }
.breadcrumbs a:hover { color: #fff; }

.reading-section { padding: 34px 0 70px; }
.reading-section + .reading-section { border-top: 1px solid rgba(255,255,255,.045); }
.prose { color: #d1ccce; font-size: 1.02rem; }
.prose h2 { margin-top: 2.2em; color: #fff; }
.prose h3 { margin-top: 1.8em; color: #f0ebed; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin: .58em 0; }
.prose strong { color: #fff; }
.prose a { color: #edaa67; text-decoration: underline; text-decoration-color: rgba(237,170,103,.35); text-underline-offset: 4px; }
.prose blockquote {
  margin: 28px 0; padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: rgba(200,74,90,.07); color: #d7d1d3;
}
.prose-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .95rem; }
.prose-table th, .prose-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose-table th { color: #fff; background: rgba(255,255,255,.025); }
.prose-table td { color: #c9c4c6; }

.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.check-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #1d1d21; }
.check-card strong { display: block; margin-bottom: 9px; color: #fff; }
.check-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.check-card .label { display: inline-block; margin-bottom: 14px; padding: 4px 8px; border-radius: 999px; background: rgba(208,138,72,.1); color: #dfaa74; font-size: .74rem; font-weight: 700; }

.media-note { margin: 34px 0; display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #1d1d21; }
.media-note img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.media-note__copy { padding: 30px; align-self: center; }
.media-note__copy p:last-child { margin-bottom: 0; }

.search-page { padding-bottom: 90px; }
.search-panel { margin-top: 22px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.search-form label { display: block; margin-bottom: 8px; color: #d9d4d6; font-weight: 700; }
.search-form__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-form input {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #161619; color: #fff; padding: 10px 14px; outline: none;
}
.search-form input:focus { border-color: rgba(229,154,58,.7); box-shadow: 0 0 0 3px rgba(229,154,58,.08); }
.search-form button { min-height: 48px; border: 0; border-radius: 12px; padding: 10px 18px; background: var(--brand); color: #fff; font-weight: 800; cursor: pointer; }
.search-results { margin-top: 30px; display: grid; gap: 10px; }
.search-result { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #1b1b1f; }
.search-result h2 { font-size: 1.2rem; margin-bottom: 8px; }
.search-result p { margin: 0; color: var(--muted); }
.search-result a:hover h2 { color: #ffc081; }
.empty-state { padding: 38px 0; color: var(--muted); }

.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 12vh 20px 20px; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(7,7,8,.82); backdrop-filter: blur(8px); }
.search-modal__dialog { position: relative; z-index: 1; width: min(680px, 100%); padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: #1d1d21; box-shadow: var(--shadow); }
.search-modal__dialog h2 { margin-bottom: 24px; }
.search-modal__close { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; }

.site-footer { margin-top: 84px; border-top: 1px solid var(--line); background: #111113; }
.footer-shell { width: min(calc(100% - 40px), 1200px); margin: 0 auto; padding: 54px 0 44px; display: grid; grid-template-columns: 1.4fr repeat(3, .8fr); gap: 36px; }
.footer-summary { max-width: 380px; }
.footer-brand { display: inline-block; margin-bottom: 14px; font-size: 1.35rem; font-weight: 800; }
.footer-summary p { color: #9f999c; font-size: .9rem; }
.footer-domain { color: #d99a59 !important; }
.footer-group h2 { font-size: .88rem; letter-spacing: .08em; color: #e8e2e4; }
.footer-group ul { list-style: none; padding: 0; margin: 0; }
.footer-group li { margin: 8px 0; }
.footer-group a { color: #9f999c; font-size: .9rem; }
.footer-group a:hover { color: #fff; }
.footer-bottom { width: min(calc(100% - 40px), 1200px); margin: 0 auto; padding: 18px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; align-items: center; color: #7f797c; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.back-top { padding: 7px 11px; border-radius: 9px; color: #aaa3a6; }

.error-shell { width: min(calc(100% - 40px), 760px); margin: 0 auto; padding: 110px 0; text-align: center; }
.error-code { font-size: clamp(5rem, 18vw, 11rem); line-height: .8; font-weight: 900; color: rgba(200,74,90,.18); margin-bottom: 34px; }
.error-shell p { color: var(--muted); }
.error-links { margin-top: 28px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .header-shell { grid-template-columns: auto auto 1fr auto; gap: 14px; }
  .menu-toggle { display: block; order: 2; }
  .primary-nav {
    display: none; position: absolute; left: 20px; right: 20px; top: calc(var(--header) - 4px);
    padding: 12px; border: 1px solid var(--line-strong); border-radius: 16px;
    background: #18181b; box-shadow: var(--shadow); flex-wrap: wrap; justify-content: flex-start;
  }
  .primary-nav.is-open { display: flex; }
  .search-open { justify-self: end; }
  .home-hero { grid-template-columns: 1fr .8fr; gap: 30px; }
  .info-index { grid-template-columns: 1fr; }
  .info-index__intro { position: static; }
  .footer-shell { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-summary { grid-column: span 3; max-width: 650px; }
}

@media (max-width: 900px) {
  .home-hero, .page-intro, .topic-band, .split-feature, .split-feature.reverse { grid-template-columns: 1fr; }
  .home-hero { margin-top: 24px; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { min-height: 360px; }
  .split-feature.reverse .split-media { order: 0; }
  .topic-band__media { min-height: 320px; }
  .intent-strip { grid-template-columns: 1fr; }
  .intent-item + .intent-item { border-left: 0; border-top: 1px solid var(--line); }
  .page-intro { gap: 28px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .media-note { grid-template-columns: 1fr; }
  .media-note img { max-height: 360px; }
}

@media (max-width: 700px) {
  :root { --header: 70px; }
  .header-shell { width: min(calc(100% - 28px), 1240px); grid-template-columns: 1fr auto auto; }
  .brand-mark { min-width: 0; }
  .brand-mark img { width: 40px; height: 40px; }
  .brand-mark__text small { display: none; }
  .menu-toggle { order: 0; }
  .search-open { padding: 8px 10px; font-size: .86rem; }
  .content-shell, .reading-shell, .breadcrumbs { width: min(calc(100% - 28px), var(--content)); }
  .home-hero, .topic-band { width: min(calc(100% - 28px), 1260px); }
  .intent-strip { width: min(calc(100% - 28px), 1120px); }
  h1 { font-size: clamp(2.15rem, 12vw, 3.6rem); }
  .editorial-section { padding: 64px 0; }
  .info-index { padding: 28px 22px; }
  .index-row { grid-template-columns: 1fr; gap: 6px; }
  .index-row a { margin-top: 4px; }
  .link-cluster { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 52px 1fr; }
  .footer-shell { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-summary { grid-column: span 2; }
  .footer-bottom { align-items: flex-start; }
  .search-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand-mark__text strong { font-size: .96rem; }
  .search-open { font-size: 0; width: 42px; height: 42px; position: relative; }
  .search-open::after { content: "搜"; font-size: .82rem; position: absolute; inset: 0; display: grid; place-items: center; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-media { min-height: 300px; }
  .topic-band__media { min-height: 260px; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-summary { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .search-modal { padding-top: 8vh; }
  .search-modal__dialog { padding: 28px 20px 22px; }
}
