/* Декор: pointer-events (Bootstrap pe-none — не то свойство) */
.hero-v30-decor-layer {
    pointer-events: none;
}

.hero-v30-quote-mark {
    position: absolute;
    z-index: 0;
    font-size: clamp(12rem, 25vw, 22rem);
    line-height: 0.75;
    opacity: 0.7;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-v30-block {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.hero-v30-divider {
    max-width: 20rem;
}

/* Размер звёзд (иконки не растягиваются в flex) */
.hero-v30-star {
    font-size: 0.875rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .hero-v30-cta:hover {
        transform: scale(1.05);
    }
}

.hero-v30-cta {
    transition: transform 150ms ease;
}

.hero-v30-cta-icon {
    line-height: 1;
}

/* -- 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 v27 — Evangelion cascade: organic blob, wide banner, diagonal steps, slide-in L/R, word reveal */

/* Organic blob */
.intro-eva__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(60px);
    opacity: 0.4;
    border-radius: 38% 62% 55% 45% / 55% 42% 58% 45%;
    animation: intro-eva-morph 12s ease-in-out infinite;
}
@keyframes intro-eva-morph {
    50% { border-radius: 55% 45% 42% 58% / 42% 58% 45% 55%; }
}

/* Single wide banner */
.intro-eva__banner-img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
@media (min-width: 768px) {
    .intro-eva__banner-img { height: 16rem; }
}

/* Stepped diagonal cascade + asymmetric mixed sizes */
.intro-eva__row { margin-left: 0; }
.intro-eva__cell { max-width: 46rem; }
@media (min-width: 768px) {
    .intro-eva__row:nth-child(1) .intro-eva__cell { margin-left: 0;    max-width: 40rem; }
    .intro-eva__row:nth-child(2) .intro-eva__cell { margin-left: 3rem; max-width: 34rem; }
    .intro-eva__row:nth-child(3) .intro-eva__cell { margin-left: 6rem; max-width: 44rem; }
    .intro-eva__row:nth-child(4) .intro-eva__cell { margin-left: 9rem; max-width: 30rem; }
}

/* Slide-in from L / R on scroll — hidden only once JS arms it (no-JS content stays visible) */
.intro-eva.is-armed .intro-eva__row {
    opacity: 0;
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-eva.is-armed .intro-eva__row:nth-child(odd)  { transform: translateX(-2.5rem); }
.intro-eva.is-armed .intro-eva__row:nth-child(even) { transform: translateX(2.5rem); }
.intro-eva.is-armed .intro-eva__row.is-in { opacity: 1; transform: translateX(0); }

/* Letterpress-ish press using the element's own colour */
.intro-eva__press { text-shadow: 0 1px 0 currentColor; }

/* Word-by-word reveal */
.intro-eva__word { display: inline-block; }
.intro-eva.is-armed .intro-eva__word {
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 420ms ease, transform 420ms ease;
}
.intro-eva.is-armed .intro-eva__reveal.is-in .intro-eva__word { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .intro-eva__blob { animation: none; }
    .intro-eva__row { opacity: 1; transform: none; }
    .intro-eva__word { opacity: 1; transform: none; }
}

.perks-stat-bars__thumb {
    width: 4rem;
    height: 4rem;
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .perks-stat-bars__wrap:hover .perks-stat-bars__card {
        transform: scale(1.05);
    }

    .perks-stat-bars__wrap:hover .perks-stat-bars__thumb {
        transform: scale(1.05);
    }
}

.feat-filmstrip::-webkit-scrollbar {
    display: none;
}

.feat-filmstrip {
    -ms-overflow-style: none;
    scrollbar-width: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feat-filmstrip > li {
    list-style: none;
}

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

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

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

.features-filmstrip__decor--pulse {
    filter: blur(48px);
    animation: features-filmstrip-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-filmstrip__decor--spin {
    animation: features-filmstrip-spin-kf 1s linear infinite;
}

.features-filmstrip__decor--bounce {
    transform: rotate(-12deg);
    animation: features-filmstrip-bounce-kf 1s infinite;
}

.features-filmstrip__decor--line {
    transform: rotate(-6deg);
}

/* BS-mode decorative shapes — subtle, non-intrusive */
.features-filmstrip__decor--bs-blob {
    width: 16rem;
    height: 16rem;
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.4;
    filter: blur(48px);
}
.features-filmstrip__decor--bs-shape {
    opacity: 0.15;
}
.features-filmstrip__decor--bs-line {
    border-left: 1px solid var(--bs-primary);
    opacity: 0.15;
}

.features-filmstrip__btn--hover:hover {
    transform: scale(1.05);
}

.features-filmstrip__btn--hover:hover.bg-primary-subtle {
    border-color: var(--bs-primary) !important;
}

.features-filmstrip__card--hover:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
    border-color: var(--bs-primary) !important;
}

.features-filmstrip__card--hover:hover .features-filmstrip__icon--lift {
    transform: scale(1.1);
}

.features-filmstrip__card--hover:hover .features-filmstrip__title--hover {
    color: var(--bs-primary) !important;
}

/* -- 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);
}
/* Magazine index steps — scroll-spy active row highlight (framework-agnostic) */
.gazette-roll__row {
    transition: background-color 200ms ease;
}

.gazette-roll__row--active {
    background-color: var(--bs-primary-bg-subtle, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 37 99 235)) / 0.08)) !important;
}

.gazette-roll__row--active .gazette-roll__digit {
    color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 37 99 235)) / 1)) !important;
    font-weight: 700 !important;
}

.stats__icon-dim {
  width: 4rem;
  height: 4rem;
}

.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-0.5rem) scale(1.05);
}

.stats-icon-inner-hover {
  transition: transform 0.3s ease;
}

.stats-card-hover:hover .stats-icon-inner-hover {
  transform: scale(1.1);
}


/* Лише layout / рух; кольори теми — у Blade */
.socialproof-card-hover {
    transition:
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialproof__stat-value,
.socialproof__stat-label {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (hover: hover) {
    .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
    }

    .dark .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
    }

    .socialproof-card-hover:hover .socialproof__stat-value {
        transform: scale(1.08);
    }
}

@media (hover: hover) and (min-width: 640px) {
    .socialproof-card-hover--lift:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .socialproof-card-hover,
    .socialproof__stat-value,
    .socialproof__stat-label {
        transition: none;
    }

    .socialproof-card-hover:hover,
    .socialproof-card-hover:hover .socialproof__stat-value,
    .socialproof-card-hover--lift:hover {
        transform: none;
    }
}

.socialproof__scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 2rem 3rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.socialproof__scroll::-webkit-scrollbar { display: none; }
.socialproof__scroll.dragging { cursor: grabbing; scroll-behavior: auto; }

.socialproof__card {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 280px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.socialproof__card:hover {
    transform: scale(1.02);
}

.socialproof__glow {
    display: none;
}

.socialproof__value-text {
    font-variant-numeric: tabular-nums;
}

.socialproof__min-shrink {
    min-width: 0;
}

.socialproof__hand {
    animation: socialproof__hand-wiggle 1.4s ease-in-out infinite;
}

@keyframes socialproof__hand-wiggle {
    0% {
        transform: translateX(0);
        opacity: 0.6;
    }
    30% {
        transform: translateX(4px);
        opacity: 1;
    }
    60% {
        transform: translateX(-2px);
        opacity: 0.9;
    }
    100% {
        transform: translateX(0);
        opacity: 0.6;
    }
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-honeycomb {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

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

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-honeycomb__head {
    margin-bottom: 2.5rem;
}

.whyus-honeycomb__heading {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

.whyus-honeycomb__lead {
    font-size: 1rem;
}

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

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

.whyus-honeycomb__num {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.whyus-honeycomb__block-title {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

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

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

    .whyus-honeycomb__head {
        margin-bottom: 3.5rem;
    }

    .whyus-honeycomb__heading {
        font-size: 3rem;
    }

    .whyus-honeycomb__lead,
    .whyus-honeycomb__block-desc {
        font-size: 1rem;
    }

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

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

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

    .whyus-honeycomb__block-title {
        font-size: 1.25rem;
    }
}

/* whyus v30 — Y2K bold header with open benefit text blocks */

/* decorative gradient overlay — small-amplitude hue-rotate cycle (filter only, no color values) */
@keyframes whyus-honeycomb-hue {
    0%   { filter: hue-rotate(0deg); }
    50%  { filter: hue-rotate(10deg); }
    100% { filter: hue-rotate(0deg); }
}

.whyus-honeycomb__aurora {
    opacity: 0.2;
    animation: whyus-honeycomb-hue 9s ease-in-out infinite;
}

/* icons-in-circles decorative field — fixed sizes, scattered positions */
.whyus-honeycomb__icon-dot {
    position: absolute;
    opacity: 0.2;
}

.whyus-honeycomb__icon-dot--1 { width: 3.5rem;  height: 3.5rem;  top: 6%;    left: 8%; }
.whyus-honeycomb__icon-dot--2 { width: 2.75rem; height: 2.75rem; top: 18%;   right: 12%; }
.whyus-honeycomb__icon-dot--3 { width: 4rem;    height: 4rem;    bottom: 22%; left: 5%; }
.whyus-honeycomb__icon-dot--4 { width: 2.5rem;  height: 2.5rem;  bottom: 10%; right: 20%; }
.whyus-honeycomb__icon-dot--5 { width: 3rem;    height: 3rem;    top: 45%;   right: 4%; }

/* divider extends first (scaleX 0 -> 1) */
@keyframes whyus-honeycomb-line {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.whyus-honeycomb__divider {
    width: 7rem;
    height: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    transform-origin: center;
    animation: whyus-honeycomb-line 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* text blocks — staggered fade-in after divider */
@keyframes whyus-honeycomb-block-in {
    from { opacity: 0; transform: translateY(0.75rem); }
    to   { opacity: 1; transform: translateY(0); }
}

.whyus-honeycomb__block {
    animation: whyus-honeycomb-block-in 420ms ease-out both;
}

.whyus-honeycomb__block:nth-child(2n + 1) { animation-delay: 520ms; }
.whyus-honeycomb__block:nth-child(2n)     { animation-delay: 620ms; }

@media (prefers-reduced-motion: reduce) {
    .whyus-honeycomb__aurora,
    .whyus-honeycomb__divider,
    .whyus-honeycomb__block {
        animation: none;
    }
}

/* faq v23 — card top ribbon (BS gradient parity) */
.faq-tile__ribbon {
  height: 0.25rem;
  background-image: linear-gradient(
    90deg,
    var(--bs-primary) 0%,
    var(--bs-info) 50%,
    var(--bs-danger) 100%
  );
}

/* subscribe v24 — postcard: geometry shared by both CSS frameworks, no colors */
.mailing-postcard__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

/* perforated seam between the stamp stub and the message body */
.mailing-postcard__stub {
    border-bottom-width: 2px;
    border-bottom-style: dashed;
}

.mailing-postcard__perf {
    width: 0;
    border-inline-start-width: 2px;
    border-inline-start-style: dashed;
}

.mailing-postcard__label {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.mailing-postcard__body {
    padding: 2rem;
}

.mailing-postcard__stamp {
    top: 1rem;
    inset-inline-end: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    transform: rotate(4deg);
}

.mailing-postcard__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    padding-inline-end: 4rem;
}

.mailing-postcard__text {
    margin-bottom: 1.5rem;
    padding-inline-end: 4rem;
}

.mailing-postcard__row {
    flex-direction: column;
    gap: 0.75rem;
}

.mailing-postcard__input,
.mailing-postcard__cta {
    padding: 0.75rem 1rem;
}

.mailing-postcard__cta {
    padding-inline: 1.5rem;
}

@media (min-width: 640px) {
    .mailing-postcard__row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .mailing-postcard__stub {
        width: 25%;
        border-bottom-width: 0;
    }

    .mailing-postcard__body {
        width: 75%;
    }

    .mailing-postcard__title {
        font-size: 1.875rem;
    }
}

