/* Persistent products hub — sits outside #root so it survives SPA hydration. */
.ws-hub {
  position: relative;
  z-index: 3;
  scroll-margin-top: 6rem;
  border-top: 1px solid var(--line, rgb(240 234 220 / 0.14));
  background: var(--bg, #0b0c10);
  color: var(--ink, #f4f1ea);
}

.ws-hub__inner {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

@media (min-width: 640px) {
  .ws-hub__inner {
    padding: 7rem 2rem;
  }
}

.ws-hub__eyebrow {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, "JetBrains Mono", monospace;
  font-size: 0.7rem;
  line-height: 1.1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute, #8a8a99);
}

.ws-hub__title {
  margin: 0.75rem 0 0;
  font-family: "Clash Display", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.ws-hub__lede {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--ink-soft, #c9c2b4);
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.ws-hub__list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
}

@media (min-width: 640px) {
  .ws-hub__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ws-hub__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ws-hub__list a {
  display: flex;
  min-height: 7.5rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid var(--line, rgb(240 234 220 / 0.14));
  border-radius: 1rem;
  background: var(--panel, #15161c);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ws-hub__list a:hover,
.ws-hub__list a:focus-visible {
  border-color: color-mix(in oklch, var(--spark, #c6e36a) 45%, transparent);
  box-shadow: 0 20px 50px -28px rgb(0 0 0 / 0.7);
  transform: translateY(-2px);
}

.ws-hub__name {
  display: block;
  font-family: "Clash Display", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ws-hub__desc {
  display: block;
  flex: 1;
  color: var(--ink-soft, #c9c2b4);
  font-size: 0.95rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.ws-hub__host {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--mute, #8a8a99);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.78rem;
}

.ws-hub__arrow {
  color: var(--spark, #c6e36a);
}
