:root {
  --brand: #B93A32;
  --brand-dark: #8F2B26;
  --accent: #D98A3A;
  --accent-strong: #E05A3F;
  --ink: #252322;
  --text: #3B3836;
  --muted: #77716D;
  --paper: #FAF8F5;
  --soft: #F2EDE7;
  --line: #DDD4CC;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(75, 48, 38, .10);
  --shadow-soft: 0 8px 28px rgba(75, 48, 38, .08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px;
  background: var(--ink); color: var(--white); border-radius: 8px; transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(221, 212, 204, .9);
  background: rgba(250, 248, 245, .94); backdrop-filter: blur(14px);
}
.site-header__inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; }
.brand__text { display: grid; line-height: 1.25; }
.brand__text strong { color: var(--ink); font-size: 1.15rem; letter-spacing: .02em; }
.brand__text small { color: var(--muted); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--text); padding: 9px 12px; border-radius: 9px; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); color: var(--brand-dark); }
.menu-toggle { display: none; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; cursor: pointer; }

.eyebrow { display: inline-block; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
h1, h2, h3 { color: var(--ink); line-height: 1.28; letter-spacing: -.02em; margin-top: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 4.65rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
p { margin: 0 0 1em; }

.hero { padding-block: 64px 54px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; }
.hero__copy { min-width: 0; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #524C48; max-width: 760px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 12px; font-weight: 750; text-decoration: none; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--brand); color: var(--white); box-shadow: 0 10px 24px rgba(185, 58, 50, .2); }
.button--primary:hover { background: var(--brand-dark); }
.button--ghost { background: rgba(255,255,255,.7); border-color: var(--line); color: var(--ink); }
.button--ghost:hover { background: var(--white); box-shadow: var(--shadow-soft); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero__chips li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--muted); font-size: .87rem; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__media figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; background: rgba(37,35,34,.78); padding: 10px 12px; border-radius: 9px; font-size: .9rem; backdrop-filter: blur(8px); }

.signal-strip { border-block: 1px solid var(--line); background: var(--soft); }
.signal-strip__inner { min-height: 66px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.signal-strip__inner span { padding: 10px 18px; text-align: center; color: var(--muted); border-right: 1px solid var(--line); }
.signal-strip__inner span:last-child { border-right: 0; }
.signal-strip__inner strong { display: inline-block; margin-right: 6px; color: var(--brand-dark); }

.section-block { padding-block: 70px; }
.section-heading { margin-bottom: 28px; }
.section-heading--split { display: grid; grid-template-columns: 1fr .75fr; gap: 48px; align-items: end; }
.section-heading--split p { color: var(--muted); max-width: 620px; justify-self: end; }
.section-heading h2 { margin-bottom: 0; }
.section-tinted { background: var(--soft); border-block: 1px solid rgba(221,212,204,.75); }

.lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.lead-story { background: rgba(255,255,255,.64); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.lead-story:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.lead-story--featured { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.lead-story img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.lead-story__body { padding: 22px; }
.lead-story__body h3 { font-size: 1.22rem; }
.lead-story--featured h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
.lead-story h3 a, .story-card h3 a { text-decoration: none; }
.lead-story h3 a:hover, .story-card h3 a:hover { color: var(--brand); text-decoration: underline; }
.lead-story p, .story-card p { color: var(--muted); }
.tag { display: inline-flex; align-items: center; width: fit-content; min-height: 25px; padding: 3px 9px; border-radius: 999px; background: #F8E5D7; color: #8B431F; font-size: .75rem; font-weight: 800; letter-spacing: .03em; }
.text-link { color: var(--brand-dark); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.story-stream { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.story-card { padding: 24px; background: rgba(255,255,255,.45); border: 1px solid var(--line); border-top: 0; }
.story-card:nth-child(odd) { border-right: 0; }
.story-card--compact { background: transparent; padding: 22px 10px 22px 0; border-inline: 0; }
.story-card--compact:nth-child(odd) { padding-right: 26px; border-right: 1px solid var(--line); }
.story-card--compact:nth-child(even) { padding-left: 26px; }
.story-card__meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; color: var(--muted); font-size: .8rem; }
.section-cta { display: flex; justify-content: center; padding-top: 34px; }

.split-feature { display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; }
.split-feature__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-soft); }
.split-feature__content p { color: var(--muted); font-size: 1.02rem; }
.link-stack { display: grid; gap: 9px; margin-top: 28px; }
.link-stack a { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; background: rgba(255,255,255,.6); }
.link-stack a:hover { border-color: #C9B7AA; background: #fff; }
.link-stack strong { color: var(--ink); }
.link-stack span { color: var(--muted); font-size: .9rem; }

.utility-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.utility-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; min-height: 300px; }
.utility-card img { width: 100%; height: 100%; object-fit: cover; }
.utility-card > div { padding: 28px 28px 24px 4px; }
.utility-card p { color: var(--muted); }
.utility-card a { color: var(--brand); font-weight: 800; text-decoration: none; }
.utility-card a:hover { text-decoration: underline; }

.page-intro { padding-block: 54px 46px; }
.page-intro h1 { font-size: clamp(2.1rem, 4.6vw, 4rem); max-width: 980px; }
.page-intro > p, .page-intro > div > p { max-width: 820px; font-size: 1.08rem; color: var(--muted); }
.page-intro--media { display: grid; grid-template-columns: 1.05fr .75fr; gap: 54px; align-items: center; }
.page-intro--media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-soft); }
.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: .86rem; }
.breadcrumb a { color: var(--brand-dark); text-decoration: none; }
.breadcrumb__sep { color: #B9AFA8; }

.topic-layout { display: grid; grid-template-columns: 240px 1fr; gap: 42px; padding-bottom: 78px; align-items: start; }
.topic-nav { position: sticky; top: 106px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.62); padding: 18px; }
.topic-nav h2 { font-size: 1rem; margin-bottom: 12px; }
.topic-nav a { display: flex; justify-content: space-between; gap: 14px; padding: 10px 8px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .92rem; }
.topic-nav a span { color: var(--muted); }
.topic-nav a:hover { color: var(--brand); }
.topic-groups { min-width: 0; }
.topic-group { scroll-margin-top: 100px; padding-bottom: 56px; }
.topic-group + .topic-group { padding-top: 20px; border-top: 2px solid var(--ink); }
.topic-group__heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 16px; }
.topic-group__heading h2 { margin: 0; }
.topic-group__heading span { color: var(--muted); font-size: .88rem; }
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.topic-list .story-card { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.55); }

.article-shell { padding-top: 46px; }
.article-header { max-width: 900px; margin: 0 auto; padding: 20px 0 38px; }
.article-header h1 { font-size: clamp(2rem, 4.8vw, 4.2rem); margin-top: 16px; }
.article-deck { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; font-size: .9rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 52px; justify-content: center; padding-bottom: 80px; }
.article-content { font-size: 1.08rem; }
.article-content p { margin-bottom: 1.4em; }
.article-content h2 { margin-top: 2em; font-size: 1.65rem; }
.article-note { margin-top: 34px; padding: 22px 24px; border-left: 4px solid var(--accent-strong); border-radius: 0 12px 12px 0; background: var(--soft); }
.article-note strong { color: var(--ink); }
.article-note p { margin: 7px 0 0; }
.article-aside { padding-top: 4px; }
.aside-card { position: sticky; top: 100px; padding: 20px; border-radius: var(--radius-md); background: #2F2A27; color: #EDE5DE; }
.aside-card h2 { font-size: 1rem; color: #fff; }
.aside-card ul { margin: 12px 0 0; padding-left: 1.2em; }
.aside-card li + li { margin-top: 8px; }
.aside-link { display: block; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #F8E5D7; color: #7A351B; font-weight: 750; text-decoration: none; }
.related-section { margin-top: 20px; }

.fact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.fact-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; background: rgba(255,255,255,.65); }
.fact-card h2 { font-size: 1.25rem; }
.fact-card p { color: var(--muted); margin-bottom: 0; }

.steps { max-width: 900px; margin: 0 auto; display: grid; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 850; }
.step h2 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin-bottom: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-grid > div { background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; }
.check-grid strong { display: block; font-size: 1.18rem; color: var(--ink); margin-bottom: 12px; }
.check-grid ul { margin: 0; padding-left: 1.3em; }
.check-grid li + li { margin-top: 7px; }
.narrow-copy { max-width: 860px; }
.narrow-copy p { color: var(--muted); font-size: 1.05rem; }

.faq-list { max-width: 900px; }
.faq-list details { border-top: 1px solid var(--line); background: rgba(255,255,255,.36); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 18px; font-weight: 800; color: var(--ink); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 16px; font-size: 1.4rem; color: var(--brand); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 18px 22px; margin: 0; color: var(--muted); max-width: 760px; }

.about-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.about-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.55); }
.about-grid h2 { font-size: 1.32rem; }
.about-grid p { color: var(--muted); margin-bottom: 0; }

.not-found { min-height: 66vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 780px; }
.not-found__code { font-size: clamp(4rem, 12vw, 9rem); line-height: .9; font-weight: 900; color: #E5D9D0; }
.not-found h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-top: 20px; }
.not-found p { font-size: 1.08rem; color: var(--muted); max-width: 640px; }

.site-footer { background: #2B2826; color: #CFC4BC; padding-top: 48px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 34px; }
.site-footer__brand { color: #fff; font-size: 1.2rem; }
.site-footer p { max-width: 520px; margin-top: 10px; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 28px; align-content: start; justify-content: end; }
.footer-links a { color: #F0E8E3; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid #4A4440; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .86rem; }

:focus-visible { outline: 3px solid rgba(224,90,63,.55); outline-offset: 3px; border-radius: 5px; }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 32px, 920px); }
  .site-header__inner { min-height: 70px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 16px; right: 16px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; }
  .hero__media { max-width: 760px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 12px; }
  .section-heading--split p { justify-self: start; }
  .lead-grid { grid-template-columns: repeat(2,1fr); }
  .lead-story--featured { grid-column: 1/-1; }
  .utility-row { grid-template-columns: 1fr; }
  .topic-layout { grid-template-columns: 1fr; }
  .topic-nav { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 4px 14px; }
  .topic-nav h2 { grid-column: 1/-1; }
  .article-layout { grid-template-columns: minmax(0, 740px); }
  .article-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .aside-card { position: static; }
  .aside-link { margin-top: 0; align-self: start; }
  .page-intro--media { grid-template-columns: 1fr; gap: 28px; }
  .page-intro--media img { max-width: 720px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 24px, 680px); }
  body { line-height: 1.68; }
  .brand__text small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .hero { padding-block: 34px 38px; }
  h1 { font-size: clamp(2.05rem, 10vw, 3.25rem); }
  .hero__lead { font-size: 1rem; }
  .hero__media figcaption { position: static; border-radius: 0 0 12px 12px; background: #3A3430; }
  .hero__media img { border-radius: 16px 16px 0 0; }
  .signal-strip__inner { grid-template-columns: 1fr 1fr; }
  .signal-strip__inner span { border-bottom: 1px solid var(--line); }
  .signal-strip__inner span:nth-child(2) { border-right: 0; }
  .signal-strip__inner span:nth-child(3), .signal-strip__inner span:nth-child(4) { border-bottom: 0; }
  .section-block { padding-block: 48px; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-story--featured { display: block; }
  .lead-story img { min-height: auto; aspect-ratio: 16/10; }
  .story-stream { grid-template-columns: 1fr; }
  .story-card:nth-child(odd), .story-card--compact:nth-child(odd) { border-right: 0; }
  .story-card--compact { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .story-card--compact:nth-child(odd), .story-card--compact:nth-child(even) { padding-inline: 0; }
  .split-feature { grid-template-columns: 1fr; gap: 28px; }
  .link-stack a { grid-template-columns: 1fr; gap: 3px; }
  .utility-card { grid-template-columns: 1fr; }
  .utility-card img { aspect-ratio: 16/9; }
  .utility-card > div { padding: 22px; }
  .topic-nav { grid-template-columns: 1fr; }
  .topic-list { grid-template-columns: 1fr; }
  .topic-group__heading { align-items: flex-end; }
  .article-shell { padding-top: 30px; }
  .article-header { padding-bottom: 26px; }
  .article-layout { padding-bottom: 52px; }
  .article-content { font-size: 1rem; }
  .article-aside { grid-template-columns: 1fr; }
  .fact-grid, .check-grid, .about-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 46px 1fr; gap: 14px; }
  .page-intro { padding-block: 38px 30px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { justify-content: start; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 14px; }
}

@media (max-width: 460px) {
  .hero__actions .button { width: 100%; }
  .signal-strip__inner { grid-template-columns: 1fr; }
  .signal-strip__inner span { border-right: 0; border-bottom: 1px solid var(--line) !important; text-align: left; padding-left: 4px; }
  .signal-strip__inner span:last-child { border-bottom: 0 !important; }
  .footer-links { grid-template-columns: 1fr; }
  .article-meta { flex-direction: column; gap: 5px; }
}

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

@media print {
  .site-header, .site-footer, .hero__actions, .article-aside, .related-section, .topic-nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .shell { width: 100%; }
  a { text-decoration: none; }
  .article-layout { display: block; }
}
