

:root {

  --ucp-nav-h: 56px;
}

.ucp {
  background: var(--bg);
  color: var(--fg);
}


.ucp-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}



/* Top padding was 52px under a breadcrumb that carried another 24px of
   margin beneath it. The crumb went on 2026-09-04; 76px keeps the same
   whitespace above the heading rather than pulling it up under the nav. */
.ucp-hero {
  padding: 76px 0 30px;
  text-align: center;
}
.ucp-hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(36px, 6.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}
.ucp-lede {
  margin: 16px auto 0;
  max-width: 48ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg-muted);
  text-wrap: pretty;
}

.ucp-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.ucp-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--fg);
  font-size: 14.5px;
  font-weight: 500;
}
.ucp-btn:hover {
  border-color: var(--fg-subtle);
  text-decoration: none;
}
.ucp-btn--go {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}
.ucp-btn--go:hover {
  background: var(--accent-emph);
}



.ucp-proof {
  border-top: 1px solid var(--border-muted);
  padding: 56px 0 72px;
}
/* One line, no dot. The panel below carries its own live pill. */
.ucp-proof-t {
  margin: 0 0 18px;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 12px;
  color: var(--fg-muted);
}
.ucp-gallery {
  padding: 0 0 72px;
}


/* Ten buttons since 2026-09-04, so the track is narrow enough to fit five
   across the 1180px shell and land as two clean rows rather than 4+4+2. */
.ucp-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
  gap: 12px;
}
.ucp-picks button {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name count"
    "blurb blurb";
  align-items: baseline;
  gap: 8px 10px;
  padding: 16px 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-subtle);
  color: var(--fg);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.16s,
    background 0.16s,
    transform 0.16s;
}
.ucp-picks button:hover {
  border-color: var(--fg-subtle);
  background: var(--bg-emphasis);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .ucp-picks button:hover {
    transform: none;
  }
}
/* Names run from "Network" to "Knowledge transfer & onboarding", so the
   longest wraps to two lines inside a 206px track. `text-wrap: balance`
   keeps that break somewhere sensible; the grid stretches every button in a
   row to the tallest, so a two-line name never shifts its neighbours. */
.ucp-picks b {
  grid-area: name;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}
.ucp-picks em {
  grid-area: blurb;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
  text-wrap: pretty;
}

.ucp-pick-n {
  grid-area: count;
  justify-self: end;
  min-width: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--chip-bg);
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 12px;
  text-align: center;
  color: var(--fg-muted);
}

.ucp-picks button.is-on {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}
.ucp-picks button.is-on em {
  color: rgb(255 255 255 / 0.82);
}
.ucp-picks button.is-on .ucp-pick-n {
  background: rgb(255 255 255 / 0.18);
  color: #fff;
}


.ucp-showing {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin: 26px 0 0;
  font-size: 14.5px;
  color: var(--fg-muted);
}
.ucp-showing b {
  color: var(--fg);
  font-weight: 600;
}
.ucp-showing button {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition:
    color 0.14s,
    border-color 0.14s;
}
.ucp-showing button:hover {
  color: var(--fg);
  border-color: var(--fg-subtle);
}

.ucp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.ucp-grid a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  background: var(--bg-subtle);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.16s,
    background 0.16s,
    transform 0.16s;
}
.ucp-grid a:hover {
  border-color: var(--fg-subtle);
  background: var(--bg-emphasis);
  text-decoration: none;
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .ucp-grid a:hover {
    transform: none;
  }
}


.ucp-shot {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border-muted);
  background: var(--bg);
  overflow: hidden;
}
.ucp-shot img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

html:not(.theme-light) .ucp-shot img {
  filter: invert(93%) hue-rotate(180deg);
}

.ucp-card-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 15px 15px;
}
.ucp-card-body b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--fg);
}
.ucp-card-body em {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-muted);
  text-wrap: pretty;
}
.ucp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}
.ucp-card-tags i {
  font-style: normal;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--chip-bg);
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 10px;
  color: var(--fg-muted);
}



.ucp-end {
  border-top: 1px solid var(--border-muted);
  background: var(--bg-subtle);
  padding: 68px 0 78px;
  text-align: center;
}
.ucp-end h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}



@media (max-width: 1180px) {
  .ucp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 880px) {
  .ucp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ucp-hero {
    padding: 40px 0 30px;
  }
  .ucp-gallery {
    padding: 36px 0 64px;
  }
}
@media (max-width: 560px) {
  .ucp-shell {
    padding: 0 18px;
  }
  .ucp-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ucp-picks {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .ucp-picks button {
    padding: 14px 16px 16px;
  }
  .ucp-picks b {
    font-size: 17px;
  }
}
