.hero-v24-frame-lg {
    width: 40rem;
    height: 40rem;
}

.hero-v24-frame-md {
    width: 28rem;
    height: 28rem;
}

.hero-v24-frame-sm {
    width: 16rem;
    height: 16rem;
}

.hero-ornamental-frame {
    max-width: 42rem;
}

.hero-v24-dots {
    letter-spacing: 0.3em;
}

/* -- 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);
}
.stats__icon-dim--lg {
  width: 5rem;
  height: 5rem;
}

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

.stats-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(-0.5rem) scale(1.05);
}


.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);
}
/* Bootstrap: blur-орби (TW — у @sem); без номера варіанту в іменах */
.stats__decor-blur-tl {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  filter: blur(64px);
}

.stats__decor-blur-br {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  filter: blur(64px);
}

.stats__rank-badge {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
}

/* Висота смуги; TW — градієнт у @sem, BS — bg у @sem */
.stats__bottom-line-bar {
  height: 0.25rem;
}

/* Hover та градієнти — розміри/позиції в @sem */
.stats-card-hover {
  transition:
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

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

.stats-gradient-overlay-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-gradient-overlay-hover {
  opacity: 1;
}

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

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

.stats-bottom-bar-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-bottom-bar-hover {
  opacity: 1;
}


.manuscript-bodycopy__decor-1 {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-2 {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-3 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-4 {
    position: absolute;
    bottom: 1.5rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__title-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__rule-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__frame-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.digest-pair-fan__tile {
    max-width: 45%;
}

/* Decor geometry (layout only; colors stay in Blade / @sem) */
.leaflet-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    left: 0;
    transform: translate(-4rem, -4rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 12rem;
    bottom: 0;
    right: 0;
    transform: translate(6rem, 6rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-3 {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 50%;
    right: 0;
    transform: translate(3rem, -50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-4 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    left: 25%;
    bottom: 25%;
    transform: translate(-50%, 50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__divider-bar {
    height: 0.25rem;
}

.leaflet-document__title-trail { margin-bottom: 2rem; }

.leaflet-document__rule-trail { margin-bottom: 3rem; }

.leaflet-document__wrapper-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}


.narrative-chapter__title-trail { margin-bottom: 2rem; }

.narrative-chapter__shell-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

/* Layout-only hover; theme colors stay in Tailwind/Bootstrap via Blade */
.pricing-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);
}

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

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

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

.pricing-card-hover:hover .pricing__btn {
  transform: scale(1.02);
}

.pricing__btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.features-icon-top-cards__item--hover:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-0.25rem);
}

/* -- 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);
}
/* glossary gazette — multi-column flow (not CSS grid), brick avoid breaks, footnote icon */
.glossary-gazette__columns {
    column-count: 1;
    column-gap: 1.25rem;
}

@media (min-width: 768px) {
    .glossary-gazette__columns {
        column-count: 2;
        column-gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .glossary-gazette__columns {
        column-count: 3;
    }
}

.glossary-gazette__brick {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.glossary-gazette__note-ico {
    width: 3.25rem;
    height: 3.25rem;
}

.glossary-gazette__note-icon {
    font-size: 1.25rem;
    line-height: 1;
}

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

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

.mxw-md {
    max-width: 28rem !important;
}

.mailing-accordion__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.mailing-accordion__list {
    margin-bottom: 2.5rem;
}

.mailing-accordion__list > * + * {
    margin-top: 0.75rem;
}

.mailing-accordion__answer {
    margin-top: 0.75rem;
}

/* native details/summary disclosure affordance */
.mailing-accordion__item summary {
    cursor: pointer;
    list-style: none;
}

.mailing-accordion__item summary::-webkit-details-marker {
    display: none;
}

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

.mailing-accordion__input,
.mailing-accordion__cta {
    padding: 0.75rem 1rem;
}

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

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

@media (min-width: 768px) {
    .mailing-accordion__title {
        font-size: 2.25rem;
    }
}

