:root {
  --red: #8f1f24;
  --red-dark: #651519;
  --gold: #a76b16;
  --ink: #2d2724;
  --muted: #6f6660;
  --paper: #fffdf9;
  --soft: #f8f1e8;
  --line: #e7d6c6;
  --white: #fff;
  --shadow: 0 12px 34px rgba(91, 42, 28, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  font-size: 17px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--red); text-underline-offset: .18em; overflow-wrap: anywhere; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem 1rem; }
.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--red-dark); text-decoration: none; min-width: 225px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--red); font-size: 24px; font-weight: 700; }
.brand strong { display: block; font-size: 19px; line-height: 1.25; }
.brand small { display: block; color: var(--muted); font: 12px/1.3 Arial, sans-serif; letter-spacing: .08em; margin-top: 3px; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); text-decoration: underline; }

.hero { padding: 78px 0 68px; background: linear-gradient(135deg, #fff9f3 0%, #f7e9dd 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font: 700 13px/1.4 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--red-dark); line-height: 1.32; }
h1 { margin: 0 0 18px; font-size: clamp(2.15rem, 5vw, 4.25rem); letter-spacing: -.025em; }
h2 { margin: 0 0 15px; font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { margin: 0 0 8px; font-size: 1.18rem; }
.lead { margin: 0; max-width: 760px; font-size: 1.16rem; color: #514641; }
.hero-card { padding: 28px; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.hero-card p:last-child { margin-bottom: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; }
.button:hover { color: #fff; background: var(--red-dark); }
.button.secondary { background: #fff; color: var(--red); border: 1px solid var(--red); }
.button.secondary:hover { background: var(--soft); color: var(--red-dark); }

.page-hero { padding: 54px 0 44px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.breadcrumb { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--muted); }
.meta { margin-top: 16px; color: var(--muted); font-size: .9rem; }

main section { padding: 64px 0; }
main section + section { border-top: 1px solid #f0e5db; }
.section-intro { max-width: 800px; color: var(--muted); margin: -5px 0 28px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 7px 24px rgba(91,42,28,.045); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--red); font-weight: 700; margin-bottom: 12px; }
.plain-list { padding-left: 1.2em; }
.plain-list li + li { margin-top: 8px; }
.notice { padding: 18px 22px; background: #fff8e9; border: 1px solid #e6c98f; border-radius: 12px; }
.notice strong { color: #754711; }
.quote { margin: 24px 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: var(--soft); }
.source-list li + li { margin-top: 12px; }
.source-list small { color: var(--muted); display: block; }
.tag { display: inline-block; margin: 2px 5px 2px 0; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .82rem; }
.en-summary { background: #f7f3ee; }
.en-summary p { max-width: 820px; font-family: Georgia, "Times New Roman", serif; }
.faq details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--red-dark); font-weight: 700; }
.faq details p { margin-bottom: 0; }
.cta { padding: 34px; color: #fff; background: var(--red-dark); border-radius: 18px; }
.cta h2, .cta a { color: #fff; }
.cta .button { background: #fff; color: var(--red-dark); }
.definition { display: grid; grid-template-columns: 170px 1fr; gap: 0 24px; margin: 0; }
.definition dt, .definition dd { padding: 13px 0; border-bottom: 1px solid var(--line); }
.definition dt { color: var(--red-dark); font-weight: 700; }
.definition dd { margin: 0; }

.site-footer { margin-top: 72px; padding: 42px 0 28px; background: #66161a; color: #f8eaea; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; }
.site-footer a { color: #fff0d6; }
.site-footer p { margin: 0 0 10px; }
.footer-note { color: #dec6c6; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 7px 18px; align-content: start; }
.copyright { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #dec6c6; font-size: .85rem; }

@media (max-width: 920px) {
  .site-header { position: static; }
  .header-row { display: block; padding: 14px 0; }
  .nav { justify-content: flex-start; margin-top: 13px; gap: 7px 15px; border-top: 1px solid var(--line); padding-top: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.72; }
  .wrap { width: min(100% - 24px, 1120px); }
  .brand { min-width: 0; }
  .brand strong { font-size: 17px; }
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 14px; }
  .nav a { display: block; padding: 6px 4px; text-align: center; border: 1px solid var(--line); border-radius: 8px; white-space: normal; }
  .hero { padding: 50px 0 44px; }
  .page-hero { padding: 36px 0 30px; }
  main section { padding: 46px 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .definition { grid-template-columns: 1fr; }
  .definition dt { padding-bottom: 0; border-bottom: 0; }
  .definition dd { padding-top: 4px; }
  .card { padding: 20px; }
  .cta { padding: 25px 21px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; text-align: center; }
}

@media (max-width: 380px) {
  .wrap { width: min(100% - 18px, 1120px); }
  .brand-mark { width: 40px; height: 40px; font-size: 21px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; letter-spacing: .04em; }
  .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 2rem; }
}

@media print {
  .site-header, .site-footer, .button-row { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
