:root {
  --background: #000;
  --text: #f7f8f8;
  --muted: #868b96;
  --faint: #5f6470;
  --border: #23252a;
  --border-strong: #343741;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.hub-header {
  display: flex;
  min-height: 68px;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.hub-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hub-visiblee-link,
.hub-docs-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.hub-visiblee-link {
  width: 96px;
  height: 25px;
}

.hub-visiblee-link img {
  display: block;
  width: 96px;
  height: auto;
}

.hub-logo {
  display: inline-flex;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 7px;
}

.hub-logo img {
  width: 100%;
  height: 100%;
}

.hub-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
}

.hub-label {
  color: var(--text);
  font-size: 18px;
  font-weight: 590;
  line-height: 1;
}

.hub-platform-link {
  color: var(--muted);
  font-size: 0.78rem;
}

.hub-platform-link:hover {
  color: var(--text);
}

.hub-platform-link span {
  display: inline-block;
  transition: transform 120ms ease;
}

.hub-platform-link:hover span {
  transform: translate(2px, -2px);
}

.hub-main {
  width: min(760px, calc(100% - 40px));
  min-height: calc(100vh - 154px);
  margin: 0 auto;
  padding: clamp(90px, 14vh, 140px) 0 100px;
}

.hub-intro {
  margin-bottom: 58px;
}

.hub-intro p,
.docs-index {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-intro p {
  margin: 0 0 16px;
  color: var(--faint);
}

.hub-intro h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hub-intro > span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
}

.docs-list {
  border-top: 1px solid var(--border-strong);
}

.docs-row {
  display: grid;
  min-height: 110px;
  padding: 24px 4px;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}

.docs-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.docs-index {
  color: var(--faint);
}

.docs-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.docs-copy strong {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.docs-copy > span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.docs-arrow {
  color: var(--muted);
  transition: color 120ms ease, transform 120ms ease;
}

.docs-row:hover .docs-arrow {
  color: var(--text);
  transform: translateX(3px);
}

@media (max-width: 620px) {
  .hub-platform-link {
    display: none;
  }

  .hub-main {
    width: calc(100% - 36px);
    padding: 74px 0;
  }

  .docs-row {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 12px;
  }

}
