/* ============================================
   Solutions 2026 — page-specific stylesheet
   --------------------------------------------------
   Loads on top of `style` (the built styles.css). Scoped under
   `.sp26-page` so nothing leaks into the rest of the site.

   Built from the Marketing Site Layout Figma
   (file ZH0Z1JhNeGlpNWhETzaCDh, frame 3342:57715).
   Design canvas: 1440px wide. Inner content rail: 1151px.
   Each section sits inside that rail with light or dark side
   bands; vertical hairlines separate the rail edges.
   ============================================ */

@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');

:root {
    --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;
}

/* ============================================
   Page primer
   --------------------------------------------------
   Neutralize the legacy global `section { padding: 75px 0 !important }`
   rules from `_layout.scss` (compiled into styles.css) so each section
   below can manage its own spacing without using `!important`.
   The selector matches the legacy specificity (0,1,1) and wins by
   source order because this file is enqueued AFTER styles.css.
   ============================================ */

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

.sp26-page {
    background: var(--sp26-white);
    color: var(--sp26-black);
    font-family: var(--sp26-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: 0 !important;
}

.sp26-page *,
.sp26-page *::before,
.sp26-page *::after {
    box-sizing: border-box;
}

.sp26-page img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Shared button primitives
   ============================================ */

.sp26-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 55px;
    font-family: var(--sp26-font-button);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

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

.sp26-btn__arrow {
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-left: 0;
}

.sp26-btn--pill {
    height: 35px;
    padding: 9px 28px;
    background: var(--sp26-black);
    border-color: #535353;
    color: var(--sp26-white);
    font-size: 13px;
    line-height: 16px;
    align-self: flex-start;
}

/* ============================================
   Section 1 — Hero
   --------------------------------------------------
   Light background, 5 vertical grid hairlines spanning the
   full hero height (matches Figma vertical dividers at
   x = 0, 270, 540, 810, 1080 inside a 1080px overlay).
   ============================================ */

.sp26-hero {
    --sp26-section-pad: 0;
    position: relative;
    background: var(--sp26-white);
    overflow: hidden;
}

.sp26-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 645px) minmax(0, 481px);
    gap: 30px;
    align-items: center;
    width: min(1116px, calc(100% - 64px));
    margin: 0 auto;
    padding: 84px 0 84px;
    min-height: 700px;
}

.sp26-hero__content {
    max-width: 663px;
}

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

.sp26-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.sp26-hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sp26-hero__visual img {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    object-fit: contain;
}

.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: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

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

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

.sp26-hero-overview {
    text-align: center;
}

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

.sp26-industries {
    border-top: 1px solid var(--sp26-light-border);
}

section.sp26-industries > div {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 72px;
    padding-bottom: 72px;
    border-left: 1px solid var(--sp26-light-border);
    border-right: 1px solid var(--sp26-light-border);
}

.sp26-industries__header {
    text-align: center;
}

.sp26-industries__title {
    color: var(--sp26-black);
    font-family: var(--sp26-font-heading);
    font-size: 35px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.35px;
}

.sp26-industries__subtitle {
    margin: 11px 0;
}

.sp26-industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 40px 34px 0;
    list-style: none;
}

.sp26-industries__grid div img {
    width: 100%;
    display: block;
}

.sp26-industry-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 275px; /** VERY IMPORTANT - DO NOT CHANGE THIS VALUE **/
    margin-top: 10px;
    border: 1px solid var(--sp26-light-border);
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: var(--sp26-white);
    overflow: hidden;
}

.sp26-industry-card__body {
    padding: 24px;
}

.sp26-industry-card__media + .sp26-industry-card__body {
    padding-bottom: 0;
}

.sp26-industry-card__title {
    display: inline-block;
    margin: 0;
    color: #000;
    font-family: var(--sp26-font-heading);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--text-base-line-height, 24px); /* 120% */
}

.sp26-industry-card__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 6px;
    text-align-last: justify;
}

.sp26-industry-card__description {
    color: var(--sp26-text-body);
    font-family: var(--sp26-font-body);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.sp26-industry-card a {
    color: var(--sp26-white);
    text-align: center;
    font-family: var(--sp26-font-button);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.sp26-industry-card__badge {
    padding: 4px 6px;
    border: var(--border-width-border, 1px) solid var(--tailwind-colors-base-transparent, rgba(255, 255, 255, 0.00));
    border-radius: 4px;
    background: #098374;
    color: var(--base-primary-foreground, #FAFAFA);
    font-family: var(--sp26-font-body);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: var(--text-xs-line-height, 16px); /* 145.455% */
}

.dark_section_v2 {
    background: black;
    color: var(--sp26-white);
}

.dark_section_v2 > div {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 142px;
    border-left: 1px solid var(--sp26-dark-border);
    border-right: 1px solid var(--sp26-dark-border);
}

.sp26-building-blocks {
    text-align: center;
}

.sp26-building-blocks__subtitle {
    color: #D8D8D8;
    font-family: var(--sp26-font-heading);
    margin-top: 10px;
}

.sp26-building-blocks__grid {
    text-align: left;
    padding: 30px 100px 0;
}

.sp26-building-blocks__grid > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 8px;
    padding: 24px;
    border: 1px solid #404040;
    border-radius: 4px;
    background: #212121;
    box-shadow: var(--shadow-xs-offset-x, 0) var(--shadow-xs-offset-y, 1px) var(--shadow-xs-blur-radius, 2px) var(--shadow-xs-spread-radius, 0) var(--shadow-xs-color, rgba(0, 0, 0, 0.05));
}

.sp26-building-blocks__grid > div svg {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #8E8E8E;
    background: rgba(142, 142, 142, 0.20);
}

.sp26-building-blocks__grid > div h3 {
    margin: 10px 0;
    color: #FFF;
    font-family: var(--font-font-sans, Geist);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: var(--text-2xl-line-height, 32px); /* 160% */
}

.sp26-building-blocks__grid > div p {
    max-width: 424px;
    margin: 0;
    color: #D8D8D8;
    font-family: var(--sp26-font-heading);
    font-size: 15px;
    font-style: normal;
    font-weight: var(--font-weight-normal, 400);
    line-height: 20px; /* 142.857% */
    text-wrap: pretty;
}

.sp26-building-blocks__grid > div a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 55px;
    background-color: var(--sp26-white);
    color: #000;
    text-align: center;
    font-family: var(--sp26-font-button);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* ============================================
   Unified button states
   --------------------------------------------------
   Every button on the page shares the same motion (lift +
   shadow), timing/easing, press feedback, and focus ring.
   Color shifts are tailored per fill so contrast holds.
   Placed after all base button definitions so it wins on
   source order without needing extra specificity.
   ============================================ */

.sp26-btn,
.spv-btn,
.sp26-building-blocks__grid > div a {
    transition: transform .2s cubic-bezier(.2, .7, .3, 1),
                box-shadow .2s ease,
                background-color .2s ease,
                border-color .2s ease,
                color .2s ease;
}

.sp26-btn:hover,
.spv-btn:hover,
.sp26-building-blocks__grid > div a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.sp26-btn:active,
.spv-btn:active,
.sp26-building-blocks__grid > div a:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.sp26-btn:focus-visible,
.spv-btn:focus-visible,
.sp26-building-blocks__grid > div a:focus-visible {
    outline: 2px solid var(--sp26-green-bold);
    outline-offset: 3px;
}

/* Solid black buttons — keep the same colors, slight bounce on hover
   (override the shared lift + the lighten so colors stay identical). */
@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-btn--primary:hover,
.sp26-btn--pill:hover,
.spv-btn--primary:hover {
    background: var(--sp26-black);
    border-color: #535353;
    color: var(--sp26-white);
    transform: none;
    box-shadow: none;
    animation: nylas-btn-bounce .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. */
.spv-btn.spv-btn--outline:hover,
.sp26-btn.sp26-btn--outline:hover {
    background: var(--sp26-black);
    border-color: var(--sp26-black);
    color: var(--sp26-white);
    transform: none;
    box-shadow: none;
}

/* White building-blocks button — subtle darken on hover */
.sp26-building-blocks__grid > div a:hover {
    background-color: #ededed;
    color: #000;
}

@media (prefers-reduced-motion: reduce) {
    .sp26-btn,
    .spv-btn,
    .sp26-building-blocks__grid > div a {
        transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    }

    .sp26-btn:hover,
    .spv-btn:hover,
    .sp26-building-blocks__grid > div a:hover,
    .sp26-btn:active,
    .spv-btn:active,
    .sp26-building-blocks__grid > div a:active {
        transform: none;
        animation: none;
    }
}

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

    .sp26-building-blocks__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 0;
    }
}

@media (max-width: 1400px) {
    .sp26-industries__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .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__eyebrow {
        margin-bottom: 18px;
        font-size: 16px;
    }

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

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

    section.sp26-industries > div,
    .dark_section_v2 > div {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .sp26-industries__title {
        font-size: 32px;
    }

    .sp26-industries__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 34px 24px 0;
    }

    .sp26-building-blocks__header{
        padding-inline: 20px;
    }

    .sp26-building-blocks__grid {
        padding: 28px 24px 0;
    }

    .sp26-building-blocks__grid > div {
        margin-top: 30px;
    }

    .sp26-building-blocks__grid > div h3 {
        font-size: 19px;
        line-height: 1.45;
    }
}

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

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

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

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

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

    section.sp26-industries > div,
    .dark_section_v2 > div {
        padding-top: 44px;
        padding-bottom: 52px;
    }

    .sp26-industries__title {
        font-size: 28px;
        line-height: 1.2;
    }

    .sp26-industries__subtitle,
    .sp26-building-blocks__subtitle {
        padding-inline: 20px;
        font-size: 15px;
        line-height: 1.45;
    }

    .sp26-industries__grid {
        grid-template-columns: 1fr;
        padding: 30px 20px 0;
    }

    .sp26-industry-card__body {
        padding: 20px;
    }

    .sp26-industry-card__media + .sp26-industry-card__body {
        padding-bottom: 0;
    }

    .sp26-industry-card__title {
        font-size: 18px;
        line-height: 1.35;
    }

    .sp26-industry-card a {
        font-size: 14px;
    }

    .sp26-building-blocks__grid {
        padding: 24px 20px 0;
    }

    .sp26-building-blocks__grid > div {
        padding: 20px;
    }

    .sp26-building-blocks__grid > div h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .sp26-building-blocks__grid > div p {
        font-size: 14px;
        line-height: 1.5;
    }
}
