.asc-database-coverage {
  scroll-margin-top: 96px;
  background: var(--surface-subtle);
}

.asc-database-coverage__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 40px);
}

.asc-database-coverage__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.asc-database-coverage__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
}

.asc-database-coverage__eyebrow-bar {
  width: 24px;
  height: 2px;
  background: var(--brand-accent);
}

.asc-database-coverage__title {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  font-weight: var(--fw-bold);
  color: var(--text-body);
}

.asc-db-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.asc-db-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.asc-db-row--footnote {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asc-db-row--footnote .asc-db-footnote {
  grid-column: 2;
}

.asc-db-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  background: var(--white);
}

.asc-db-card--highlight {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

.asc-db-card__title {
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--text-muted);
}

.asc-db-card__title--highlight {
  color: var(--brand-primary);
}

.asc-db-card__subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
}

.asc-db-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--grey-100);
}

.asc-db-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  line-height: var(--lh-tight);
  color: var(--text-body);
}

.asc-db-card__list-icon {
  flex-shrink: 0;
  display: inline-flex;
  padding-top: 2px;
  color: var(--grey-400);
}

.asc-db-card__list-icon--accent {
  color: var(--brand-primary);
}

.asc-db-diagram {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin: 8px auto 4px;
  border: 1px dashed var(--grey-300);
  border-radius: 999px;
}

.asc-db-diagram--jcis {
  border-color: var(--purple-300);
}

.asc-db-diagram__spoke {
  position: absolute;
  left: 50%;
  top: 50%;
    width: calc(50% - clamp(56px, 24%, 92px));
  height: 0;
  transform-origin: left center;
}

.asc-db-diagram__spoke--solid {
  height: 1px;
  background: var(--purple-300);
}

.asc-db-diagram__spoke--dashed {
  border-top: 1px dashed var(--grey-300);
}

.asc-db-diagram__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  background: var(--white);
}

.asc-db-diagram__center-label {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  white-space: nowrap;
}

.asc-db-diagram__node {
  position: absolute;
  width: clamp(56px, 24%, 92px);
  height: clamp(56px, 24%, 92px);
  transform: translate(-50%, -50%);
}

.asc-db-diagram__node--filled {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  border-radius: 999px;
  background: var(--surface-primary-soft);
  color: var(--text-body);
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1.25;
}

.asc-db-diagram__node--empty {
  border-radius: 999px;
  border: 1px dashed var(--purple-200);
}

@media (max-width: 400px) {
  .asc-db-diagram__center {
    padding: 6px;
  }

  .asc-db-diagram__center svg {
    width: 22px;
    height: 22px;
  }

  .asc-db-diagram__center-label {
    white-space: normal;
    max-width: 64px;
    font-size: 12px;
    text-align: center;
  }

  .asc-db-diagram__node--filled {
    font-size: 11px;
    gap: 2px;
  }

  .asc-db-diagram__node--filled svg {
    width: 13px;
    height: 13px;
  }
}

.asc-db-compare__card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 24px 22px;
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  background: var(--white);
}

.asc-db-compare__card--highlight {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

.asc-db-compare__title {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--text-muted);
}

.asc-db-compare__title--highlight {
  color: var(--brand-primary);
}

.asc-db-compare__desc {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-100);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.asc-db-compare__result {
  display: flex;
  align-items: flex-start;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

.asc-db-footnote__text {
  font-size: var(--fs-caption);
  line-height: var(--lh-tight);
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .asc-db-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .asc-db-row--footnote .asc-db-footnote {
    grid-column: 1;
  }
}
