/* ---------- About page extras ---------- */
.callout-card {
  max-width: 640px;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.docs-content p.callout-title {
  margin-top: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text);
}

.callout-link {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #b3273a;
  transition: color 0.15s ease;
}

.callout-link:hover {
  color: #aaaaaa;
}

.partner-grid {
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-bg);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 0 1.5rem;
  background: var(--color-surface);
}

.partner-logo img {
  max-width: 70%;
  max-height: 40px;
  width: auto;
}

.partner-logo img.logo-lg {
  max-height: 60px;
}

.partner-copy {
  padding: 0.9rem;
}

.docs-content p.partner-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.feature-grid {
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
}

.platform-grid {
  grid-template-columns: repeat(6, 1fr);
}

.feature-grid figure {
  max-width: none;
  margin: 0;
}

.feature-grid img,
.feature-grid .media-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.feature-grid.platform-grid img {
  background: transparent;
  border: none;
}

.feature-grid img.fill {
  object-fit: cover;
}

.feature-grid img.bg-white {
  background: #ffffff;
}

.feature-grid figcaption {
  margin-top: 0.5rem;
  text-align: left;
}

.perf-chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  font-family: "Inter", var(--font-body);
}

.perf-chart-legend text {
  font-size: 12px;
  fill: var(--color-text);
  dominant-baseline: middle;
}

.perf-chart-grid line {
  stroke: var(--color-border);
  stroke-width: 1;
}

.perf-chart-axis line {
  stroke: #c9ccd3;
  stroke-width: 1;
}

.perf-chart-ylabels text {
  font-size: 11px;
  fill: var(--color-text);
  text-anchor: end;
}

.perf-chart-xlabels text {
  font-size: 10.5px;
  fill: var(--color-text);
  text-anchor: end;
}

.docs-content table.data-table {
  width: 100%;
  max-width: 640px;
  margin: var(--space-2) 0 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.docs-content table.data-table thead {
  border-bottom: 1px solid #d6d7db;
}

.docs-content table.data-table th,
.docs-content table.data-table td {
  text-align: left;
  padding: 0.55rem 0.75rem 0.55rem 0;
}

.docs-content table.data-table th:first-child,
.docs-content table.data-table td:first-child {
  width: 40%;
}

.docs-content table.data-table th:not(:first-child),
.docs-content table.data-table td:not(:first-child) {
  width: 20%;
}

.docs-content table.data-table th {
  font-weight: 500;
  color: var(--color-text);
}

.docs-content table.data-table td {
  font-weight: 400;
  color: var(--color-text);
}

.docs-content table.data-table tbody tr {
  border-bottom: 1px solid #ececef;
}

.docs-content table.data-table tbody tr:last-child {
  border-bottom: none;
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
