:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #637083;
  --line: #d9e0e8;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --blue: #2357a6;
  --teal: #0c7c7a;
  --green: #1c7c46;
  --amber: #946200;
  --red: #a13a3a;
  --soft-blue: #e8f0fb;
  --soft-teal: #e5f5f3;
  --shadow: 0 14px 34px rgba(20, 38, 61, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.55;
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 4px;
  font-size: 24px;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 4px;
  font-size: 16px;
  letter-spacing: 0;
}

.lead {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.decision-card,
.metric,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.decision-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.decision-card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.decision-card p,
.metric p,
.section-head p,
.roadmap p,
footer p {
  color: var(--muted);
}

.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status.good {
  background: #e7f6ec;
  color: var(--green);
}

.status.warn {
  background: #fff3d8;
  color: var(--amber);
}

.status.bad {
  background: #fbe7e7;
  color: var(--red);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.metric {
  padding: 18px;
}

.metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.2;
}

.metric p {
  margin-bottom: 0;
  font-size: 14px;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 14px;
}

.decision-list {
  display: grid;
  gap: 12px;
}

.decision-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(90deg, var(--soft-blue), #fff 42%);
}

.decision-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.rank {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.rank.muted {
  background: #8a96a6;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf2f8;
  color: #31445a;
  font-size: 12px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.best {
  color: var(--green);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.bars {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.bar-row span {
  color: #405064;
  font-weight: 700;
}

.bar-row b {
  display: block;
  width: var(--w);
  min-width: 92px;
  border-radius: 6px;
  background: #dfe8f4;
  padding: 7px 10px;
  color: #23374d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.bar-row.highlight b {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  color: #fff;
}

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.facts {
  display: grid;
  gap: 9px;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.facts div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

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

.roadmap article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--soft-teal);
}

.roadmap p {
  margin-bottom: 0;
  font-size: 14px;
}

footer {
  padding: 24px 0 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .summary-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .hero {
    padding-top: 14px;
  }

  .panel,
  .decision-card,
  .metric {
    padding: 16px;
  }

  .decision-list article {
    grid-template-columns: 1fr;
  }

  .bar-row,
  .facts div {
    grid-template-columns: 1fr;
  }

  .bar-row b {
    width: 100%;
  }
}
