:root {
  color-scheme: light;
  --content-max: 1180px;
  --ink: #2c3e50;
  --muted: #7f8c8d;
  --line: #e8ecf1;
  --paper: #f5f7fa;
  --panel: #ffffff;
  --teal: #2a9d8f;
  --green: #21867a;
  --mint-soft: #eef6f5;
  --card-bg: #ffffff;
  --blue: #2a9d8f;
  --rose: #e74c3c;
  --amber: #f39c12;
  --violet: #9b59b6;
  --surface-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  --card-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  --bg-base: #f5f7fa;
  --bg-surface: #ffffff;
  --bg-elevated: #eef2f7;
  --border-subtle: #e8ecf1;
  --border-default: #d5dce4;
  --accent: #2a9d8f;
  --accent-hover: #21867a;
  --accent-muted: rgba(42, 157, 143, 0.08);
  --mint: #2a9d8f;
  --mint-muted: rgba(42, 157, 143, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

button,
input,
select {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid #2a9d8f;
  background: #2c3e50;
  padding: 0 max(24px, calc((100vw - var(--content-max)) / 2));
}

.nav-brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0;
  padding: 12px 0;
  margin-right: 24px;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-brand span {
  font-size: 16px;
  line-height: 1;
}

.site-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-start;
  align-items: center;
}

.site-nav nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.site-nav nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav nav a[aria-current="page"] {
  font-weight: 600;
}

.site-nav nav a.nav-color-blue[aria-current="page"] {
  color: #2563eb;
}

.site-nav nav a.nav-color-orange[aria-current="page"] {
  color: #F59E0B;
}

.site-nav nav a.nav-color-green[aria-current="page"] {
  color: #0F766E;
}

.site-nav nav a.nav-color-help[aria-current="page"] {
  color: #0891B2;
}

.shell {
  width: min(var(--content-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 56px;
}

.masthead {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.product-hero {
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.03), transparent 60%);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 1;
  pointer-events: none;
}

.masthead-copy {
  position: relative;
  z-index: 2;
}

.masthead-copy h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--accent);
}

.brand-line {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.brand-line img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head .eyebrow,
.panel-head .eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
}

.inspiration-page .section-head .eyebrow,
.inspiration-page .panel-head .eyebrow {
  color: #F59E0B;
}

.help-page .section-head .eyebrow,
.help-page .panel-head .eyebrow {
  color: #0891B2;
}

/* 事件页蓝色主题 */
.events-page .topic-chip.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.events-page .topic-chip:hover:not(.active) {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.04);
}

.events-page #reset-button {
  background: #2563eb;
  color: #fff;
}

.events-page #reset-button:hover {
  background: #1d4ed8;
}

.events-page .panel-head .eyebrow {
  color: #2563eb;
}

.events-page .index-line {
  stroke: #2563eb;
}

.events-page .map-marker circle {
  fill: #2563eb;
  stroke: #1d4ed8;
}

.events-page .compact-rank-data span {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.events-page .event-interpretation section h4 {
  color: #2563eb;
}

.events-page .source-link {
  color: #2563eb;
}

.events-page .source-link:hover {
  color: #1d4ed8;
}

.events-page .pill.category {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.events-page .timeline-marker {
  background: #2563eb;
  border-color: #1d4ed8;
}

.events-page .timeline-item:hover {
  background: rgba(37, 99, 235, 0.04);
}

.lede {
  max-width: 580px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.hero-actions a,
.docs-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff;
  color: var(--accent);
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hero-actions a:hover,
.docs-link:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px);
}

.hero-actions a + a {
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.hero-actions a + a:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

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

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
  margin-top: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.home-hero-simple {
  grid-template-columns: 1fr;
}

/* 公告条 */
.home-announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--mint);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.home-announce-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-hero-copy,
.home-focus-card,
.home-section {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--surface-shadow);
}

.home-hero-copy {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  padding: 60px 50px;
  background: #1a1a2e;
  border: none;
  border-radius: 0;
  color: #fff;
}

.home-hero-simple .home-hero-copy {
  min-height: 340px;
  padding: 60px 50px;
}

.home-hero-simple .home-hero-copy h1 {
  max-width: 860px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-title-accent {
  color: var(--mint);
}

.home-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(42, 157, 143, 0.15), transparent),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(42, 157, 143, 0.08), transparent);
  pointer-events: none;
}

.home-hero-copy > * {
  position: relative;
  z-index: 1;
}

.home-hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

.home-hero-copy > p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.7;
}

.home-hero-cta {
  margin-top: 32px;
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--mint);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, transform 0.15s;
}

.home-hero-btn:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.home-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.home-focus-card {
  display: grid;
  align-content: center;
  gap: 14px;
  border-color: var(--border-default);
  background: #ffffff;
  padding: 24px;
}

.home-focus-card span,
.home-goal-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--accent);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.home-focus-card strong {
  font-size: 30px;
  line-height: 1.2;
}

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

.home-focus-card a {
  min-height: 40px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 0 14px;
  text-decoration: none;
}

.home-section {
  padding: 24px;
}

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

.home-module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-goal-card {
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 20px;
  text-decoration: none;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.home-goal-card.card-blue {
  border-left-color: #2563eb;
}
.home-goal-card.card-blue span {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}
.home-goal-card.card-blue:hover {
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.10);
}

.home-goal-card.card-orange {
  border-left-color: #F59E0B;
}
.home-goal-card.card-orange span {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.08);
}
.home-goal-card.card-orange:hover {
  border-color: rgba(245, 158, 11, 0.36);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.10);
}

.home-goal-card.card-green {
  border-left-color: #0F766E;
}
.home-goal-card.card-green span {
  color: #0F766E;
  background: rgba(15, 118, 110, 0.08);
}
.home-goal-card.card-green:hover {
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.10);
}

.home-opportunity-list a:hover {
  border-left-color: var(--accent);
  border-color: rgba(42, 157, 143, 0.36);
  background: #fff;
  box-shadow: 0 16px 36px rgba(42, 157, 143, 0.10);
}

.home-goal-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.home-goal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.home-opportunity-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.home-opportunity-list a {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 18px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-opportunity-list strong {
  font-size: 18px;
}

.home-opportunity-list span {
  color: var(--muted);
  line-height: 1.65;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.home-step-grid article {
  min-height: 160px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: var(--card-shadow);
}

.home-step-grid span {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.home-step-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

.home-step-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ========== 首页预览模块通用 ========== */
.home-preview-section {
  padding: 28px 24px;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.section-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section-more-link {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.section-more-link:hover {
  color: var(--accent-hover);
}

/* 第三屏：最新事件列表 */
.home-preview-list {
  display: grid;
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.home-event-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}

.home-event-item:last-child {
  border-bottom: none;
}

.home-event-item:hover {
  background: var(--mint-muted);
}

.home-event-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.home-event-body {
  min-width: 0;
}

.home-event-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-muted);
  border-radius: 3px;
  padding: 2px 6px;
  margin-bottom: 4px;
}

.home-event-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.home-event-body p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-event-actor {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* 第四屏：灵感卡片网格 */
.home-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.home-insp-column {
  display: grid;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.home-insp-col-title {
  display: block;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint);
  background: var(--mint-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.home-insp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}

.home-insp-row:last-child {
  border-bottom: none;
}

.home-insp-row:hover {
  background: var(--mint-muted);
}

.home-insp-rank {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  min-width: 28px;
}

.home-insp-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

/* 第五屏：业务方向卡片 */
.home-business-item {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.home-business-item:hover {
  box-shadow: 0 16px 36px rgba(42, 157, 143, 0.10);
  border-left-color: var(--accent);
}

.home-business-item h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.home-business-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.home-biz-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-elevated);
  border-radius: 999px;
  padding: 2px 8px;
}
.home-biz-type {
  display: inline-flex;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-muted);
  border-radius: 999px;
  padding: 2px 8px;
}

/* 响应式 */
@media (max-width: 768px) {
  .home-preview-grid {
    grid-template-columns: 1fr;
  }
  .home-event-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .home-event-actor {
    display: none;
  }
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* 灵感栏保持两列 */
}

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

.platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.platform-hero-main,
.platform-status,
.platform-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.platform-hero-main {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 48px;
}

.platform-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.03), transparent 60%);
  pointer-events: none;
}

.platform-hero-main > * {
  position: relative;
  z-index: 1;
}

.platform-hero-main h1 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.platform-hero-main > p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.platform-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.platform-status {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--card-bg);
}

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

.status-head span,
.platform-status p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.status-head strong {
  color: var(--ink);
  font-size: 22px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.status-grid div {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: #fff;
  padding: 16px;
}

.status-grid strong {
  font-size: 34px;
  line-height: 1;
}

.status-grid span {
  color: var(--muted);
  font-size: 13px;
}

.platform-section {
  padding: 24px;
  background: var(--card-bg);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.module-card {
  min-height: 320px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 22px;
  text-decoration: none;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.module-card:hover {
  border-color: var(--accent);
  box-shadow: var(--surface-shadow);
}

.module-card.primary {
  border-color: rgba(42, 157, 143, 0.3);
  background: linear-gradient(180deg, rgba(42, 157, 143, 0.04), #fff 42%);
}

.module-card > span,
.workflow-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--accent);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.module-card h3 {
  margin: 2px 0 0;
  font-size: 26px;
}

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

.module-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.module-card li {
  position: relative;
  color: #3c4855;
  font-size: 14px;
  line-height: 1.5;
  padding-left: 18px;
}

.module-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.workflow-grid article {
  min-height: 210px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--card-shadow);
}

.workflow-grid h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.platform-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 18px;
}

.signal-list,
.persona-list,
.roadmap-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.signal-list a,
.persona-list article,
.roadmap-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 16px;
  text-decoration: none;
}

.signal-list a:hover {
  border-color: var(--accent);
}

.signal-list time {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.signal-list strong,
.persona-list strong,
.roadmap-grid strong {
  font-size: 16px;
}

.signal-list span,
.persona-list span,
.roadmap-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inspiration-board {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 20px;
}

.trend-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.trend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trend-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.trend-grid article {
  min-height: 150px;
}

.trend-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.trend-grid strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 18px;
}

.trend-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.ranking-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ranking-toolbar span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  padding: 0 10px;
  font-size: 13px;
}

.ranking-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.ranking-card.top-rank {
  border-color: rgba(16, 185, 159, 0.3);
  background: linear-gradient(90deg, rgba(16, 185, 159, 0.04), #fff 28%);
}

.rank-index {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.rank-index span {
  color: var(--accent);
  font-size: 32px;
  font-weight: 850;
  line-height: 1;
}

.rank-index strong {
  width: fit-content;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  padding: 5px 8px;
  font-size: 12px;
}

.rank-content {
  min-width: 0;
}

.rank-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.rank-platform {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.rank-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.rank-score {
  min-height: 30px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.rank-meta span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: rgba(42, 157, 143, 0.08);
  color: var(--accent);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 700;
}

.rank-detail {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.rank-detail div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.rank-detail dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.rank-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.ranking-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}

.ranking-column {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--card-shadow);
}

.ranking-column-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.ranking-column-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 750;
}

.ranking-column-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.inspiration-page .ranking-column-head > span {
  color: #999;
}

.compact-ranking-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.compact-rank {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  transition: border-color 0.15s, background 0.15s;
}

.compact-rank.top-rank {
  border-color: rgba(42, 157, 143, 0.3);
  background: linear-gradient(90deg, rgba(42, 157, 143, 0.04), #fff 36%);
}

.compact-rank:hover {
  border-color: rgba(42, 157, 143, 0.35);
  background: #fff;
}

/* 灵感页橙色系 */
.inspiration-page .compact-rank.top-rank {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.04), #fff 36%);
}

.inspiration-page .compact-rank:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.inspiration-page .compact-rank-no {
  color: #F59E0B;
}

.compact-rank-no {
  color: var(--accent);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
}

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

.compact-rank h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.compact-rank-data {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.compact-rank-data span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: rgba(42, 157, 143, 0.08);
  color: var(--accent);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
}

.inspiration-page .compact-rank-data span {
  background: #FFFBEB;
  color: #F59E0B;
}

.compact-rank small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.rank-monetization {
  display: grid !important;
  gap: 4px;
  color: #3c4855 !important;
}

.rank-monetization strong {
  color: var(--ink);
  font-size: 12px;
}

.inspiration-page .rank-monetization strong {
  color: #F59E0B;
}

.hero-source-note {
  margin-top: 10px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-style: italic;
}

/* 实践文档页样式 */
.doc-meta {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: var(--paper);
  border-radius: 6px;
  border-left: 3px solid var(--border-subtle);
}

.help-page .doc-meta {
  border-left-color: #0891B2;
}

.doc-insight {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(8, 145, 178, 0.04);
  border-radius: 6px;
  border-left: 3px solid #0891B2;
}

.help-page .doc-insight {
  background: rgba(8, 145, 178, 0.04);
  border-left-color: #0891B2;
}

.doc-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.doc-step-card {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.doc-step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0891B2;
}

.doc-step-card p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.doc-step-example {
  font-size: 13px !important;
  color: var(--ink) !important;
  font-style: italic;
}



/* --- Timeline list (MacroMicro-style) --- */
.timeline-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item:hover {
  background: rgba(42, 157, 143, 0.04);
}

.timeline-marker {
  position: relative;
  padding-top: 2px;
}

.timeline-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -18px;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline-item:last-child .timeline-marker::before {
  display: none;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.timeline-marker span {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* --- Nav cards (quick access) --- */
.nav-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.nav-card {
  position: relative;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 18px 38px 18px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.nav-card:hover {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.nav-card strong {
  font-size: 17px;
}

.nav-card > span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.nav-card svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  transition: color 0.15s, transform 0.15s;
}

.nav-card:hover svg {
  color: var(--accent);
  transform: translateY(-50%) translateX(2px);
}

.feature-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.signal-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--line);
}

.signal-board.compact {
  max-width: 420px;
  align-self: end;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a6b62 0%, #2a9d8f 50%, #3db8a8 100%);
  padding: 32px;
  margin: 18px 0 16px;
  box-shadow: var(--surface-shadow);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero.hero-blue {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #3b82f6 100%);
}

.page-hero.hero-orange {
  background: linear-gradient(135deg, #92400E 0%, #F59E0B 50%, #FBBF24 100%);
}

.page-hero.hero-green {
  background: linear-gradient(135deg, #0F766E 0%, #0D9488 50%, #14B8A6 100%);
}

.page-hero.hero-indigo {
  background: linear-gradient(135deg, #0E7490 0%, #0891B2 50%, #06B6D4 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 35%, rgba(255,255,255,0.1), transparent),
    radial-gradient(ellipse 40% 70% at 15% 85%, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: rgba(255,255,255,0.65);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.signal-board > div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 20px;
  background: transparent;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.signal-board > div:last-child {
  border-right: none;
}

.metric {
  display: block;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}

#latest-year {
  font-size: clamp(26px, 2.6vw, 32px);
  letter-spacing: 0;
}

.metric-label {
  margin-top: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.problem-map {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 20px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.problem-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 20px;
}

.problem-card span {
  display: inline-flex;
  min-width: 34px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

.problem-card h3 {
  margin: 16px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.quick-start,
.docs-panel,
.audience-panel,
.capability-map,
.method-panel,
.feature-entry,
.business-section {
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--card-shadow);
}

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

.feature-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--ink);
  padding: 20px;
  text-decoration: none;
}

.feature-card:hover {
  border-color: var(--teal);
  background: #ffffff;
}

.feature-card h3 {
  margin: 0;
  font-size: 24px;
}

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

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.guide-grid article {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 18px;
}

.guide-grid span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.guide-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.controls {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.controls input,
.controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  padding: 0 12px;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.topic-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink);
  padding: 0 14px;
  cursor: pointer;
}

.topic-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.application-map {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 20px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.audience-grid article {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 18px;
}

.audience-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.audience-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .nav-card-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-marker {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .timeline-marker::before,
  .timeline-marker::after {
    display: none;
  }

  .timeline-marker span {
    margin-top: 0;
    text-align: left;
  }
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.capability-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 18px;
}

.capability-grid span,
.method-grid span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.capability-grid h3,
.method-grid h3 {
  margin: 14px 0 8px;
  font-size: 19px;
}

.capability-grid p,
.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.capability-grid small {
  display: block;
  margin-top: 14px;
  color: #3e4b58;
  font-size: 12px;
  line-height: 1.55;
}

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

.method-grid article {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 18px;
}

.application-map,
.dashboard,
.quick-start,
.docs-panel,
.audience-panel,
.capability-map,
.method-panel {
  scroll-margin-top: 86px;
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.business-overview {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 20px;
}

.business-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.business-index a {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 18px;
  text-decoration: none;
}

.business-index a:hover {
  border-color: var(--teal);
}

.business-index span,
.delivery-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.business-index strong {
  font-size: 18px;
}

.business-index p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.application-column {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 18px;
}

.application-column h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.use-case-list {
  display: grid;
  gap: 10px;
}

.use-case {
  display: grid;
  gap: 6px;
  min-height: 76px;
  border-left: 3px solid var(--accent);
  background: #fff;
  padding: 12px 12px 12px 14px;
}

.use-case strong {
  font-size: 15px;
}

.use-case span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.business-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  overflow: hidden;
}

.business-hero {
  min-height: 0;
  padding: 22px;
}

.business-hero p:last-child {
  max-width: 520px;
  margin-top: 10px;
  font-size: 16px;
}

.compact-head {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.compact-business-grid {
  gap: 14px;
}

.compact-business-card {
  display: grid;
  min-height: 218px;
  align-content: start;
  gap: 12px;
  border-radius: 6px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--surface-shadow);
  border: 1px solid var(--border-subtle);
}

.compact-business-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.business-type {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.business-summary {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: #334155;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 650;
}

.business-flow {
  display: grid;
  gap: 6px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-elevated);
  padding: 10px;
}

.business-flow span {
  position: relative;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
  padding-left: 16px;
}

.business-flow span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.business-value {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 2px 0 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.business-value strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 13px;
}

.business-doc-link {
  justify-self: start;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--accent);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.business-doc-link:hover {
  border-color: rgba(42, 157, 143, 0.35);
  background: var(--accent-muted);
}

.business-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.business-head {
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.business-head > span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.business-head h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.business-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.model-flow {
  display: grid;
}

.model-flow div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

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

.model-flow strong {
  color: var(--ink);
  font-size: 13px;
}

.model-flow span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.delivery-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 18px;
}

.delivery-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.delivery-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.dashboard {
  margin-top: 18px;
}

.timeline-panel {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.timeline-panel h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.timeline-panel {
  min-width: 0;
  padding: 22px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

#reset-button {
  min-width: 76px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
}

#reset-button:hover {
  background: var(--accent-hover);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.visual-zone {
  min-width: 0;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.chart-head h3 {
  margin: 0;
  font-size: 18px;
}

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

#visible-count {
  display: inline-flex;
  min-width: 62px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--accent-muted);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}

.event-map {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.event-map svg {
  display: block;
  width: 100%;
  min-height: 320px;
}

.map-bg {
  fill: #fff;
}

.grid-line {
  stroke: #e7ebf0;
  stroke-width: 1;
}

.axis-line {
  stroke: #aab4c0;
  stroke-width: 1;
}

.axis-label {
  fill: #6d7783;
  font-size: 12px;
  text-anchor: middle;
}

.index-line {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.map-marker circle {
  fill: var(--accent);
  stroke: var(--green);
  stroke-width: 2;
  opacity: 0.85;
}

.event-rail {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #f7f8fa;
}

.rail-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.rail-tab {
  min-height: 44px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  font-weight: 600;
}

.rail-tab:last-child {
  border-right: 0;
}

.rail-tab.active {
  color: var(--ink);
}

.compact-events {
  max-height: 520px;
  overflow: auto;
}

.compact-event {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.compact-event:hover {
  background: #ffffff;
}

.compact-event time {
  color: var(--muted);
  font-size: 12px;
}

.compact-event strong {
  font-size: 14px;
  line-height: 1.35;
}

.compact-event span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-chart {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.bar-row {
  display: grid;
  grid-template-columns: 86px 1fr 34px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.bar-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.event-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.date-block {
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.date-block time {
  display: block;
  font-size: 15px;
  font-weight: 850;
}

.date-block .year {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #eef4ff;
  color: #1f57bd;
  font-size: 12px;
  font-weight: 800;
}

.pill.actor {
  background: var(--accent-muted);
  color: rgb(33, 37, 41);
}

.stars {
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

.event-body h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.event-body p {
  margin: 8px 0 0;
  color: #3c4855;
  line-height: 1.65;
}

.impact {
  color: var(--muted) !important;
}

.event-interpretation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.event-interpretation section {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  padding: 12px;
}

.event-interpretation h4 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.event-interpretation p {
  margin: 0;
  color: #3c4855;
  font-size: 14px;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  color: var(--muted);
  font-size: 12px;
}

.source-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.empty-state {
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  color: var(--muted);
  text-align: center;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.docs-grid details {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  padding: 14px 16px;
}

.docs-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.docs-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.docs-link {
  width: fit-content;
  margin-top: 18px;
}

.doc-hero,
.doc-section {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
}

.doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 82px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--card-shadow);
}

.doc-sidebar-section + .doc-sidebar-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.doc-sidebar h2 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.doc-sidebar a {
  display: block;
  border-radius: 6px;
  color: var(--ink);
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.doc-sidebar a:hover {
  background: var(--accent-muted);
  color: var(--accent);
}

.doc-sidebar a.active,
.doc-sidebar a[aria-current="page"] {
  background: var(--accent-muted);
  color: var(--accent);
}

.doc-subnav {
  margin: -2px 0 0 10px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.doc-sidebar .doc-subnav a {
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.doc-content {
  min-width: 0;
}

.doc-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.doc-list-card {
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  background: transparent;
  padding: 16px 0;
}

.doc-list-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.doc-list-title {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
}

.doc-list-title:hover {
  color: var(--accent);
}

.doc-list-summary {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.doc-list-tags {
  margin-top: 9px;
}

.doc-list-tags .pill {
  padding: 3px 8px;
  font-size: 12px;
}


.doc-back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.doc-back-link:hover {
  text-decoration: underline;
}

.doc-detail h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.2;
}

.doc-body {
  margin-top: 18px;
}

.doc-body img {
  max-width: 100%;
  height: auto;
}

.doc-section {
  scroll-margin-top: 92px;
}

.doc-content > .doc-section {
  padding: 20px 24px;
}

.doc-content > .doc-section h2 {
  margin-bottom: 8px;
}

.doc-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.doc-hero p:last-child,
.doc-section p,
.doc-section li {
  color: var(--muted);
  line-height: 1.7;
}

.doc-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.doc-section pre {
  overflow: auto;
  border-radius: 4px;
  background: #17212b;
  color: #f7fbff;
  padding: 16px;
}

.doc-section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

.doc-card-grid a {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--ink);
  padding: 18px;
  text-decoration: none;
}

.doc-card-grid span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

.doc-card-grid strong {
  font-size: 18px;
}

.doc-card-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .masthead,
  .home-hero,
  .platform-hero,
  .platform-two-col,
  .dashboard,
  .controls,
  .workspace,
  .application-grid,
  .business-grid,
  .business-index,
  .feature-grid,
  .home-goal-grid,
  .home-step-grid,
  .module-grid,
  .workflow-grid,
  .roadmap-grid,
  .delivery-grid,
  .trend-grid,
  .ranking-layout,
  .ranking-card,
  .doc-card-grid,
  .problem-grid,
  .audience-grid,
  .capability-grid,
  .method-grid,
  .guide-grid,
  .docs-grid,
  .nav-card-grid {
    grid-template-columns: 1fr;
  }

  .controls {
    position: static;
  }

  .site-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-brand small {
    display: none;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: static;
  }

  .event-interpretation {
    grid-template-columns: 1fr;
  }

  .platform-hero-main {
    min-height: 360px;
    padding: 28px;
  }

  .home-hero-copy {
    min-height: 360px;
    padding: 28px;
  }

  .home-hero-simple .home-hero-copy {
    min-height: 260px;
    padding: 24px;
  }

  .home-opportunity-list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rank-index {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
  }

  .rank-head {
    display: grid;
  }

  .rank-detail div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .dashboard,
  .workspace {
    grid-template-columns: 1fr;
  }

  .compact-events {
    max-height: 360px;
  }

}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, var(--content-max));
    padding-top: 12px;
  }

  .masthead {
    padding: 40px 0 32px;
    min-height: 400px;
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.7);
  }

  .lede {
    font-size: 18px;
  }

  .signal-board {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-interpretation {
    grid-template-columns: 1fr;
  }

  .model-flow div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .date-block {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
  }
}

/* Step links in business flow */
.step-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: color 0.2s, border-color 0.2s;
}

.step-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  border-bottom-style: solid;
}

/* Highlight target anchor in help page */
:target {
  background-color: var(--accent-muted);
  border-radius: 4px;
  padding: 2px 6px;
  transition: background-color 0.5s;
}

/* SOP step blocks */
.sop-step {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fafafa;
}

.sop-step h3 {
  margin: 0 0 0.5rem 0;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.sop-step h4 {
  margin: 1rem 0 0.5rem 0;
  font-size: 0.95rem;
  color: #555;
}

.sop-step ol {
  padding-left: 1.5rem;
  line-height: 1.8;
}

.sop-step li {
  margin-bottom: 0.5rem;
}

.sop-step ul {
  padding-left: 1.5rem;
  margin: 0.3rem 0;
}

/* Shared Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 2rem;
  border-top: 3px solid #2a9d8f;
  background: #2c3e50;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand strong {
  font-size: 1.1rem;
  color: #fff;
}

.footer-brand p {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-copy p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  position: relative;
  padding-right: 22px !important;
}

.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.4);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 0.5rem 0;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  box-shadow: var(--surface-shadow);
  z-index: 30;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  color: #333 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown-menu a:hover {
  color: var(--accent) !important;
  background: var(--accent-muted);
}
