:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #222222;
  --muted: #4f4f4f;
  --panel: #ffffff;
  --panel-border: #d7d7d7;
  --accent: #0177bd;
  --accent-soft: rgba(1, 119, 189, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
}

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 46px 0 44px;
}

.hero {
  margin-bottom: 40px;
}

.intro {
  margin: 0 0 6px;
  max-width: 1120px;
  color: #444;
  font-size: 1.15rem;
  line-height: 1.5;
}

.intro-link {
  margin: 0;
  color: #444;
  font-size: 1.15rem;
  line-height: 1.5;
}

.intro-link a {
  color: var(--accent);
  text-decoration: underline;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.hub-card {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 18px 14px 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.hub-card.is-selected {
  border: 3px solid var(--accent);
  padding: 16px 12px 14px;
}

.hub-name {
  margin-bottom: 8px;
  color: #2a2a2a;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.hub-card.is-selected .hub-name {
  color: var(--accent);
}

.metric {
  margin-top: 4px;
  margin-bottom: 18px;
}

.metric-label {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.35;
}

.meter {
  height: 16px;
  background: #e6eaee;
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  background: #0177bd;
}

.logos {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 18px;
  color: #1d1d1d;
  font-size: 1.6rem;
  font-weight: 700;
}

.logos span:first-child {
  color: #76b900;
  font-size: 1.2rem;
}

.logos span:nth-child(2) {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5ac8ff, #1f9df0);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.logos span:nth-child(3) {
  color: #ff7b2e;
  font-size: 1.15rem;
}

.launch-button {
  appearance: none;
  align-self: flex-start;
  margin-top: 8px;
  border: 1px solid #2b9cff;
  background: #ffffff;
  color: #0871b6;
  padding: 9px 16px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
}

.hub-card.is-selected .launch-button {
  background: #0871b6;
  color: white;
}

.launch-button:hover,
.launch-button:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.launch-button:active {
  transform: translateY(1px);
}

@media (max-width: 1200px) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100vw - 18px, 1180px);
    padding-top: 18px;
  }

  .hub-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hub-card,
  .hub-card.is-selected {
    min-height: auto;
  }

  .logos {
    font-size: 1.4rem;
  }
}