.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);
}
/* advantages reveal — chevron toggle button reset + rotation + decor orb (layout/motion only, no colors) */

.advantages-reveal__orb {
    width: 20rem;
    height: 20rem;
    bottom: -6rem;
    right: -6rem;
}

.advantages-reveal__trigger {
    cursor: pointer;
}

.advantages-reveal__chevron {
    transition: transform 0.25s ease;
}

.advantages-reveal__trigger.is-open .advantages-reveal__chevron {
    transform: rotate(180deg);
}

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

.services__tile--lift:hover {
  transform: scale(1.05);
}

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

.services__cta--lift:hover {
  transform: scale(1.05);
}

.services__marker--offset {
  top: 0.5rem;
  inset-inline-end: 0.5rem;
}

.services__marker--reveal {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__tile:hover .services__marker--reveal {
  opacity: 1;
}

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

.mxw-4xl {
    max-width: 56rem !important;
}

.whyus-letterpress__wrap {
    padding-inline: 1rem;
}

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

.whyus-morse {
    gap: 0.375rem;
}

.whyus-letterpress__flourish-line {
    width: 10rem;
    height: 0.75rem;
}

.whyus-letterpress__intro {
    margin-inline: 1rem;
    font-size: 1rem;
}

.whyus-letterpress__table {
    border-collapse: collapse;
}

.whyus-letterpress__cell {
    padding: 1rem;
}

.whyus-letterpress__cell--head {
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.whyus-letterpress__cell--us {
    --bs-bg-opacity: 0.6;
}

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

.whyus-letterpress__card-title {
    font-size: 1.125rem;
}

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

/* hover ring — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:ring-2 wins there */
.whyus-highlight-card {
    transition: box-shadow 150ms ease;
}

:where(.whyus-highlight-card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

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

    .whyus-letterpress__wrap {
        padding-inline: 2.5rem;
    }

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

    .whyus-letterpress__intro {
        margin-inline: 6rem;
        font-size: 1.125rem;
    }

    .whyus-letterpress__cell {
        padding: 1rem 1.5rem;
    }

    .whyus-letterpress__cell--head {
        font-size: 1rem;
    }

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

    .whyus-letterpress__card-desc {
        font-size: 1rem;
    }
}

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

/* v26 — morse-code ornament: fixed dot/dash sizing outside the Tailwind spacing scale */
.whyus-morse__mark {
    display: inline-block;
    flex-shrink: 0;
    --bs-bg-opacity: 0.5;
}

.whyus-morse__mark--dot {
    width: 0.375rem;
    height: 0.375rem;
}

.whyus-morse__mark--dash {
    width: 1.5rem;
    height: 0.3125rem;
}

/* v26 — Art Nouveau corner flourish: placement, size and subtle organic rotation */
.whyus-flourish {
    top: -1.5rem;
    inset-inline-start: -1.5rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(-6deg);
    --bs-text-opacity: 0.35;
}

/* v26 — letterpress heading: tightened, print-like leading (color/weight handled by utility classes) */
.whyus-letterpress__heading {
    font-size: 1.875rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .whyus-letterpress__heading {
        font-size: 3rem;
    }
}

/* v26 — spring/bounce entrance, plays once on load */
@keyframes whyus-spring-in {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whyus-spring-in {
    animation: whyus-spring-in 900ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-spring-in--delay {
    animation-delay: 160ms;
}

.whyus-highlight-card {
    animation: whyus-spring-in 700ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-highlight-card:nth-child(1) { animation-delay: 0.1s; }
.whyus-highlight-card:nth-child(2) { animation-delay: 0.2s; }
.whyus-highlight-card:nth-child(3) { animation-delay: 0.3s; }

/* v26 — ripple-from-cursor effect on comparison cells (color applied via Tailwind class in script.js) */
.whyus-ripple {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: whyus-ripple 600ms ease-out forwards;
}

@keyframes whyus-ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(9);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-spring-in,
    .whyus-ripple,
    .whyus-highlight-card {
        animation: none;
    }
}

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

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

.stats-group:hover .stats-icon-wrap-hover {
  transform: scale(1.05);
}


.staircase-cascade-quote__portrait {
    width: 5rem;
    height: 5rem;
}

.staircase-cascade-quote__step:nth-child(1) .staircase-cascade-quote__shadow {
    transform: translate(0, 0);
}

.staircase-cascade-quote__step:nth-child(2) .staircase-cascade-quote__shadow {
    transform: translate(16px, 16px);
}

.staircase-cascade-quote__step:nth-child(3) .staircase-cascade-quote__shadow {
    transform: translate(32px, 32px);
}

.staircase-cascade-quote__step:nth-child(4) .staircase-cascade-quote__shadow {
    transform: translate(48px, 48px);
}

.staircase-cascade-quote__step:nth-child(5) .staircase-cascade-quote__shadow {
    transform: translate(64px, 64px);
}

.staircase-cascade-quote__step:nth-child(6) .staircase-cascade-quote__shadow {
    transform: translate(80px, 80px);
}

.staircase-cascade-quote__step:nth-child(n + 7) .staircase-cascade-quote__shadow {
    transform: translate(96px, 96px);
}


.callout-signup__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.callout-signup__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

