:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e1ec;
  --teal: #087a71;
  --blue: #2563eb;
  --red: #b42318;
  --amber: #b76300;
  --shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: #334155;
  font-weight: 800;
}

.main-nav a:hover {
  background: #eaf4f3;
  color: var(--teal);
}

.hero-section,
.subscribe-band,
.content-panel,
.article-card,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
}

.hero-section h1,
.page-heading h1,
.article-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-section p,
.page-heading p,
.article-hero p,
.subscribe-band p,
.content-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-link,
.secondary-link,
.subscribe-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.primary-link,
.subscribe-form button {
  color: #fff;
  background: var(--teal);
}

.secondary-link {
  color: var(--teal);
  background: #fff;
}

.hero-panel {
  padding: 22px;
}

.hero-panel h2 {
  margin-top: 0;
}

.hero-panel li {
  margin: 10px 0;
  color: #344054;
  font-weight: 700;
}

.section-block {
  margin-top: 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading h2,
.subscribe-band h2,
.article-cta h2 {
  margin: 0;
  font-size: 28px;
}

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

.topic-grid a {
  min-height: 98px;
  display: grid;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font-size: 18px;
  font-weight: 900;
}

.article-card {
  min-height: 220px;
  padding: 20px;
}

.article-card a {
  display: grid;
  gap: 10px;
  height: 100%;
}

.article-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.tag-row a {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--teal);
  background: #e8f7f5;
  font-size: 12px;
  font-weight: 900;
}

.subscribe-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: center;
  margin: 28px 0;
  padding: 24px;
}

.subscribe-form {
  display: grid;
  gap: 10px;
}

.subscribe-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 800;
}

.subscribe-form input {
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.page-heading {
  padding: 34px 0 20px;
}

.narrow {
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.content-panel {
  padding: 26px;
}

.article-page {
  width: min(920px, 100%);
  margin: 0 auto;
}

.article-hero {
  padding: 38px 0 26px;
}

.article-content {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-content :where(p, li) {
  color: #2f3a4c;
  font-size: 18px;
  line-height: 1.9;
}

.article-content :where(h2, h3) {
  margin-top: 1.8em;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  margin: 24px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.finance-disclaimer {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #ffd6a6;
  border-radius: 8px;
  background: #fff7ed;
  color: #723b13;
}

.finance-disclaimer p {
  margin-bottom: 0;
}

.legal-copy p {
  color: #344054;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header,
  .site-footer,
  .hero-section,
  .subscribe-band,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .topic-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .article-content {
    padding: 20px;
  }
}
