/* Block: pp-v2-hero
 * Extracted from css/product-solutions-v2.css + css/agent-accounts-2026.css
 * Variables and the legacy section-padding neutralizer are scoped to the
 * block root (.pp-v2-hero) so each block is self-contained and configurable.
 */

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

.pp-v2-hero {
    --pp-black: #000000;
    --pp-dark: #151515;
    --pp-dark-card: #212121;
    --pp-dark-bg: #1f1f1f;
    --pp-border-dark: #404040;
    --pp-border-light: #d8d8d8;
    --pp-green: #1ea482;
    --pp-green-bold: #0b9b8a;
    --pp-gray: #8e8e8e;
    --pp-gray-light: #d8d8d8;
    --pp-white: #ffffff;
    --pp-beige: #fafafa;
    --pp-content-max: 1200px;
    --pp-font-heading: "Manrope", sans-serif;
    --pp-font-body: "Inter", sans-serif;
    --pp-font-mono: "Inconsolata", "JetBrains Mono", monospace;

    --aap-accent: #0b9b8a;
    --aap-font-mono: "JetBrains Mono", "Fira Code", "Menlo", monospace;
}

.pp-v2-hero:not(.container) {
    padding: var(--pp-section-pad, 0px) !important;
}

.pp-v2-hero .pp-v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pp-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.2px;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.pp-v2-hero .pp-v2-btn:hover {
    opacity: 0.85;
}

.pp-v2-hero .pp-v2-btn--primary {
    background: var(--pp-black);
    color: var(--pp-white);
    border: none;
    min-width: 186px;
}

.pp-v2-hero .pp-v2-btn.pp-v2-btn--primary:hover {
    background: var(--pp-black);
    color: var(--pp-white);
    opacity: 1;
    animation: pp-v2-btn-bounce 0.45s ease;
}

@keyframes pp-v2-btn-bounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }

    55% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(0);
    }
}

.pp-v2-hero .pp-v2-btn--outline {
    background: transparent;
    color: var(--pp-black);
    border: 2px solid var(--pp-black);
    background-color: var(--pp-white);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.pp-v2-hero .pp-v2-btn.pp-v2-btn--outline:hover {
    background-color: var(--pp-black);
    color: var(--pp-white);
    border-color: var(--pp-black);
    opacity: 1;
}

.pp-v2-hero {
    background: var(--pp-white);
    --pp-section-pad: 0;
    overflow-x: hidden;
    min-height: 700px;
}

.pp-v2-hero.pp-v2-hero--agentic {
    min-height: 600px;
}

.pp-v2-hero__inner {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 30px;
    min-height: 600px;
    max-height: 1000px;
}

.pp-v2-hero__content {
    flex: 0 0 auto;
    box-sizing: content-box;
    width: 565px;
    padding: 0;
}

.pp-v2-hero__pre-title {
    display: block;
    font-family: var(--pp-font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--pp-green-bold);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.pp-v2-hero__title {
    font-family: var(--pp-font-heading);
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    letter-spacing: -2px;
    color: var(--pp-black);
    margin: 0 0 20px;
    text-wrap: pretty;
    /* text-wrap: balance; */
    /* Defensive: very long compound words like "Infrastructure" must
       break gracefully if the container is narrower than the word. */
}

.pp-v2-hero__description {
    font-family: var(--pp-font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: var(--pp-black);
    margin: 0 0 20px;
    max-width: 530px;
}

.pp-v2-hero__buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.pp-v2-hero__trust {
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: var(--pp-font-heading);
    font-weight: 500;
    font-size: 14px;
    color: #4b4b4b;
}

.pp-v2-hero__trust-item--dot::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pp-green);
    margin-right: 6px;
    vertical-align: middle;
}

.pp-v2-hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 610px;
}

.pp-v2-hero__visual img {
    display: block;
    max-width: min(100%, 600px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.pp-v2-hero__mobile-logos {
    display: none;
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .pp-v2-hero__inner {
        gap: clamp(16px, 2vw, 28px);
    }

    .pp-v2-hero__content {
        width: clamp(420px, 38vw, 540px);
        padding-left: clamp(40px, 6vw, 96px);
        padding-right: 0;
    }

    .pp-v2-hero__title {
        font-size: clamp(38px, 3.6vw, 46px);
        line-height: 1.1;
        letter-spacing: -1.5px;
    }

    .pp-v2-hero__description {
        max-width: none;
    }

    .pp-v2-hero__visual {
        min-width: 0;
        padding: 24px clamp(16px, 2vw, 30px) 24px 0;
    }

    .pp-v2-hero__visual img {
        max-height: 560px;
    }
}

@media (max-width: 1024px) {
    .pp-v2-hero__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding: 0;
    }

    .pp-v2-hero__visual {
        order: 1;
    }

    .pp-v2-hero__content {
        order: 2;
    }

    .pp-v2-hero__content {
        flex: 1 1 auto;
        width: auto;
        max-width: 720px;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 32px 40px 40px;
        text-align: left;
    }

    .pp-v2-hero__title {
        font-size: 44px;
        line-height: 1.1;
        letter-spacing: -1.5px;
        text-wrap: pretty;
    }

    .pp-v2-hero__description {
        max-width: none;
    }

    .pp-v2-hero__visual {
        flex: 0 0 auto;
        padding: 40px 40px 8px;
        max-height: none;
        min-height: 0;
    }

    .pp-v2-hero__visual img {
        width: 100%;
        max-width: 720px;
        max-height: 460px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .pp-v2-hero__inner {
        position: relative;
        right: -50px;
    }
}

@media (max-width: 768px) {
    .pp-v2-hero__content {
        padding: 24px 24px 32px;
    }

    .pp-v2-hero__pre-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .pp-v2-hero__title {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .pp-v2-hero__description {
        font-size: 17px;
        line-height: 25px;
    }

    .pp-v2-hero__buttons {
        gap: 12px;
        margin-bottom: 24px;
    }

    .pp-v2-hero__buttons .pp-v2-btn {
        flex: 1 1 auto;
        padding: 12px 24px;
    }

    .pp-v2-hero__trust {
        flex-wrap: wrap;
        gap: 10px 16px;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .pp-v2-hero__visual {
        padding: 32px 24px 0;
    }

    .pp-v2-hero__visual img {
        max-height: none;
        max-height: 300px;
    }
}

@media (max-width: 1024px) {
    .pp-v2-hero--email .pp-v2-hero__content {
        margin-top: 0;
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .pp-v2-hero--email .pp-v2-hero__content + .pp-v2-hero__visual {
        display: none;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logos {
        --pp-hero-logo-size: clamp(56px, 7.2vw, 68px);
        --pp-hero-logo-gap: clamp(8px, 1.6vw, 12px);
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--pp-hero-logo-gap);
        max-width: min(100%, 620px);
        margin-left: auto;
        margin-right: auto;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logos--top {
        margin-bottom: 24px;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logos--bottom {
        margin-top: 24px;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logo {
        --pp-hero-shell-opacity: 0.8;
        --pp-hero-icon-opacity: 0.78;
        width: var(--pp-hero-logo-size);
        height: var(--pp-hero-logo-size);
        border-radius: 50%;
        background: rgb(255 255 255 / var(--pp-hero-shell-opacity));
        box-shadow: 0 4px 12px
            rgb(0 0 0 / calc(var(--pp-hero-shell-opacity) * 0.16));
        display: flex;
        align-items: center;
        justify-content: center;
        padding: clamp(10px, 1.25vw, 12px);
        box-sizing: border-box;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logo img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        opacity: var(--pp-hero-icon-opacity);
    }

    .pp-v2-hero__title {
        font-size: 30px;
        line-height: 1.12;
        letter-spacing: -0.6px;
    }

    .pp-v2-hero__description {
        font-size: 16px;
        line-height: 24px;
    }

    .pp-v2-hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .pp-v2-hero__buttons .pp-v2-btn {
        width: 100%;
        max-width: 320px;
    }

    .pp-v2-hero__trust {
        justify-content: space-evenly;
        align-items: center;
        gap: 6px;
        font-size: 13px;
    }

    .pp-v2-hero__visual {
        padding: 24px 20px 0;
    }
}

@media (max-width: 555px) {
    .pp-v2-hero--email .pp-v2-hero__content {
        padding-top: 20px;
        padding-bottom: 24px;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logos {
        --pp-hero-logo-size: clamp(50px, 13vw, 58px);
        --pp-hero-logo-gap: clamp(6px, 2vw, 9px);
        max-width: 100%;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logos--top {
        margin-bottom: 20px;
    }

    .pp-v2-hero--email .pp-v2-hero__mobile-logos--bottom {
        margin-top: 20px;
    }
}

.pp-v2-hero__inner {
    justify-content: center;
    /* position: static!important; */
    gap: 15px;
}

.pp-v2-hero--agentic .pp-v2-hero__title-accent {
    color: var(--aap-accent);
}

.pp-v2-hero--agentic .pp-v2-hero__trust {
    flex-wrap: wrap;
    gap: 10px;
}

.pp-v2-hero--agentic .pp-v2-hero__trust code {
    font-family: var(--aap-font-mono);
    font-size: 13px;
    color: #444;
    background: #f3f3f3;
    padding: 0 4px;
    border-radius: 3px;
}

.pp-v2-hero--agentic .pp-v2-hero__visual {
    overflow: visible;
}

.pp-v2-hero .aap__code {
    width: 100%;
    max-width: 497px;
    background: #000;
    border-radius: 8px;
    border: 1px solid #1f2937;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.pp-v2-hero .aap__code-head {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    background: #0c0c0c;
    border-bottom: 1px solid #1f2937;
}

.pp-v2-hero .aap__code-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2a2a2a;
}

.pp-v2-hero .aap__code-dot.is-r {
    background: #ff5f57;
}

.pp-v2-hero .aap__code-dot.is-y {
    background: #febc2e;
}

.pp-v2-hero .aap__code-dot.is-g {
    background: #28c840;
}

.pp-v2-hero .aap__code-body {
    margin: 0;
    padding: 18px 18px 22px;
    font-family: var(--aap-font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: #e6e6e6;
    background: #000;
    white-space: pre;
    overflow-x: auto;
}

.pp-v2-hero .aap__code-body .c-num {
    color: #5a6470;
    user-select: none;
}

.pp-v2-hero .aap__code-body .c-c {
    color: #6cd388;
}

.pp-v2-hero .aap__code-body .c-m {
    color: #ff7eb6;
}

.pp-v2-hero .aap__code-body .c-s {
    color: #ffd28a;
}

@media (max-width: 1024px) {
    .pp-v2-hero--agentic .aap__code {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .pp-v2-hero--agentic .pp-v2-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .pp-v2-hero--agentic .pp-v2-hero__buttons .pp-v2-btn {
        width: 100%;
    }
}

.sp26-v2-hero .pp-v2-hero__description {
    font-size: 20px;
    max-width: 599px;
    margin-bottom: 45px;
}

.sp26-v2-hero .pp-v2-hero__content {
    width: 612px;
}

.sp26-v2-hero .pp-v2-hero__title {
    font-weight: 600;
}

.sp26-v2-hero .pp-v2-hero__pre-title {
    font-size: 18px;
}

.sp26-v2-hero .pp-v2-hero__visual {
    max-width: 635px;
}

.sp26-v2-hero .pp-v2-hero__visual {
    justify-content: flex-start;
}

/* ============================================
   Solutions vertical hero — mobile stacking order
   Header + subheader first, then hero image, then CTAs.
   `display: contents` lifts the content children into the hero
   flex column so the image (a sibling of .__content) can sit
   between the description and the buttons via `order`.
   ============================================ */
@media (max-width: 1024px) {
    .sp26-v2-hero .pp-v2-hero__inner {
        gap: 0;
        padding: 0;
    }

    .sp26-v2-hero .pp-v2-hero__content {
        display: contents;
    }

    .sp26-v2-hero .pp-v2-hero__pre-title,
    .sp26-v2-hero .pp-v2-hero__title,
    .sp26-v2-hero .pp-v2-hero__description,
    .sp26-v2-hero .pp-v2-hero__buttons {
        width: 100%;
        max-width: 720px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        padding-left: 40px;
        padding-right: 40px;
    }

    .sp26-v2-hero .pp-v2-hero__pre-title {
        order: 1;
        padding-top: 32px;
    }

    .sp26-v2-hero .pp-v2-hero__title {
        order: 1;
    }

    .sp26-v2-hero .pp-v2-hero__description {
        order: 1;
        margin-bottom: 16px;
    }

    .sp26-v2-hero .pp-v2-hero__visual {
        order: 2;
    }

    .sp26-v2-hero .pp-v2-hero__buttons {
        order: 3;
        margin-top: 24px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .sp26-v2-hero .pp-v2-hero__pre-title,
    .sp26-v2-hero .pp-v2-hero__title,
    .sp26-v2-hero .pp-v2-hero__description,
    .sp26-v2-hero .pp-v2-hero__buttons {
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Full-width CTAs on phones */
    .sp26-v2-hero .pp-v2-hero__buttons .pp-v2-btn {
        width: 100%;
        max-width: none;
    }
}
