:root {
  --ink: #17211d;
  --muted: #667069;
  --paper: #f6f3ec;
  --white: #fffdf8;
  --red: #c72134;
  --green: #1d6149;
  --line: #dedbd2;
  --shadow: 0 16px 42px rgba(30, 39, 34, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Noto Sans TC", "PingFang TC", system-ui, sans-serif; line-height: 1.75; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--red); }
.skip-link { position: fixed; z-index: 10; top: -70px; left: 1rem; padding: .7rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(940px, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0; }
.brand-link { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-family: Georgia, "Noto Serif TC", serif; font-size: 1.08rem; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: white; background: var(--red); border-radius: 3px 12px 3px 3px; font-size: 1.35rem; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; padding: .45rem .75rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; }
main { width: min(820px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5.5rem) 0; }
.eyebrow { margin: 0 0 .45rem; color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
h1, h2 { font-family: Georgia, "Noto Serif TC", serif; line-height: 1.3; }
h1 { max-width: 14em; margin: 0; font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: .02em; }
.lead { max-width: 44rem; margin: 1.1rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.14rem); }
.content-card { margin-top: 2rem; padding: clamp(1.25rem, 4vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.content-card h2 { margin: 0 0 .65rem; font-size: 1.28rem; }
.content-card h2:not(:first-child) { margin-top: 2rem; }
.content-card p { margin: .6rem 0 0; }
.content-card ul, .content-card ol { margin: .65rem 0 0; padding-left: 1.4rem; }
.content-card li + li { margin-top: .45rem; }
.note { margin-top: 1rem; padding: .9rem 1rem; color: #315f4d; background: #edf6f0; border-left: 3px solid var(--green); border-radius: 5px; }
.contact-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 1rem; padding: .65rem 1rem; color: white; background: var(--red); border-radius: 8px; font-weight: 800; text-decoration: none; }
.updated { margin-top: 1.25rem; color: var(--muted); font-size: .82rem; }
.site-footer { color: var(--muted); background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { width: min(940px, calc(100% - 2rem)); margin: 0 auto; padding: 1.5rem 0 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.footer-links a { color: inherit; font-size: .82rem; }
.footer-note { margin: .8rem 0 0; font-size: .75rem; }

@media (max-width: 520px) {
  .header-inner { width: min(100% - 1.25rem, 940px); }
  main { width: min(100% - 1.25rem, 820px); padding-top: 2.2rem; }
  .brand-link { font-size: .98rem; }
  .back-link { padding-inline: .65rem; }
  .content-card { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
