/* -- 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);
}
/* Hover — поза @sem; TW і BS */
.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: scale(1.05);
}


/* Вертикальний таймлайн — позиція рейки та вузлів */
.services__rail {
  position: absolute;
  left: 1.3rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background-color: var(--bs-border-color, #dee2e6);
  border-radius: 1px;
}

.dark .services__rail {
  background-color: rgba(148, 163, 184, 0.45);
}

.services__node {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.5rem;
}

.services__node:last-child {
  padding-bottom: 0;
}

@media (max-width: 575.98px) {
  .services__node {
    padding-left: 3.25rem;
  }

  .services__rail {
    left: 1.4rem;
  }
}

.services__badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

/* Лише 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__section {
    position: relative;
}

.socialproof__section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.06) 2px,
        rgba(0, 0, 0, 0.06) 4px
    );
}

.socialproof__card {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    animation: socialproof-breathe 4s ease-in-out infinite;
}

.socialproof__card:hover {
    transform: translateY(-2px);
}

@keyframes socialproof-breathe {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.socialproof__value-text {
    font-family: 'Courier New', Courier, monospace;
    font-variant-numeric: tabular-nums;
}

.socialproof__label {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.2em;
}

.socialproof__icon-glow {
    line-height: 1;
}

.socialproof__card:nth-child(1) {
    animation-delay: 0s;
}

.socialproof__card:nth-child(2) {
    animation-delay: 0.5s;
}

.socialproof__card:nth-child(3) {
    animation-delay: 1s;
}

.socialproof__card:nth-child(4) {
    animation-delay: 1.5s;
}

.socialproof__card:nth-child(5) {
    animation-delay: 2s;
}

.socialproof__card:nth-child(6) {
    animation-delay: 2.5s;
}

.socialproof__label--sm {
    font-size: 0.65rem;
}

.socialproof__corner-grid {
    width: 8rem;
    height: 8rem;
    opacity: 0.1;
    background:
        linear-gradient(to right, currentColor 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(to bottom, currentColor 1px, transparent 1px) 0 0 / 20px 20px;
}

.socialproof__title-text {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.15em;
}

.socialproof__min-shrink {
    min-width: 0;
    max-width: 13rem;
}

@media (prefers-reduced-motion: reduce) {
    .socialproof__card {
        animation: none;
    }

    .socialproof__card:hover {
        transform: none;
    }
}


.writeup-document__accent-trail {
    margin-bottom: 2rem;
    width: 4rem;
    height: 0.25rem;
}

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

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

.expo-meetup__rack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

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

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

.expo-meetup__snippet--lift:hover { transform: scale(1.05); transition: transform .2s ease; }


.copy-document__decor-1 {
    position: absolute;
    top: 1rem;
    left: 2rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-2 {
    position: absolute;
    top: 2rem;
    right: 1rem;
    width: 1rem;
    height: 1rem;
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-3 {
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-4 {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    width: 1.25rem;
    height: 1.25rem;
    transform: rotate(-12deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__heading-row-trail { margin-bottom: 2rem; }

.copy-document__frame-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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


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

/* pricing-rows — BS flex-column needs min-width:0 */
.pricing-rows__detail-col {
    min-width: 0;
}

/* pricing-rows — feature tiles on BS branch (no nested .row + negative margins inside padding) */
.pricing-rows__feat-item {
    flex: 1 1 280px;
    min-width: 0;
}

/* pricing-rows — price column fixed width */
.pricing-rows__price-col {
    min-width: 14rem;
}

/* pricing-rows — chevron rotates when details is open */
details.pricing-rows__details[open] .pricing-rows__chevron {
    transform: rotate(180deg);
}

.pricing-rows__chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.pricing-rows__summary-title {
    min-width: 0;
}

/* pricing-rows — disclaimer random body: reset quote/p margins (blockquote UA) */
.pricing-rows__disc-text-wrap {
    margin-block: 0;
}

/* pricing-rows — summary UA reset (<details>/<summary>) */
.pricing-rows__summary {
    list-style: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    outline-offset: -2px;
}

.pricing-rows__summary::-webkit-details-marker {
    display: none;
}

.pricing-rows__summary::-moz-details-marker {
    display: none;
}

.pricing-rows__summary::marker {
    content: none;
}

/* pricing-rows — ul reset */
.pricing-rows__feat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* pricing-rows — card hover */
.pricing-card-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
    .pricing-card-hover:hover {
        box-shadow: 0 12px 36px -10px rgba(15, 23, 42, 0.14);
        transform: translateY(-2px);
    }
}

/* pricing-rows — CTA btn transition */
.pricing-rows__cta {
    transition: opacity 0.2s ease;
}

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

/* v26 newspaper — border fix for last col in each row */
@media (min-width: 992px) {
    .perks-newspaper__col:nth-child(3n) {
        border-right: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .perks-newspaper__col:nth-child(2n) {
        border-right: none !important;
    }
}

.glossary-v2-cluster__card {
    width: 100%;
}

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

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

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

