:root {
  color-scheme: light dark;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #63706a;
  --line: #dfe5df;
  --accent: #176b55;
  --accent-soft: #e4f2ec;
  --max: 820px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper:#0e1412; --surface:#151d1a; --ink:#eef5f1; --muted:#a3b0aa; --line:#2c3833; --accent:#76d7b6; --accent-soft:#19372d; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; line-height: 1.8; }
a { color: var(--accent); }
.site-header { min-height: 74px; padding: 16px max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); }
.brand-mark { position: relative; display: block; width: 205px; height: 38px; overflow: hidden; flex: 0 0 auto; }
.brand-mark img { position: absolute; width: 264px; max-width: none; height: auto; left: -27px; top: -52px; mix-blend-mode: multiply; }
.site-header span { color: var(--muted); font-size: 13px; }
.article-shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.article-header { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.article-header h1, .home-hero h1 { margin: 0; line-height: 1.25; letter-spacing: -.025em; font-size: clamp(34px, 6vw, 58px); }
.article-header .summary, .home-hero > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.article-header time { display: block; margin-top: 20px; color: var(--muted); font-size: 13px; }
.article-body { padding-top: 28px; font-size: 18px; }
.article-body > h1:first-child { display: none; }
.article-body h2 { margin: 64px 0 18px; padding-top: 12px; font-size: 30px; line-height: 1.35; }
.article-body h3 { margin: 38px 0 12px; font-size: 22px; line-height: 1.45; }
.article-body p, .article-body li { overflow-wrap: anywhere; }
.article-body blockquote { margin: 30px 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid var(--line); }
.faq-section { margin-top: 72px; padding-top: 42px; border-top: 1px solid var(--line); }
.faq-section h2 { margin: 0 0 18px; font-size: 32px; }
.faq-section details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.faq-section details p { color: var(--muted); margin-bottom: 0; }
.site-footer { padding: 34px 24px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 13px; }
.site-footer p { margin: 6px 0; }
.footer-brand { display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.footer-brand strong { color: var(--ink); font-size: 16px; letter-spacing: .08em; }
.footer-brand span { letter-spacing: .04em; }
.home-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.home-hero { max-width: 830px; padding: 52px 0 80px; }
.article-list > header h2 { margin: 0 0 24px; font-size: 34px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.article-card { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.article-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.article-card time { color: var(--muted); font-size: 12px; }
.article-card h3 { margin: 8px 0; font-size: 23px; line-height: 1.45; }
.article-card p { color: var(--muted); }
.article-card span { color: var(--accent); font-weight: 800; }
.empty-state { color: var(--muted); }
.error-shell { width: min(640px, calc(100% - 40px)); margin: 16vh auto; text-align: center; }
.error-shell h1 { margin: 0; font-size: 48px; }
.home-link { display: inline-block; margin-top: 20px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--paper); text-decoration: none; font-weight: 800; }
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; }.article-shell { padding-top: 42px; }.article-body { font-size: 17px; }.article-body h2 { font-size: 26px; }.site-header span { display:none; } }
@media (prefers-color-scheme: dark) { .brand-mark img { filter: invert(1); mix-blend-mode: screen; } }
