html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 170, 136, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(105, 190, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #0b1220 0%, #121c30 100%);
  color: #edf2ff;
}

.container {
  width: min(1100px, calc(100% - 32px));
}

.hero {
  padding: 2rem 0 1rem;
}

.partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7bd9b6;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.lede,
.muted,
p,
li {
  color: #b9c7e5;
}

.stats-grid,
.panel-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.panel-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.stat-card,
.panel-card,
.partner-identity-card,
.partner-primary-link-card,
.partner-summary-card {
  border: 1px solid rgba(154, 174, 214, 0.18);
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: 0 16px 40px rgba(5, 10, 20, 0.25);
}

.single-panel {
  margin: 2rem 0;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #8fa4d4;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
}

.section-copy {
  margin: 0.3rem 0 0;
}

.simple-list,
.feature-list {
  margin: 0;
  padding-left: 1rem;
}

.navbar,
.footer {
  background: transparent !important;
}

.navbar-brand,
.nav-link,
.footer a {
  color: #edf2ff !important;
}

code {
  color: #ffd29d;
}

a {
  color: #8fd7ff;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.meta-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border: 1px solid rgba(154, 174, 214, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.status-ok {
  color: #9ef2c0;
  border-color: rgba(115, 225, 162, 0.35);
  background: rgba(46, 160, 67, 0.16);
}

.status-off {
  color: #ffc1c1;
  border-color: rgba(255, 109, 109, 0.3);
  background: rgba(186, 45, 45, 0.16);
}

.status-warn {
  color: #ffd99a;
  border-color: rgba(255, 187, 74, 0.3);
  background: rgba(170, 115, 20, 0.16);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.partner-catalog {
  margin-bottom: 1.5rem;
}

.partner-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.partner-summary-head,
.summary-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.partner-summary-card h3 {
  margin: 0.2rem 0 0;
}

.partner-overline,
.fact-chip span,
.mini-stat span {
  display: block;
  font-size: 0.82rem;
  color: #8fa4d4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.identity-facts,
.mini-stats-grid {
  display: grid;
  gap: 0.75rem;
}

.identity-facts {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin-top: 1rem;
}

.mini-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}

.fact-chip,
.mini-stat {
  border-radius: 18px;
  border: 1px solid rgba(154, 174, 214, 0.14);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.9rem 1rem;
}

.fact-chip strong,
.mini-stat strong,
.summary-copy strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.1rem;
}

.summary-copy {
  display: grid;
  gap: 0.25rem;
}

.primary-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(123, 217, 182, 0.35);
  background: linear-gradient(135deg, rgba(66, 170, 126, 0.28), rgba(80, 136, 255, 0.18));
  color: #edf2ff;
  text-decoration: none;
  font-weight: 600;
}

.primary-link-button:hover {
  color: #fff;
  border-color: rgba(123, 217, 182, 0.55);
  transform: translateY(-1px);
}

.link-stack {
  display: grid;
  gap: 0.85rem;
}

.link-card,
.dashboard-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(154, 174, 214, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-link {
  color: inherit;
  text-decoration: none;
}

.dashboard-link:hover {
  border-color: rgba(143, 215, 255, 0.45);
  transform: translateY(-1px);
}

.link-actions {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
  min-width: 240px;
}

.primary-link-block {
  display: grid;
  gap: 0.85rem;
}

.code-block {
  display: block;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(154, 174, 214, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: #ffd29d;
  white-space: pre-wrap;
  word-break: break-all;
}

.compact-code {
  font-size: 0.88rem;
}

.small-line {
  margin-top: 0.3rem;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.data-table th,
.data-table td {
  padding: 0.8rem 0.7rem;
  border-bottom: 1px solid rgba(154, 174, 214, 0.12);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8fa4d4;
}

.cell-muted {
  color: #8fa4d4;
  max-width: 260px;
  word-break: break-word;
}

@media (max-width: 768px) {
  .partner-hero {
    grid-template-columns: 1fr;
  }

  .link-card,
  .dashboard-link,
  .section-head,
  .partner-summary-head,
  .summary-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-actions {
    min-width: 0;
    width: 100%;
    justify-items: start;
  }

  .mini-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compact-table {
  min-width: 560px;
}

.invited-table {
  min-width: 900px;
}

.cell-stack {
  display: grid;
  gap: 0.3rem;
}

.cell-stack strong {
  color: #edf2ff;
}

.cell-subtext {
  color: #8fa4d4;
  font-size: 0.85rem;
  word-break: break-word;
}
