/* Popup boards: original type, cards and 60/40 panels, expanded to the viewport. */
.gx-home-dialog.gx-product-dialog {
 inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none;
 padding: 0; border: 0; border-radius: 0; overflow: auto; background: #fff;
 color: #140e45; font-family: 'DM Sans', system-ui, sans-serif;
}
.gx-product-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); min-height: 100%; }
.gx-product-content { min-width: 0; padding: 32px clamp(28px, 3vw, 64px) 40px; }
.gx-product-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.gx-product-heading h2 { font-size: 42px; line-height: 48px; font-weight: 700; font-style: italic; letter-spacing: -1px; }
.gx-product-meta { text-align: right; padding-top: 2px; }
.gx-product-meta p { margin: 0; color: #7c2ae8; font-size: 13px; line-height: 19.5px; font-weight: 600; }
.gx-product-meta p::before { content: '\2022'; margin-right: 5px; }
.gx-product-meta a { display: block; margin-top: 6px; font-size: 12px; line-height: 18px; }
.gx-product-meta a:hover { color: #7c2ae8; text-decoration: underline; text-underline-offset: 3px; }
.gx-product-description { max-width: 720px; margin: 12px 0 0; font-size: 14px; line-height: 21px; color: #4a4669; }
.gx-product-usecases { display: flex; align-items: center; gap: 22px; margin-top: 14px; }
.gx-product-label { margin: 0; color: #6e6a8e; font-size: 11px; line-height: 16.5px; font-weight: 600; letter-spacing: 1.2px; }
.gx-product-usecases > .gx-product-label { flex: none; }
.gx-product-dialog .gx-usecase-tabs { min-width: 0; display: flex; flex-wrap: wrap; gap: 22px; border: 0; margin: 0; }
.gx-product-dialog .gx-usecase-tabs button { min-height: 40px; padding: 0 2px; font-size: 14px; line-height: 21px; font-weight: 500; }
.gx-product-dialog .gx-usecase-tabs button[aria-selected=true] { color: #7c2ae8; border-color: #7c2ae8; font-weight: 600; }
.gx-product-panel { margin-top: 16px; }
.gx-product-panel:focus-visible { outline: 2px solid #7c2ae8; outline-offset: 4px; border-radius: 28px; }
.gx-product-card { padding: 16px 22px; border-radius: 28px; background: #f7f5fd; }
.gx-product-card + .gx-product-card { margin-top: 14px; }
.gx-product-card__heading { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e6e1f3; }
.gx-product-card__heading > span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid #c9a9f6; border-radius: 12px; background: white; color: #7c2ae8; font-size: 11px; font-weight: 600; }
.gx-product-card__heading h3 { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: 0; }
.gx-product-card ul { margin: 12px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 21px; }
.gx-product-card li { margin: 0; }
.gx-product-card--steps { padding-bottom: 12px; }
.gx-product-how-intro { margin: 10px 0 8px; color: #4a4669; font-size: 13px; line-height: 20px; }
.gx-product-card ol { list-style: none; counter-reset: product-step; margin: 0; padding: 0; }
.gx-product-card ol li { counter-increment: product-step; display: flex; align-items: baseline; gap: 14px; padding: 7px 0; border-top: 1px solid #e6e1f3; font-size: 13.5px; line-height: 20px; }
.gx-product-card ol li::before { content: counter(product-step); flex: none; width: 16px; color: #7c2ae8; font-size: 13px; font-weight: 700; }
.gx-product-pending { min-height: 170px; font-size: 14px; line-height: 21px; color: #4a4669; }
.gx-product-preview { display: flex; flex-direction: column; min-width: 0; padding: 26px 28px 0; background: #f1eff7; overflow: hidden; }
.gx-product-problem-label { display: flex; align-items: center; min-height: 44px; padding-right: 60px; letter-spacing: 1.4px; }
.gx-product-dialog .gx-product-close { position: fixed; z-index: 2; top: 26px; right: 28px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #140e45; font-size: 22px; line-height: 22px; }
.gx-product-close:hover { background: #7c2ae8; }
.gx-product-stats { margin-top: 10px; padding: 18px 20px; border-radius: 28px; background: white; }
.gx-product-stat:first-child { display: flex; align-items: center; gap: 12px; }
.gx-product-stat + .gx-product-stat { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e6e1f3; }
.gx-product-stat__value { flex: none; margin: 0; font-size: 34px; line-height: 38px; font-weight: 500; letter-spacing: -.8px; overflow-wrap: anywhere; }
.gx-product-stat + .gx-product-stat .gx-product-stat__value { font-size: 30px; line-height: 34px; letter-spacing: -.6px; }
.gx-product-stat__label { min-width: 0; margin: 0; color: #4a4669; font-size: 13px; line-height: 18px; }
.gx-product-stat + .gx-product-stat .gx-product-stat__label { margin-top: 4px; }
.gx-product-art { align-self: flex-end; flex: none; width: 100%; margin: auto -28px -60px 0; padding-top: 32px; }
.gx-product-art figcaption { margin: 0 28px 12px 0; font-size: 11px; line-height: 16px; color: #6e6a8e; }
.gx-product-art img { display: block; width: 100%; height: auto; }
.gx-product-art__screen { overflow: hidden; }
/* Sync's board crops a 540px dashboard inside the same 424px preview frame. */
.gx-product-art__screen--sync { aspect-ratio: 424 / 392; }
.gx-product-art__screen--sync img { width: 127.3585%; max-width: none; }
@media (max-width: 900px) {
 .gx-product-layout { grid-template-columns: 1fr; }
 .gx-product-content { padding: 28px 24px 32px; }
 .gx-product-heading { padding-right: 58px; flex-wrap: wrap; gap: 12px 24px; }
 .gx-product-meta { text-align: left; }
 .gx-product-dialog .gx-product-close { top: 20px; right: 20px; }
 .gx-product-usecases { flex-wrap: wrap; gap: 6px 22px; }
 .gx-product-preview { padding: 24px 24px 0; }
 .gx-product-problem-label { min-height: 20px; }
 .gx-product-art { width: min(100%, 540px); margin: 0 -24px -40px 0; }
}
@media (max-width: 480px) {
 .gx-product-content { padding-inline: 20px; }
 .gx-product-dialog .gx-usecase-tabs { gap: 8px 18px; }
 .gx-product-card { padding-inline: 18px; border-radius: 24px; }
 .gx-product-stat:first-child { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
 .gx-product-dialog .gx-usecase-tabs button { transition: color .18s ease, border-color .18s ease; }
 .gx-product-panel:not([hidden]) { animation: gx-product-panel-in .16s ease-out; }
 @keyframes gx-product-panel-in { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
