.shelf-intro {
  text-align: center;
  background-color: var(--bg-panel-2);
  background-image: radial-gradient(ellipse at 0% 10%, var(--glow-sky), var(--clear) 48%), radial-gradient(ellipse at 100% 90%, var(--glow-peri), var(--clear) 46%);
  color: var(--text);
}

.shelf-kicker {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: var(--size-small);
  letter-spacing: 0.04em;
}

.shelf-intro h1 {
  margin-bottom: 24px;
}

.shelf-lead {
  max-width: 660px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
}

.shelf-facts {
  justify-content: center;
}

.shelf-intro-note {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.shelf-tabs {
  justify-content: center;
  margin-bottom: 56px;
}

.shelf-tabs [role="tab"] {
  min-height: 48px;
}

.shelf-platform-head {
  max-width: var(--reading);
  margin-bottom: 36px;
}

.shelf-platform-head p {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.9;
}

.shelf-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.shelf-cards > .client-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shelf-cards .client-head {
  align-items: center;
}

.shelf-cards .client-head h3 {
  overflow-wrap: anywhere;
}

.shelf-cards .client-card > p:not(.shelf-card-note) {
  margin-bottom: 24px;
  line-height: 1.85;
}

.shelf-cards .client-meta {
  margin-top: auto;
}

.shelf-cards .client-actions {
  align-items: stretch;
}

.shelf-cards .client-actions > .btn {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.shelf-cards .client-actions > .btn-primary {
  width: 100%;
}

.shelf-cards .client-actions > .btn-secondary {
  flex: 1 1 150px;
}

.shelf-cards .shelf-card-note {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: var(--size-small);
}

.shelf-requirements {
  margin-top: 56px;
}

.shelf-requirements h3 {
  margin-bottom: 24px;
}

.shelf-core-table caption {
  padding: 20px;
  color: var(--text-muted);
  font-size: var(--size-small);
  text-align: left;
}

.shelf-core-table .btn {
  white-space: nowrap;
}

.shelf-core-notes {
  max-width: var(--reading);
  margin-top: 40px;
}

.shelf-core-notes p {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .shelf-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .shelf-lead {
    font-size: var(--size-body);
  }

  .shelf-tabs {
    justify-content: flex-start;
    margin-bottom: 36px;
  }

  .shelf-requirements {
    margin-top: 40px;
  }
}

@media (max-width: 640px) {
  .shelf-kicker {
    letter-spacing: 0;
    line-height: 1.8;
  }

  .shelf-tabs [role="tab"] {
    flex: 1 1 120px;
  }

  .shelf-cards .client-actions > .btn-secondary {
    flex-basis: 100%;
  }
}