/* Centre the tile blocks */
.tiles {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
/* 1. Header: a small "DOCS" label beside the OKO logo */
a:has(> img.header-logo)::after {
  content: "DOCS";
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #393A3D;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #A1A1AA;
}
a:has(> img.header-logo) {
  display: inline-flex;
  align-items: center;
}

/* 2. Header links: softer grey, purple on hover */
.header-links a {
  color: #C1C6D7;
}
.header-links a:hover {
  color: #FFFFFF;
}

/* 3. Header buttons: "Nodey on Google Cloud" filled, "Contact" outlined (relies on that link order) */
.header-links li:nth-last-child(2) a {
  background: #7F38D9;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 4px;
}
.header-links li:nth-last-child(2) a:hover {
  background: #A746EA;
}
.header-links li:last-child a {
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  padding: 7px 16px;
  border-radius: 4px;
}

/* 4. Banner title: bolder and tighter, like the mockup */
header.banner h1 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 5. Tiles: card look, purple edge on hover, and an "Explore docs" prompt */
.tile {
  background: #18181B;
  border: 1px solid #2E2E35;
  border-radius: 8px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tile:hover {
  border-color: #A746EA;
  transform: translateY(-2px);
}
/* only on the main homepage: space homepages use main.article-overview-page */
main:not(.article-overview-page) .tile-body::after {
  content: "Explore docs \2192";
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #A746EA;
}

.tiles > li {
  display: block;
  width: min(100%, 30rem);
}
a:has(> img.header-logo)::after {
  content: "DOCS";
  pointer-events: none;
  /* …the rest stays as it is */
}