/* Product showcase: intentionally dark in both site themes, as in the product artwork. */
[x-cloak] { display: none !important; }
.product-showcase, .product-dialog { --product-accent: #ff943c; color: #f3f5fa; font-family: inherit; }
.product-showcase { position: relative; padding: 40px 0 44px; scroll-margin-top: 64px; background: #030c1b; border-top: 1px solid #152339; isolation: isolate; }
.product-showcase::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#5364830b 1px, transparent 1px), linear-gradient(90deg, #5364830b 1px, transparent 1px); background-size: 64px 64px; }
.products-container { width: min(1536px, calc(100% - 64px)); margin: auto; }
.flagship-section-heading { margin-bottom: 24px; text-align: center; }
.products-eyebrow { margin: 12px 0 0; color: #adc8e1; font-size: clamp(14px, 1.5vw, 18px); font-weight: 500; letter-spacing: .035em; }
.products-heading { margin: 0; color: #f8fafc; font-size: clamp(34px, 4.5vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.flagship-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.flagship-card { --product-accent: #00d4b3; position: relative; display: flex; flex-direction: column; min-height: 365px; padding: 20px; overflow: hidden; border: 1px solid #12413f; border-radius: 12px; background: radial-gradient(ellipse at 80% 65%, #006b552b, transparent 65%), #03151b; }
.flagship-card--digitize { --product-accent: #06b7ff; border-color: #16375d; background: radial-gradient(ellipse at 80% 65%, #0052c930, transparent 65%), #041125; }
.flagship-badge { z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: #8dd9df; font-size: 8px; letter-spacing: .19em; text-transform: uppercase; border: 1px solid #15515166; border-radius: 8px; background: #031d26b3; }
.flagship-badge::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--product-accent); box-shadow: 0 0 12px color-mix(in srgb, var(--product-accent) 50%, transparent); }
.flagship-content { position: relative; z-index: 1; width: 52%; margin-top: 22px; }
.flagship-product-heading { position: relative; width: max-content; max-width: 100%; margin: 0; font-size: clamp(48px, 5.5vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; color: #f8fafc; }
.flagship-digirev-logo { display: block; width: 240px; max-width: 100%; height: auto; }
.flagship-card--digirev .flagship-content { margin-top: 8px; }
.flagship-card--digirev .flagship-subtitle { margin-top: 4px; }
.flagship-logo { display: block; width: min(100%, 250px); height: 65px; object-fit: contain; object-position: left center; mix-blend-mode: screen; }
.flagship-brand-mark { position: absolute; top: 22px; right: 22px; width: 160px; height: 32px; object-position: right center; }
.flagship-subtitle { width: max-content; max-width: 100%; margin-top: 10px; color: #d2e7f7; letter-spacing: .025em; font-size: clamp(20px, 2vw, 27px); font-weight: 650; line-height: 1.25; }
.flagship-description { margin: 12px 0 10px; font-size: 14px; line-height: 1.45; color: #e0e7ef; }
.flagship-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.flagship-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 7px; border: 1px solid #4b9d9d29; border-radius: 5px; background: #031923b3; color: #c6d6e2; font-size: 9px; }
.flagship-chips svg { width: 13px; height: 13px; color: var(--product-accent); }
.flagship-art { position: absolute; right: -18px; top: 45px; width: 61%; height: 260px; object-fit: contain; pointer-events: none; mix-blend-mode: lighten; }
.flagship-actions { position: relative; z-index: 2; margin-top: auto; padding-top: 18px; display: flex; gap: 10px; }
.product-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 10px 22px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background .18s, transform .18s, border-color .18s; }
.product-button svg, .product-learn svg { width: 16px; height: 16px; flex-shrink: 0; }
.product-button--primary { color: white; background: linear-gradient(120deg, color-mix(in srgb, var(--product-accent) 82%, #00182a), color-mix(in srgb, var(--product-accent) 80%, #004284)); box-shadow: 0 5px 20px color-mix(in srgb, var(--product-accent) 13%, transparent); }
.product-button--secondary { color: #dceaf7; border-color: #39728b; background: #051525a8; }
.product-button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.product-showcase :focus-visible, .product-dialog :focus-visible { outline: 2px solid var(--product-accent); outline-offset: 5px; }
.products-subheading { margin: 22px 0 12px; font-size: 23px; font-weight: 700; letter-spacing: -.025em; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { display: flex; flex-direction: column; min-width: 0; min-height: 224px; padding: 14px; border: 1px solid #1b2c43; border-radius: 10px; background: linear-gradient(120deg, #061323, #04101f); color: #edf1f7; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--product-accent); box-shadow: 0 12px 32px #0003; }
.product-card-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 34%; gap: 12px; align-items: start; min-height: 80px; }
.product-card-top > .product-icon { grid-column: 1; grid-row: 1; width: 44px; height: 44px; border-radius: 10px; }
.product-card-top > .product-card-identity { grid-column: 2; grid-row: 1; min-width: 0; }
.product-card-top > .product-card-image { grid-column: 3; grid-row: 1; }
.product-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; color: var(--product-accent); background: color-mix(in srgb, var(--product-accent) 15%, #091222); }
.product-icon svg { width: 24px; height: 24px; }
.product-card h4 { margin: 2px 0 4px; font-size: 18px; line-height: 1.25; font-weight: 700; }
.product-card-subtitle { margin: 0; color: #94a4bd; text-transform: uppercase; font-size: 10px; line-height: 1.45; }
.product-card-image { display: block; min-width: 0; width: auto; max-width: 100%; height: auto; max-height: 88px; justify-self: end; object-fit: contain; object-position: center; border: 1px solid #29394a; border-radius: 6px; }
.product-card-description { margin: 10px 0; color: #d8dce5; font-size: 14px; line-height: 1.45; }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.product-card-tags span { padding: 4px 9px; border-radius: 5px; color: #dce1e9; background: #ffffff0d; font-size: 11px; }
.product-learn { display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; color: var(--product-accent); font-size: 14px; font-weight: 600; }
.product-dialog { position: fixed; inset: 0; z-index: 1100; display: grid; align-items: start; overflow-y: auto; padding: 20px 16px; overscroll-behavior: contain; }
.product-dialog-backdrop { position: fixed; inset: 0; background: #020714c9; backdrop-filter: blur(9px); }
.product-dialog-panel { position: relative; width: min(1060px, 100%); max-height: calc(100dvh - 40px); margin: 0 auto; padding: 24px; border: 1px solid #ffffff20; border-radius: 14px; background: linear-gradient(120deg,#060f20,#040b18); box-shadow: 0 25px 100px #0008; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #34435b #081122; }
.product-dialog-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,#ff9933,#fff,#138808); }
.product-dialog-close { position: sticky; z-index: 3; top: 0; margin-left: auto; margin-bottom: -36px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #ffffff26; border-radius: 9px; color: white; background: #0c1425f5; cursor: pointer; }
.product-dialog-close svg { width: 22px; height: 22px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 24px; }
.product-detail-heading { display: flex; align-items: center; gap: 12px; padding-right: 20px; }
.product-detail-heading .product-icon { width: 48px; height: 48px; border-radius: 12px; }
.product-detail-heading .product-icon svg { width: 27px; height: 27px; }
.product-detail-heading h3 { margin: 0 0 3px; color: #f8fafc; font-size: clamp(25px,3vw,32px); font-weight: 750; line-height: 1.15; letter-spacing: -.025em; }
.product-detail-heading p { margin: 0; color: #9caac4; font-size: 11px; text-transform: uppercase; font-weight: 600; }
.product-detail-description { margin: 14px 0 20px; color: #e2e5ec; font-size: 14px; line-height: 1.55; }
.product-rule-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.product-rule-heading::after { content: ''; flex: 1; height: 1px; background: #ffffff27; }
.product-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 18px; row-gap: 16px; }
.product-feature { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.product-feature .product-icon { width: 40px; height: 40px; border-radius: 9px; background: color-mix(in srgb,var(--product-accent) 8%,#0a101d); }
.product-feature .product-icon svg { width: 25px; height: 25px; }
.product-feature h5 { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.product-feature p { margin: 0; color: #b8c1d5; font-size: 13px; line-height: 1.5; }
.product-detail-aside { padding-top: 44px; }
.product-detail-image { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; border: 1px solid #ffffff26; border-radius: 10px; }
.product-built-for { margin-top: 16px; }
.product-built-for .product-rule-heading { margin-bottom: 12px; }
.product-built-for ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.product-built-for li { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.product-built-for svg { width: 23px; height: 23px; color: var(--product-accent); }
.product-workflow { margin-top: 22px; padding: 16px 0; border-top: 1px solid #ffffff25; border-bottom: 1px solid #ffffff25; }
.product-workflow ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.product-workflow li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.product-workflow-number { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #ffffff25; border-radius: 50%; color: var(--product-accent); background: linear-gradient(140deg,#202a3e,#111829); font-size: 18px; font-weight: 650; }
.product-workflow li:not(:last-child)::after { content: '›'; margin-left: auto; color: #6b7a91; font-size: 30px; }
.product-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; }
.product-detail-footer p { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.product-detail-footer p svg { flex-shrink: 0; color: var(--product-accent); width: 28px; height: 28px; }
.product-detail-footer .product-button { min-width: 155px; font-size: 14px; }
.product-demo-form { margin-top: 20px; padding: 18px; border: 1px solid #ffffff20; border-radius: 10px; background: #0c172a; }
.product-demo-form h4 { margin: 0 0 5px; font-size: 22px; font-weight: 650; }
.product-demo-form > p { color: #a7b7cc; font-size: 14px; margin-bottom: 20px; }
.product-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.product-demo-form label { display: grid; gap: 7px; color: #b7c6da; font-size: 12px; }
.product-demo-form input, .product-demo-form select, .product-demo-form textarea { width: 100%; padding: 9px 11px; border: 1px solid #32415b; border-radius: 7px; background: #081122; color: #f1f5f9; font-size: 14px; }
.product-form-message { margin: 16px 0; }
.product-demo-form .product-button:disabled { opacity: .6; cursor: wait; }
.product-form-status { margin-top: 12px; font-size: 14px; }
.product-form-status[data-ok='true'] { color: #6ee7b7; }
.product-form-status[data-ok='false'] { color: #fda4af; }
/* Responsive adjustments share the same compact spacing as desktop. */
@media (min-width: 1400px) {
  .flagship-card { min-height: 390px; }
  .flagship-art { height: 285px; }
}
@media (max-width: 1200px) {
  .product-card-top { grid-template-columns: 40px minmax(0, 1fr) 33%; gap: 10px; }
  .product-card-top > .product-icon { width: 40px; height: 40px; }
  .product-card h4 { font-size: 17px; }
}
@media (max-width: 1050px) {
  .products-container { width: calc(100% - 40px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flagship-content { width: 57%; }
  .flagship-art { right: -35px; width: 60%; top: 75px; height: 235px; }
  .flagship-actions { gap: 8px; }
  .flagship-actions .product-button { padding: 10px 13px; }
  .product-detail-grid { gap: 18px; }
}
@media (max-width: 760px) {
  .product-dialog { padding: 12px; }
  .product-dialog-panel { padding: 20px; max-height: calc(100dvh - 24px); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-detail-heading { padding-right: 40px; }
  .product-detail-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; padding-top: 0; }
  .product-built-for { margin-top: 0; }
  .product-workflow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-workflow li::after { display: none; }
  .product-detail-footer p { font-size: 18px; }
  .product-detail-footer .product-button { min-width: 140px; }
}
@media (max-width: 700px) {
  .product-showcase { padding: 28px 0 32px; }
  .flagship-grid { grid-template-columns: 1fr; gap: 14px; }
  .flagship-card { min-height: 365px; }
  .flagship-content { width: 52%; margin-top: 22px; }
  .flagship-art { top: 140px; right: -14px; height: 225px; width: 60%; }
  .flagship-brand-mark { height: 32px; }
  .flagship-section-heading { margin-bottom: 22px; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { min-height: 0; }
  .product-card-top { grid-template-columns: 40px minmax(0, 1fr) 34%; }
  .product-demo-form input, .product-demo-form select, .product-demo-form textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .products-container { width: calc(100% - 28px); }
  .products-heading { font-size: 34px; }
  .products-eyebrow { font-size: 13px; }
  .products-subheading { font-size: 21px; }
  .flagship-card { padding: 18px 16px; }
  .flagship-product-heading { font-size: 48px; }
  .flagship-subtitle { font-size: 20px; }
  .flagship-description { font-size: 13px; }
  .flagship-art { top: 145px; right: -20px; height: 220px; }
  .flagship-brand-mark { top: 17px; right: 16px; width: 130px; height: 30px; }
  .flagship-actions .product-button { flex: 1; padding: 10px; font-size: 11px; gap: 6px; }
  .product-dialog { padding: 8px; }
  .product-dialog-panel { padding: 16px; max-height: calc(100dvh - 16px); }
  .product-detail-heading { gap: 10px; }
  .product-detail-heading .product-icon { width: 42px; height: 42px; }
  .product-detail-heading h3 { font-size: 25px; }
  .product-detail-heading p { font-size: 10px; line-height: 1.4; }
  .product-feature-grid { gap: 16px 12px; }
  .product-feature .product-icon { width: 34px; height: 36px; }
  .product-feature .product-icon svg { width: 22px; height: 22px; }
  .product-detail-aside { grid-template-columns: 1fr; gap: 14px; }
  .product-detail-footer { align-items: stretch; flex-direction: column; gap: 14px; }
  .product-detail-footer .product-button { width: 100%; }
  .product-form-grid { grid-template-columns: 1fr; }
  .product-demo-form { padding: 14px; }
}
@media (max-width: 420px) {
  .product-feature-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .product-showcase *, .product-dialog * { transition: none !important; scroll-behavior: auto !important; }
}

/* Museum products sit together in one desktop row. */
.product-grid--museum { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.product-grid--museum .product-card { min-height: 0; padding: 12px; }
.product-grid--museum .product-card-top { grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: minmax(66px, auto) 110px; min-height: 0; gap: 10px; }
.product-grid--museum .product-card-top > .product-icon { width: 36px; height: 36px; border-radius: 9px; }
.product-grid--museum .product-icon svg { width: 21px; height: 21px; }
.product-grid--museum .product-card h4 { font-size: 17px; }
.product-grid--museum .product-card-top > .product-card-image { grid-column: 1 / -1; grid-row: 2; justify-self: center; align-self: center; max-height: 110px; }
.product-grid--museum .product-card-description { font-size: 13px; line-height: 1.5; }
.product-grid--museum .product-card-tags { gap: 5px; }
.product-grid--museum .product-card-tags span { padding: 4px 7px; font-size: 10px; }
@media (max-width: 1199px) {
  .product-grid--museum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .product-grid--museum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .product-grid--museum { grid-template-columns: 1fr; }
  .product-grid--museum .product-card-top { grid-template-columns: 36px minmax(0, 1fr) 34%; grid-template-rows: auto; }
  .product-grid--museum .product-card-top > .product-card-image { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; max-height: 88px; }
}
