/* Subtle elevation: static tiles stay informational, links retain their own focus. */
.product-grid-portfolio .product-card,
.digital-product-card {
    --card-accent: #287d86;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.digital-product-card.pumpbook-card { --card-accent: #168348; }
.digital-product-card.jewelvalu-card { --card-accent: #b18530; }
.digital-product-card.zyvault-card { --card-accent: #287d86; }
.compliance-capabilities span,
.service-grid article {
    transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.service-grid h3,
.service-grid article > span { transition: color 200ms ease; }
.metrics > div {
    transition: background-color 200ms ease, box-shadow 200ms ease;
}
.site-header nav a:not(.nav-cta) {
    padding: 9px 10px;
    border-radius: 6px;
    transition: background-color 200ms ease, color 200ms ease;
}
.site-header nav a:not(.nav-cta):focus-visible {
    background-color: rgba(215, 241, 238, .14);
    color: #d7f1ee;
}
.proof .metrics > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 27px 20px;
    text-align: center;
}
.services .service-grid article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 29px 24px;
    text-align: center;
}
.services .service-grid h3 { margin-top: 20px; }
.services .service-grid p { max-width: 30ch; }
.button, .nav-cta { transition: background-color 200ms ease, box-shadow 200ms ease; }
.button > span, .nav-cta > span, .digital-product-card a > span {
    display: inline-block;
    transition: transform 200ms ease;
}
.product-grid-portfolio .product-card:focus-within,
.digital-product-card:focus-within {
    border-color: var(--card-accent);
    box-shadow: 0 12px 28px rgba(7, 26, 44, .13), 0 2px 5px rgba(7, 26, 44, .05);
}
a:focus-visible, button:focus-visible {
    outline: 3px solid #bd852b;
    outline-offset: 5px;
}
.button-primary:focus-visible { background: #bde5df; }
.button-gold:focus-visible { background: #e8b65d; }
@media (hover: hover) and (pointer: fine) {
    .site-header nav a:not(.nav-cta):hover {
        background-color: rgba(215, 241, 238, .14);
        color: #d7f1ee;
    }
    .metrics > div:hover {
        background-color: #eff8f6;
        box-shadow: inset 0 0 0 1px rgba(40, 125, 134, .16), inset 0 2px 6px rgba(7, 26, 44, .035);
    }
    .product-grid-portfolio .product-card:hover,
    .digital-product-card:hover {
        transform: translateY(-4px);
        border-color: var(--card-accent);
        box-shadow: 0 12px 28px rgba(7, 26, 44, .13), 0 2px 5px rgba(7, 26, 44, .05);
    }
    .compliance-capabilities span:hover {
        background: rgba(215, 241, 238, .15);
        border-color: rgba(215, 241, 238, .65);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 5px 16px rgba(0, 0, 0, .1);
    }
    .service-grid article:hover { background: rgba(215, 241, 238, .05); }
    .service-grid article:hover h3,
    .service-grid article:hover > span { color: #d7f1ee; }
    .button-primary:hover { background: #bde5df; }
    .button-gold:hover { background: #e8b65d; }
    .nav-cta:hover { background: rgba(255, 255, 255, .1); }
    .button:hover > span, .nav-cta:hover > span,
    .digital-product-card a:hover > span { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .product-grid-portfolio .product-card, .digital-product-card,
    .compliance-capabilities span, .service-grid article, .metrics > div,
    .service-grid h3, .service-grid article > span,
    .site-header nav a:not(.nav-cta),
    .button, .nav-cta, .button > span, .nav-cta > span,
    .digital-product-card a > span { transition: none; }
    .product-grid-portfolio .product-card:hover, .digital-product-card:hover,
    .button:hover > span, .nav-cta:hover > span,
    .digital-product-card a:hover > span { transform: none; }
}

.compliance-callout {
    background: linear-gradient(120deg, #061a2d 0%, #0d3852 58%, #176066 100%);
    color: #fff;
}

.compliance-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.compliance-layout h2 {
    max-width: 600px;
    margin: 0 0 20px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -2.4px;
}

.compliance-layout > div > p:not(.eyebrow) {
    max-width: 610px;
    margin: 0 0 30px;
    color: #c6dadd;
    font-size: 16px;
}

.compliance-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.compliance-capabilities span {
    min-height: 88px;
    display: flex;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(215, 241, 238, .28);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    color: #eff8f8;
    font-size: 14px;
    font-weight: 700;
}

.specialised-products {
    background: #fff;
}

.digital-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.digital-product-card {
    display: flex;
    min-height: 440px;
    flex-direction: column;
    padding: 34px;
    border: 1px solid #dce4e8;
    border-radius: 20px;
    background: #fff;
}

.product-brand { height: 110px; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 28px; font-weight: 800; color: #123843; }
.product-brand img { display: block; width: 100%; max-width: 280px; height: 110px; object-fit: contain; object-position: left center; }
.product-brand img.zyvault-mark { width: 48px; height: 48px; }
.digital-product-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 14px;
    font-size: 28px;
    font-weight: 800;
}

.digital-product-type {
    margin: 0 0 10px;
    font: 10px 'DM Mono', monospace;
    letter-spacing: 1px;
}

.digital-product-card h3 {
    margin: 0 0 13px;
    font-size: 28px;
    letter-spacing: -1.1px;
}

.digital-product-card > p:not(.digital-product-type) {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.digital-product-card ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    font-weight: 700;
}

.digital-product-card li::before {
    content: '✓';
    margin-right: 7px;
}

.digital-product-card a {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-top: auto;
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.digital-product-card a span {
    margin-left: 6px;
}

.pumpbook-card {
    border-color: #b9e5cb;
    background: linear-gradient(180deg, #f7fffa 0%, #fff 58%);
}

.pumpbook-card .digital-product-icon {
    background: #d8f7e4;
    color: #087b43;
}

.pumpbook-card .digital-product-type,
.pumpbook-card li::before,
.pumpbook-card a {
    color: #087b43;
}

.jewelvalu-card {
    border-color: #e6d4b3;
    background: linear-gradient(180deg, #fffcf7 0%, #fff 58%);
}

.jewelvalu-card .digital-product-icon {
    background: #f9edd8;
    color: #8c1532;
}

.jewelvalu-card .digital-product-type,
.jewelvalu-card li::before,
.jewelvalu-card a {
    color: #8c1532;
}

.zyvault-card {
    border-color: #bddad9;
    background: linear-gradient(180deg, #f5fbfb 0%, #fff 58%);
}

.zyvault-card .digital-product-icon {
    background: #dcefee;
    color: #0d5660;
}

.zyvault-card .digital-product-type,
.zyvault-card li::before,
.zyvault-card a {
    color: #0d5660;
}

@media (max-width: 800px) {
    .compliance-layout,
    .digital-product-grid {
        grid-template-columns: 1fr;
    }

    .compliance-layout {
        gap: 36px;
    }
}

@media (max-width: 540px) {
    .proof .metrics > div { padding: 22px 16px; }

    .compliance-capabilities,
    .digital-product-card ul {
        grid-template-columns: 1fr;
    }

    .digital-product-card {
        min-height: auto;
        padding: 27px;
    }
}
