/* Hero v3 Animation Styles */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(6deg); }
    50% { transform: translateY(-20px) rotate(6deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(15px) scale(1.1); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(0.9); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-reverse 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out;
}

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

.hero-v3-btn-ghost:hover,
.hero-v3-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);
}
.bulletin-card-grid__tile {
    max-width: 24rem;
}

.tips-financial__card {
    max-width: 24rem;
}

.tips-financial__thumb {
    width: 2.5rem;
    height: 2.5rem;
}

/* glossary ladder — figure offset */
.glossary-ladder__fig {
    transition: transform 0.2s ease;
}

.glossary-ladder__fig:hover {
    transform: translateX(4px);
}

/* subscribe v27 — gradient-mesh hero: geometry shared by both CSS frameworks, no colors */
.mailing-hero-mesh__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

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

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

@keyframes mailing-hero-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.5rem);
    }
}

.mailing-hero-mesh__blob {
    filter: blur(64px);
    will-change: transform;
}

.mailing-hero-mesh__blob--one {
    top: -2.5rem;
    inset-inline-start: -2.5rem;
    width: 18rem;
    height: 18rem;
}

.mailing-hero-mesh__blob--two {
    bottom: -4rem;
    inset-inline-end: -2.5rem;
    width: 20rem;
    height: 20rem;
}

.mailing-hero-mesh__blob--three {
    top: 33.333333%;
    inset-inline-end: 25%;
    width: 14rem;
    height: 14rem;
}

.mailing-hero-mesh__dot {
    width: 0.75rem;
    height: 0.75rem;
    animation: mailing-hero-float 4s ease-in-out infinite;
}

.mailing-hero-mesh__dot--a {
    top: 2.5rem;
    inset-inline-start: 25%;
    animation-delay: 0s;
}

.mailing-hero-mesh__dot--b {
    bottom: 6rem;
    inset-inline-start: 33.333333%;
    animation-delay: 1.3s;
}

.mailing-hero-mesh__dot--c {
    top: 50%;
    inset-inline-end: 20%;
    animation-delay: 2.6s;
}

.mailing-hero-mesh__title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1;
}

.mailing-hero-mesh__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

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

.mailing-hero-mesh__input,
.mailing-hero-mesh__cta {
    padding: 0.75rem 1rem;
}

.mailing-hero-mesh__cta {
    padding-inline: 1.5rem;
}

.mailing-hero-mesh__thanks {
    margin-top: 2rem;
}

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

@media (min-width: 768px) {
    .mailing-hero-mesh__title {
        font-size: 4.5rem;
    }

    .mailing-hero-mesh__subtitle {
        font-size: 1.25rem;
    }
}

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

