.hero-v27-block {
    max-width: 48rem;
}

.hero-v27-media {
    max-width: 64rem;
}

.hero-v27-glow {
    top: -1rem;
    left: 4rem;
    right: 4rem;
    height: 6rem;
    filter: blur(48px);
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.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;
    }
}

/* proof-band — centered heading + three soft giant-number cards */
.proof-band__eyebrow {
    letter-spacing: 0.14em;
}

.proof-band__heading {
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.proof-band__card {
    padding: 1.75rem;
    min-height: 100%;
}

.proof-band__rule {
    height: 0;
    width: 3rem;
}

.proof-band__figure {
    letter-spacing: -0.035em;
}

.proof-band__number {
    font-variant-numeric: tabular-nums;
}

.proof-band__suffix {
    top: 0;
    margin-top: 0.15em;
    vertical-align: baseline;
}

.features-masonry-grid__list {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-masonry-grid__list {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .features-masonry-grid__list {
        column-count: 3;
    }
}

.features-masonry-grid__item {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
}

.features-masonry-grid__decor--pulse-tl {
    top: 0;
    left: 0;
    border-bottom-right-radius: 9999px;
    animation: features-masonry-grid-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-masonry-grid__decor--pulse-br {
    bottom: 0;
    right: 0;
    border-top-left-radius: 9999px;
    animation: features-masonry-grid-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-masonry-grid__decor--spin {
    top: 33.333333%;
    right: 25%;
    animation: features-masonry-grid-spin-kf 1s linear infinite;
}

.features-masonry-grid__decor--bounce {
    bottom: 33.333333%;
    left: 25%;
    transform: rotate(12deg);
    animation: features-masonry-grid-bounce-kf 1s infinite;
}

.features-masonry-grid__card {
    transition: box-shadow 0.3s ease;
}

.features-masonry-grid__card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.features-masonry-grid__card:hover .features-masonry-grid__icon--lift {
    transform: scale(1.05);
}

.features-masonry-grid__card:hover .features-masonry-grid__title {
    color: var(--bs-primary, #0d6efd);
}

@keyframes features-masonry-grid-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes features-masonry-grid-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes features-masonry-grid-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(12deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

/* -- 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);
}
/* v28 art deco — double-frame inner border (absolute inset: no BS util) */
.perks-artdeco__outer {
    pointer-events: none;
}

.perks-artdeco__inner {
    pointer-events: none;
    inset: 0.5rem;
}

/* corner ornaments — fixed sizes */
.perks-artdeco__corner {
    pointer-events: none;
}

/* icon circle container (w-12 h-12 has no BS util) */
.perks-artdeco__icon-wrap {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

/* card hover lift */
.perks-artdeco__frame {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perks-artdeco__frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.spotlight-carousel-quote__portrait {
    width: 5rem;
    height: 5rem;
}

/* orbit-bento — gradient board with phone tile + 2×2 service cards */
.orbit-bento__eyebrow {
    letter-spacing: 0.14em;
}

.orbit-bento__heading {
    letter-spacing: -0.03em;
}

.orbit-bento__board {
    padding: 1.25rem;
}

.orbit-bento__cloud {
    width: 16rem;
    height: 12rem;
    filter: blur(40px);
}

.orbit-bento__cloud--a {
    transform: translate(-18%, -30%);
}

.orbit-bento__cloud--b {
    width: 20rem;
    height: 14rem;
    transform: translate(55%, 75%);
}

.orbit-bento__phone {
    width: 100%;
    max-width: 16rem;
    aspect-ratio: 9 / 19;
    padding: 0.5rem;
    border-radius: 2.5rem;
    margin: 0 auto;
}

.orbit-bento__screen {
    border-radius: 2.05rem;
}

.orbit-bento__notch {
    width: 5rem;
    height: 1.2rem;
}

.orbit-bento__status {
    font-size: 0.7rem;
}

.orbit-bento__status i {
    margin-left: 0.15rem;
    font-size: 0.58rem;
}

.orbit-bento__coin {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.6rem;
}

.orbit-bento__micro {
    font-size: 0.62rem;
    line-height: 1.15;
}

.orbit-bento__chart {
    min-height: 5.5rem;
    overflow: visible;
}

.orbit-bento__chart-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 5.5rem;
    overflow: visible;
}

.orbit-bento__chart-fill {
    transform-origin: center bottom;
    animation: orbit-bento-chart-fill 4.2s ease-in-out infinite;
}

.orbit-bento__chart-line {
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    animation: orbit-bento-chart-draw 4.2s ease-in-out infinite;
}

.orbit-bento__chart-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: orbit-bento-chart-dot 4.2s ease-in-out infinite;
}

@keyframes orbit-bento-chart-fill {
    0%, 12% { opacity: 0; transform: scaleY(0.55); }
    40%, 72% { opacity: 1; transform: scaleY(1); }
    88%, 100% { opacity: 0; transform: scaleY(0.55); }
}

@keyframes orbit-bento-chart-draw {
    0% { stroke-dashoffset: 360; opacity: 0.35; }
    38% { stroke-dashoffset: 0; opacity: 1; }
    72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 360; opacity: 0.35; }
}

@keyframes orbit-bento-chart-dot {
    0%, 28% { opacity: 0; transform: translateY(5px) scale(0.6); }
    42%, 72% { opacity: 1; transform: translateY(0) scale(1); }
    88%, 100% { opacity: 0; transform: translateY(5px) scale(0.6); }
}

.orbit-bento__tile {
    padding: 1.15rem;
    min-height: 100%;
}

@media (min-width: 1024px) {
    .orbit-bento__board {
        padding: 1.75rem;
    }

    .orbit-bento__phone {
        max-width: 17rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orbit-bento__chart-fill,
    .orbit-bento__chart-line,
    .orbit-bento__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* time-range chips inside the phone mock: never spill out of the frame; extra chips scroll sideways */
ul:has(> li.orbit-bento__micro) { overflow-x: auto; scrollbar-width: none; }
ul:has(> li.orbit-bento__micro)::-webkit-scrollbar { display: none; }
li.orbit-bento__micro { flex-shrink: 0; white-space: nowrap; }

.whyus-border-circle__line {
    width: 6rem;
}

.whyus-border-circle__text {
    max-width: 42rem;
}

.whyus-border-circle__thumb {
    width: 6rem;
    height: 6rem;
}

