:root {
  --ink: #152033;
  --muted: #64748b;
  --paper: #ffffff;
  --wash: #f7f3ea;
  --line: #ded6c9;
  --teal: #0b6575;
  --green: #0f766e;
  --blue: #2563eb;
  --gold: #b7954b;
  --rose: #e11d48;
  --shadow: 0 20px 55px rgba(19, 34, 52, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Microsoft JhengHei", "PingFang HK", "Noto Sans HK", sans-serif;
  color: var(--ink);
  background: var(--wash);
}

a { color: inherit; }

.article-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(16, 34, 51, .95) 0%, rgba(16, 34, 51, .86) 380px, transparent 381px),
    #f7f3ea;
}

.top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
}

.mark {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #f1d58a;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-actions a, .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.34);
}

.home-link {
  color: white;
  background: rgba(255,255,255,.12);
}

.whatsapp-link, .cta-button {
  color: white;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .24);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 28px;
  color: white;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #dbeafe;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #f1d58a;
  text-decoration: none;
  font-weight: 900;
}

.eyebrow {
  color: #f1d58a;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 16px;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  color: #e6edf5;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-tags span {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(16, 34, 51, .5);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 22px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.article-panel, .side-panel, .related-panel {
  background: white;
  border: 1px solid #e0d8cb;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-panel {
  padding: clamp(22px, 4vw, 42px);
}

.article-panel h2 {
  margin: 34px 0 12px;
  color: var(--teal);
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.22;
  letter-spacing: 0;
}

.article-panel h3 {
  margin: 24px 0 8px;
  color: #102233;
  font-size: 19px;
  line-height: 1.35;
}

.article-panel p,
.article-panel li {
  color: #334155;
  font-size: 16px;
  line-height: 1.82;
}

.article-panel p { margin: 0 0 16px; }
.article-panel ul, .article-panel ol { padding-left: 22px; margin: 10px 0 18px; }

.article-panel li + li { margin-top: 6px; }

.note-box {
  margin: 24px 0;
  padding: 16px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #e8bf84;
  color: #704214;
  line-height: 1.7;
}

.note-box strong { color: #5b3510; }

.side-panel {
  position: sticky;
  top: 16px;
  padding: 18px;
}

.side-panel h2 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 21px;
}

.side-panel p {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.7;
  font-size: 14px;
}

.quick-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.quick-list span {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 8px;
  background: #f3f8f8;
  color: #184e56;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.quick-list i {
  color: var(--gold);
  margin-top: 2px;
}

.related-panel {
  margin-top: 16px;
  padding: 18px;
}

.related-panel h2 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 20px;
}

.related-link {
  display: block;
  text-decoration: none;
  padding: 11px 0;
  border-top: 1px solid #e7edf3;
  color: #102233;
  font-weight: 900;
  line-height: 1.45;
}

.related-link span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  margin-top: 3px;
}

.sources {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #e5ddd0;
}

.sources a {
  color: var(--teal);
  overflow-wrap: anywhere;
}

.bottom-cta {
  margin-top: 30px;
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #102233, #0b6575);
  color: white;
}

.bottom-cta p {
  color: #e6edf5;
}

.bottom-cta .cta-button {
  width: fit-content;
}

.case-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(183, 149, 75, .24), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(37, 99, 235, .18), transparent 26%),
    linear-gradient(180deg, rgba(16, 34, 51, .97) 0%, rgba(16, 34, 51, .92) 430px, transparent 431px),
    #f7f3ea;
}

.case-hero {
  padding-bottom: 46px;
}

.case-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 22px 58px;
}

.case-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 22px;
  align-items: end;
  padding: 8px 0 24px;
}

.case-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.14;
  color: #102233;
}

.case-intro p {
  margin: 0;
  max-width: 720px;
  color: #334155;
  font-size: 17px;
  line-height: 1.8;
}

.case-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-kpi-row span {
  min-height: 98px;
  padding: 14px;
  border-radius: 8px;
  background: #102233;
  color: #dbeafe;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.35;
  box-shadow: var(--shadow);
}

.case-kpi-row strong {
  color: #f1d58a;
  font-size: 25px;
  line-height: 1;
}

.warning-strip {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #e8bf84;
  color: #704214;
}

.warning-strip i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f1d58a;
  color: #5b3510;
}

.warning-strip p {
  margin: 0;
  line-height: 1.7;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.study-card {
  background: white;
  border: 1px solid #e0d8cb;
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 100%;
}

.study-card.featured {
  border-color: rgba(183, 149, 75, .75);
  background:
    linear-gradient(180deg, rgba(241, 213, 138, .16), transparent 34%),
    #ffffff;
}

.study-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.study-id,
.tu-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.study-id {
  background: #edf7f7;
  color: var(--teal);
}

.tu-badge {
  background: #102233;
  color: #f1d58a;
}

.tu-badge.warn {
  background: #fff1f2;
  color: var(--rose);
}

.study-card h2 {
  margin: 0;
  color: #102233;
  font-size: 20px;
  line-height: 1.34;
}

.pain,
.direction {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.figures div {
  padding: 10px;
  border-radius: 8px;
  background: #f6f8fb;
  border: 1px solid #e6ecf3;
}

.figures span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.figures strong {
  color: #102233;
  font-size: 18px;
  line-height: 1.1;
}

.relief {
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b6575, #0f766e);
  color: white;
  line-height: 1.45;
  font-weight: 800;
}

.relief strong {
  display: block;
  margin-top: 3px;
  font-size: 27px;
  color: #f1d58a;
}

.case-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid #e0d8cb;
  border-bottom: 1px solid #e0d8cb;
}

.case-process div {
  padding-right: 18px;
}

.case-process span {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 8px;
}

.case-process h2 {
  margin: 0 0 8px;
  color: #102233;
  font-size: 24px;
}

.case-process p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

.case-faq {
  margin: 22px 0;
}

.case-faq h2 {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: clamp(24px, 3vw, 34px);
}

.faq-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-split div {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 14px;
}

.faq-split h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #102233;
}

.faq-split p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

.case-bottom-cta {
  margin-bottom: 18px;
}

.case-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-cta {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.32);
}

.case-related {
  margin-top: 20px;
  padding: 18px 0 0;
  border-top: 1px solid #e0d8cb;
}

.case-related h2 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 22px;
}

.trust-link-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid #d8e1e8;
  background: #ffffff;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.trust-card {
  border: 1px solid #e0d8cb;
  border-radius: 8px;
  padding: 16px;
  background: #fffdf8;
}

.trust-card strong {
  display: block;
  color: #102233;
  font-size: 17px;
  margin-bottom: 7px;
}

.trust-card p {
  margin: 0;
}

.policy-note {
  border-left: 4px solid var(--gold);
  padding: 12px 0 12px 16px;
  margin: 18px 0;
  color: #475569;
  background: #fffdf8;
}

.policy-note strong {
  color: #102233;
}

.disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 34px;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 920px) {
  .layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .case-intro { grid-template-columns: 1fr; }
  .case-card-grid, .case-process, .faq-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .top {
    padding: 16px 14px;
    align-items: flex-start;
    gap: 12px;
  }

  .top-actions { flex-direction: column; align-items: stretch; }
  .top-actions a { width: 100%; font-size: 13px; }
  .hero, .layout, .disclaimer { padding-left: 14px; padding-right: 14px; }
  .hero { padding-top: 20px; }
  .article-panel { padding: 20px; }
  .case-layout { padding-left: 14px; padding-right: 14px; }
  .case-page .top { flex-direction: column; }
  .case-page .top-actions { width: 100%; }
  .case-page .hero-tags span { max-width: 100%; }
  .case-page .study-card h2,
  .case-page .case-intro h2,
  .case-page h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .case-page h1 { font-size: 31px; line-height: 1.14; }
  .case-page .lede,
  .case-page .case-intro p,
  .case-page .pain,
  .case-page .direction,
  .case-page .warning-strip p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .case-page .study-card { min-width: 0; }
  .case-kpi-row { grid-template-columns: 1fr; }
  .warning-strip { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .case-cta-row .cta-button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-link-row { padding-left: 14px; padding-right: 14px; }
}
