.product-updates {
  --update-line: rgba(139, 164, 255, .25);
  --update-panel: #101936;
  --update-accent: #aebfff;
  margin: 36px 0 48px;
  scroll-margin-top: 100px;
}
[data-theme="light"] .product-updates {
  --update-line: rgba(54, 77, 148, .25);
  --update-panel: #eff3ff;
  --update-accent: #3049a5;
}
.product-updates-label {
  margin: 0 0 14px;
  color: var(--update-accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.product-updates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.product-update {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--update-line);
  border-radius: 22px;
  background: var(--update-panel);
  color: var(--text);
}
.product-update-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr minmax(0, .85fr);
  align-items: center;
  gap: clamp(20px, 5vw, 72px);
  background: linear-gradient(120deg, rgba(92, 122, 242, .15), transparent 80%), var(--update-panel);
}
.product-update h3, .product-update h4 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.2;
}
.product-update-featured h4 {
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  letter-spacing: -.035em;
}
.product-update p {
  margin: 0;
  max-width: 48ch;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.6;
}
.product-update-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border: 1px solid var(--update-line);
  border-radius: 11px;
  color: var(--update-accent);
  background: rgba(92, 122, 242, .12);
}
.product-update-icon svg { width: 20px; height: 20px; }
.product-update-icon-live { color: var(--gold); background: rgba(222, 162, 67, .12); }
.product-feed-preview { margin: 0; }
.product-feed-preview figcaption {
  margin-bottom: 8px;
  color: var(--silver);
  font-size: .82rem;
}
.product-feed-surface {
  padding: 14px;
  border: 1px solid var(--update-line);
  border-radius: 16px;
  background: var(--bg);
}
.product-feed-header, .product-feed-post {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-feed-header { justify-content: space-between; flex-wrap: wrap; }
.product-feed-post { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--update-line); }
.product-feed-post .product-update-icon { margin: 0; }
.product-feed-post p { font-size: .875rem; }
.product-unread {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--update-accent);
  font-size: .8rem;
  font-weight: 700;
}
.product-unread::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(107, 138, 255, .15);
}
.product-updates-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 8px;
  color: var(--update-accent);
  font-weight: 700;
  text-underline-offset: .25em;
}
.product-updates-link:hover { color: var(--text); }
.product-updates-link:focus-visible { outline: 2px solid var(--update-accent); outline-offset: 4px; }
@media (max-width: 680px) {
  .product-updates-grid, .product-update-featured { grid-template-columns: minmax(0, 1fr); }
}

.feature-catalog {
  margin: 48px 0 60px;
  scroll-margin-top: 90px;
}
.feature-catalog .section-desc { max-width: 70ch; margin-bottom: 20px; }
.feature-catalog .section-desc a { color: #aebfff; text-underline-offset: .2em; }
.catalog-index {
  position: static;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin-bottom: 22px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.catalog-index a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: #c5d0fb;
  background: #141e3d;
  border: 1px solid #35436e;
  border-radius: 999px;
  font-size: .875rem;
  text-decoration: none;
}
.catalog-index a:hover { background: #202d55; }
.catalog-chapters { display: grid; gap: 10px; }
.catalog-chapter {
  scroll-margin-top: 85px;
  background: #101936;
  border: 1px solid #35436e;
  border-radius: 16px;
}
.catalog-chapter summary {
  cursor: pointer;
  padding: 15px 20px;
  font: 700 1.06rem/1.35 'Space Grotesk', sans-serif;
}
.catalog-chapter summary::marker { color: #aebfff; }
.catalog-chapter dl { margin: 0; padding: 0 20px 18px; }
.catalog-chapter dt {
  padding-top: 12px;
  margin-bottom: 4px;
  border-top: 1px solid rgba(139, 164, 255, .2);
  font-weight: 700;
}
.catalog-chapter dd {
  max-width: 72ch;
  margin: 0 0 14px;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.65;
}
.catalog-chapter dd:last-child { margin-bottom: 0; }
.catalog-index a:focus-visible, .catalog-chapter summary:focus-visible {
  outline: 2px solid #aebfff;
  outline-offset: 2px;
}
