.credentials-main {
  max-width: 1020px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.credentials-section {
  margin-bottom: 56px;
}

.credentials-section h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 32px 0 10px;
  color: #ffffff;
}

.credentials-section .section-collapse-summary h2 {
  margin: 0;
  font-size: 22px;
}

.credentials-section .section-collapse-summary .section-label {
  margin: 0;
}

.credentials-section .section-collapse-body > *:first-child {
  margin-top: 14px;
}

.credentials-intro h2:first-of-type {
  margin-top: 28px;
}

.credentials-section-subtitle {
  color: #ffc629;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 14px;
}

.credentials-section-intro {
  color: #b9b9b9;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 680px;
}

.issuer-rule {
  background-color: #17181a;
  border: 1px solid #ffc629;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 8px;
}

.issuer-rule-label {
  color: #ffc629;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.issuer-rule p:last-child {
  color: #d7d7d7;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.taxonomy-card {
  background-color: #17181a;
  border: 1px solid #262626;
  border-radius: 10px;
  padding: 16px 18px;
}

.taxonomy-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 6px;
}

.taxonomy-tag {
  display: inline-block;
  color: #ffc629;
  font-size: 10.5px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 198, 41, 0.08);
  border: 1px solid rgba(255, 198, 41, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.taxonomy-desc {
  color: #b9b9b9;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.audit-callout {
  background-color: rgba(224, 85, 79, 0.08);
  border: 1px solid rgba(224, 85, 79, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.audit-callout-label {
  color: #e0554f;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.audit-callout p:last-child {
  color: #d7d7d7;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* "Logo wall": each provider's real public brand accent color used as a
   styled-text wordmark, not an actual logo image file -- see the Python
   generator's PROVIDER_COLORS comment for why. */
.provider-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.provider-wordmark {
  background-color: #17181a;
  border: 1px solid #262626;
  border-top: 3px solid var(--brand-color, #ffc629);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.provider-wordmark:hover {
  transform: translateY(-2px);
  border-color: var(--brand-color, #ffc629);
}

.provider-wordmark-name {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.provider-wordmark-product {
  color: #8a8a8a;
  font-size: 12px;
}

.credentials-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  padding: 16px;
  background-color: #17181a;
  border: 1px solid #262626;
  border-radius: 10px;
  margin-bottom: 20px;
}

.credentials-filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 160px;
  min-width: 0;
}

.credentials-filter-field label {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credentials-filter-field input,
.credentials-filter-field select {
  background-color: #151617;
  border: 1px solid #333;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  padding: 9px 10px;
  border-radius: 7px;
}

.credentials-filter-field input:focus,
.credentials-filter-field select:focus {
  outline: none;
  border-color: #ffc629;
}

.credentials-filter-reset {
  flex: 0 0 auto;
  background-color: transparent;
  border: 1px solid #333;
  color: #d7d7d7;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 7px;
  cursor: pointer;
  align-self: flex-end;
}

.credentials-filter-reset:hover {
  border-color: #ffc629;
  color: #ffc629;
}

.credentials-filter-empty {
  color: #a8a8a8;
  font-size: 13.5px;
  padding: 16px;
  text-align: center;
  border: 1px dashed #333;
  border-radius: 10px;
  margin-bottom: 20px;
}

.credentials-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #262626;
}

.credentials-section-nav a {
  color: #d7d7d7;
  font-size: 12.5px;
  font-weight: bold;
  text-decoration: none;
  background-color: #17181a;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 7px 14px;
}

.credentials-section-nav a:hover {
  border-color: #ffc629;
  color: #ffc629;
}

.credential-group-heading {
  color: #ffffff;
  font-size: 15.5px;
  margin: 24px 0 4px;
}

.credential-group-note {
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: 700px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.credential-card {
  background-color: #17181a;
  border: 1px solid #262626;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}

.credential-card--wide {
  grid-column: span 1;
}

.credential-card-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 6px;
  line-height: 1.35;
}

.credential-card-desc {
  color: #b9b9b9;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1 1 auto;
}

.credential-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.credential-tag {
  color: #ffc629;
  font-size: 10.5px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(255, 198, 41, 0.08);
  border: 1px solid rgba(255, 198, 41, 0.3);
  border-radius: 999px;
  padding: 3px 9px;
}

.credential-open {
  color: #ffc629;
  font-size: 12.5px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.credential-open:hover {
  text-decoration: underline;
}

.credential-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 18px;
}

.credential-link-pill {
  color: #d7d7d7;
  font-size: 13px;
  text-decoration: none;
  background-color: #17181a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 14px;
  max-width: 100%;
}

.credential-link-pill:hover {
  border-color: #ffc629;
  color: #ffc629;
}

.credential-footnote {
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #262626;
  max-width: 760px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.stack-card {
  background-color: #17181a;
  border: 1px solid #262626;
  border-radius: 10px;
  padding: 16px 18px;
}

.stack-tag {
  display: inline-block;
  color: #ffc629;
  font-size: 10.5px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 198, 41, 0.08);
  border: 1px solid rgba(255, 198, 41, 0.3);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 8px;
}

.stack-title {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: bold;
  margin: 0 0 8px;
}

.stack-path {
  color: #b9b9b9;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.audit-standard {
  margin-top: 28px;
}

.audit-standard-list {
  color: #d7d7d7;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 8px 0 0;
  padding-left: 22px;
}

.audit-standard-list li {
  margin-bottom: 4px;
}

.hero-provider-ticker {
  color: #ffc629;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  max-width: 640px;
  margin: 10px auto 0;
}

@media (max-width: 620px) {
  .credentials-main {
    padding: 40px 18px 32px;
  }

  .credentials-section {
    margin-bottom: 40px;
  }
}
