.services__tile--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift {
  transition: filter 0.3s ease, transform 0.3s ease;
}

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.92);
}

/* process editorial — full-bleed banner, serif display, step list */
.process-editorial__banner {
    aspect-ratio: 21 / 5;
    max-height: 16rem;
}

.process-editorial__banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-editorial__headline {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.process-editorial__intro {
    max-width: 42rem;
}

.process-editorial__pill {
    letter-spacing: 0.02em;
}

.process-editorial__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.process-editorial__step-num {
    display: inline-block;
    min-width: 1.75rem;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.process-editorial__step:last-child {
    border-bottom: 0;
}

@media (min-width: 768px) {
    .process-editorial__banner {
        aspect-ratio: 21 / 4;
        max-height: 18rem;
    }
}

@media (min-width: 992px) {
    .process-editorial__nav {
        border-top: 0;
        padding-top: 0.5rem;
    }
}

@media (max-width: 991px) {
    .process-editorial__banner {
        aspect-ratio: 16 / 6;
        max-height: 14rem;
    }
}

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

/* FAQ v8 — flip card states (no Tailwind in script) */
.primer-clarify-query-chapter.primer-clarify-prompt-latent {
    transform: translateY(-100%);
    opacity: 0;
}

.primer-clarify-query-chapter.primer-clarify-prompt-shown {
    transform: translateY(0);
    opacity: 1;
}

.primer-clarify-reply-chapter.primer-clarify-resolve-latent {
    transform: translateY(100%);
    opacity: 0;
}

.primer-clarify-reply-chapter.primer-clarify-resolve-shown {
    transform: translateY(0);
    opacity: 1;
}

.primer-clarify-query-chapter,
.primer-clarify-reply-chapter {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Card min-height for flip layout */
.primer-clarify__card-wrap { min-height: 20rem; }

/* Corner blob size */
.primer-clarify__corner-blob { width: 5rem; height: 5rem; }

/* Animation delays */
.primer-clarify__flare--delay-1 { animation-delay: 0.2s; }
.primer-clarify__flare--delay-2 { animation-delay: 0.4s; }
.primer-clarify__flare--delay-3 { animation-delay: 0.8s; }
.primer-clarify__flare--delay-4 { animation-delay: 1s; }
.primer-clarify__flare--delay-5 { animation-delay: 1.2s; }
.primer-clarify__flare--delay-6 { animation-delay: 1.5s; }
.primer-clarify__flare--delay-7 { animation-delay: 2s; }

/* Cluster positions */
.primer-clarify__cluster-a { top: 3rem; left: 2rem; transform: rotate(45deg); }
.primer-clarify__cluster-b { top: 33%; right: 3rem; transform: rotate(-12deg); }
.primer-clarify__cluster-c { bottom: 4rem; left: 25%; transform: rotate(12deg); }

/* Standalone dot positions */
.primer-clarify__dot-a { top: 5rem; right: 5rem; width: 0.5rem; height: 0.5rem; }
.primer-clarify__dot-b { bottom: 6rem; right: 33%; width: 0.75rem; height: 0.75rem; }

/* Inner cluster child positions */
.primer-clarify__inner-a { top: 1rem; left: 1rem; width: 0.75rem; height: 0.75rem; }
.primer-clarify__inner-b { top: 2rem; left: 2rem; width: 0.5rem; height: 0.5rem; }
.primer-clarify__inner-c { top: 1.5rem; left: 1.5rem; width: 0.5rem; height: 0.5rem; }
.primer-clarify__inner-d { top: 3rem; left: 3rem; width: 1rem; height: 1rem; }
.primer-clarify__inner-e { top: 0.75rem; left: 0.75rem; width: 0.75rem; height: 0.75rem; }

/* Decorative lines */
.primer-clarify__line-a { top: 0.25rem; left: 0.25rem; width: 3rem; height: 0.125rem; }
.primer-clarify__line-b { top: 1.25rem; left: 1.25rem; width: 2rem; height: 0.125rem; }
.primer-clarify__line-c { top: 0.75rem; left: 0.75rem; width: 4rem; height: 0.125rem; }
.primer-clarify__line-d { top: 0.25rem; left: 0.25rem; width: 2.5rem; height: 0.125rem; }

@keyframes primer-clarify-flare-ping-cycle {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.primer-clarify__flare--ping {
    animation: primer-clarify-flare-ping-cycle 1s cubic-bezier(0,0,.2,1) infinite;
}

@keyframes primer-clarify-flare-throb-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.primer-clarify__flare--throb {
    animation: primer-clarify-flare-throb-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes primer-clarify-flare-rebound-cycle {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.primer-clarify__flare--rebound {
    animation: primer-clarify-flare-rebound-cycle 1s infinite;
}

.primer-clarify__flare--lift:hover { transform: scale(1.5); transition: transform .2s ease; }

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

