.hub-page .hero-copy h1 {
  font-size: max(36px, clamp(calc(44px * var(--vone-text-scale, 1)), 5vw, calc(74px * var(--vone-text-scale, 1))));
  letter-spacing: -.05em;
  line-height: 1.1;
}

.hub-page .hero-copy p { max-width: 590px; }
.hub-page .hero { min-height: 465px; }
.hub-page .art-caption {
  font-size: max(12px, calc(13px * var(--vone-text-scale, 1)));
  letter-spacing: 1px;
}

.hub-page .hub-module-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.hub-module-grid .public-module-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
  min-width: 0;
  min-height: 216px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: linear-gradient(150deg, var(--accent-soft), transparent 55%), var(--surface);
}

.public-module-card h3 {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  font-family: var(--heading);
  font-size: max(26px, calc(31px * var(--vone-text-scale, 1)));
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -1px;
}

.public-module-description {
  color: var(--muted);
  margin: 15px 0 0;
  line-height: 1.6;
}

.public-module-tools {
  display: block;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.public-module-card > .family-branch-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

a.public-module-card:hover,
a.public-module-card:focus-visible {
  border-color: var(--accent);
}

.family-branches .family-games {
  --accent: #edb74b;
  --accent-soft: #edb74b12;
}

[data-theme="light"] .family-branches .family-games {
  --accent: #8a5b0a;
  --accent-soft: #8a5b0a0e;
}

.family-branches .family-checklist {
  --accent: #22d3ee;
  --accent-soft: #22d3ee18;
}

[data-theme="light"] .family-branches .family-checklist {
  --accent: #086a7a;
  --accent-soft: #086a7a12;
}

.blockchain-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-top: 27px;
  font-size: max(14px, calc(16px * var(--vone-text-scale, 1)));
}

.blockchain-back:hover { color: var(--accent); }

@media (max-width: 1000px) {
  .hub-page .hub-module-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hub-page .hero { min-height: 0; }
  .hub-page .hero-copy h1 { font-size: max(38px, calc(48px * var(--vone-text-scale, 1))); }
  .hub-page .hero-art { margin: 0 0 0 20%; height: 180px; }
  .hub-page .hero-art img { width: 100%; max-height: 200px; transform: none; }
  .hub-page .hero-copy p { max-width: none; }
  .hub-page .family-branches .family-branches-heading h2 { font-size: max(28px, calc(31px * var(--vone-text-scale, 1))); }
}
