:root {
  --ai-ink: #172033;
  --ai-muted: #526078;
  --ai-border: #dce3ee;
  --ai-surface: #f7f9fc;
  --ai-primary: #5b35d5;
  --ai-accent: #0f766e;
}

body {
  color: var(--ai-ink);
  background: #fff;
}

.ai-hub-shell {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

.ai-hub-hero {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(45, 212, 191, .28), transparent 30%),
    linear-gradient(135deg, #111827 0%, #312e81 50%, #5b21b6 100%);
  padding: 72px 0 58px;
}

.ai-eyebrow {
  margin: 0 0 12px;
  color: #a7f3d0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ai-hub-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.ai-lede {
  max-width: 780px;
  margin: 20px 0 0;
  color: #e5e7eb;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.ai-review {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #c7d2fe;
  font-size: .9rem;
}

.ai-hub-content {
  padding-block: 44px 80px;
}

.ai-hub-content section {
  padding-block: 20px;
}

.ai-hub-content h2 {
  margin: 0 0 14px;
  color: var(--ai-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.ai-hub-content p,
.ai-hub-content li {
  color: var(--ai-muted);
  font-size: 1.03rem;
  line-height: 1.78;
}

.ai-hub-content ul {
  padding-left: 1.3rem;
}

.ai-trust-note,
.ai-checklist {
  border: 1px solid #c4b5fd;
  border-left: 5px solid var(--ai-primary);
  border-radius: 12px;
  background: #f5f3ff;
  padding: 18px 22px;
  color: #3b2d72;
  line-height: 1.65;
}

.ai-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ai-border);
  border-radius: 14px;
}

.ai-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.ai-table-wrap th,
.ai-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ai-border);
  text-align: left;
  vertical-align: top;
}

.ai-table-wrap th {
  background: #eef2ff;
  color: #312e81;
}

.ai-source-list a {
  color: #4338ca;
  font-weight: 650;
}

.ai-source-note {
  font-size: .9rem !important;
}

.ai-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.ai-related-card {
  display: flex;
  align-items: center;
  min-height: 88px;
  border: 1px solid var(--ai-border);
  border-radius: 12px;
  padding: 18px;
  color: #312e81;
  background: var(--ai-surface);
  font-weight: 750;
  text-decoration: none;
}

.ai-related-card:hover,
.ai-related-card:focus-visible {
  border-color: var(--ai-primary);
  background: #eef2ff;
}

@media (max-width: 640px) {
  .ai-hub-hero {
    padding: 52px 0 44px;
  }

  .ai-hub-content {
    padding-top: 28px;
  }
}
