/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.services-split__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-split__body {
    min-width: 0;
}

.header-ui__box-11 {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    flex-shrink: 0;
}

[data-split-row]:last-child .services-split__body {
    padding-bottom: 0;
}

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

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

.integrations__cta-primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

/* App panel min height */
.integrations__app-panel {
    min-height: 400px;
}

/* v29 custom sizes (width/height only, no colors) */
.integrations-app-panel__icon-tile--sm {
    width: 2.25rem;
    height: 2.25rem;
}

.integrations-app-panel__icon-tile--lg {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 768px) {
    .integrations-app-panel__sidebar {
        width: 18rem;
    }
}

/* Sidebar button: reset user-agent button defaults so only our border/bg apply */
.integrations__sidebar-item {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
}

/* Enable text-truncate inside flex (BS has no min-w-0 utility) */
.integrations-app-panel__item-body {
    min-width: 0;
}

/* Sidebar list: remove default list indentation */
.integrations-app-panel__sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* quote v27 — BAPE flow-chart: snow drift, script heading, connectors, ripples, drag */

.quote-flow__script-heading {
    font-family: "Segoe Script", "Brush Script MT", cursive;
}

.quote-flow__snow {
    position: absolute;
    width: 0.35rem;
    height: 0.35rem;
    animation: quoteFlowSnow 12s linear infinite;
}
.quote-flow__snow--1 { left: 8%; top: -5%; animation-delay: 0s; }
.quote-flow__snow--2 { left: 18%; top: -8%; animation-delay: 1.5s; }
.quote-flow__snow--3 { left: 32%; top: -4%; animation-delay: 3s; }
.quote-flow__snow--4 { left: 48%; top: -7%; animation-delay: 0.8s; }
.quote-flow__snow--5 { left: 62%; top: -6%; animation-delay: 2.2s; }
.quote-flow__snow--6 { left: 74%; top: -9%; animation-delay: 4s; }
.quote-flow__snow--7 { left: 84%; top: -5%; animation-delay: 1.1s; }
.quote-flow__snow--8 { left: 92%; top: -7%; animation-delay: 2.8s; }
@keyframes quoteFlowSnow {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.6; }
    100% { transform: translate(-3rem, 110vh); opacity: 0; }
}

.quote-flow__connector {
    height: 3rem;
}

.quote-flow__ripple-wrap {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
}
.quote-flow__ripple {
    animation: quoteFlowRipple 2.4s ease-out infinite;
}
.quote-flow__ripple--delay {
    animation-delay: 1.2s;
}
@keyframes quoteFlowRipple {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.quote-flow__step-badge {
    width: 2rem;
    height: 2rem;
}

.quote-flow__card {
    border-radius: 0.25rem;
    box-shadow: 3px 3px 0 0 currentColor;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.quote-flow__card.is-dragging {
    opacity: 0.65;
    transform: rotate(-1deg) scale(1.02);
}
[data-quote-flow-item].is-drop-target .quote-flow__card {
    box-shadow: 0 0 0 2px var(--bs-primary);
}

.quote-flow__thumb {
    aspect-ratio: 1 / 1;
    min-height: 4rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-flow-root [role="listitem"]:hover,
    .quote-flow-root article:hover,
    .quote-flow-root [class*="quote-flow__card"]:hover,
    .quote-flow-root .quote-flow__book:hover,
    .quote-flow-root .quote-flow__step:hover,
    .quote-flow-root .quote-flow__index-card:hover,
    .quote-flow-root .quote-flow__pill:hover,
    .quote-flow-root .quote-flow__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-flow-root [role="listitem"],
.quote-flow-root article,
.quote-flow-root [class*="quote-flow__card"],
.quote-flow-root .quote-flow__book,
.quote-flow-root .quote-flow__step,
.quote-flow-root .quote-flow__index-card,
.quote-flow-root .quote-flow__pill {
    transition: transform 200ms ease;
}

.quote-flow-root a:focus-visible,
.quote-flow-root button:focus-visible,
.quote-flow-root [tabindex="0"]:focus-visible,
.quote-flow-root input:focus-visible,
.quote-flow-root summary:focus-visible,
.quote-flow-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-flow-root button:hover,
    .quote-flow-root a:hover,
    .quote-flow-root summary:hover {
        opacity: 0.92;
    }
}

