.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);
}

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

/* Compact card width parity (TW w-32 = 8rem; BS has no w-32 utility) */
.integrations__tile-compact {
    width: 8rem;
}

/* 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: 3.5rem;
    height: 3.5rem;
    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;
}

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


.gridview-versus__field--mb16 { margin-bottom: 4rem; }

.gridview-versus__stripe--mb12 { margin-bottom: 3rem; }

.gridview-versus__field--mt12 { margin-top: 3rem; }

/* quote v29 — Xbox pinwheel: origami fold, device bezel frame, ruler marks, hover overlay */

.quote-xbox__grid {
    /* ultra-tight compact layout */
}

.quote-xbox__item {
    min-height: 10rem;
}

/* origami fold effect via clip-path diagonal cut */
.quote-xbox__card {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    transition: transform 200ms ease-out;
}

/* device bezel frame styling */
.quote-xbox__bezel {
    background-image:
        linear-gradient(135deg, rgba(0,0,0,0.04) 0%, transparent 50%),
        linear-gradient(-135deg, rgba(0,0,0,0.04) 0%, transparent 50%);
    box-shadow: inset 0 0 0.5rem rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ruler measurement marks corner decoration */
.quote-xbox__ruler {
    opacity: 0.6;
}

/* badge positioning and style */
.quote-xbox__badge {
    z-index: 2;
}

/* hover overlay slide-down effect */
.quote-xbox__overlay {
    overflow: hidden;
}

@media (hover: hover) {
    .quote-xbox__item:hover .quote-xbox__overlay {
        top: 0;
    }

    .quote-xbox__item:hover .quote-xbox__card {
        transform: translateY(0.25rem);
    }
}

.quote-xbox__overlay-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* energy/aggressive border accent on hover */
@media (hover: hover) {
    .quote-xbox__item:hover .quote-xbox__bezel {
        border-color: rgb(var(--tw-primary-600, 139, 92, 246));
        box-shadow: inset 0 0 0.5rem rgba(139, 92, 246, 0.2), 0 4px 12px rgba(139, 92, 246, 0.3);
    }
}

/* responsive text sizing */
@media (max-width: 639px) {
    .quote-xbox__item {
        min-height: 9rem;
    }
}

/* watermark title utilities */
.quote-xbox__watermark {
    font-weight: 900;
    letter-spacing: -0.06em;
}

/* measurement marks SVG styling */
.quote-xbox__ruler line {
    stroke-linecap: round;
}

/* accessibility: ensure overlay is visible on focus */
.quote-xbox__item:focus-within .quote-xbox__overlay {
    top: 0;
}

