:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: rgba(23, 32, 51, 0.12);
  --blue: #2563eb;
  --green: #0f9f6e;
  --gold: #b7791f;
  --rose: #e11d48;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a { color: inherit; }

.product-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.product-topbar-inner,
.product-hero,
.macro-main,
.report-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.product-topbar-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-name {
  font-weight: 800;
  font-size: 16px;
}

.product-tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.product-nav {
  display: flex;
  gap: 10px;
}

.product-nav a,
.primary-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.primary-link {
  border-color: #172033;
  background: #172033;
  color: #fff;
}

.product-hero {
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: end;
}

.product-kicker,
.report-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.product-hero h1,
.report-cover h1 {
  margin: 0;
  max-width: 790px;
  font-size: 42px;
  line-height: 1.14;
  letter-spacing: 0;
}

.product-hero p {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.product-stats {
  display: grid;
  gap: 10px;
}

.product-stats div,
.latest-panel,
.archive-panel,
.framework-grid article,
.event-grid article,
.scenario-grid article,
.report-card,
.report-section,
.report-notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-stats div {
  min-height: 78px;
  padding: 15px;
}

.product-stats span,
.latest-meta span,
.framework-grid span,
.report-meta span {
  display: inline-flex;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.macro-main {
  padding: 20px 0 76px;
  display: grid;
  gap: 18px;
}

.latest-panel,
.archive-panel {
  overflow: hidden;
}

.panel-heading {
  min-height: 84px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
  margin: 0;
  font-size: 22px;
}

.panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.latest-card {
  padding: 24px 20px;
}

.latest-meta,
.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.latest-meta span,
.report-meta span {
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

.latest-card h3 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.25;
}

.latest-card p,
.latest-card li,
.framework-grid p,
.report-section p,
.report-section li,
.report-card p,
.report-notice {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.latest-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

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

.framework-grid article {
  min-height: 190px;
  padding: 18px;
}

.framework-grid span {
  color: var(--green);
}

.framework-grid h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.archive-list {
  display: grid;
}

.archive-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.archive-item:hover {
  background: #f8fafc;
}

.archive-item span,
.archive-item em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.archive-item strong {
  font-size: 16px;
}

.report-page {
  min-height: 100vh;
  padding: 28px 0 72px;
}

.report-shell {
  display: grid;
  gap: 18px;
}

.report-cover {
  padding: 44px 32px;
  border-radius: 8px;
  color: #fff;
  background: #111827;
  box-shadow: var(--shadow);
}

.report-cover h1 {
  color: #fff;
}

.report-cover .report-kicker {
  color: #93c5fd;
}

.report-cover .report-meta {
  margin-top: 22px;
}

.report-notice,
.report-section {
  padding: 22px;
}

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

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

.event-grid article,
.scenario-grid article {
  min-height: 180px;
  padding: 20px;
}

.event-grid h3,
.scenario-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.event-grid p,
.scenario-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.event-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.scenario-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 12px;
  font-weight: 800;
}

.report-card {
  padding: 20px;
}

.report-card h3,
.report-section h2 {
  margin: 0 0 12px;
}

.report-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

.report-section th {
  color: #344054;
  background: #f8fafc;
}

@media (max-width: 980px) {
  .product-hero,
  .framework-grid,
  .event-grid,
  .scenario-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-hero h1,
  .report-cover h1 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .product-topbar-inner,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .product-hero h1,
  .report-cover h1 {
    font-size: 29px;
  }

  .report-cover {
    padding: 32px 22px;
  }
}
