:root {
  --ink: #112131;
  --muted: #5e6b75;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #d9ddd9;
  --line-strong: #b9c0bc;
  --red: #c7352d;
  --red-dark: #9d2822;
  --teal: #1b6666;
  --gold: #c69a4b;
  --navy: #0d2236;
  --shadow: 0 14px 40px rgba(17, 33, 49, .08);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input { font: inherit; }
img, svg { max-width: 100%; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 999;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--white); background: rgba(13, 34, 54, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; min-height: 72px; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--white); background: var(--red); border-radius: 11px;
  font-weight: 900; letter-spacing: -1px; box-shadow: 0 0 0 4px rgba(199,53,45,.18);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.brand-note { margin-top: 6px; color: #b9c7d2; font-size: 11px; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 9px 12px; border-radius: 9px; color: #dfe8ee; font-size: 14px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.09); }
.nav-search {
  border: 1px solid rgba(255,255,255,.2); background: transparent !important;
}
.menu-toggle { display: none; margin-left: auto; border: 0; color: white; background: transparent; padding: 8px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero {
  position: relative; overflow: hidden; color: var(--white); background: var(--navy);
  border-bottom: 5px solid var(--red);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(to right, black, transparent);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; min-height: 540px; padding-block: 78px; }
.eyebrow { margin: 0 0 18px; color: #f1c985; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(42px, 6vw, 74px); line-height: 1.12; letter-spacing: -.045em; }
.hero-lead { max-width: 650px; margin: 24px 0 32px; color: #ccd8df; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px;
  font-weight: 750; transition: .2s ease;
}
.button-primary { color: white; background: var(--red); }
.button-primary:hover { color: white; background: var(--red-dark); transform: translateY(-1px); }
.button-ghost { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.button-ghost:hover { color: white; background: rgba(255,255,255,.1); }
.hero-panel { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.055); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.hero-number { font: 900 128px/1 "Noto Serif SC", Georgia, serif; letter-spacing: -.09em; color: white; }
.hero-caption { color: #c7d4dc; font-size: 15px; }
.hero-rule { width: 74px; height: 4px; margin: 22px 0; background: var(--red); }
.data-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.15); border-radius: 12px; overflow: hidden; }
.data-strip div { padding: 14px; background: rgba(13,34,54,.78); }
.data-strip strong, .data-strip span { display: block; }
.data-strip strong { font-size: 18px; }
.data-strip span { margin-top: 3px; color: #9fb0bc; font-size: 11px; }
.search-band { position: relative; margin-top: -34px; z-index: 4; }
.search-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-input { width: 100%; min-height: 54px; padding: 0 18px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; outline: none; }
.search-input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(27,102,102,.12); }
.search-help { margin: 10px 4px 0; color: var(--muted); font-size: 13px; }
.section { padding: 78px 0; }
.section-compact { padding: 48px 0; }
.section-white { background: var(--white); }
.section-dark { color: white; background: var(--navy); }
.section-dark .section-intro { color: #bdd0db; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-kicker { margin: 0 0 7px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.section-title { margin: 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.section-intro { max-width: 680px; margin: 12px 0 0; color: var(--muted); }
.text-link { flex: none; color: var(--teal); font-weight: 750; }
.class-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab-button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; cursor: pointer; }
.tab-button.is-active { color: white; border-color: var(--teal); background: var(--teal); }
.class-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.class-card { min-height: 132px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; transition: .2s ease; }
.class-card:hover { color: var(--ink); border-color: var(--red); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(17,33,49,.08); }
.class-card[hidden] { display: none; }
.class-no { display: block; margin-bottom: 18px; color: var(--red); font: 800 24px/1 "Noto Serif SC", serif; }
.class-card strong { display: block; font-size: 15px; }
.class-card span { color: var(--muted); font-size: 12px; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry-card { display: flex; flex-direction: column; min-height: 238px; padding: 24px; border-radius: var(--radius); color: white; background: #153348; border: 1px solid rgba(255,255,255,.1); }
.industry-card:hover { color: white; border-color: rgba(241,201,133,.55); transform: translateY(-2px); }
.industry-card h3 { margin: 0 0 9px; font-size: 20px; }
.industry-card p { margin: 0; color: #bdd0db; font-size: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.badge { padding: 4px 9px; border-radius: 999px; color: var(--ink); background: #f0d59e; font-size: 12px; font-weight: 800; }
.card-arrow { margin-top: auto; color: #f0d59e; font-weight: 800; font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-top: 3px solid var(--red); background: white; box-shadow: var(--shadow); }
.feature-index { color: var(--red); font: 800 13px/1 serif; }
.feature h3 { margin: 14px 0 9px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.breadcrumbs { padding: 18px 0; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #98a0a4; }
.page-hero { padding: 52px 0 44px; color: white; background: var(--navy); border-bottom: 4px solid var(--red); }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.page-code { margin: 0 0 13px; color: #f0c981; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.page-hero h1 { max-width: 870px; margin: 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(34px, 5vw, 56px); line-height: 1.2; }
.page-lead { max-width: 780px; margin: 18px 0 0; color: #c5d2da; }
.number-seal { min-width: 130px; padding: 18px; text-align: center; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; }
.number-seal strong { display: block; font: 800 44px/1 serif; }
.number-seal span { color: #aebec8; font-size: 12px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 42px; align-items: start; padding: 54px 0 80px; }
.article { min-width: 0; }
.article-section { margin-bottom: 44px; }
.article h2 { margin: 0 0 18px; font: 800 28px/1.35 "Noto Serif SC", "Songti SC", serif; }
.article h3 { margin: 26px 0 10px; font-size: 18px; }
.article p { margin: 0 0 16px; }
.notice { padding: 18px 20px; border-left: 4px solid var(--gold); background: #fff8e9; color: #4b4438; }
.info-box { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.item-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.item-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.item-list code { flex: none; color: var(--teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.group-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.group-link { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.group-link:hover { color: var(--ink); border-color: var(--teal); }
.group-link strong { display: block; color: var(--teal); font-size: 13px; }
.group-link span { display: block; margin-top: 4px; font-size: 14px; }
.sidebar { position: sticky; top: 96px; }
.sidebar-card { margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.sidebar-card h2 { margin: 0 0 12px; font-size: 16px; }
.sidebar-card ul { margin: 0; padding: 0; list-style: none; }
.sidebar-card li { padding: 7px 0; border-bottom: 1px solid #eceeea; font-size: 13px; }
.sidebar-card li:last-child { border-bottom: 0; }
.check-list { margin: 0; padding: 0; list-style: none; counter-reset: checks; }
.check-list li { position: relative; margin: 0 0 12px; padding: 14px 16px 14px 50px; border: 1px solid var(--line); border-radius: 12px; background: white; counter-increment: checks; }
.check-list li::before { content: counter(checks); position: absolute; left: 15px; top: 13px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 12px; font-weight: 800; }
.source-list { padding-left: 20px; color: var(--muted); font-size: 14px; }
.source-list a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; }
.pagination a { flex: 1; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.pagination a:last-child { text-align: right; }
.search-page { min-height: 65vh; padding: 54px 0 90px; }
.search-shell { max-width: 850px; }
.search-results { margin-top: 24px; }
.result-card { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result-card h2 { margin: 0 0 5px; font-size: 19px; }
.result-card p { margin: 0; color: var(--muted); font-size: 14px; }
.result-type { display: inline-block; margin-bottom: 8px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.empty-state { padding: 34px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; color: var(--muted); }
.footer { color: #c6d1d9; background: #091a2a; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; padding: 56px 0 42px; }
.footer h2 { margin: 0 0 14px; color: white; font-size: 15px; }
.footer p { margin: 0; color: #91a4b1; font-size: 13px; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); color: #8296a3; font-size: 12px; }
.prose { max-width: 820px; }
.prose h2 { margin: 36px 0 14px; font: 800 26px/1.35 "Noto Serif SC", serif; }
.prose p, .prose li { color: #354553; }
.prose a { color: var(--teal); text-decoration: underline; }
@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 66px; padding: 14px; flex-direction: column; align-items: stretch; background: var(--navy); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { display: none; }
  .class-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 64px; padding: 0 14px; }
  .brand-note { display: none; }
  .hero-inner { padding: 58px 0 72px; }
  .hero h1 { font-size: 41px; }
  .hero-lead { font-size: 16px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .button { width: 100%; }
  .section { padding: 58px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .class-card { min-height: 116px; }
  .industry-grid, .feature-grid, .group-list, .item-list { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .number-seal { display: none; }
  .content-layout { padding-top: 36px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .pagination { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
