.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 20px rgba(127, 196, 255, 0.8);
  flex-shrink: 0;
}

.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(127, 240, 178, 0.08);
  border: 1px solid rgba(127, 240, 178, 0.22);
  color: #dfffee;
  font-size: 13px;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(127, 240, 178, 0.9);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.gradient-text {
  background: linear-gradient(135deg,
      #ffffff 10%,
      #f0e6ff 42%,
      #d8b4fe 72%,
      #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  width: min(520px, 100%);
  margin: 18px auto 0;
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.75;
}

.hub-link {
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition:
    flex 0.35s ease,
    transform 0.25s ease;
}

.hub-link {
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition:
    flex 0.35s ease,
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.hub-link-inner {
  height: 100%;
  min-height: 112px;
  padding: 18px 18px 16px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition:
    min-height 0.3s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.hub-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.hub-desc {
  margin-top: 10px;
  max-width: 0;
  opacity: 0;
  transform: translateY(4px);
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
  transition:
    max-width 0.35s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

.hub-link:hover,
.hub-link:focus-visible {
  flex: 1.35 1 0;
}

.hub-link:hover .hub-link-inner,
.hub-link:focus-visible .hub-link-inner {
  min-height: 132px;
  border-color: rgba(216, 180, 254, 0.24);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 12px 30px rgba(255, 255, 255, 0.16),
    0 0 20px rgba(192,140,255,0.15);
  transform: translateY(1px);
}

.hub-link:hover .hub-desc,
.hub-link:focus-visible .hub-desc {
  max-width: 260px;
  opacity: 1;
  transform: translateY(0);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}


.hub-links {
  margin-top: 42px;
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

@media (max-width: 820px) {
  .hub-links {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hub-link,
  .hub-link:hover,
  .hub-link:focus-visible {
    flex: initial;
    transform: none;
  }

  .hub-link-inner {
    min-height: 110px;
    padding: 16px;
  }

  .hub-desc {
    margin-top: 10px;
    max-width: none;
    opacity: 1;
    transform: none;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .hub-links {
    grid-template-columns: 1fr;
  }
}