.customers,
.setup-walkthrough {
    scroll-margin-top: 100px;
}

.customers {
    padding: 80px 0 88px;
    background: #f7f8fc;
    border-top: 1px solid #ececf4;
}

.customers-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.customers-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.035em;
    text-align: start;
}

.customers-heading p {
    max-width: 620px;
    margin: 0;
    color: #646978;
}

.customers-controls {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.customers [hidden],
.setup-walkthrough [hidden] {
    display: none !important;
}

.customers-arrow {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #dcdce9;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-dark);
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.customers-arrow:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.customers-arrow:active:not(:disabled) { transform: scale(0.96); }
.customers-arrow:disabled { opacity: 0.35; cursor: default; }
[dir="rtl"] .customers-arrow svg { transform: rotate(180deg); }

.customers-arrow:focus-visible,
.setup-step:focus-visible,
.setup-play:focus-visible,
.setup-walkthrough .btn:focus-visible,
.setup-video:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

.customers-swiper { padding: 4px 1px 12px; }
.customers-swiper .swiper-wrapper { align-items: stretch; }
.customers-swiper .swiper-slide { height: auto; }
.customers-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 216px;
    gap: 16px;
    overflow-x: auto;
}

.customer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 236px;
    padding: 24px 18px 20px;
    border: 1px solid #e6e7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 3px 6px rgba(26, 29, 41, 0.025);
}

.customer-logo-frame {
    display: grid;
    place-items: center;
    height: 112px;
    margin-bottom: 20px;
}

.customer-logo {
    display: block;
    width: 100%;
    height: 104px;
    object-fit: contain;
}

.customer-monogram {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    color: #777291;
    background: #f3f1f9;
    font-size: 2rem;
    font-weight: 600;
}

.has-logo .customer-monogram { display: none; }
.customer-name {
    margin: auto 0 0;
    color: #474b5a;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
}

.setup-walkthrough {
    padding: 88px 0;
    background: radial-gradient(ellipse at 85% 35%, #ece8fb 0%, transparent 54%), #fbfaff;
    border-block: 1px solid #ece8f6;
}

.setup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 80px;
}

.setup-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.setup-eyebrow svg { flex-shrink: 0; }
.setup-content h2 {
    max-width: 570px;
    margin-bottom: 22px;
    font-size: clamp(2rem, 3.6vw, 3.15rem);
    line-height: 1.14;
    letter-spacing: -0.045em;
    text-align: start;
}

.setup-intro { max-width: 500px; color: #646978; font-size: 1.05rem; }
.setup-steps { list-style: none; margin: 28px 0; padding: 0; }
.setup-steps li { border-top: 1px solid #e5e1ef; }
.setup-steps li:last-child { border-bottom: 1px solid #e5e1ef; }
.setup-step {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
    padding: 19px 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--dark);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: background-color 180ms ease;
}

.setup-step:hover,
.setup-step[aria-current="step"] { background: #f0ecfb; }
.setup-step-number { padding-top: 2px; color: var(--primary); font-size: 0.8rem; font-weight: 600; }
.setup-step-copy { flex: 1; }
.setup-step-copy strong { display: block; margin-bottom: 5px; font-size: 1rem; font-weight: 600; }
.setup-step-copy > span { display: block; color: #646978; font-size: 0.875rem; line-height: 1.6; }
.setup-step-time { display: flex; align-items: center; gap: 8px; padding-top: 3px; color: var(--primary-dark); font-size: 0.75rem; white-space: nowrap; }
.setup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.setup-actions > span { max-width: 180px; color: #646978; font-size: 0.8rem; }
.setup-demo { width: 100%; max-width: 408px; margin: 0 auto; }
.setup-video-frame {
    position: relative;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 24px;
    background: #103c31;
    box-shadow: 0 24px 64px -24px rgba(51, 37, 91, 0.3), 0 0 0 1px #e8e2f2;
}

.setup-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.setup-play {
    position: absolute;
    inset-inline: 20px;
    bottom: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    background: #fff;
    color: #2c2447;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.17);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 180ms ease;
}
.setup-play:hover { background: #f0ebff; }
.setup-play:active { background: #e7dffb; }
.setup-play-icon { display: flex; align-items: center; color: var(--primary); }
.setup-play-duration { margin-inline-start: auto; color: #646978; font-size: 0.75rem; }
.setup-demo figcaption { margin-top: 18px; color: #646978; font-size: 0.8rem; text-align: center; }
.setup-video-error { margin: 14px 0 0; font-size: 0.9rem; }
.setup-video-error a { color: var(--primary-dark); text-decoration: underline; }
[dir="rtl"] .setup-content h2,
[dir="rtl"] .customers-heading h2 { letter-spacing: 0; line-height: 1.5; }

@media (max-width: 1023px) {
    .setup-layout { gap: 36px; }
    .setup-content h2 { font-size: 2.35rem; }
    .setup-step-time { display: none; }
    .setup-play { inset-inline: 12px; padding: 12px; gap: 8px; font-size: 0.8rem; }
}

@media (max-width: 767px) {
    .customers, .setup-walkthrough { padding: 56px 0; }
    .customers-heading { align-items: flex-start; gap: 16px; margin-bottom: 24px; }
    .customers-heading h2 { font-size: 1.75rem; }
    .customers-heading p { font-size: 0.9rem; }
    .customers-controls { gap: 6px; }
    .customers-arrow { width: 44px; height: 44px; }
    .setup-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .setup-content h2 { max-width: 480px; font-size: 2.3rem; }
    .setup-step-time { display: flex; }
    .setup-demo { max-width: 380px; }
    .setup-actions > span { max-width: 160px; }
    .setup-play { inset-inline: 16px; padding: 14px; }
}

@media (max-width: 479px) {
    .customers-heading { flex-wrap: wrap; }
    .customers-controls { margin-inline-start: auto; }
    .setup-content h2 { font-size: 2rem; }
    .setup-step { gap: 12px; }
    .setup-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
    .setup-actions > span { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .customers *, .setup-walkthrough * { transition: none !important; scroll-behavior: auto; }
}
