/* process editor — brand mark sizing */
.process-editor__brand {
    letter-spacing: 0.04em;
}

/* process editor — hero bar between mega words */
.process-editor__hero-bar {
    flex: 1 1 6rem;
    height: 0.65rem;
    min-width: 3rem;
    max-width: 100%;
    align-self: flex-end;
    margin-bottom: 0.35em;
}

/* process editor — oversized condensed display type */
.process-editor__mega {
    letter-spacing: -0.06em;
    line-height: 0.82;
}

.process-editor__mega--lead {
    font-size: clamp(3.5rem, 16vw, 11rem);
}


.process-editor__mega--stack {
    font-size: clamp(3rem, 13vw, 9rem);
    margin-top: -0.08em;
}

/* process editor — italic accent word in kicker */
.process-editor__kicker {
    font-size: clamp(1.75rem, 4.5vw, 3.75rem);
}

.process-editor__kicker-accent {
    display: inline-block;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 0.95;
    vertical-align: baseline;
    margin-inline: 0.15em;
}

/* process editor — vertical step nav */
.process-editor__nav-btn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
    transition: opacity 200ms ease, transform 200ms ease;
}

.process-editor__nav-btn.is-active {
    transform: translateX(0.25rem);
}

.process-editor__nav-btn.is-active .process-editor__nav-label {
    color: var(--tw-primary-900, var(--bs-primary));
    font-weight: 700;
}

.process-editor__nav-btn:not(.is-active) .process-editor__nav-label {
    opacity: 0.72;
}

.process-editor__panel {
    animation: process-editor-panel-in 280ms ease;
}

@keyframes process-editor-panel-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1023px) {
    .process-editor__hero-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-editor__hero-bar {
        width: 70%;
        flex: none;
        margin-bottom: 0;
    }

    .process-editor__kicker {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-editor__nav-btn,
    .process-editor__panel {
        animation: none;
        transition: none;
    }

    .process-editor__nav-btn.is-active {
        transform: none;
    }
}

/* 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;
    color: #fff;
    width: 3rem;
    height: 3rem;
    --_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));
}
@media (min-width: 768px) {
    .integrations__stepper-icon-row .integrations__icon-tile {
        width: 3.5rem;
        height: 3.5rem;
    }
}
.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);
}

.integrations__stepper {
    overflow: visible;
}

/* Wave decoration */
.integrations__wave-svg {
    height: 20px;
}

/* Stepper icon row: reserves vertical space for the horizontal connector on md+ */
.integrations__stepper-icon-row {
    min-height: 4rem;
}

/* Desktop: visual gap between adjacent stepper cards (parent uses gap-0 for connector line) */
@media (min-width: 768px) {
    .integrations__stepper-card-wrap {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
}

/* Stepper connectors */
.integrations__stepper-connector-h {
    left: 50%;
    width: 100%;
    height: 2px;
}

.integrations__stepper-connector-v {
    left: 1.5rem;
    top: 3.5rem;
    width: 2px;
    height: calc(100% + 0.5rem);
}

/* Step action text */
.integrations__step-action {
    font-size: 0.8rem;
}

.whyus-scattered__subtitle-max {
    max-width: 48rem;
}

.whyus-scattered__grid {
    max-width: 64rem;
    margin-top: 60px;
}

/* Bootstrap: вертикальные промежутки как gap-16 / md:gap-20 в Tailwind */
.whyus-scattered__bs-stack {
    gap: 4rem;
}

@media (min-width: 768px) {
    .whyus-scattered__bs-stack {
        gap: 5rem;
    }
}

/* Смещения как md:-ml-20 / md:ml-16 / md:-ml-8 и mt (только md+) */
@media (min-width: 768px) {
    .whyus-scattered__item--0 {
        margin-left: -5rem;
        margin-top: -2rem;
    }

    .whyus-scattered__item--1 {
        margin-left: 4rem;
        margin-top: -3rem;
    }

    .whyus-scattered__item--2 {
        margin-left: -2rem;
        margin-top: 1rem;
    }
}

.whyus-scattered__thumb {
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
}

