/**
 * Shared styles for /agents/* product pages (hero, sections, FAQ, CTA, sub-nav).
 * Class prefix: agent-* (reusable across ClauseCraft, MineVision, and future agent pages).
 * Load after ../css/style.min.css
 */

/* Hero — same banner as sub-service pages (e.g. product-discovery-strategy) + right image slide */
.sub-service-hero.agent-hero {
    padding-top: 96px;
    padding-bottom: 72px;
}
/* Text-only hero: no right visual, content centered */
.sub-service-hero.agent-hero.agent-hero-centered .sub-service-hero-container {
    justify-content: center;
}
.sub-service-hero.agent-hero.agent-hero-centered .sub-service-hero-content {
    align-items: center;
    text-align: center;
}
.sub-service-hero.agent-hero.agent-hero-centered .agent-hero-subtitle {
    text-align: center;
}
.sub-service-hero.agent-hero.agent-hero-centered .agent-hero-chips {
    justify-content: center;
}
.sub-service-hero.agent-hero.agent-hero-centered .btn-primary-cta {
    align-self: center;
}
.sub-service-hero.agent-hero .sub-service-hero-visual {
    overflow: hidden;
}
.sub-service-hero.agent-hero .agent-hero-slide-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
}
.sub-service-hero.agent-hero .sub-service-hero-visual .sub-service-hero-image.agent-hero-visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    opacity: 0;
    transition: opacity 0.65s ease;
    pointer-events: none;
}
.sub-service-hero.agent-hero .sub-service-hero-visual .sub-service-hero-image.agent-hero-visual-img.active {
    opacity: 1;
    z-index: 1;
}
.sub-service-hero.agent-hero .agent-hero-logo {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #045DE8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.sub-service-hero.agent-hero .agent-hero-logo-accent {
    font-weight: 700;
    color: #333;
}
.agent-hero-tabs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}
.agent-hero-slide-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
.agent-hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sub-service-hero.agent-hero .agent-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #c6dafa;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.sub-service-hero.agent-hero .agent-hero-dot.active {
    background: #045DE8;
    transform: scale(1.15);
}
.sub-service-hero.agent-hero .agent-hero-tab {
    padding: 6px 14px;
    border-radius: 100px;
    border: none;
    background: transparent;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sub-service-hero.agent-hero .agent-hero-tab:hover {
    color: #60A5FA;
}
.sub-service-hero.agent-hero .agent-hero-tab.active {
    background: #DBEAFE;
    color: #045DE8;
    font-weight: 600;
}
.agent-hero-panel { display: none; opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.agent-hero-panel.active { display: block; opacity: 1; transform: translateY(0); }
.agent-hero-panel .sub-service-hero-title .highlight {
    font-weight: 600;
    color: #045DE8;
}
.agent-hero-panel .sub-service-hero-title {
    margin-bottom: 16px;
}
.agent-hero-panel .sub-service-hero-desc {
    margin-bottom: 16px;
}
.agent-hero-panel .sub-service-hero-desc:last-of-type {
    margin-bottom: 0;
}
.sub-service-hero.agent-hero .agent-hero-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 0px;
    text-align: left;
}
.sub-service-hero.agent-hero .agent-hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px 12px;
    margin-top: 4px;
}
.agent-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 100px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid rgba(4, 93, 232, 0.35);
    box-shadow:
        0 2px 8px rgba(4, 93, 232, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.agent-chip:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(4, 93, 232, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}
.agent-chip strong {
    color: #045DE8;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.sub-service-hero.agent-hero .btn-primary-cta {
    align-self: flex-start;
}
.btn-agent-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    background: #fff;
    color: #045DE8;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.btn-agent-demo:hover {
    background: #f0f4ff;
    color: #045DE8;
}

/* Section Shared */
.agent-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.agent-section-title {
    font-family: Lexend, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.3;
    color: #333;
}
.agent-section-title .highlight { 
    font-weight: 500;
    color: #045DE8; 
}
.agent-section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50px;
    font-family: Lexend, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: var(--light-text);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.03), 0 5px 5px 0 rgba(0,0,0,.03), 0 12px 7px 0 rgba(0,0,0,.02), 0 22px 9px 0 transparent, 0 34px 9px 0 transparent;
    margin-bottom: 16px;
}
.agent-section-desc {
    font-family: Lexend, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--secondary-text);
    max-width: 734px;
    line-height: 27px;
}

/* Pain Points Section */
.agent-pain-section {
    padding: 100px 0;
    background: #fff;
}
/* Optional subtle red wash (e.g. "Don't Risk It" / risks block) */
.agent-pain-section--risk-tint {
    background: #dc28280d;
}
.agent-pain-card {
    background: #fff;
    border: 1px solid #C6DAFA;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.agent-pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(4,93,232,0.12);
}
.agent-pain-card-icon {
    width: 48px;
    height: 48px;
    background: #EDF3FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #045DE8;
    margin-bottom: 20px;
}
.agent-pain-card h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.agent-pain-card p {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666;
    margin: 0;
}

/* OmniReagent "Don't Risk It" — red risk theme (scoped) */
.agent-risks-section .agent-section-title {
    color: #1f2937;
}
.agent-risks-highlight {
    font-weight: 600;
    color: #dc2626;
}
.agent-risks-section .agent-pain-card {
    border-color: #fecaca;
}
.agent-risks-section .agent-pain-card:hover {
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12);
}
.agent-risks-section .agent-pain-card-icon {
    background: #fee2e2;
    color: #dc2626;
}
.agent-risks-section .agent-pain-card h3 {
    color: #1f2937;
}
.agent-risks-section .agent-pain-card p {
    color: #6b7280;
}

/* How It Works Section */
.agent-steps-section {
    padding: 100px 0;
    background: #F6F9FF;
}
.agent-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.agent-step {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid #E5E7EB;
    align-items: center;
}
.agent-step:last-child { border-bottom: none; }
.agent-step-marker {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
}
.agent-step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #045DE8, #3985FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    line-height: 1;
}
.agent-step-icon-wrap i { display: block; }
.agent-step-label {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #045DE8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left;
    line-height: 1.2;
    margin-bottom: 6px;
}
.agent-step-content h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    margin-top: 0;
}
.agent-step-content p {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666;
    margin: 0;
}
/* How It Works — bottom timeline callout (pill) */
.agent-step-footer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15em;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 32px;
    background: #ebf5ff;
    border: 1px solid #0d6dfd4d;
    border-radius: 999px;
    font-family: Lexend, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}
.agent-step-footer-pill-label {
    color: #1a1a1a;
}
.agent-step-footer-pill-value {
    color: #045de8;
}

/* Features Section */
.agent-features-section {
    padding: 100px 0;
    background: #f6f9ff;
}
.agent-feature-card {
    background: #fff;
    border: 1px solid #C6DAFA;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.agent-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(4,93,232,0.12);
}
.agent-feature-card--blue-tint {
    background: #F6F9FF;
    border-color: #c6dafc;
}
.agent-feature-icon {
    width: 52px;
    height: 52px;
    background: #EDF3FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #045DE8;
    margin-bottom: 20px;
}
.agent-feature-card h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}
.agent-feature-card p {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666;
    margin: 0;
}
.agent-feature-card ul li {
    padding-bottom: 12px;
}
.agent-feature-card ul li:last-child {
    padding-bottom: 0;
}
#research .agent-feature-card > p.fw-semibold {
    color: #045DE8 !important;
}
.agent-metric-value-primary {
    color: #045DE8;
}

/* Use Cases Section */
.agent-usecases-section {
    padding: 100px 0;
    background: #F6F9FF;
}
.agent-usecase-card {
    background: #fff;
    border: 1px solid #C6DAFA;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.agent-usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(4,93,232,0.12);
}
.agent-usecase-tag {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 100px;
    background: #EDF3FF;
    border: 1px solid #C6DAFA;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #045DE8;
    margin-bottom: 16px;
}
.agent-usecase-card h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.agent-usecase-card p {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666;
    margin: 0;
    margin-bottom: 10px;
}
.agent-usecase-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #045DE8;
}
.agent-check-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Integrations Section */
.agent-integrations-section {
    padding: 100px 0;
    background: #fff;
}
.agent-integrations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
}
.agent-integration-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid #C6DAFA;
    border-radius: 12px;
    min-width: 180px;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.agent-integration-badge:hover { box-shadow: 0 4px 16px rgba(4,93,232,0.12); }
.agent-int-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EDF3FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #045DE8;
    flex-shrink: 0;
}
.agent-int-info {
    display: flex;
    flex-direction: column;
}
.agent-int-name {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.agent-int-type {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    color: #888;
}

/* Banking-style integrations: 2×2 category cards + pills */
.agent-integration-cards-layout {
    background: #ffffff;
}
.agent-integration-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.agent-integration-category-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.agent-integration-category-title {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 20px;
    line-height: 1.3;
}
.agent-integration-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}
.agent-integration-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #045de8;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

/* Comparison Table Section */
.agent-comparison-section {
    padding: 100px 0;
    background: #fff;
}
.agent-comparison-table-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.agent-comparison-table {
    width: 100%;
    min-width: 520px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #C6DAFA;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.agent-comparison-table thead th {
    background: #EDF3FF;
    font-family: 'Lexend', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid #C6DAFA;
}
.agent-comparison-table thead th:nth-child(3) { color: #045DE8; }
.agent-comparison-table tbody td {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    padding: 16px 24px;
    border-bottom: 1px solid #E5E7EB;
    background: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.agent-comparison-table tbody tr:last-child td { border-bottom: none; }
.agent-comparison-table tbody td:first-child {
    font-weight: 500;
    color: #333;
}
.agent-comparison-table tbody td:nth-child(2) {
    background: #FEF2F2;
}
.agent-comparison-table tbody td:nth-child(3) {
    color: #333;
    background: #EDF3FF;
}
.agent-comparison-table thead th:nth-child(2) { background: #FEF2F2; }
.agent-comparison-table thead th:nth-child(3) { background: #EDF3FF; }
.agent-table-icon-x { color: #DC2626; margin-right: 8px; }
.agent-table-icon-check { margin-right: 8px; vertical-align: middle; }

/* 4-column comparison (e.g. OmniReagent) */
.agent-comparison-table-wrap-4col {
    max-width: 1120px;
}
.agent-comparison-table-4col {
    min-width: 720px;
}
.agent-comparison-table-4col thead th:nth-child(3) {
    background: #F3F4F6;
    color: #333;
}
.agent-comparison-table-4col thead th:nth-child(4) {
    background: #EDF3FF;
    color: #045DE8;
}
.agent-comparison-table-4col tbody td:nth-child(3) {
    background: #F9FAFB;
    color: #666;
}
.agent-comparison-table-4col tbody td:nth-child(4) {
    background: #EEF6FF;
    color: #333;
}

/* OmniReagent-style vertical timeline + warning / deadline cards */
.agent-timeline-section {
    padding: 100px 0;
    /* Soft white — reads as white, not harsh #fff */
    background: #f9fafb;
}
.agent-timeline-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}
.agent-timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 16px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 999px;
    font-family: Lexend, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #DC2626;
    line-height: normal;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .03), 0 5px 5px 0 rgba(0, 0, 0, .03), 0 12px 7px 0 rgba(0, 0, 0, .02), 0 22px 9px 0 transparent, 0 34px 9px 0 transparent;
}
.agent-timeline-badge .bi {
    font-size: 14px;
    line-height: 1;
}
.agent-timeline-title {
    font-family: Lexend, sans-serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    color: #0f172a;
    margin: 0;
}
.agent-timeline-title-accent {
    font-weight: 600;
    color: #045de8;
}
.agent-vertical-timeline {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}
.agent-vt-line {
    position: absolute;
    left: 16px;
    top: 10px;
    bottom: 80px;
    width: 2px;
    border-radius: 2px;
    /* Smooth vertical gradient: brand blue → indigo → violet → rose → deadline red */
    background: linear-gradient(
        180deg,
        #045de8 80%,
        #1d4ed8 22%,
        #4f46e5 45%,
        #7c3aed 62%,
        #dc2626 100%
    );
}
.agent-vt-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.agent-vt-item {
    position: relative;
    padding-left: 48px;
    padding-bottom: 40px;
    min-height: 1px;
}
.agent-vt-item:last-child {
    padding-bottom: 0;
}
.agent-vt-dot {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
    box-sizing: border-box;
}
.agent-vt-dot--blue {
    background: #045DE8;
    box-shadow: 0 0 0 1px rgba(4, 93, 232, 0.25);
}
.agent-vt-dot--red {
    background: #DC2626;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
}
.agent-vt-body strong {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}
.agent-vt-desc {
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #6B7280;
    margin-top: 6px;
}
.agent-vt-item--deadline .agent-vt-card--deadline {
    margin-top: 0;
}
.agent-vt-card--deadline {
    background: #FFF0F0;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 100%;
}
.agent-vt-deadline-date {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #DC2626;
    line-height: 1.3;
}
.agent-vt-deadline-label {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #6B7280;
    text-transform: uppercase;
    margin-top: 8px;
}
.agent-vt-warning-card {
    max-width: 760px;
    margin: 36px auto 0;
    text-align: center;
    background: #FFF0F0;
    border: 1px solid #FECACA;
    border-radius: 16px;
    padding: 28px 24px 26px;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.06);
}
.agent-vt-warning-icon {
    display: block;
    font-size: 32px;
    line-height: 1;
    color: #DC2626;
    margin: 0 auto 16px;
}
.agent-vt-warning-text {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #6B7280;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    
}
.agent-vt-warning-lead {
    font-weight: 700;
    color: #1f2937;
}

/* Guarantee callout — success / trust (not error red) */
.agent-guarantee-card {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 16px;
    padding: 28px 24px 26px;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.1);
}
.agent-guarantee-lead {
    display: block;
    font-family: Lexend, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #047857;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.agent-guarantee-text {
    font-family: Lexend, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #374151;
    margin: 0;
}

/* Banking AI Accelerators — 90-Day Pilot phase lists */
#pilot .agent-usecase-card ul li {
    padding-bottom: 10px;
}
#pilot .agent-usecase-card ul li:last-child {
    padding-bottom: 0;
}

/* Pilot: Guarantee (left) + demo blurb (right) */
.agent-pilot-split .agent-guarantee-card {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}
/* Demo blurb — distinct from Phase 1/2/3 usecase cards (no white tile + pill look) */
.agent-pilot-demo-panel {
    text-align: left;
    background: linear-gradient(165deg, #f8fbff 0%, #eef4ff 100%);
    border: 1px solid #c6dafa;
    border-left: 4px solid #045de8;
    border-radius: 12px;
    padding: 26px 24px 26px 28px;
    box-shadow: none;
}
.agent-pilot-demo-panel-title {
    font-family: Lexend, sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: #045de8;
    line-height: 1.35;
    margin: 0 0 14px;
}
.agent-pilot-demo-panel-text {
    font-family: Lexend, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/*
 * OmniReagent only: backgrounds from #problem (Critical Compliance Deadline)
 * through #risks (Don't Risk It). Neighbors never share the same band color.
 */
.page-omnireagent #problem.agent-pain-section {
    background: #fff;
}
.page-omnireagent #solution.agent-steps-section {
    background: #f6f9ff;
}
.page-omnireagent #benefits.agent-features-section {
    background: #fff;
}
.page-omnireagent #features.agent-features-section {
    background: #f6f9ff;
}
.page-omnireagent #comparison.agent-comparison-section {
    background: #fff;
}
.page-omnireagent #industries.agent-usecases-section {
    background: #f6f9ff;
}
.page-omnireagent #faq.agent-faq-section {
    background: #fff;
}
.page-omnireagent #timeline.agent-timeline-section {
    background: radial-gradient(circle at top center, hsl(216 98% 76% / .18), transparent 60%);
}
.page-omnireagent #risks.agent-pain-section.agent-pain-section--risk-tint {
    background: #fff5f5;
}

/* Banking AI Accelerators — alternating section backgrounds (Challenge → FAQ) */
.page-banking-ai-accelerators #pain-points.agent-pain-section {
    background: #ffffff;
}
.page-banking-ai-accelerators #how-it-works.agent-steps-section {
    background: #ebf1fa;
}
.page-banking-ai-accelerators #accelerators.agent-features-section {
    background: #ffffff;
}
.page-banking-ai-accelerators #features.agent-pain-section {
    background: #ebf1fa;
}
.page-banking-ai-accelerators #pilot.agent-usecases-section {
    background: #ffffff;
}
.page-banking-ai-accelerators #comparison.agent-comparison-section {
    background: #ebf1fa;
}
.page-banking-ai-accelerators #research.agent-features-section {
    background: #ffffff;
}
.page-banking-ai-accelerators #infrastructure.agent-integrations-section.agent-integration-cards-layout {
    background: #ffffff;
}
.page-banking-ai-accelerators #faq.agent-faq-section {
    background: #ffffff;
}

/* FAQ Section — card accordion */
.agent-faq-section {
    padding: 100px 0;
    background: #F6F9FF;
}
.agent-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.agent-faq-item {
    background: #fff;
    border: 1px solid #DDE8FB;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(4, 93, 232, 0.06);
    overflow: hidden;
    transition:
        border-color 0.4s cubic-bezier(0.33, 1, 0.68, 1),
        box-shadow 0.45s cubic-bezier(0.33, 1, 0.68, 1),
        background 0.35s ease;
}
.agent-faq-item:hover {
    border-color: #C6DAFA;
    box-shadow: 0 6px 24px rgba(4, 93, 232, 0.1);
}
.agent-faq-item.active {
    border-color: #045DE8;
    box-shadow: 0 10px 32px rgba(4, 93, 232, 0.14);
    background: #fff;
}
.agent-faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    white-space: normal;
    transition: color 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.agent-faq-item.active .agent-faq-question {
    color: #045DE8;
}
.agent-faq-q-text {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
    padding-top: 4px;
}
.agent-faq-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0 4px 8px;
    background: none;
    border: none;
}
.agent-faq-toggle i {
    font-size: 22px;
    color: #045DE8;
    transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
    line-height: 1;
}
.agent-faq-item.active .agent-faq-toggle i {
    transform: rotate(180deg);
}
.agent-faq-question:focus-visible {
    outline: 2px solid #045DE8;
    outline-offset: 2px;
}
.agent-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}
.agent-faq-item.active .agent-faq-answer {
    grid-template-rows: 1fr;
}
.agent-faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}
.agent-faq-answer-inner p {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #666;
    margin: 0;
    padding: 16px 22px 22px;
    border-top: 1px solid #EDF3FF;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.35s ease,
        transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}
.agent-faq-item.active .agent-faq-answer-inner p {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.45s ease 0.1s,
        transform 0.55s cubic-bezier(0.33, 1, 0.68, 1) 0.08s;
}
@media (prefers-reduced-motion: reduce) {
    .agent-faq-item,
    .agent-faq-question,
    .agent-faq-answer,
    .agent-faq-answer-inner p,
    .agent-faq-toggle i {
        transition-duration: 0.01ms !important;
    }
    .agent-faq-answer-inner p {
        transform: none !important;
    }
    .agent-faq-item.active .agent-faq-answer-inner p {
        transition-delay: 0s !important;
    }
}

/* Bottom CTA Section */
.agent-bottom-cta {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: linear-gradient(115deg, #045be7, #4626a6);
    text-align: center;
}
.agent-bottom-cta-gradient {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 90% 25%, hsl(216 98% 52% / 0.35), transparent 45%);
}
.agent-bottom-cta .container {
    position: relative;
    z-index: 2;
}
.agent-bottom-cta-deco {
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 1;
    width: 680px;
    max-width: none;
    height: auto;
    transform: translateY(-50%);
    opacity: 0.85;
    display: none;
}
@media (min-width: 768px) {
    .agent-bottom-cta-deco { display: block; }
}
.agent-bottom-cta .agent-section-desc { color: rgba(255,255,255,0.85); }
.agent-bottom-cta .agent-section-tag {
    margin-bottom: 20px;
}
.agent-cta-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.agent-cta-checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.agent-cta-check-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.90);
}
.agent-bottom-cta .btn-agent-demo { margin-bottom: 0; }

/* Responsive */
@media (max-width: 991px) {
    .sub-service-hero.agent-hero {
        padding-top: 72px;
        padding-bottom: 48px;
    }
    /* Mobile / tablet: hide right-side hero image (stacked layout) */
    .sub-service-hero.agent-hero .sub-service-hero-visual {
        display: none !important;
    }
    .agent-hero-panel .sub-service-hero-title { font-size: 32px; line-height: 42px; }
    .agent-section-title { font-size: 32px; }
    .agent-timeline-title { font-size: 32px; }
    .agent-cta-title { font-size: 32px; }
    .agent-hero-tabs { flex-wrap: wrap; }
}
@media (max-width: 575px) {
    .agent-hero-panel .sub-service-hero-title { font-size: 28px; line-height: 36px; }
    .agent-section-title { font-size: 26px; }
    .agent-timeline-title { font-size: 26px; }
    .agent-section-header { margin-bottom: 40px; }
    .agent-timeline-header { margin-bottom: 40px; }
    .agent-cta-title { font-size: 26px; line-height: 1.25; }
    .agent-hero-tabs { gap: 5px; }
    .sub-service-hero.agent-hero .agent-hero-tab { padding: 5px 11px; font-size: 11px; }
    .sub-service-hero.agent-hero .agent-chip { padding: 10px 16px; font-size: 13px; }
    .agent-step { flex-direction: column; gap: 16px; align-items: center; }
    .agent-step-content { align-self: stretch; width: 100%; }
    .agent-step-footer-pill {
        font-size: 14px;
        padding: 10px 20px;
    }
    .agent-comparison-table { min-width: 480px; }
    .agent-comparison-table thead th,
    .agent-comparison-table tbody td { padding: 12px 14px; font-size: 14px; }
    .agent-integrations-grid { gap: 10px; }
    .agent-integration-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .agent-integration-category-card {
        padding: 24px 20px;
    }
    .agent-integration-category-title {
        font-size: 17px;
        margin-bottom: 16px;
    }
    .agent-integration-pill {
        font-size: 13px;
        padding: 7px 14px;
    }
    .agent-integration-badge {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        padding: 12px 16px;
    }
    .agent-integrations-section .agent-int-name { font-size: 15px; }
    .agent-integrations-section .agent-int-type { font-size: 13px; }
    .agent-integrations-section .agent-int-icon { font-size: 14px; }
    .agent-faq-question {
        font-size: 15px;
        padding: 16px 18px;
    }
    .agent-faq-q-text { padding-top: 2px; }
    .agent-faq-toggle i { font-size: 20px; }
    .agent-faq-answer-inner p {
        padding: 14px 18px 18px;
        font-size: 15px;
    }
    .agent-pain-section,
    .agent-steps-section,
    .agent-features-section,
    .agent-usecases-section,
    .agent-integrations-section,
    .agent-comparison-section,
    .agent-faq-section { padding-top: 56px; padding-bottom: 56px; }
    .agent-bottom-cta { padding: 56px 0; }
    .agent-cta-check-item { font-size: 14px; }
    .agent-bottom-cta .btn-agent-demo {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Anchor targets: clear sticky header + sub-service nav */
#pain-points,
#how-it-works,
#howitworks,
#features,
#retrieval,
#security,
#use-cases,
#usecases,
#integrations,
#comparison,
#faq,
#contact-cta,
#problem,
#permissions,
#embeddable-widget,
#technical-evaluators {
    scroll-margin-top: 120px;
}

/* Sub-nav: section anchors + Schedule Demo CTA */
.agent-subnav-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: flex-end;
}
.agent-subnav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    min-height: 36px;
    border-radius: 8px;
    background: #fff;
    color: #045DE8;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, background 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.agent-subnav-cta:hover {
    opacity: 0.95;
    color: #045DE8;
    background: #f6f9ff;
}
@media (max-width: 991px) {
    .agent-subnav-actions {
        justify-content: center;
        width: 100%;
    }
}

/* Agent pages: footer copyright link hover */
.footer-bottom .copyright a:hover {
    color: #045DE8 !important;
    text-decoration: none !important;
}
