/* intro v19 — photo-free index list: soft blurred blobs, fixed icon tiles, scroll reveal */

/* Soft background blobs (fixed size + blur have no BS utility; colour stays a Tailwind/BS class) */
.intro-index__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
    opacity: 0.5;
}

/* Icon tile fixed size (BS has no w-N/h-N utility) */
.intro-index__icon-tile {
    width: 3rem;
    height: 3rem;
}

/* Scroll reveal — cards hide only once JS arms the section (no-JS content stays visible) */
.intro-index.is-armed .intro-index__card {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-index.is-armed .intro-index__card.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .intro-index.is-armed .intro-index__card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.services-tabs__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-tabs__btn {
    background-color: transparent;
}
.services-tabs__btn:hover {
    background-color: color-mix(in srgb, var(--bs-secondary-color) 6%, transparent);
}
.services-tabs__btn.is-active {
    border-color: var(--bs-primary) !important;
    background-color: color-mix(in srgb, var(--bs-primary) 8%, transparent) !important;
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* v14: left VS column — solid primary (fixes white-on-white if background helper omits in BS) */
.integrations__vs-left {
    color: #fff;
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(
        to bottom right,
        rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1),
        rgb(var(--tw-primary-700, var(--bs-primary-scale-700, 67 56 202)) / 1)
    );
}

.integrations__vs-left .integrations__icon-tile--on-primary {
    background-color: rgba(255, 255, 255, 0.18);
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.integrations__cta-on-primary {
    background-color: #fff;
    color: var(--bs-primary, rgb(var(--tw-primary-700, var(--bs-primary-scale-700, 67 56 202)) / 1));
}
.integrations__cta-on-primary:hover {
    background-color: color-mix(
        in srgb,
        #ffffff 88%,
        var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1))
    );
    color: var(--bs-primary, rgb(var(--tw-primary-800, var(--bs-primary-scale-800, 55 48 163)) / 1));
}

/* Right column: solid primary + white text (readable on neutral card; BS-safe) */
.integrations__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}
.integrations__cta-primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Decorative VS: bounded size (avoids broken TW arbitrary / huge glyph in BS) */
.integrations__vs-watermark {
    font-size: min(38vw, 9rem);
    line-height: 0.85;
    max-width: 100%;
    text-align: center;
}

.compact-gradient-timeline__badge {
    width: 4rem;
    height: 4rem;
}

.compact-gradient-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.compact-gradient-timeline__arrow {
    width: 1.5rem;
    height: 1.5rem;
}

.compact-gradient-timeline__summary-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.compact-gradient-timeline__min-shrink {
  min-width: 0;
}


.explain-solver__unit--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.explain-solver__icon-thumb { width: 3rem; height: 3rem; }

