/* Product catalogue and detail refinement. Loaded only by the six product pages. */
.products-refined .page-head { position: relative; padding-top: 60px; padding-bottom: 24px; }
.products-refined .products-grid { gap: 24px; }
.products-refined .product-card {
  position: relative;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--glass-card-radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 64%), var(--ink);
}
.products-refined .product-card:focus-within { border-color: var(--red-bright); }
.products-refined .product-icon {
  width: 80px;
  height: 80px;
  padding: 8px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: linear-gradient(145deg, #252526, #141415);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px -14px #000;
}
.products-refined .product-card-cluster .product-icon { padding: 0; overflow: hidden; }
.products-refined .product-title {
  margin-top: 3px;
  margin-bottom: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.products-refined .product-desc { margin-bottom: 24px; }
.products-refined .product-cta { min-height: 44px; padding-inline: 16px; }
.products-refined .product-cta:focus-visible,
.products-refined .product-hero-media a:focus-visible,
.products-refined .product-gallery a:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}
.products-refined .products-more {
  max-width: none;
  margin-top: 40px;
  border-color: rgba(224, 35, 30, 0.23);
  background: linear-gradient(110deg, rgba(224, 35, 30, 0.05), transparent 70%), var(--ink);
}
.products-refined .products-more p { max-width: 56ch; margin-inline: auto; }
.products-refined .service-hero { padding: 48px 0; }
.products-refined .service-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 48px; }
.products-refined .service-hero-main { min-width: 0; }
.products-refined .service-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.products-refined .service-hero p { max-width: 51ch; font-size: 1rem; }
.products-refined .service-hero .hero-actions { flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.products-refined .service-hero .hero-btn { min-height: 48px; padding: 13px 18px; font-size: 0.85rem; letter-spacing: 0.2px; }
.products-refined .product-hero-icon {
  width: 160px;
  height: 160px;
  padding: 24px;
  align-self: center;
  justify-self: center;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(145deg, #252526, #141415);
  box-shadow: var(--shadow-card);
}
.products-refined .product-hero-media { align-self: center; border-color: rgba(255, 255, 255, 0.15); box-shadow: var(--shadow-card); }
.products-refined .product-hero-media a,
.products-refined .product-gallery a { display: block; }
.products-refined .product-hero-media a:focus-visible,
.products-refined .product-gallery a:focus-visible { outline-offset: -3px; }
.products-refined .product-hero-media-portrait { background: #0b0c0e; }
.products-refined .product-hero-media-portrait img { max-height: 400px; object-fit: contain; }
.products-refined .product-hero-media figcaption { padding: 12px 16px; line-height: 1.6; }
.products-refined .service-detail { padding-top: 52px; }
.products-refined .service-detail article { min-width: 0; }
.products-refined .product-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.products-refined .service-side { background: var(--surface-face), var(--ink); }
@media (min-width: 1025px) {
  .products-refined .products-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .products-refined .product-card { grid-column: span 2; }
  .products-refined .product-card-cluster { grid-column: span 3; }
}
@media (max-width: 900px) {
  .products-refined .service-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .products-refined .service-hero { padding: 30px 0 38px; }
  .products-refined .product-hero-media { width: 100%; max-width: 640px; justify-self: center; }
  .products-refined .product-hero-media-portrait img { max-height: 380px; }
}
@media (max-width: 560px) {
  .products-refined .page-head { padding-top: 38px; padding-bottom: 12px; }
  .products-refined .product-card { padding: 24px; }
  .products-refined .products-grid { gap: 18px; }
  .products-refined .product-title { font-size: 1.3rem; }
  .products-refined .service-hero h1 { font-size: clamp(2rem, 8.3vw, 2.65rem); }
  .products-refined .service-detail { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .products-refined .product-card { transition: none; }
  .products-refined .product-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .products-refined .product-card,
  .products-refined .product-icon,
  .products-refined .product-hero-icon,
  .products-refined .product-hero-media,
  .products-refined .products-more { border-color: currentColor; }
  .products-refined .product-cta:focus-visible,
  .products-refined .product-hero-media a:focus-visible,
  .products-refined .product-gallery a:focus-visible { outline-color: Highlight; }
}

/* GMS TOOL preview: one application in development, with a browsable module list. */
.products-refined .gms-tool-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-top: 60px;
  padding-bottom: 56px;
  scroll-margin-top: 100px;
}
.products-refined .gms-tool-copy { min-width: 0; }
.products-refined .gms-tool-copy h1 {
  margin: 18px 0 12px;
  color: var(--color-white);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.products-refined .gms-tool-tagline {
  max-width: 34ch;
  margin-bottom: 18px;
  color: var(--color-white);
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.55;
}
.products-refined .gms-tool-intro {
  max-width: 56ch;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.85;
}
.products-refined .gms-tool-copy .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.products-refined .gms-tool-copy .hero-btn,
.products-refined .products-more .hero-btn { min-height: 48px; padding: 13px 18px; font-size: 0.85rem; }
.products-refined .gms-tool-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--ink);
  box-shadow: var(--shadow-card);
}
.products-refined .gms-tool-media img { display: block; width: 100%; height: auto; }
.products-refined .gms-tool-media figcaption { padding: 14px 18px; color: var(--color-text-muted); font-size: 0.8rem; line-height: 1.6; }
.products-refined .product-catalogue .products-page { padding-top: 32px; padding-bottom: 44px; scroll-margin-top: 88px; }
.products-refined .product-catalogue .product-legacy-section { padding-bottom: 72px; }
.products-refined .product-section-heading { margin-bottom: 26px; }
.products-refined .product-section-heading .section-title { margin-bottom: 12px; }
.products-refined .product-section-heading .section-subtitle { max-width: 70ch; margin: 0; }
.products-refined .product-module-grid,
.products-refined .product-legacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.products-refined .product-module-grid .product-card,
.products-refined .product-legacy-grid .product-card { grid-column: auto; min-width: 0; scroll-margin-top: 105px; }
.products-refined .product-meta .product-type { max-width: 100%; white-space: normal; }
.products-refined .product-catalogue .product-title { overflow-wrap: anywhere; }
.products-refined .product-catalogue .product-cta { align-self: flex-start; text-align: center; }
@media (max-width: 1050px) {
  .products-refined .gms-tool-preview { gap: 30px; }
  .products-refined .product-module-grid,
  .products-refined .product-legacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .products-refined .gms-tool-preview { grid-template-columns: minmax(0, 1fr); padding-top: 34px; padding-bottom: 24px; }
  .products-refined .gms-tool-media { max-width: 640px; }
  .products-refined .product-catalogue .products-page { padding-top: 26px; }
}
@media (max-width: 600px) {
  .products-refined .product-module-grid,
  .products-refined .product-legacy-grid { grid-template-columns: minmax(0, 1fr); }
  .products-refined .gms-tool-copy .hero-actions { align-items: stretch; }
  .products-refined .gms-tool-copy .hero-btn { width: 100%; justify-content: center; }
  .products-refined .product-catalogue .product-legacy-section { padding-bottom: 48px; }
}
@media (forced-colors: active) {
  .products-refined .gms-tool-media { border-color: CanvasText; }
}
