/* 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;
    }
}

.steps-bg-timeline__card-col {
    max-width: 28rem;
}

.steps-bg-timeline__badge-circle {
    width: 4rem;
    height: 4rem;
}

.steps-bg-timeline__timeline-line {
    height: 1px;
}

/* Mobile: label stays in flow under the badge (no overlap between adjacent steps).
   From md up it detaches below the timeline line, centered on the badge. */
.steps-bg-timeline__badge-label {
    max-width: 8rem;
}

@media (min-width: 768px) {
    .steps-bg-timeline__badge-label {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 2rem;
        max-width: none;
        white-space: nowrap;
    }
}

/* 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;
    }
}


@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slide-up 0.5s ease-out forwards;
    opacity: 0;
}

/* 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: 3rem;
    height: 3rem;
    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--sm {
    width: 2rem;
    height: 2rem;
}

/* Integrations tile: min-width for flex-wrap layout parity with TW min-w-48 */
.integrations__tile {
    min-width: 12rem;
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* 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);
}

/* Solid primary CTA (explicit tokens; readable vs explicit colors in BS) */
.integrations__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--bs-accent, rgb(var(--tw-accent-600, 37 99 235) / 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;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v8__fx-card .integrations__icon-tile,
.integrations-v8__fx-tile .integrations__icon-tile,
.integrations-v8__fx-card .integrations__icon-tile i,
.integrations-v8__fx-tile .integrations__icon-tile i { transition: transform 0.3s ease; }
.integrations-v8__fx-card:hover .integrations__icon-tile { transform: rotate(12deg); }
.integrations-v8__fx-tile:hover .integrations__icon-tile { transform: rotate(6deg); }
.integrations-v8__fx-card:hover .integrations__icon-tile i,
.integrations-v8__fx-tile:hover .integrations__icon-tile i { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
    .integrations-v8__fx-card:hover .integrations__icon-tile,
    .integrations-v8__fx-tile:hover .integrations__icon-tile,
    .integrations-v8__fx-card:hover .integrations__icon-tile i,
    .integrations-v8__fx-tile:hover .integrations__icon-tile i { transform: none; }
}

.magazine-bleed-timeline__rule {
    height: 2px;
}

.magazine-bleed-timeline__image {
    min-height: 420px;
}

.magazine-bleed-timeline__watermark {
    font-size: clamp(72px, 14vw, 160px);
    line-height: 0.85;
    opacity: 0.15;
}

.magazine-bleed-timeline__accent {
    height: 4px;
    width: 3rem;
}

.magazine-bleed-timeline__divider {
    height: 1px;
}

@media (min-width: 768px) {
    .magazine-bleed-timeline__row--reverse {
        flex-direction: row-reverse;
    }

    .magazine-bleed-timeline__panel--end {
        margin-left: auto;
    }
}

.magazine-bleed-timeline__watermark-wrap--end {
    justify-content: flex-end;
}

