/* Product hero: reuse the home card and its hover motion. */
.product-hero-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); align-items: start; gap: 32px; }
.product-hero-summary { min-width: 0; }
.product-hero-overview .product-hero-card { width: 100%; max-width: 430px; container-type: inline-size; justify-self: end; }
.product-hero-summary h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 72px; }
@media (max-width: 1000px) {
  .product-hero-overview { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .product-hero-overview .product-hero-card { width: min(100%, 430px); justify-self: center; }
}

/* Scale the card copy with its square artwork. */
.product-hero-card .feature-product-copy { top: calc(69% + 0.96cqw); }
.product-hero-card .feature-product-copy h3 { font-size: 4.99cqw; margin-bottom: 4.99cqw; }
.product-hero-card .feature-product-copy ul { gap: 3.07cqw 3.84cqw; }
.product-hero-card .feature-product-copy li { font-size: 2.88cqw; gap: 2.11cqw; }
.product-hero-card .feature-product-copy li::before { width: 3.45cqw; height: 3.45cqw; }

.product-hero-summary .product-page-tagline { width: var(--product-title-width, 100%); max-width: 100%; }

/* Repeat one product-module-card per product, with unique heading/field IDs. */
.product-card-list { display: grid; gap: 28px; }
.product-module-card { padding: 32px; border: 1px solid #dde8da; border-radius: 28px; background: #f3fef1; box-shadow: 0 12px 34px rgba(22, 40, 24, 0.06); }
@media (max-width: 600px) {
  .product-module-card { padding: 24px 18px; border-radius: 20px; }
  .product-module-card .product-hero-summary h2 { font-size: clamp(26px, 6.7vw, 34px); }
}

/* Page title shares the technology page's desktop and mobile typography. */
.products-intro-hero + .product-page-hero { padding-top: 0; }
.product-hero-summary h2 { max-width: 980px; margin-bottom: 18px; font-weight: 850; letter-spacing: -0.045em; }
.product-hero-summary h2 em { font-style: italic; }

/* Product details belong to their product module. */
.product-detail-buttons { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; padding: 4px; }
.product-detail-button { flex: 1 0 auto; padding: 12px 16px; border: 1px solid #cadcc5; border-radius: 10px; background: #fff; color: #343b34; font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer; white-space: nowrap; }
.product-detail-button:hover { border-color: #167331; color: #167331; }
.product-detail-button[aria-expanded="true"] { color: #153818; border-color: var(--green); background: var(--green); }
.product-detail-button:focus-visible { outline: 3px solid #167331; outline-offset: 2px; }
.product-detail-panels { grid-column: 1 / -1; min-width: 0; }
.product-detail-panel { min-width: 0; padding: 28px; border: 1px solid #dde8da; border-radius: 16px; background: #fff; color: #343b34; font-size: 16px; line-height: 1.8; }
.product-detail-panels[hidden], .product-detail-panel[hidden] { display: none; }
.product-detail-panel .product-detail-panel-title { font-size: 26px; margin: 0 0 24px; }
.product-detail-panel h3 { margin: 24px 0 14px; }
.product-detail-panel .product-faq-list h3 { font-size: 18px; }
@media (max-width: 600px) {
 .product-detail-button { padding: 10px 12px; font-size: 14px; }
 .product-detail-panel { padding: 18px 14px; }
}

.product-detail-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.product-detail-panel-header .product-detail-panel-title { margin: 0; }
.product-detail-close { flex-shrink: 0; padding: 9px 16px; border: 1px solid #b5ceb0; border-radius: 8px; color: #167331; background: #f3fef1; font-size: 15px; font-weight: 700; cursor: pointer; }
.product-detail-close:hover { background: #e9fee5; border-color: #167331; }
.product-detail-close:focus-visible { outline: 3px solid #167331; outline-offset: 3px; }
.product-detail-panel-footer { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 600px) { .product-detail-panel-header { flex-wrap: wrap; gap: 10px; } }
