.ai-intro {
  padding-block: clamp(40px, 7vw, 96px) var(--space-4);
  text-align: center;
}

.ai-intro h1 {
  line-height: 1.12;
  letter-spacing: -.02em;
}

.ai-lead {
  max-width: 42rem;
  margin: 0 auto var(--space-3);
  color: var(--muted);
  font-size: clamp(var(--size-body), 2vw, var(--size-h3));
  line-height: 1.65;
}

.ai-content {
  padding-block: var(--space-2) var(--section-space);
}

.ai-content > .toc-tabs {
  margin-bottom: 0;
}

.ai-section {
  padding-block: clamp(var(--space-4), 5vw, 64px);
}

.ai-section + .ai-section {
  border-top: 1px solid var(--line);
}

.ai-section:last-child {
  padding-bottom: 0;
}

.ai-section-lead,
.ai-section.prose > .reveal:not(.ai-decision) {
  max-width: var(--reading);
}

.ai-section-lead {
  color: var(--muted);
  line-height: 1.8;
}

.ai-section .table-scroll > .ai-matrix {
  min-width: 660px;
}

.ai-matrix th[scope="row"] {
  white-space: nowrap;
  font-weight: 600;
}

.ai-matrix td {
  color: var(--muted);
}

.ai-matrix tbody tr:nth-child(even) {
  background: var(--panel-3);
}

.ai-matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.ai-section .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.ai-section .card h3 {
  margin-top: 0;
}

.ai-section .card > :last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.ai-checks li + li {
  margin-top: var(--space-2);
}

.ai-decision {
  border-inline-start: 3px solid var(--accent);
}

.ai-decision p {
  max-width: var(--reading);
}

.ai-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.ai-links .link-under {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}