/* Block: sp26-hero-overview
 * Extracted from css/solutions-2026.css
 * Variables and the legacy section-padding neutralizer are scoped to the
 * block root (.sp26-hero-overview) so the block is self-contained and
 * configurable.
 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Poppins:wght@500&display=swap");

.sp26-hero-overview {
    --sp26-black: #000000;
    --sp26-dark: #121212;
    --sp26-dark-card: #212121;
    --sp26-dark-border: #2b2b2b;
    --sp26-dark-bg: #0e0e0e;
    --sp26-light-border: #e5e5e5;
    --sp26-text-muted: #6b6b6b;
    --sp26-text-body: #404040;
    --sp26-green: #1ea482;
    --sp26-green-bold: #0b9b8a;
    --sp26-green-deep: #098374;
    --sp26-green-text: #046257;
    --sp26-white: #ffffff;

    --sp26-page-max: 1440px;
    --sp26-rail: 1152px;
    --sp26-rail-pad: 34px;
    --sp26-grid: 1080px;

    --sp26-font-heading:
        "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --sp26-font-body: "Inter", sans-serif;
    --sp26-font-button: "Poppins", "Inter", sans-serif;

    --sp26-section-pad: 0;

    color: var(--sp26-black);
    font-family: var(--sp26-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-align: center;
}

.sp26-hero-overview:not(.container) {
    padding: var(--sp26-section-pad, 0) !important;
}

.sp26-hero-overview div {
    max-width: 850px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 77px;
}

.sp26-hero-overview .sp26-hero__eyebrow {
    display: block;
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--sp26-green-bold);
    font-family: var(--sp26-font-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sp26-hero-overview .sp26-hero__title {
    margin: 0 0 20px;
    color: var(--sp26-black);
    font-family: var(--sp26-font-heading);
    font-size: 50px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -2px;
    overflow-wrap: break-word;
}

.sp26-hero-overview .sp26-hero__description {
    margin: 0 0 30px;
    color: var(--sp26-black);
    font-family: var(--sp26-font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
}

/* ============================================
   Shared button primitives (this block uses the .spv-btn variant)
   ============================================ */

.sp26-hero-overview .spv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 14px;
    border-radius: 55px;
    font-family: var(--sp26-font-button);
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.sp26-hero-overview .spv-btn--primary {
    height: 48px;
    min-width: 175px;
    padding: 14px 34px;
    background: var(--sp26-black);
    border-color: #535353;
    color: var(--sp26-white);
    font-size: 16px;
    line-height: 24px;
}

.sp26-hero-overview .spv-btn--outline {
    height: 48px;
    min-width: 203px;
    padding: 14px 34px;
    background: var(--sp26-white);
    border-color: var(--sp26-black);
    color: var(--sp26-black);
    font-size: 16px;
    line-height: 24px;
}

/* ============================================
   Unified button states (scoped to this block's buttons)
   ============================================ */

.sp26-hero-overview .spv-btn {
    transition:
        transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1),
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.sp26-hero-overview .spv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.sp26-hero-overview .spv-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.sp26-hero-overview .spv-btn:focus-visible {
    outline: 2px solid var(--sp26-green-bold);
    outline-offset: 3px;
}

@keyframes nylas-btn-bounce {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
    55% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

.sp26-hero-overview .spv-btn--primary:hover {
    background: var(--sp26-black);
    border-color: #535353;
    color: var(--sp26-white);
    transform: none;
    box-shadow: none;
    animation: nylas-btn-bounce 0.45s ease;
}

/* Outline button — inverts to solid black on hover.
   Two classes used so the inverted text color beats the global
   `a:hover:not(.btn)` teal recolor. */
.sp26-hero-overview .spv-btn.spv-btn--outline:hover {
    background: var(--sp26-black);
    border-color: var(--sp26-black);
    color: var(--sp26-white);
    transform: none;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .sp26-hero-overview .spv-btn {
        transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease;
    }

    .sp26-hero-overview .spv-btn:hover,
    .sp26-hero-overview .spv-btn:active {
        transform: none;
        animation: none;
    }
}

@media (min-width: 900px) {
    .sp26-hero-overview:not(.container) {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 1400px) {
    .sp26-hero-overview .sp26-hero__title {
        font-size: 46px;
        line-height: 1.2;
        letter-spacing: -1.6px;
    }
}

@media (max-width: 930px) {
    .sp26-hero-overview div {
        padding: 52px 24px 64px;
    }

    .sp26-hero-overview .sp26-hero__eyebrow {
        margin-bottom: 18px;
        font-size: 16px;
    }

    .sp26-hero-overview .sp26-hero__title {
        font-size: 40px;
        line-height: 1.18;
        letter-spacing: -1.2px;
    }

    .sp26-hero-overview .sp26-hero__description {
        font-size: 18px;
        line-height: 1.5;
        text-wrap: pretty;
    }
}

@media (max-width: 760px) {
    .sp26-hero-overview .spv-btn {
        margin: 6px;
        width: min(100%, 260px);
    }

    .sp26-hero-overview div {
        padding: 44px 20px 52px;
    }

    .sp26-hero-overview .sp26-hero__eyebrow {
        font-size: 14px;
    }

    .sp26-hero-overview .sp26-hero__title {
        font-size: 27px;
        text-wrap: balance;
        line-height: 1.18;
        letter-spacing: -0.8px;
    }

    .sp26-hero-overview .sp26-hero__description {
        font-size: 16px;
        line-height: 1.5;
    }
}
