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

/* features pillars — circular icon tile size + column dividers (layout only, no colors) */
.features-pillars__tile {
    width: 4rem;
    height: 4rem;
}

.features-pillars__col:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

@media (min-width: 768px) {
    /* equal-width columns regardless of text length (basis 0 + min-width:0 lets a text-heavy item shrink) */
    .features-pillars__col {
        flex: 1 1 0%;
        min-width: 0;
    }

    .features-pillars__col:not(:first-child) {
        border-top-width: 0;
        border-left-width: 1px;
        border-left-style: solid;
    }
}

/* Лише layout / рух; кольори теми — у Blade */
.socialproof-card-hover {
    transition:
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialproof__stat-value,
.socialproof__stat-label {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (hover: hover) {
    .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
    }

    .dark .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
    }

    .socialproof-card-hover:hover .socialproof__stat-value {
        transform: scale(1.08);
    }
}

@media (hover: hover) and (min-width: 640px) {
    .socialproof-card-hover--lift:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .socialproof-card-hover,
    .socialproof__stat-value,
    .socialproof__stat-label {
        transition: none;
    }

    .socialproof-card-hover:hover,
    .socialproof-card-hover:hover .socialproof__stat-value,
    .socialproof-card-hover--lift:hover {
        transform: none;
    }
}

.socialproof__panel {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 0 100%);
}

.socialproof__scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    animation: socialproof__scan 3s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes socialproof__scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

.socialproof__pulse-dot {
    animation: socialproof__dot-pulse 2s ease-in-out infinite;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

@keyframes socialproof__dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.socialproof__metric {
    position: relative;
    transition: background-color 0.2s ease;
}

.socialproof__metric-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.socialproof__metric:hover .socialproof__metric-bar {
    opacity: 1;
}

.socialproof__value {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.socialproof__sidebar-bar {
    height: 100%;
    width: 40px;
    clip-path: polygon(0 0, 70% 0, 100% 10%, 100% 90%, 70% 100%, 0 100%);
}

