/* Hub composition; all visual families come from ssg-system.css. */
.hub-hero { overflow: clip; --ssg-stamp-fade:var(--ssg-band); position:relative; isolation:isolate; background:linear-gradient(180deg,var(--ssg-bg) 65%,var(--ssg-band)); }
.hub-hero__scene { position:absolute; inset:0; z-index:-2; }
.hub-hero__scene img { width:100%; height:100%; object-fit:cover; object-position:center; }
.hub-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,var(--ssg-band) 2%,#e6eff1fa 12%,#e6eff1d1 23%,#e6eff17a 35%,#e6eff11f 47%,transparent 58%),linear-gradient(90deg,#fbfaf6f7 0%,#fbfaf6ed 30%,#fbfaf6a8 47%,#fbfaf600 68%); }
.hub-breadcrumb { display:flex; align-items:center; gap:.7rem; padding-block:.75rem; font-size:.875rem; }
.hub-hero__copy { max-width:610px; padding-block:2.5rem 2rem; }
.hub-hero__copy .ssg-section-head { min-width:0; grid-template-columns:minmax(0,1fr); margin:0; }
.hub-hero__copy .ssg-lead { max-width:47ch; }
.hub-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.hub-grid--pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.hub-field--sage { background:#eef2eb; }
.hub-close { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.hub-close .ssg-button { justify-self:start; }
@media(min-width:1400px) {
  .hub-hero__scene img { object-position:center 15%; }
}
@media(max-width:1000px) {
  .hub-grid { grid-template-columns:1fr; }
  .hub-hero__copy { max-width:560px; }
  .hub-hero::after { background:linear-gradient(0deg,var(--ssg-band) 2%,#e6eff1fa 12%,#e6eff1d1 23%,#e6eff17a 35%,#e6eff11f 47%,transparent 58%),linear-gradient(90deg,#fbfaf6f7 0%,#fbfaf6e8 45%,#fbfaf670 75%,#fbfaf600); }
}
@media(max-width:1000px) {

  .hub-hero { display:flex; flex-direction:column; }
  .hub-hero > .ssg-container { order:0; }
  .hub-hero__copy { max-width:none; padding-block:1.5rem 1.25rem; }
  .hub-hero__scene { position:relative; inset:auto; order:1; z-index:0; display:block; height:285px; }
  .hub-hero__scene img { object-position:center; }
  .hub-hero::after { z-index:1; inset:auto 0 0; height:285px; background:linear-gradient(0deg,var(--ssg-band) 2%,#e6eff1fa 12%,#e6eff1d1 23%,#e6eff17a 35%,#e6eff11f 47%,transparent 58%); pointer-events:none; }
  .hub-grid--pair,.hub-close { grid-template-columns:1fr; }
  .hub-close .ssg-button { width:100%; }
}


/* Keep the source notice with the copy, outside the illustrated work area. */
.hub-hero__copy .ssg-freshness--stamp { position:relative; inset:auto; width:10.5rem; max-width:100%; margin-top:1.25rem; }
.hub-hero__copy .ssg-freshness--stamp::before { display:none; }

/* Category catalog: direct anchors and software-name links. */
.hub-jump-links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.hub-product-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.hub-product-links li { min-width: 0; }
.hub-product-links a { width: 100%; padding: .75rem 1rem; background: var(--ssg-surface); border-radius: var(--ssg-radius-sm); }
@media(max-width:1000px) { .hub-product-links { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .hub-jump-links { display: grid; grid-template-columns: 1fr; gap: .25rem; } .hub-product-links { grid-template-columns: 1fr; } }

/* Secondary email invitation on the category hub only. */
.hub-newsletter-invitation { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.hub-newsletter-invitation img { flex: 0 0 64px; width: 64px; height: auto; }
.hub-newsletter-invitation p { margin: 0; }
.hub-newsletter-invitation > div { min-width: 0; }
