:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1f2328;
  --muted: #667085;
  --line: #d9dee8;
  --gold: #b88421;
  --red: #9e2f3f;
  --green: #1f7a55;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.65;
}

body {
  margin: 0;
}

a {
  color: var(--red);
  text-decoration: none;
}

.page-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto !important;
  height: 30px !important;
  max-width: 108px !important;
  object-fit: contain;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.hero {
  max-width: 760px;
  padding-bottom: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 4.4rem);
}

h2 {
  font-size: clamp(1.35rem, 4vw, 2rem);
}

p {
  margin: 0;
  color: var(--muted);
}

.lede {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
}

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

article,
.plain-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.heading-row img {
  width: 28px;
  height: 28px;
}

.pixiu-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(158, 47, 63, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--red);
  font-weight: 800;
}

.plain-section {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}
