.intro-split-icon {
    width: 3rem;
    height: 3rem;
}

/* Як TW: w-64 → sm:w-80 → lg:w-96 (одна шкала для обох фреймворків) */
.intro-split-thumb {
    width: 16rem;
    height: 16rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .intro-split-thumb {
        width: 20rem;
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .intro-split-thumb {
        width: 24rem;
        height: 24rem;
    }
}

/* Bootstrap: flex + gap (no .row negative margins; works with section overflow). Tailwind grid ignores flex on items. */
@media (min-width: 576px) {
    .intro-split-benefits__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }
}

.timeline-bubble-row__portrait {
    width: 10rem;
    height: 10rem;
}

.timeline-bubble-row__beacon {
    width: 1.5rem;
    height: 1.5rem;
}

.timeline-bubble-row__min-shrink {
  min-width: 0;
}

/* process glassmorphism — fog blobs, backdrop blur, rune decor, num sizing */
.process-glass__fog {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.process-glass__fog::before {
    content: '';
    position: absolute;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.1;
    top: -10rem;
    left: -5rem;
    background: var(--bs-primary);
}

.process-glass__fog::after {
    content: '';
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.07;
    bottom: -8rem;
    right: -5rem;
    background: var(--bs-primary);
}

.process-glass__card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-glass__card-hov:hover,
.process-glass__card-hov:focus-within {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
}

.process-glass__detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 280ms ease, opacity 220ms ease, margin-top 220ms ease;
}

.process-glass__card-hov:hover .process-glass__detail,
.process-glass__card-hov:focus-within .process-glass__detail {
    max-height: 12rem;
    opacity: 1;
    margin-top: 0.25rem;
}

.process-glass__rune {
    position: absolute;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.04;
    bottom: -0.5rem;
    right: 1rem;
    pointer-events: none;
    user-select: none;
}

.process-glass__num {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .process-glass__card,
    .process-glass__detail {
        transition: none;
    }

    .process-glass__card-hov:hover,
    .process-glass__card-hov:focus-within {
        transform: none;
    }

    .process-glass__detail {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
}

/* pricing-compare — full-width table */
.pricing-compare__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* pricing-compare — plan header columns equal width */
.pricing-compare__th-plan {
    width: 30%;
}

/* pricing-compare — feature label column */
.pricing-compare__th-feat {
    width: 40%;
}

/* pricing-compare — CTA transition */
.pricing-compare__cta {
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

@media (hover: hover) {
    .pricing-compare__cta:hover {
        opacity: 0.88;
    }
}

/* pricing-compare — table wrapper scroll on small screens */
.pricing-compare__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* pricing-compare — min column width on mobile */
.pricing-compare__td-check,
.pricing-compare__td-label {
    min-width: 8rem;
}

@media (max-width: 639px) {
    .pricing-compare__table-wrap {
        border-radius: 0.875rem;
        overflow-x: hidden;
    }

    .pricing-compare__th-feat {
        width: 38%;
    }

    .pricing-compare__th-plan {
        width: 31%;
    }

    .pricing-compare__th-feat,
    .pricing-compare__th-plan,
    .pricing-compare__td-label,
    .pricing-compare__td-check,
    .pricing-compare__tfoot-row td {
        min-width: 0;
        padding: 0.75rem 0.5rem !important;
    }

    .pricing-compare__td-label {
        overflow-wrap: anywhere;
        hyphens: auto;
        line-height: 1.35;
    }

    .pricing-compare__th-plan {
        vertical-align: top;
    }

    .pricing-compare__plan-name {
        margin-bottom: 0.5rem !important;
        overflow-wrap: anywhere;
    }

    .pricing-compare__th-plan [class*="items-baseline"],
    .pricing-compare__th-plan [class*="align-items-baseline"] {
        align-items: center !important;
        flex-direction: column;
        gap: 0.125rem !important;
    }

    .pricing-compare__th-plan span:first-child {
        font-size: 1.35rem !important;
        line-height: 1.1;
    }

    .pricing-compare__th-plan p {
        display: none;
    }

    .pricing-compare__cta {
        display: inline-flex !important;
        width: 100%;
        min-height: 2.5rem;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 0.35rem !important;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.2;
    }
}

