:root {
  --ink: #26312a;
  --muted: #68756d;
  --paper: #fffaf1;
  --paper-strong: #f4eadb;
  --sage: #8aa17c;
  --sage-deep: #3f5c4a;
  --coral: #d96f52;
  --butter: #f2c66d;
  --line: #e4d7c7;
  --white: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
p, li { line-height: 1.8; }

.article-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  width: min(1120px, calc(100% - 40px)); margin: auto; padding: 16px 0;
  background: rgba(255, 250, 241, .9); backdrop-filter: blur(18px);
}
.article-brand { display: flex; align-items: center; gap: 11px; }
.article-brand img { border-radius: 8px; }
.article-brand strong, .article-brand small { display: block; line-height: 1.1; }
.article-brand small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.article-header nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 800; }
.article-header nav a[aria-current="page"] { color: var(--sage-deep); }

.article-shell { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 96px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 46px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover, .sources a:hover { text-decoration: underline; }
.article-hero { margin-bottom: 34px; }
.kicker, .section-label { margin: 0 0 12px; color: var(--coral); font-size: 13px; font-weight: 900; }
h1 { margin: 0 0 24px; font-size: clamp(38px, 6vw, 58px); line-height: 1.14; letter-spacing: -.025em; }
.intro { margin: 0; color: var(--muted); font-size: 20px; }
.review-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: var(--muted); font-size: 13px; }

.quick-answer { margin: 0 0 64px; padding: 26px 28px; border: 1px solid rgba(63, 92, 74, .2); border-left: 5px solid var(--sage-deep); border-radius: 8px; background: #f3f6ef; }
.quick-answer p { margin: 0 0 8px; color: var(--sage-deep); font-size: 13px; font-weight: 900; }
.quick-answer strong { font-size: 18px; line-height: 1.75; }

.article-shell section { margin-top: 64px; }
.article-shell h2, .hub-list h2 { margin: 0 0 18px; font-size: clamp(27px, 4vw, 36px); line-height: 1.25; }
.article-shell section > p:not(.section-label) { color: var(--muted); }
.check-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.check-list li::before { position: absolute; top: 16px; left: 17px; color: var(--sage-deep); font-weight: 900; content: "✓"; }

.step-list { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step-list li { position: relative; margin: 0; padding: 0 0 32px 72px; counter-increment: step; }
.step-list li::before { position: absolute; top: 0; left: 0; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--sage-deep); color: white; font-weight: 900; content: counter(step, decimal-leading-zero); }
.step-list li:not(:last-child)::after { position: absolute; top: 52px; bottom: 6px; left: 23px; width: 1px; background: var(--line); content: ""; }
.step-list span { display: block; padding-top: 6px; font-size: 20px; font-weight: 900; }
.step-list p { margin: 6px 0 0; color: var(--muted); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-section > div { padding: 26px; border-radius: 8px; }
.split-section h2 { font-size: 24px; }
.split-section ul { margin: 18px 0 0; padding-left: 20px; }
.avoid-card { background: var(--paper-strong); }
.alert-card { border: 1px solid #e5bcae; background: #fff5f0; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 20px 4px; cursor: pointer; font-size: 17px; font-weight: 900; }
.faq-list p { margin: -6px 0 22px; color: var(--muted); }
.sources { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.sources h2 { font-size: 24px; }
.sources ul { margin-bottom: 0; padding-left: 20px; color: var(--sage-deep); font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid a { display: flex; min-height: 210px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.related-grid small { color: var(--coral); font-weight: 900; }
.related-grid strong { margin: 14px 0; line-height: 1.55; }
.related-grid span { margin-top: auto; color: var(--sage-deep); font-size: 13px; font-weight: 900; }

.hub-shell { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 70px 0 100px; }
.hub-hero { max-width: 900px; padding: 46px 0 58px; }
.hub-hero h1 { font-size: clamp(46px, 7vw, 76px); }
.hub-hero > p:not(.kicker) { max-width: 720px; color: var(--muted); font-size: 20px; }
.hub-principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hub-principles span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--sage-deep); font-size: 14px; font-weight: 800; }
.hub-intro { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 90px; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.hub-intro div { padding: 24px; background: white; }
.hub-intro strong, .hub-intro span { display: block; }
.hub-intro strong { color: var(--sage-deep); font-size: 30px; }
.hub-intro span { margin-top: 4px; color: var(--muted); }
.hub-keywords { margin-bottom: 82px; }
.hub-keywords header { margin-bottom: 24px; }
.hub-keywords h2 { margin-bottom: 0; }
.hub-keywords > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hub-keywords a { display: flex; min-height: 144px; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.hub-keywords strong { color: var(--ink); font-size: 18px; line-height: 1.35; }
.hub-keywords span { margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.65; }
.hub-keywords a:hover { border-color: rgba(63, 92, 74, .38); color: var(--sage-deep); }
.hub-list > header { margin-bottom: 32px; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hub-card { display: flex; min-height: 310px; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.hub-card > p { margin: 0 0 16px; color: var(--coral); font-size: 13px; font-weight: 900; }
.hub-card h2 { font-size: 26px; }
.hub-card > span { color: var(--muted); line-height: 1.75; }
.hub-card .text-link { margin-top: auto; padding-top: 28px; color: var(--sage-deep); font-weight: 900; }
.editorial-note { margin-top: 64px; padding: 30px; border-left: 5px solid var(--butter); background: var(--paper-strong); }
.editorial-note strong { font-size: 22px; }
.editorial-note p { margin-bottom: 0; color: var(--muted); }

.article-footer { display: flex; justify-content: space-between; gap: 40px; padding: 44px max(20px, calc((100% - 1120px) / 2)); background: var(--sage-deep); color: white; }
.article-footer p { margin: 6px 0 0; color: rgba(255,255,255,.72); }
.footer-note { max-width: 500px; font-size: 13px; }

@media (max-width: 760px) {
  .article-header { width: min(100% - 28px, 1120px); }
  .article-header nav { gap: 14px; }
  .article-shell, .hub-shell { width: min(100% - 28px, 800px); }
  .article-shell { padding-top: 20px; }
  .breadcrumbs { margin-bottom: 30px; }
  h1 { font-size: 37px; }
  .intro { font-size: 18px; }
  .quick-answer { padding: 22px; }
  .split-section, .related-grid, .hub-grid, .hub-keywords > div { grid-template-columns: 1fr; }
  .hub-shell { padding-top: 20px; }
  .hub-hero { padding-top: 44px; }
  .hub-hero h1 { font-size: 43px; }
  .hub-intro { grid-template-columns: 1fr; }
  .hub-card { min-height: 270px; }
  .article-footer { flex-direction: column; gap: 16px; }
}
