.tpm-brand-home {
  --hub-ink: #ffffff;
  --hub-muted: #c3c4cf;
  --hub-accent: #40fbff;
  --hub-line: rgba(255, 255, 255, .16);
  --hub-panel: rgba(7, 8, 13, .44);
  --hub-hover: rgba(64, 251, 255, .06);
}

.tpm-brand-home .tpm-app-spotlight__card {
  display: block;
}

.tpm-app-spotlight__intro {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}

.tpm-brand-home .tpm-app-spotlight__visual img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
}

.tpm-app-spotlight__heading h2 {
  margin: 8px 0 0;
  color: var(--hub-ink);
  font-family: Teko, serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.tpm-brand-home .tpm-app-spotlight__copy p {
  max-width: 1120px;
}

.tpm-brand-home .tpm-app-spotlight__file-label {
  display: block;
  margin-top: 26px;
  color: var(--hub-muted);
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.tpm-app-spotlight__footer {
  display: grid;
  gap: 20px;
  margin-top: 10px;
}

.tpm-brand-home .tpm-app-spotlight__facts {
  max-width: none;
  margin: 0;
}

@media (min-width: 1200px) {
  .tpm-brand-home .container {
    width: calc(100% - 64px);
    max-width: 1360px;
  }

  .tpm-app-spotlight__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }
}

.tpm-home-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hub-line);
}

.tpm-home-hub__link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 18px;
  padding: 28px 26px;
  border-bottom: 1px solid var(--hub-line);
  color: var(--hub-ink);
  text-decoration: none;
}

.tpm-home-hub__link:nth-child(odd) {
  border-right: 1px solid var(--hub-line);
}

.tpm-home-hub__link:hover,
.tpm-home-hub__link:focus-visible {
  background: var(--hub-hover);
  color: var(--hub-ink);
  text-decoration: none;
}

.tpm-home-hub__link:focus-visible,
.tpm-home-evidence a:focus-visible {
  outline: 2px solid var(--hub-accent);
  outline-offset: -3px;
}

.tpm-home-hub__index,
.tpm-home-hub__arrow {
  color: var(--hub-accent);
  font-size: 16px;
  line-height: 1.6;
}

.tpm-home-hub__index {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.tpm-home-hub__link h3,
.tpm-home-evidence h3 {
  margin: 0 0 10px;
  color: var(--hub-ink);
  font-family: Teko, serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.08;
}

.tpm-home-hub__link p,
.tpm-home-evidence__grid p,
.tpm-home-hub__note {
  margin: 0;
  color: var(--hub-muted);
  font-size: 18px;
  line-height: 1.75;
}

.tpm-home-hub__note {
  max-width: 880px;
  margin-top: 26px;
  font-size: 13px;
}

.tpm-home-hub__note a,
.tpm-home-evidence__grid a {
  color: var(--hub-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tpm-home-evidence__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tpm-home-evidence__grid article {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--hub-line);
  border-top: 2px solid var(--hub-accent);
  background: var(--hub-panel);
}

.tpm-home-evidence__label {
  display: block;
  margin-bottom: 18px;
  color: var(--hub-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tpm-home-evidence__grid code {
  color: var(--hub-ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.tpm-home-evidence__grid a {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
}

@media (max-width: 991px) {
  .tpm-home-evidence__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .tpm-app-spotlight__intro {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 22px;
  }

  .tpm-brand-home .tpm-app-spotlight__visual img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .tpm-app-spotlight__heading h2 {
    font-size: 32px;
  }

  .tpm-home-hub__grid {
    grid-template-columns: 1fr;
  }

  .tpm-home-hub__link {
    gap: 12px;
    padding: 24px 8px;
  }

  .tpm-home-hub__link:nth-child(odd) {
    border-right: 0;
  }

  .tpm-home-hub__link h3,
  .tpm-home-evidence h3 {
    font-size: 29px;
  }

  .tpm-home-evidence__grid article {
    padding: 24px;
  }
}
