:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --sand: #e9e4dc;
  --ink: #242c30;
  --heading: #293236;
  --muted: #526064;
  --rust: #954732;
  --rust-dark: #783e33;
  --copper: #e2b585;
  --rule: #cec6bb;
  --shell: 1240px;
  --edge: clamp(20px, 4vw, 64px);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.65; }
:where(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
:where(h1, h2, h3) { color: var(--heading); line-height: 1.24; }
:where(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.85rem); font-weight: 720; letter-spacing: -.045em; }
a { color: inherit; text-underline-offset: .26em; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #a34a34; outline-offset: 4px; }
.shell { width: min(100% - var(--edge) * 2, var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 20; transform: translateY(-160%); padding: .6rem 1rem; background: var(--paper); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 10; top: 0; background: #faf8f3; border-bottom: 1px solid #ded7ce; }
.header-layout { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: clamp(14px, 2.2vw, 34px); }
.brand { display: inline-flex; gap: 11px; align-items: center; flex: none; line-height: 1.17; text-decoration: none; font-size: 1.18rem; font-weight: 750; white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
.brand small { display: block; margin-top: 4px; font-size: .73rem; font-weight: 700; letter-spacing: .13em; color: var(--muted); }
.site-nav, .header-actions { display: flex; align-items: center; }
.site-nav { justify-content: center; gap: clamp(14px, 2.3vw, 34px); }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 76px; font-size: .94rem; font-weight: 650; color: #475456; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav [aria-current="page"] { color: var(--rust-dark); }
.site-nav [aria-current="page"]::after { content: ""; height: 2px; position: absolute; background: var(--rust); bottom: 0; inset-inline: 0; }
.header-actions { flex: none; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .62rem 1.15rem; text-decoration: none; border: 1px solid transparent; font-size: .94rem; font-weight: 700; line-height: 1.3; }
.download-btn { background: var(--rust); color: #fff; }
.download-btn:hover { background: var(--rust-dark); }
.download-btn svg { width: 20px; height: 20px; flex: none; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--rule); padding: 9px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 3px auto; background: currentColor; }
.button-light { color: #fff; border-color: #e8dfd6a8; background: #1b20224d; }
.button-light:hover { background: #ffffffe0; color: var(--ink); }
.button-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.text-link { display: inline-block; color: var(--rust-dark); font-weight: 700; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.ridge-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(510px, 43.5vw, 690px); color: white; background: #343337; }
.ridge-image, .ridge-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.ridge-image { object-fit: cover; object-position: 64% center; }
.ridge-hero::after { content: ""; background: linear-gradient(90deg, #172024ed 0%, #1b2326ad 35%, #20232638 69%, #27232613 100%); }
.ridge-copy { padding-block: 70px; }
.ridge-label { display: flex; align-items: center; gap: 11px; color: #f0c69e; font-weight: 700; font-size: .95rem; letter-spacing: .12em; }
.ridge-label span { width: 27px; height: 2px; background: currentColor; }
.ridge-copy h1 { margin-top: 19px; color: white; font-size: clamp(3.2rem, 6.05vw, 6.4rem); line-height: 1.07; letter-spacing: -.07em; font-weight: 790; }
.ridge-copy h1 span { display: block; font-size: .57em; letter-spacing: -.05em; margin-top: .24em; }
.ridge-summary { max-width: 30rem; margin-block: 22px 31px; color: #fcf4ec; font-size: clamp(1rem, 1.48vw, 1.18rem); line-height: 1.8; }
.ridge-copy .button { min-height: 50px; }
.ridge-copy :focus-visible, .site-footer :focus-visible, .dark-band :focus-visible { outline-color: #ffcd99; }

.section-label { color: var(--rust-dark); font-weight: 700; letter-spacing: .12em; font-size: .83rem; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 18px 34px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-top h2, .split-copy h2, .paired-copy h2, .faq-layout h2, .news-lead h2 { margin-top: 8px; }
.section-top > p { max-width: 27rem; color: var(--muted); }
.path-strip { padding-block: clamp(36px, 5.2vw, 75px); background: #ece7de; }
.path-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; border-block: 1px solid #c5b8ab; }
.path-list li { position: relative; counter-increment: step; }
.path-list li + li { border-inline-start: 1px solid #c5b8ab; }
.path-list li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 16px; top: 13px; font-size: .72rem; color: var(--rust-dark); font-weight: 750; font-variant-numeric: tabular-nums; pointer-events: none; }
.path-list a { display: block; height: 100%; padding: 36px 16px 15px; text-decoration: none; }
.path-list a:hover { background: #f7f3ed; }
.path-list span, .path-list small { display: block; }
.path-list span { font-weight: 750; }
.path-list small { margin-top: 3px; color: #566263; font-size: .83rem; }

.sand-band { background: var(--sand); }
.dark-band { background: #272f33; color: #f4ede5; }
.dark-band h2 { color: #fbf8f2; }
.dark-band .text-link, .dark-band .section-label { color: var(--copper); }
.dark-band .split-copy p:not(.section-label) { color: #e0d9d2; }
.split-section { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(26px, 7vw, 100px); align-items: center; padding-block: clamp(50px, 7.3vw, 104px); }
.split-reverse { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
.split-reverse .image-figure { grid-column: 2; grid-row: 1; }
.split-reverse .split-copy { grid-column: 1; grid-row: 1; }
.image-figure { overflow: hidden; background: #d7cbc0; }
.image-figure img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.intro-panel .image-figure img { aspect-ratio: 1.41; }
.setup-editorial-tianlongjiasuqi-govcn .image-figure { border-bottom: 4px solid #a9533e; }
.split-copy p:not(.section-label), .paired-copy p:not(.section-label) { color: var(--muted); margin-top: 14px; line-height: 1.85; }
.split-copy .text-link, .paired-copy .text-link { margin: 19px 18px 0 0; }
.paired-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 5vw, 66px); padding-block: clamp(45px, 6.5vw, 94px); }
.paired-topics img { width: 100%; aspect-ratio: 1.92; object-fit: cover; }
.paired-copy { padding-top: 22px; }
.paired-copy h2 { font-size: clamp(1.4rem, 2.5vw, 2.05rem); }
.news-feature .split-section { padding-block: clamp(44px, 5vw, 73px); }
.news-feature .image-figure img { aspect-ratio: 2.12; }

.stories-section, .faq-layout { padding-block: clamp(48px, 6.5vw, 91px); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.7vw, 36px); }
.story-card { border-bottom: 1px solid var(--rule); min-width: 0; }
.story-image { display: block; overflow: hidden; background: #d7cbc0; }
.story-image img { width: 100%; aspect-ratio: 1.78; object-fit: cover; transition: transform .24s ease; }
.story-image:hover img { transform: scale(1.035); }
.story-copy { padding: 15px 0 21px; }
.story-copy h3 { margin-top: 5px; font-size: clamp(1.04rem, 2vw, 1.35rem); }
.story-copy h3 a { text-decoration: none; }
.story-copy h3 a:hover { color: var(--rust-dark); text-decoration: underline; }
.story-copy p { margin-top: 7px; color: var(--muted); font-size: .94rem; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .67fr) minmax(0, 1.33fr); gap: 25px 55px; }
.faq-list { border-top: 1px solid #c5b8ab; }
.faq-list details { border-bottom: 1px solid #c5b8ab; }
.faq-list summary { position: relative; cursor: pointer; font-weight: 700; padding: 17px 30px 17px 0; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 1.25rem; color: var(--rust-dark); }
.faq-list [open] summary::after { content: "−"; }
.faq-list details p { padding: 0 30px 17px 0; color: var(--muted); }

.breadcrumbs { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; padding: 25px 0; color: #596362; font-size: .86rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--rust-dark); }
.page-top { margin-bottom: clamp(35px, 6vw, 72px); }
.page-hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); border-block: 1px solid var(--rule); }
.page-hero .image-figure { position: relative; min-height: 340px; }
.page-hero .image-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-heading { align-self: center; padding: clamp(25px, 4.5vw, 62px) clamp(20px, 4.4vw, 61px) clamp(25px, 4.5vw, 62px) 0; }
.page-heading h1, .article-heading h1 { font-size: clamp(2rem, 4.65vw, 4.4rem); line-height: 1.15; font-weight: 780; letter-spacing: -.06em; }
.lead { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); }
.page-heading .button { margin-top: 26px; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .9fr); gap: clamp(25px, 6vw, 85px); padding-bottom: clamp(44px, 6.5vw, 92px); align-items: start; }
.reading-aside { background: #eae4db; }
.reading-aside img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.aside-copy { padding: 20px; }
.aside-copy h2 { font-size: 1.14rem; letter-spacing: -.025em; }
.aside-copy p { margin-top: 8px; color: var(--muted); }
.aside-copy a { display: inline-block; margin-top: 10px; color: var(--rust-dark); }
.prose { min-width: 0; color: #3a4749; line-height: 1.94; font-size: 1.025rem; }
.prose h2 { color: var(--heading); font-size: clamp(1.34rem, 2.55vw, 2rem); letter-spacing: -.035em; }
.prose h2:not(:first-child) { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p + p { margin-top: 1rem; }
.prose h2 + *, .prose h3 + *, .prose :is(pre, dl, ol) + p { margin-top: .9rem; }
.prose a { color: var(--rust-dark); text-decoration-thickness: 1px; font-weight: 650; }
.prose a:hover { text-decoration-thickness: 2px; }
.section-reading section + section { margin-top: 34px; padding-top: 27px; border-top: 1px solid var(--rule); }
.table-wrap { margin-block: 14px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .94rem; }
th, td { padding: 10px 12px; border: 1px solid var(--rule); vertical-align: top; }
thead { background: #e9e1d6; }
.procedure { padding-inline-start: 1.45rem; }
.procedure li + li { margin-top: .45rem; }
.news-lead { display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: clamp(24px, 6vw, 84px); padding-bottom: clamp(45px, 6vw, 80px); }
.news-lead img { aspect-ratio: 1.65; width: 100%; object-fit: cover; }

.article-shell { width: min(100% - var(--edge) * 2, 1020px); padding-bottom: clamp(48px, 6.5vw, 85px); }
.article-heading { max-width: 900px; margin: 12px auto 28px; }
.article-heading h1 { margin-top: .55rem; font-size: clamp(2rem, 4.25vw, 3.85rem); }
.article-cover { background: #d7cbc0; }
.article-cover img { width: 100%; aspect-ratio: 2.22; object-fit: cover; }
.article-photo-tianlongjiasuqi-govcn { border-bottom: 4px solid #a9533e; }
.article-prose { width: min(100%, 760px); margin: clamp(26px, 5vw, 56px) auto 0; }
.prose pre { max-width: 100%; overflow-x: auto; background: #242c30; color: #f9f0e5; padding: 13px 16px; font-size: .88rem; line-height: 1.6; }
.term-list { border-top: 1px solid var(--rule); }
.term-list div { display: grid; grid-template-columns: minmax(115px, .75fr) 2fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.term-list dt { color: var(--heading); font-weight: 700; }
.article-neighbors { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; padding-block: 16px; border-block: 1px solid var(--rule); }
.article-neighbors a { flex: 1 1 230px; padding: 12px 14px; background: #ebe5dc; text-decoration: none; font-weight: 700; }
.article-neighbors a:hover { background: #e1d7ca; }
.article-neighbors a span { display: block; color: var(--rust-dark); font-size: .83rem; }
.related { margin-top: 35px; }
.related h2 { margin-bottom: 17px; font-size: 1.55rem; }

.site-footer { color: #f6f0e8; background: #242c30; }
.footer-layout { display: flex; gap: 20px 50px; justify-content: space-between; align-items: start; padding-block: 36px 28px; }
.site-footer .brand small, .footer-layout p { color: #d7cabe; }
.footer-layout p { margin-top: 10px; font-size: .94rem; }
.footer-nav { display: flex; gap: 10px 20px; flex-wrap: wrap; padding-top: 9px; }
.footer-nav a, .footer-legal a, .friend-links a { text-decoration: none; }
.footer-nav a:hover, .footer-legal a:hover, .friend-links a:hover { color: #fff; text-decoration: underline; }
.friend-links { display: flex; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; border-top: 1px solid #ffffff36; padding-block: 16px; }
.friend-links span { color: #e2b585; font-weight: 700; }
.footer-legal { display: flex; justify-content: center; gap: 7px 18px; flex-wrap: wrap; padding-block: 18px 22px; border-top: 1px solid #ffffff36; color: #dfd6cd; text-align: center; font-size: .85rem; }

@media (max-width: 900px) {
  .header-layout { min-height: 66px; flex-wrap: wrap; gap: 0; }
  .header-actions { margin-left: auto; }
  .header-download { min-height: 42px; padding: .5rem .76rem; }
  .site-nav { width: 100%; order: 2; display: flex; justify-content: start; flex-wrap: wrap; gap: 0 20px; padding: 0 0 7px; }
  .site-nav a { min-height: 44px; }
  .has-js .menu-button { display: block; }
  .has-js .site-nav { display: none; }
  .has-js .site-nav[data-open] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: absolute; left: 0; right: 0; top: 100%; background: #faf8f3; padding: 7px var(--edge) 14px; border-bottom: 1px solid var(--rule); box-shadow: 0 10px 25px #242c3019; }
  .site-nav a { border-bottom: 1px solid #ddd6cc; }
  .home .hero-download { display: none; }
  .path-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-list li:nth-child(4) { border-inline-start: 0; }
  .path-list li:nth-child(n + 4) { border-top: 1px solid #c5b8ab; }
  .ridge-hero { min-height: 490px; }
  .ridge-copy h1 { font-size: clamp(3rem, 8.5vw, 5rem); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 84px; }
  .brand { gap: 8px; font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }
  .brand small { font-size: .68rem; }
  .header-actions { gap: 7px; }
  .header-download svg { width: 17px; height: 17px; }
  .menu-button { width: 40px; }
  .ridge-hero { min-height: 470px; align-items: end; }
  .ridge-image { object-position: 65% center; }
  .ridge-hero::after { background: linear-gradient(0deg, #182024f5 0%, #1d2426cc 37%, #24282b39 82%); }
  .ridge-copy { padding-block: 47px; }
  .ridge-copy h1 { margin-top: 15px; font-size: clamp(2.84rem, 11vw, 4rem); }
  .ridge-copy h1 span { font-size: .58em; }
  .ridge-summary { margin-block: 16px 23px; }
  .section-top { display: block; }
  .section-top > p, .section-top > a { margin-top: 9px; }
  .path-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-list li:nth-child(n) { border-inline-start: 0; }
  .path-list li:nth-child(even) { border-inline-start: 1px solid #c5b8ab; }
  .path-list li:nth-child(n + 3) { border-top: 1px solid #c5b8ab; }
  .split-section, .split-reverse, .paired-topics, .faq-layout, .reading-layout, .page-hero, .news-lead { grid-template-columns: minmax(0, 1fr); }
  .split-reverse .image-figure, .split-reverse .split-copy { grid-area: auto; }
  .split-copy .text-link { margin-top: 12px; }
  .paired-topics { gap: 35px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 14px; }
  .story-copy p { font-size: .91rem; }
  .story-image img { aspect-ratio: 1.38; }
  .page-hero .image-figure { min-height: 0; }
  .page-hero .image-figure img { position: static; height: auto; aspect-ratio: 1.64; }
  .breadcrumbs { padding-block: 18px; }
  .reading-layout { gap: 30px; }
  .article-cover img { aspect-ratio: 1.55; }
  .footer-layout { display: block; padding-block: 27px 19px; }
  .footer-nav { margin-top: 9px; }
  .footer-legal span { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .story-image img { transition: none; }
}
