/* Homepage-only visual refinement. Keep all section order and grid layouts. */
.mb-agent-home {
    --mb-text: #242331;
    --mb-muted: #686575;
    --mb-violet: #7254db;
    --mb-violet-dark: #6042c6;
    --mb-line: #e8e5ef;
    --mb-soft: #f6f4fb;
    --mb-soft-2: #fcfbfe;
    --mb-shadow: 0 12px 34px rgba(56, 42, 90, .065);
    --mb-shadow-strong: 0 18px 48px rgba(56, 42, 90, .1);
}
.mb-agent-home .mb-nav {
    border-bottom-color: #eeebf4;
    box-shadow: 0 3px 18px rgba(56, 42, 90, .025);
}
.mb-agent-home .mb-button {
    box-shadow: 0 6px 18px rgba(91, 64, 171, .14);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mb-agent-home .mb-button:hover {
    box-shadow: 0 9px 24px rgba(91, 64, 171, .2);
    transform: translateY(-1px);
}
.mb-agent-home .mb-button--ghost,
.mb-agent-home .mb-button--light { box-shadow: none; border-color: #dcd7e8; }
.mb-agent-home :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #ac97e8;
    outline-offset: 4px;
}
.mb-agent-home :is(h1, h2, h3) { text-wrap: balance; }
.mb-agent-home .mb-hero h1 { letter-spacing: -.035em; line-height: 1.24; }
.mb-agent-home .mb-hero__typewriter-text {
    background-image: linear-gradient(105deg, #514197, #7956d6);
}
.mb-agent-home .mb-hero__lead { color: #5c586a; }
.mb-agent-home .mb-hero__note { color: #6c6779; line-height: 1.8; }
.mb-agent-home .mb-section-heading h2 { letter-spacing: -.025em; line-height: 1.4; }
.mb-agent-home .mb-section-heading h2 span,
.mb-agent-home .mb-trust h2 span { background-image: linear-gradient(105deg, #514197, #7956d6); }
.mb-agent-home .mb-section-heading p { color: #6c6779; line-height: 1.85; }
.mb-agent-home .mb-proof-card { border: 1px solid #e9e4f2; box-shadow: var(--mb-shadow); }
.mb-agent-home .mb-proof-card__item strong { font-variant-numeric: tabular-nums; }
.mb-agent-home .mb-proof-card__item p { color: #6c6779; }
.mb-agent-home .mb-agent-orb { border-color: #e9e5f0; box-shadow: 0 8px 24px rgba(56, 42, 90, .075); }
.mb-agent-home .mb-scenarios__grid--four .mb-agent-card {
    border: 1px solid #e9e5f0;
    border-radius: 22px;
}
.mb-agent-home .mb-scenarios__grid--four .mb-agent-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mb-shadow);
}
.mb-agent-home .mb-news__grid article {
    border: 1px solid #e9e5f0;
    box-shadow: 0 6px 22px rgba(56, 42, 90, .04);
}
.mb-agent-home .mb-news__grid article:hover { box-shadow: var(--mb-shadow); }
.mb-agent-home .mb-news-card__body p { color: #6c6779; line-height: 1.8; }
.mb-agent-home .mb-products-platform .mb-product-video {
    background: linear-gradient(135deg, #e9e2f7, #f2eff9);
    box-shadow: var(--mb-shadow);
    border: 1px solid #e7e0f2;
}
.mb-agent-home .mb-contact__card { border: 1px solid #e9e5f0; box-shadow: var(--mb-shadow); }
@media (min-width: 961px) {
    .mb-agent-home .mb-hero h1 { font-size: clamp(42px, 3.85vw, 54px); }
}
@media (prefers-reduced-motion: reduce) {
    .mb-agent-home .mb-button,
    .mb-agent-home .mb-agent-card { transition: none; }
}
.mb-arch-modal.is-open {
    /* Visibility must change immediately so the close button can receive focus. */
    transition: opacity 0.25s ease;
}
