/*
 * Homepage design system
 * Resolved preset: standard_business_brief
 *
 * Web token map:
 * - responsive content width: 1180px (web override for Letter geometry)
 * - body: Calibri 17px, 1.6 line height
 * - H2: #2E74B5; H3: #1F4D78; ink: #0B2545
 * - section rhythm: 72px desktop / 52px mobile
 * - card fill: #FFFFFF; quiet header fill: #F2F4F7
 * - callout fill: #F4F6F9; border: #D8E1EA
 */

body.page-home {
    --home-content-width: 1180px;
    --home-section-space: 72px;
    --home-heading-blue: #2e74b5;
    --home-heading-dark: #1f4d78;
    --home-ink: #0b2545;
    --home-copy: #40566b;
    --home-muted: #647587;
    --home-border: #d8e1ea;
    --home-table-fill: #f2f4f7;
    --home-callout-fill: #f4f6f9;
}

body.page-home main {
    overflow: clip;
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
}

body.page-home main > section > .container {
    max-width: var(--home-content-width);
}

body.page-home .home-hero {
    min-height: 640px;
    padding: 92px 0 104px;
}

body.page-home .home-hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 25, 43, .96) 0%, rgba(11, 37, 69, .82) 43%, rgba(11, 37, 69, .18) 76%, rgba(11, 37, 69, .04) 100%);
}

body.page-home .home-hero-content {
    max-width: var(--home-content-width);
}

body.page-home .home-hero .hero-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #cdeaff;
    backdrop-filter: blur(8px);
}

body.page-home .home-hero .hero-title {
    max-width: 790px;
    margin-bottom: 24px;
    font-size: clamp(48px, 5.15vw, 70px);
    font-weight: 700;
    line-height: 1.01;
    letter-spacing: -.035em;
    text-wrap: balance;
}

body.page-home .home-hero .hero-subtitle {
    max-width: 690px;
    color: rgba(255,255,255,.88);
    font-size: 19px;
    line-height: 1.58;
}

body.page-home .home-hero .hero-buttons {
    gap: 14px;
}

body.page-home .home-hero .hero-buttons .btn {
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 8px;
}

body.page-home .home-hero .btn-primary {
    background: var(--home-heading-blue);
    border-color: #74b7e4;
    box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

body.page-home .home-proof-strip {
    margin-top: -48px;
    padding: 0 0 26px;
}

body.page-home .proof-grid {
    max-width: var(--home-content-width);
    gap: 16px;
}

body.page-home .proof-item {
    min-height: 116px;
    padding: 18px;
    border: 1px solid var(--home-border);
    border-radius: 10px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 32px rgba(11,37,69,.08);
}

body.page-home .proof-item:hover {
    transform: translateY(-3px);
    border-color: rgba(46,116,181,.35);
    box-shadow: 0 18px 38px rgba(11,37,69,.12);
}

body.page-home .proof-item span {
    color: var(--home-ink);
    font-size: 17px;
}

body.page-home .proof-item p {
    color: var(--home-muted);
    font-size: 13.5px;
    line-height: 1.42;
}

body.page-home .product-categories,
body.page-home .home-insights-section,
body.page-home .b2b-section,
body.page-home .manifesto-section {
    padding: var(--home-section-space) 0;
}

body.page-home .product-categories {
    background: #fff;
}

body.page-home .home-insights-section {
    background: var(--home-callout-fill);
}

body.page-home .home-section-heading {
    max-width: 780px;
    margin: 0 0 34px;
    text-align: left;
}

body.page-home .home-section-heading .section-kicker {
    margin-bottom: 9px;
    color: var(--home-heading-blue);
    font-size: 11px;
    letter-spacing: .11em;
}

body.page-home .home-section-heading .section-title {
    margin: 0 0 10px;
    color: var(--home-heading-blue);
    font-size: clamp(34px, 3.5vw, 44px);
    line-height: 1.14;
    letter-spacing: -.022em;
    text-align: left;
    text-wrap: balance;
}

body.page-home .home-section-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--home-copy);
    font-size: 17px;
    line-height: 1.58;
}

body.page-home .categories-grid,
body.page-home .home-insights-grid {
    max-width: var(--home-content-width);
    gap: 24px;
}

body.page-home .category-card,
body.page-home .home-insight-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--home-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11,37,69,.07);
}

body.page-home .category-card:hover,
body.page-home .home-insight-card:hover,
body.page-home .home-insight-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(46,116,181,.38);
    box-shadow: 0 18px 38px rgba(11,37,69,.12);
}

body.page-home .category-image,
body.page-home .home-insight-image {
    height: 230px;
    aspect-ratio: auto;
    border-bottom: 1px solid var(--home-border);
    background: var(--home-table-fill);
}

body.page-home .category-image img {
    object-fit: contain;
    object-position: center;
    background: #f7f7f7;
}

body.page-home .category-content,
body.page-home .home-insight-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

body.page-home .category-content h3,
body.page-home .home-insight-content h3 {
    margin-bottom: 11px;
    color: var(--home-heading-dark);
    font-size: 23px;
    line-height: 1.24;
}

body.page-home .category-content p,
body.page-home .home-insight-content p {
    margin-bottom: 18px;
    color: var(--home-copy);
    font-size: 16px;
    line-height: 1.55;
}

body.page-home .category-content .btn-link,
body.page-home .home-insight-content .btn-link {
    margin-top: auto;
    color: var(--home-heading-blue);
    font-weight: 700;
}

body.page-home .home-insight-type {
    margin-bottom: 9px;
    color: var(--home-heading-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.page-home .b2b-section {
    position: relative;
    background-color: var(--home-ink) !important;
    background-image: radial-gradient(circle at 85% 15%, rgba(46,116,181,.55), transparent 34%) !important;
}

body.page-home .b2b-content {
    max-width: 980px;
}

body.page-home .b2b-section .section-kicker {
    color: #9fd8f7;
}

body.page-home .b2b-content h2 {
    max-width: 780px;
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -.02em;
}

body.page-home .b2b-content p {
    max-width: 760px;
    color: rgba(255,255,255,.84);
    font-size: 17px;
    line-height: 1.58;
}

body.page-home .b2b-feature {
    min-height: 82px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
}

body.page-home .manifesto-section {
    background: #fff;
}

body.page-home .manifesto-content {
    max-width: 940px;
    margin: 0 auto;
    padding: 46px 52px;
    border: 1px solid var(--home-border);
    border-left: 5px solid var(--home-heading-blue);
    border-radius: 0 14px 14px 0;
    background: var(--home-callout-fill);
    text-align: left;
}

body.page-home .manifesto-section .section-kicker {
    color: var(--home-heading-blue);
}

body.page-home .manifesto-content h2 {
    margin-bottom: 16px;
    color: var(--home-heading-dark);
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
    text-align: left;
}

body.page-home .manifesto-content blockquote {
    margin: 0;
    color: var(--home-copy);
    font-size: 18px;
    line-height: 1.62;
    text-align: left;
}

body.page-home .manifesto-content blockquote strong {
    display: block;
    margin-top: 20px;
    color: var(--home-ink);
    font-size: 22px;
}

body.page-home .manifesto-signature {
    margin-top: 24px;
    color: var(--home-muted);
    text-align: left;
}

@media (max-width: 992px) {
    body.page-home {
        --home-section-space: 62px;
    }

    body.page-home .home-hero {
        min-height: 590px;
    }

    body.page-home .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-home .categories-grid,
    body.page-home .home-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body.page-home {
        --home-section-space: 52px;
    }

    body.page-home .home-hero {
        min-height: 610px;
        padding: 78px 0 52px;
    }

    body.page-home .home-hero-overlay {
        background: linear-gradient(180deg, rgba(11,37,69,.20) 0%, rgba(11,37,69,.68) 40%, rgba(7,25,43,.96) 100%);
    }

    body.page-home .home-hero .hero-title {
        font-size: clamp(39px, 12vw, 48px);
    }

    body.page-home .home-hero .hero-subtitle {
        font-size: 16.5px;
    }

    body.page-home .home-proof-strip {
        margin-top: 0;
        padding: 24px 0 30px;
    }

    body.page-home .proof-grid,
    body.page-home .categories-grid,
    body.page-home .home-insights-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .home-section-heading .section-title {
        font-size: 32px;
    }

    body.page-home .category-image,
    body.page-home .home-insight-image {
        height: 220px;
    }

    body.page-home .manifesto-content {
        padding: 32px 24px;
    }
}
