:root {
  --paper: #f4f1e8;
  --ink: #202422;
  --accent: #ba2c24;
  --line: #c8c8bd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #245c9b; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 750; line-height: 1.25; }
.brand img { width: 44px; flex: none; }
.brand small { display: block; font-size: 10px; letter-spacing: .16em; margin-top: 5px; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 14px; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 44px; padding-block: 68px; }
.hero-copy { min-width: 0; }
.hero-image { border: 1px solid var(--line); box-shadow: 12px 12px 0 #ded9cc; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 16px; overflow-wrap: anywhere; }
h1 { font-size: clamp(30px, 3.4vw, 49px); letter-spacing: -.035em; }
h2 { font-size: clamp(23px, 2.7vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.lead { font-size: 21px; font-weight: 600; }
.download { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; }
.download:hover { background: #94221c; }
.section { padding-block: 42px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.templates, .notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.template { background: #fffdf7; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.template > img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #e5e3d9; border-bottom: 1px solid var(--line); }
.template-body { padding: 22px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.template-body .meta { margin-top: auto; font-size: 13px; color: #505950; }
.notes article { border-top: 4px solid var(--accent); padding: 18px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; min-height: 44px; display: list-item; }
.faq details p { margin: 0 0 8px; }
.site-footer { background: var(--ink); color: var(--paper); font-size: 14px; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 40px; }
  .templates, .notes { grid-template-columns: 1fr; }
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
  .wrap { width: calc(100% - 36px); }
  .hero-image { box-shadow: 6px 6px 0 #ded9cc; }
  nav { gap: 18px; }
  .section { padding-block: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
