.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);
}
/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

/* advantages broadsheet — sticky heading offset + decorative corner orb (layout only, no colors) */

/* mirror Tailwind md:top-24 in Bootstrap (sticky-md-top defaults to top:0) */
.advantages-broadsheet__box {
    top: 6rem;
}

.advantages-broadsheet__orb {
    width: 20rem;
    height: 20rem;
    bottom: -6rem;
    left: -6rem;
}

.mosaic-bento-hero__lead {
  min-height: 380px;
}

.mosaic-bento-hero__rail {
  max-width: 20rem;
}

.mosaic-bento-hero__body {
  min-width: 0;
}

.mosaic-bento-hero__icon-tile {
  width: 5rem;
  height: 5rem;
}

.mosaic-bento-hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-bento-hero__lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rounded-stack-quote__portrait {
    width: 5rem;
    height: 5rem;
}

/* values-terminal — terminal window chrome, grid-line background, blinking cursor */
/* Layout/animation only — no colors here, theme colors are applied via tw: */

.values-terminal__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, currentColor 1px, transparent 1px),
        linear-gradient(to bottom, currentColor 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    pointer-events: none;
}

.values-terminal__chrome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom-width: 1px;
}

.values-terminal__dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 9999px;
    display: inline-block;
    opacity: 0.5;
}

.values-terminal__body {
    line-height: 1.6;
}

.values-terminal__line {
    animation: values-terminal-fade-in 0.4s ease both;
}

.values-terminal__cursor {
    display: inline-block;
    opacity: 0;
}

[data-values-terminal].is-ready .values-terminal__cursor {
    animation: values-terminal-blink 1s steps(1, end) infinite;
}

@keyframes values-terminal-blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

@keyframes values-terminal-fade-in {
    from { opacity: 0; transform: translateY(0.25rem); }
    to { opacity: 1; transform: translateY(0); }
}

/* subscribe v21 — bento grid: geometry shared by both CSS frameworks (Bootstrap has no grid-template utilities) */
.mailing-bento-benefits__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-5xl {
    max-width: 64rem !important;
}

.mailing-bento-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mailing-bento-benefits__panel {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    min-height: 14rem;
    padding: 1.5rem;
}

.mailing-bento-benefits__title {
    font-size: 1.5rem;
}

.mailing-bento-benefits__card {
    padding: 1.25rem;
}

.mailing-bento-benefits__dot {
    top: 0.5rem;
    inset-inline-end: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
}

.mailing-bento-benefits__row {
    flex-direction: column;
    gap: 1rem;
}

.mailing-bento-benefits__input {
    padding: 0.75rem 1rem;
}

.mailing-bento-benefits__cta {
    width: 100%;
    padding: 0.75rem 1.5rem;
}

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

    .mailing-bento-benefits__cta {
        width: auto;
    }
}

@media (min-width: 768px) {
    .mailing-bento-benefits__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mailing-bento-benefits__panel {
        padding: 2rem;
    }

    .mailing-bento-benefits__title {
        font-size: 1.875rem;
    }
}


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

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

