@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.intro-pattern-overlay {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, currentColor 20px, currentColor 40px);
    opacity: 0.03;
    top: -20%;
    left: -30%;
    width: 100%;
    height: 100%;
    animation: rotateSquare 20s linear infinite;
}

.intro-pattern-content {
    max-width: 56rem;
}

/* -- 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);
}
/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-mindmap__corners {
    display: contents;
}

.whyus-mindmap__wave {
    pointer-events: none;
}

.whyus-mindmap {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

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

.whyus-mindmap__wave--a {
    bottom: -1.5rem;
    inset-inline-start: 0;
    height: 10rem;
}

.whyus-mindmap__wave--b {
    top: 2.5rem;
    inset-inline-end: 0;
    width: 66.666667%;
    height: 8rem;
    --bs-text-opacity: 0.15;
}

.whyus-mindmap__wave--c {
    bottom: 0;
    inset-inline-start: 0;
    width: 50%;
    height: 6rem;
}

.whyus-mindmap__title {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.whyus-mindmap__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 2.5rem;
    row-gap: 3rem;
    align-items: start;
}

.whyus-mindmap__watermark {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    opacity: 0.05;
}

.whyus-mindmap__panel {
    position: relative;
    margin: 0;
    padding: 1.5rem;
}

.whyus-mindmap__dot {
    width: 0.5rem;
    height: 0.5rem;
}

.whyus-mindmap__chrome-text,
.whyus-mindmap__num {
    font-size: 0.75rem;
}

.whyus-mindmap__media {
    aspect-ratio: 16 / 9;
}

.whyus-mindmap__panel-title {
    font-size: 1.5rem;
}

.whyus-mindmap__cta {
    padding: 0.625rem 1.25rem;
    transition: transform 150ms ease;
}

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

.whyus-mindmap__branches {
    gap: 1.5rem;
}

.whyus-mindmap__branch {
    padding-inline-start: 1.25rem;
}

.whyus-mindmap__branch-title {
    font-size: 1rem;
}

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

.whyus-mindmap__corner {
    font-size: 1.125rem;
}

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

    .whyus-mindmap__title {
        font-size: 1.5rem;
        margin-bottom: 3.5rem;
    }

    .whyus-mindmap__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .whyus-mindmap__col--main {
        grid-column: span 7 / span 7;
    }

    .whyus-mindmap__col--side {
        grid-column: span 5 / span 5;
    }

    .whyus-mindmap__watermark {
        font-size: 8rem;
    }

    .whyus-mindmap__panel {
        position: sticky;
        top: 2rem;
        padding: 2rem;
    }

    .whyus-mindmap__panel-title {
        font-size: 1.875rem;
    }

    .whyus-mindmap__branches {
        gap: 2rem;
    }

    .whyus-mindmap__branch {
        padding-inline-start: 1.5rem;
    }

    .whyus-mindmap__branch-title,
    .whyus-mindmap__branch-desc {
        font-size: 1rem;
    }

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

/* whyus v28 — mind-map spotlight panel with open branch text blocks */

/* Spotlight panel — clip-path wipe reveal on load (single play, no BS analog) */
@keyframes whyusMindmapWipe {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.whyus-mindmap__panel {
    animation: whyusMindmapWipe 900ms ease-out both;
}

/* Corner brackets — four marks pinned to the spotlight frame's corners */
.whyus-mindmap__corner {
    position: absolute;
    line-height: 1;
}

.whyus-mindmap__corner--tl {
    top: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--tr {
    top: -0.5rem;
    right: -0.5rem;
}

.whyus-mindmap__corner--bl {
    bottom: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--br {
    bottom: -0.5rem;
    right: -0.5rem;
}

.values-hub-glow {
    width: min(100%, 42rem);
    height: 16rem;
    filter: blur(3rem);
}

.values-hub-sq-10 {
    width: 2.5rem;
    height: 2.5rem;
}

.values-hub-sq-11 {
    width: 2.75rem;
    height: 2.75rem;
}

.values-hub-spotlight {
    min-height: 12rem;
}

.values-hub-spotlight__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22rem;
    height: 22rem;
    max-width: 90vw;
    max-height: 90vw;
    pointer-events: none;
}

.values-hub-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--bs-primary, #0d6efd) 22%, transparent);
    pointer-events: none;
}

.values-hub-ring--a {
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.values-hub-ring--b {
    width: 72%;
    height: 72%;
    border-style: dashed;
    opacity: 0.35;
}

.values-hub-core-logo :is(img, svg) {
    max-height: 2.75rem;
    width: auto;
}

.values-hub-core-bs {
    min-height: 11rem;
    max-width: 13rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bs-body-bg, #fff) 92%, var(--bs-primary, #0d6efd) 8%),
        var(--bs-body-bg, #fff)
    );
}

.values-hub-card-bs {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.values-hub-card-bs:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
}

