:root {
  --ink: #191613;
  --ink-soft: #29231d;
  --paper: #f2ecdf;
  --paper-deep: #e5d9c6;
  --text: #e8e0d2;
  --muted: #bfb3a0;
  --gold: #f5d76e;
  --gold-deep: #b09b72;
  --line: rgba(232, 224, 210, .18);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: "Songti SC", "Noto Serif CJK SC", serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(25, 22, 19, .97); }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Songti SC", serif; font-size: 20px; letter-spacing: .1em; font-weight: 600; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--gold); font-size: 18px; letter-spacing: 0; }
.nav { display: flex; gap: 24px; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; }
.hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 72px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-deep); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(42px, 6.5vw, 82px); line-height: 1.08; font-weight: 600; letter-spacing: .02em; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 52px); line-height: 1.18; font-weight: 600; letter-spacing: .01em; }
h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 2; }
.microcopy { max-width: 580px; margin: 16px 0 0; color: #867a69; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--gold); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; font-weight: 700; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { color: var(--ink); background: var(--gold); transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--gold); }
.button-secondary { color: var(--text); border-color: var(--line); background: transparent; }
.hero-panel { min-height: 390px; padding: 22px; border: 1px solid var(--line); background: var(--ink-soft); }
.panel-label { color: #8f806c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .08em; }
.document-stack { position: relative; min-height: 310px; margin-top: 32px; }
.document-card { position: absolute; width: 78%; min-height: 190px; padding: 24px; border: 1px solid rgba(25, 22, 19, .25); color: var(--ink); background: var(--paper); box-shadow: 16px 16px 0 rgba(0, 0, 0, .18); }
.document-back { top: 20px; left: 5%; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; transform: rotate(-6deg); color: #665945; background: var(--paper-deep); }
.document-back span { font-size: 24px; }
.document-back i { font-size: 13px; font-style: normal; }
.document-front { right: 2%; bottom: 0; min-height: 220px; transform: rotate(3deg); }
.document-kicker { display: block; margin-bottom: 20px; color: #8b6c23; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.document-front strong { display: block; font-size: 23px; line-height: 1.35; }
.document-front p { margin: 13px 0 22px; color: #665945; font-size: 13px; }
.confidence-line { display: flex; gap: 5px; height: 8px; }
.confidence-line span { flex: 1; background: #3d8a68; }
.confidence-line .uncertain { background: var(--gold); }
.document-front small { display: block; margin-top: 9px; color: #8a7551; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 10px; }
.section { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.section-intro { max-width: 800px; }
.section-intro p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.95; }
.section-intro.narrow { max-width: 640px; }
.split-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; max-width: none; }
.split-intro > p { margin-bottom: 18px; }
.plain-grid { display: grid; gap: 20px; margin-top: 48px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.plain-item { min-height: 210px; padding: 24px 0; border-top: 1px solid var(--line); }
.item-number { display: block; margin-bottom: 28px; color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.plain-item p { max-width: 300px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.section-contrast { color: var(--ink); background: var(--paper); border-top-color: transparent; }
.section-contrast .eyebrow { color: #8b6c23; }
.section-contrast .section-intro p:not(.eyebrow) { color: #665945; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 46px 0 0; padding: 0; list-style: none; }
.process-list li { min-height: 215px; padding: 22px; border: 1px solid rgba(25, 22, 19, .2); }
.process-list li > span { display: grid; width: 30px; height: 30px; margin-bottom: 28px; place-items: center; color: var(--paper); background: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.process-list p { margin: 0; color: #665945; font-size: 14px; line-height: 1.8; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.guide-link { display: flex; min-height: 220px; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.guide-link span { color: var(--gold-deep); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.guide-link strong { margin: 20px 0 8px; font-size: 19px; line-height: 1.45; font-weight: 600; }
.guide-link small { color: var(--muted); font-size: 13px; line-height: 1.7; }
.closing-band { color: var(--ink); background: var(--gold); }
.closing-inner { display: flex; min-height: 270px; align-items: center; justify-content: space-between; gap: 40px; }
.closing-band .eyebrow { color: #6f5917; }
.closing-band h2 { max-width: 720px; margin-bottom: 10px; }
.closing-band p:not(.eyebrow) { max-width: 650px; margin-bottom: 0; color: #6b581d; }
.closing-band .button-primary { border-color: var(--ink); background: var(--ink); color: var(--gold); }
.site-footer { border-top: 1px solid var(--line); color: #8f806c; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12px; }
.footer-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner nav { display: flex; gap: 18px; }
.article-page { max-width: 900px; padding-top: 82px; padding-bottom: 90px; }
.article-head { max-width: 780px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.article-head h1 { max-width: 800px; margin-bottom: 18px; font-size: clamp(38px, 5.5vw, 64px); }
.article-lead { color: var(--muted); font-size: 18px; line-height: 2; }
.breadcrumb { margin-bottom: 28px; color: #8f806c; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12px; }
.breadcrumb a { color: var(--gold-deep); }
.article-body { max-width: 780px; padding-top: 42px; }
.article-body h2 { margin-top: 52px; font-size: 32px; }
.article-body h3 { margin-top: 34px; font-size: 21px; }
.article-body p, .article-body li { color: var(--muted); font-size: 16px; line-height: 2; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin: 9px 0; }
.answer-block { margin: 24px 0; padding: 22px 24px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .04); }
.answer-block p { margin-bottom: 0; }
.article-note { margin-top: 34px; padding: 18px 20px; color: #6b581d; background: var(--gold); }
.article-note p { margin: 0; color: inherit; font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; color: var(--text); font-size: 19px; font-weight: 600; }
.faq-list p { max-width: 740px; margin: 14px 0 0; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 42px; }
.related-links a { display: block; padding: 18px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.related-links strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 17px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 62px; padding-bottom: 68px; }
  .hero-panel { max-width: 620px; }
  .three-col, .process-list, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .split-intro { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 580px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .topbar { min-height: 62px; }
  .nav { display: none; }
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .hero-panel { min-height: 330px; padding: 16px; }
  .document-stack { min-height: 270px; }
  .document-card { width: 86%; min-height: 170px; padding: 18px; }
  .document-front strong { font-size: 19px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .three-col, .process-list, .guide-grid { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; }
  .closing-inner, .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 46px; padding-bottom: 46px; }
  .footer-inner nav { flex-wrap: wrap; }
  .article-page { padding-top: 56px; padding-bottom: 64px; }
  .article-lead { font-size: 16px; }
  .article-body h2 { font-size: 28px; }
  .related-links { grid-template-columns: 1fr; }
}
