:root {
  color-scheme: light;
  --brand: #a61e3a;
  --brand-dark: #751329;
  --brand-soft: #f8edf0;
  --ink: #1d2025;
  --muted: #666b73;
  --line: #e5dfd7;
  --surface: #ffffff;
  --surface-soft: #f7f4ef;
  --max-width: 1120px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--surface-soft);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(166, 30, 58, 0.08), transparent 31rem),
    var(--surface-soft);
  font-size: 16px;
  line-height: 1.75;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(229, 223, 215, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font: 800 22px/1 Georgia, serif;
}

.brand > span:last-child {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover { color: var(--brand); }

main {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.breadcrumbs {
  padding: 22px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  color: #aaa39a;
  content: "/";
}

.breadcrumbs a { text-decoration: none; }

.article-shell {
  margin-bottom: 56px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 22px 70px rgba(54, 42, 36, 0.08);
}

.article-hero {
  max-width: 820px;
  padding-bottom: 38px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 850px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.15;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
}

.direct-answer {
  margin: 24px 0 0;
  color: #3d424a;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-cta,
.secondary-cta {
  min-height: 46px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-cta {
  color: #fff;
  background: var(--brand);
}

.primary-cta:hover { background: var(--brand-dark); }

.secondary-cta {
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.fact-grid {
  margin: 0 0 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.fact-grid div {
  min-height: 112px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.fact-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.fact-grid div:nth-last-child(-n + 2) { border-bottom: 0; }

.fact-grid dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.fact-grid dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.content-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.content-section p,
.content-section li {
  color: #454a52;
}

.content-section p { margin: 12px 0 0; }

.content-section ul {
  margin: 18px 0 0;
  padding-left: 1.3em;
}

.content-section li + li { margin-top: 8px; }

.risk-note {
  max-width: 820px;
  margin: 34px auto 0;
  padding: 21px 23px;
  border: 1px solid rgba(166, 30, 58, 0.2);
  border-radius: 14px;
  background: var(--brand-soft);
}

.risk-note strong { color: var(--brand-dark); }
.risk-note p { margin: 5px 0 0; color: #5a3b43; }

.faq-section,
.related-section {
  margin-top: 60px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.faq-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.related-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  min-height: 154px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  text-decoration: none;
}

.related-card:hover {
  border-color: rgba(166, 30, 58, 0.42);
  transform: translateY(-2px);
}

.related-card strong { color: var(--brand-dark); }

.related-card span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-meta {
  margin-top: 48px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  min-height: 120px;
  padding: 30px max(24px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  background: #191b1f;
}

.site-footer > div {
  display: grid;
  color: #fff;
}

.site-footer > div span {
  color: #a9adb4;
  font-size: 12px;
}

.site-footer nav a { color: #c9ccd1; }

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav { gap: 10px 18px; }

  main { width: min(100% - 24px, var(--max-width)); }

  .article-shell {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .fact-grid,
  .related-grid { grid-template-columns: 1fr; }

  .fact-grid div,
  .fact-grid div:nth-child(odd),
  .fact-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-grid div:last-child { border-bottom: 0; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
