/* intro v26 — Dieter Rams node: hex grid, bottom band, blurred ghost image, serif, typewriter */

/* Hexagon-ish grid (minimal, colour from Tailwind text-*, lines via currentColor) */
.intro-node__hex {
    background-image:
        repeating-linear-gradient(60deg, currentColor 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg, currentColor 0 1px, transparent 1px 26px);
    opacity: 0.1;
}

.intro-node__band { height: 10rem; opacity: 0.7; }

/* Blurred background photo behind the spotlight node */
.intro-node__ghost { height: 14rem; }
.intro-node__img {
    object-fit: cover;
    filter: blur(10px);
    opacity: 0.35;
    transform: scale(1.08);
}

/* Serif heading */
.intro-node__serif {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

/* Org-chart stem connector */
.intro-node__stem {
    width: 1px;
    height: 2rem;
}

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

@media (prefers-reduced-motion: reduce) {
    .intro-node__type .is-typing { animation: none; }
}

.features-animated-rows__decor--spin {
    animation: features-animated-rows-spin-kf 1s linear infinite;
}
@keyframes features-animated-rows-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.features-animated-rows__decor--bounce {
    animation: features-animated-rows-bounce-kf 1s infinite;
}
@keyframes features-animated-rows-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.features-animated-rows__decor--pulse,
.features-animated-rows__line--pulse {
    animation: features-animated-rows-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes features-animated-rows-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.features-animated-rows__overlay--gradient-br {
    background: linear-gradient(to bottom right, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}
.features-animated-rows__overlay--gradient-tl {
    background: linear-gradient(to top left, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}
.features-animated-rows__overlay--gradient-r {
    background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}
.features-animated-rows__overlay--gradient-bl {
    background: linear-gradient(to bottom left, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* 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;
    width: 2.5rem;
    height: 2.5rem;
    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));
}

/* Status dot sizing (no colors) */
.integrations__status-dot {
    width: 0.5rem;
    height: 0.5rem;
}

/* Uptime bar sizing (no colors) */
.integrations__uptime-track {
    height: 0.375rem;
}
.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);
}

/* Widget card sizing */
.integrations__widget-card {
    min-width: 260px;
    max-width: 300px;
    flex: 1 1 260px;
}

.integrations__widget-desc {
    font-size: 0.8125rem;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v18__fx-card .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-v18__fx-card:hover .integrations__icon-tile { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
    .integrations-v18__fx-card:hover .integrations__icon-tile { transform: none; }
}

/* process rail — awards list rows, serif marquee */
.process-rail__stage {
    min-height: 24rem;
}

.process-rail__top {
    min-height: 18rem;
}

.process-rail__row {
    transition: background-color 0.25s ease;
}

.process-rail__row:hover {
    background-color: color-mix(in srgb, currentColor 8%, transparent);
}

.process-rail__marquee-track {
    display: flex;
    width: max-content;
    animation: process-rail-marquee 28s linear infinite;
}

.process-rail__marquee-text {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-inline: 1rem;
    flex-shrink: 0;
}

.process-rail__animation {
    width: 8rem;
    height: 8rem;
    animation: process-rail-pulse 2s ease-in-out infinite;
}

@keyframes process-rail-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes process-rail-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-rail__marquee-track {
        animation: none;
    }
}

@media (min-width: 992px) {
    .process-rail__stage {
        min-height: 28rem;
    }

    .process-rail__top {
        min-height: 22rem;
    }
}

