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

.hero-v21-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.hero-v21-btn-ghost {
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-v21-btn-ghost:hover,
.hero-v21-btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-color: #fff !important;
}

/* -- 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);
}
/* Bootstrap: blur-орби, ранг, нижня лінія (імена без номера варіанту) */
.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;
}

.stats__bottom-line-bar {
  height: 0.25rem;
}

.stats-card-hover {
  transition:
    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-bottom-bar-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

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

.services__tile--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift {
  transition: filter 0.3s ease, transform 0.3s ease;
}

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.92);
}

/* Лише 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__bg {
    background-image: radial-gradient(circle, rgba(148,163,184,0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

.socialproof__bar {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--color-primary-500, #6366f1), var(--color-primary-300, #a5b4fc));
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.socialproof__bar.animated {
    width: var(--bar-width);
}

.socialproof__counter {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}


.editorial-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    right: 0;
    transform: translate(4rem, -4rem) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 6rem;
    bottom: 0;
    left: 0;
    transform: translate(-6rem, 3rem) rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-3 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    top: 50%;
    left: 0;
    transform: translate(-2rem, -50%) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-4 {
    position: absolute;
    width: 5rem;
    height: 5rem;
    bottom: 25%;
    right: 33.333333%;
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-5 {
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 25%;
    left: 50%;
    transform: rotate(-12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-6 {
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: 50%;
    right: 0;
    transform: translate(1rem, 0) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

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

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

.editorial-document__shell-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.forum-series__rack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .forum-series__rack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .forum-series__rack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.forum-series__icon-circle { width: 5rem; height: 5rem; }

.forum-series__unit--shift:hover { transform: scale(1.05); transition: transform .2s ease; }


.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;
}

/* 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;
}

/* 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;
    }
}

.perks-wave-mosaic__thumb {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 640px) {
    .perks-wave-mosaic__tile:hover {
        transform: scale(1.05);
    }
}

.perks-wave-mosaic__tile {
    transition: transform 0.3s ease;
}

.perks-wave-mosaic__accent {
    height: 0.25rem;
    transition: transform 0.3s ease;
}

.glossary-grid__card {
    width: 100%;
}

@media (min-width: 768px) {
    .glossary-grid__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

.elevated-rail-form__icon-chassis {
    width: 2.5rem;
    height: 2.5rem;
}

.elevated-rail-form__icon-chassis svg {
    width: 1.25rem;
    height: 1.25rem;
}

.elevated-rail-form__choice-ring {
    width: 1.25rem;
    height: 1.25rem;
}

.elevated-rail-form__choice-core {
    width: 0.5rem;
    height: 0.5rem;
}

.contact-us-flex__min {
    min-width: 0;
}

.contact-us-media__cover {
    object-fit: cover;
}

