/* ==========================================================================
   WHITE PAPER LANDING PAGE STYLES
   Page: /agentic-execution-gap/
   ========================================================================== */

.ao-whitepaper-page {
    background-color: var(--ao-white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.ao-wp-hero {
    padding: 80px 2rem 64px;
    background-color: var(--ao-white);
    text-align: center;
}

.ao-wp-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ao-wp-title {
    font-family: var(--ao-font-serif);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--ao-black);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.ao-wp-subtitle {
    font-family: var(--ao-font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ao-dark-gray);
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.ao-wp-intro {
    text-align: left;
    margin-bottom: 2rem;
}

.ao-wp-intro p {
    font-family: var(--ao-font-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ao-dark-gray);
    margin: 0 0 1rem 0;
}

.ao-wp-intro p:last-child {
    margin-bottom: 0;
}

.ao-wp-hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ao-wp-secondary-link {
    font-family: var(--ao-font-sans);
    font-size: 1rem;
    color: var(--ao-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ao-wp-secondary-link:hover {
    color: var(--ao-medium-gray);
}

/* ==========================================================================
   SECTION BASE STYLES
   ========================================================================== */
.ao-wp-section {
    padding: 64px 2rem;
    background-color: var(--ao-white);
}

.ao-wp-section-alt {
    background-color: var(--ao-off-white);
}

.ao-wp-section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.ao-wp-section-title {
    font-family: var(--ao-font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ao-black);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.01em;
    text-align: center;
}

.ao-wp-section-body {
    max-width: 680px;
    margin: 0 auto;
}

.ao-wp-section-body p {
    font-family: var(--ao-font-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ao-dark-gray);
    margin: 0 0 1rem 0;
}

.ao-wp-section-body p:last-child {
    margin-bottom: 0;
}

.ao-wp-emphasis {
    font-weight: 500;
    color: var(--ao-black) !important;
    font-style: italic;
}

/* ==========================================================================
   WHY THE GAP EXISTS - CARDS
   ========================================================================== */
.ao-wp-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ao-wp-card {
    background-color: var(--ao-off-white);
    border: 1px solid var(--ao-light-gray);
    border-radius: 6px;
    padding: 1.5rem;
}

.ao-wp-card-title {
    font-family: var(--ao-font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ao-black);
    margin: 0 0 0.75rem 0;
}

.ao-wp-card-text {
    font-family: var(--ao-font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ao-dark-gray);
    margin: 0;
}

/* ==========================================================================
   AGENT OPERATOR LOOP
   ========================================================================== */
.ao-wp-loop {
    margin: 2rem 0;
    overflow-x: auto;
}

.ao-wp-loop-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background-color: var(--ao-off-white);
    border: 1px solid var(--ao-light-gray);
    border-radius: 6px;
}

.ao-wp-loop-item {
    font-family: var(--ao-font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ao-black);
    padding: 0.5rem 1rem;
    background-color: var(--ao-white);
    border: 1px solid var(--ao-light-gray);
    border-radius: 4px;
}

.ao-wp-loop-item-outcome {
    background-color: var(--ao-black);
    color: var(--ao-white);
    border-color: var(--ao-black);
}

.ao-wp-loop-arrow {
    font-family: var(--ao-font-sans);
    font-size: 1rem;
    color: var(--ao-medium-gray);
}

.ao-wp-section-note {
    font-family: var(--ao-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ao-dark-gray);
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   WHO THIS IS FOR - AUDIENCE COLUMNS
   ========================================================================== */
.ao-wp-audience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.ao-wp-audience-col {
    text-align: center;
}

.ao-wp-audience-title {
    font-family: var(--ao-font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ao-black);
    margin: 0 0 0.75rem 0;
}

.ao-wp-audience-text {
    font-family: var(--ao-font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ao-dark-gray);
    margin: 0;
}

/* ==========================================================================
   DOWNLOAD CTA SECTION
   ========================================================================== */
.ao-wp-cta {
    text-align: center;
    background-color: var(--ao-white);
    border-top: 1px solid var(--ao-light-gray);
}

.ao-wp-cta-text {
    font-family: var(--ao-font-sans);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ao-dark-gray);
    margin: 0 0 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ao-btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 768px) {
    .ao-wp-hero {
        padding: 48px 1.5rem;
    }
    
    .ao-wp-title {
        font-size: 2.25rem;
    }
    
    .ao-wp-subtitle {
        font-size: 1.1rem;
    }
    
    .ao-wp-section {
        padding: 48px 1.5rem;
    }
    
    .ao-wp-section-title {
        font-size: 1.5rem;
    }
    
    .ao-wp-cards {
        grid-template-columns: 1fr;
    }
    
    .ao-wp-loop-items {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ao-wp-loop-arrow {
        transform: rotate(90deg);
    }
    
    .ao-wp-audience {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   TYPOGRAPHY ENHANCEMENT (v1.8.2)
   Improves readability for white paper landing page.
   ========================================================================== */

/* --- White Paper Intro/Body Paragraphs --- */
.ao-whitepaper-page .ao-wp-intro p,
.ao-whitepaper-page .ao-wp-section-body p,
.ao-whitepaper-page .ao-wp-cta-text,
.ao-whitepaper-page .ao-wp-section-note {
    font-size: 16.5px !important;
    line-height: 1.65 !important;
}

/* --- White Paper Cards --- */
.ao-whitepaper-page .ao-wp-card,
.ao-whitepaper-page .ao-wp-card-text,
.ao-whitepaper-page .ao-wp-audience-text {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* --- White Paper Card Titles (keep controlled) --- */
.ao-whitepaper-page .ao-wp-card-title,
.ao-whitepaper-page .ao-wp-audience-title {
    font-size: 17px !important;
}

/* --- White Paper Section Titles (keep controlled, max 28px) --- */
.ao-whitepaper-page .ao-wp-section-title {
    font-size: 28px !important;
}

/* --- White Paper Main Title (keep controlled, max 42px) --- */
.ao-whitepaper-page .ao-wp-title {
    font-size: 42px !important;
}

/* --- White Paper Subtitle --- */
.ao-whitepaper-page .ao-wp-subtitle {
    font-size: 20px !important;
    line-height: 1.5 !important;
}

/* --- Mobile Typography (White Paper) --- */
@media (max-width: 768px) {
    .ao-whitepaper-page .ao-wp-intro p,
    .ao-whitepaper-page .ao-wp-section-body p,
    .ao-whitepaper-page .ao-wp-cta-text,
    .ao-whitepaper-page .ao-wp-section-note,
    .ao-whitepaper-page .ao-wp-card,
    .ao-whitepaper-page .ao-wp-card-text,
    .ao-whitepaper-page .ao-wp-audience-text {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    .ao-whitepaper-page .ao-wp-title {
        font-size: 32px !important;
    }
    
    .ao-whitepaper-page .ao-wp-section-title {
        font-size: 24px !important;
    }
}
