.intro-animated-gradient__root {
    padding-top: clamp(4rem, 12vw, 10rem);
    padding-bottom: clamp(4rem, 12vw, 10rem);
    min-height: min(32rem, 85vh);
}

@keyframes intro-animated-gradient-spin {
    to {
        transform: rotate(360deg);
    }
}

.intro-animated-gradient__spin--left,
.intro-animated-gradient__spin--right {
    width: 85%;
    height: 85%;
    top: 7.5%;
    animation-name: intro-animated-gradient-spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}

.intro-animated-gradient__spin--left {
    left: -18%;
    animation-duration: 48s;
}

.intro-animated-gradient__spin--right {
    right: -18%;
    animation-duration: 60s;
    animation-direction: reverse;
}

.intro-animated-gradient__area {
    max-width: 48rem;
}

/* process works — marquee ticker, title scale, list rows, background logo (no colors) */
.process-works__marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 3rem;
    animation: process-works-marquee 32s linear infinite;
}
.process-works__marquee-item {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}
.process-works__title {
    word-break: break-word;
}
.process-works__row {
    transition: transform 200ms ease;
}
.process-works__row:hover {
    transform: translateX(0.25rem);
}
.process-works__logo {
    min-height: 16rem;
    pointer-events: none;
}
.process-works__logo-mark {
    width: 14rem;
    height: 14rem;
    flex-shrink: 0;
    animation: process-works-drift 8s ease-in-out infinite;
}
.process-works__logo-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}
.process-works__logo-mark svg,
.process-works__logo-mark svg :is(path, circle, rect, polygon) {
    fill: currentColor !important;
}
@keyframes process-works-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
@keyframes process-works-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0.5rem, -0.75rem, 0);
    }
}
@media (min-width: 768px) {
    .process-works__logo {
        min-height: 20rem;
    }
    .process-works__logo-mark {
        width: 18rem;
        height: 18rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .process-works__marquee-track,
    .process-works__logo-mark {
        animation: none;
    }
    .process-works__row:hover {
        transform: none;
    }
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-woodcut__ecg {
    display: block;
}

.mxw-6xl {
    max-width: 72rem !important;
}

.whyus-woodcut__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.whyus-woodcut__runin-heading {
    font-size: 1.5rem;
    font-weight: 900;
    margin-inline-end: 0.5rem;
}

.whyus-woodcut__intro {
    font-size: 0.875rem;
}

.whyus-woodcut__ecg-box {
    height: 2rem;
}

.whyus-woodcut__table {
    border-collapse: collapse;
    font-size: 0.75rem;
}

.whyus-woodcut__cell {
    padding: 0.375rem 0.5rem;
}

.whyus-woodcut__cell--note {
    font-size: 0.75rem;
}

.whyus-woodcut__cta {
    transition: transform 150ms ease;
}

/* hover — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:scale-105 wins there */
:where(.whyus-woodcut__cta):hover {
    transform: scale(1.05);
}

.whyus-woodcut__col {
    gap: 1rem;
}

.whyus-woodcut__card {
    padding: 1rem;
}

.whyus-woodcut__card-decor {
    top: -0.75rem;
    inset-inline-end: -0.75rem;
    width: 3rem;
    height: 3rem;
}

.whyus-woodcut__card-label {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.whyus-woodcut__card-title {
    font-size: 1rem;
    font-weight: 900;
}

.whyus-woodcut__card-desc {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .whyus-woodcut {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .whyus-woodcut__row {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .whyus-woodcut__hero {
        grid-column: span 5 / span 5;
        position: sticky;
        top: 2rem;
    }

    .whyus-woodcut__col {
        grid-column: span 7 / span 7;
        gap: 1.5rem;
    }

    .whyus-woodcut__runin-heading {
        font-size: 1.875rem;
    }

    .whyus-woodcut__intro,
    .whyus-woodcut__card-desc {
        font-size: 1rem;
    }

    .whyus-woodcut__table {
        font-size: 0.875rem;
    }

    .whyus-woodcut__card {
        padding: 1.25rem;
    }

    .whyus-woodcut__card-title {
        font-size: 1.125rem;
    }
}

/* whyus v29 — woodblock print texture, glitch-flicker hero entrance, ECG heartbeat trace, hover blur/sharpen, run-in heading helper */

/* Woodblock print texture overlay — diagonal ruled lines drawn with currentColor, no literal color values */
.whyus-woodcut__texture {
    position: relative;
    isolation: isolate;
}

.whyus-woodcut__texture::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(118deg, currentColor 0, currentColor 1px, transparent 1px, transparent 7px);
    opacity: 0.05;
}

/* Glitch-flicker entrance on the hero card — brief opacity/position jitter settling to stable */
.whyus-woodcut__hero {
    animation: whyus-woodcut-glitch 700ms steps(1, end) both;
}

@keyframes whyus-woodcut-glitch {
    0% { opacity: 0; transform: translate(0, 0); }
    12% { opacity: 1; transform: translate(-3px, 2px); }
    24% { opacity: 0.6; transform: translate(3px, -2px); }
    36% { opacity: 1; transform: translate(-2px, 0); }
    48% { opacity: 0.75; transform: translate(2px, 1px); }
    62% { opacity: 1; transform: translate(-1px, -1px); }
    78% { opacity: 0.9; transform: translate(1px, 0); }
    100% { opacity: 1; transform: translate(0, 0); }
}

/* ECG heartbeat trace — draws in via stroke-dash, then loops softly (no BS/TW animation utility) */
.whyus-woodcut__ecg-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: whyus-woodcut-ecg-draw 3.4s ease-in-out infinite;
}

@keyframes whyus-woodcut-ecg-draw {
    0% { stroke-dashoffset: 500; }
    55% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -500; }
}

/* Card hover — background shape blurs out while foreground content sharpens/scales up */
.whyus-woodcut__card-decor {
    filter: blur(2px);
    transition: filter 300ms ease;
}

.whyus-woodcut__card-fg {
    transition: transform 250ms ease;
}

.whyus-woodcut__card:hover .whyus-woodcut__card-decor {
    filter: blur(0);
}

.whyus-woodcut__card:hover .whyus-woodcut__card-fg {
    transform: scale(1.05);
}

/* Run-in heading — keeps the h2 riding the paragraph's baseline so it reads as one flow */
.whyus-woodcut__runin-heading {
    margin: 0;
    vertical-align: baseline;
}

@media (prefers-reduced-motion: reduce) {
    .whyus-woodcut__hero,
    .whyus-woodcut__ecg-path,
    .whyus-woodcut__card-decor,
    .whyus-woodcut__card-fg {
        animation: none;
        transition: none;
    }
}


.weighin-splitview__mosaic--glass { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.weighin-splitview__tag--glass { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

