
:root {
    --bbp-blue: #3658b5;
    --bbp-blue-dark: #28448e;
    --bbp-blue-deep: #233b79;
    --bbp-teal: #147f76;
    --bbp-teal-dark: #0f625b;
    --bbp-teal-soft: #eef8f6;
    --bbp-indigo-soft: #f1f4fb;

    --bbp-ink: #1d2733;
    --bbp-text: #5c6874;
    --bbp-muted: #7d8893;
    --bbp-line: #dfe5ea;
    --bbp-line-strong: #d2dae1;

    --bbp-white: #ffffff;
    --bbp-soft: #f7f9fb;
    --bbp-soft-blue: #f3f6fb;
    --bbp-dark: #172733;
    --bbp-dark-2: #203744;

    --page-width: 1260px;
    --page-gutter: 28px;

    --radius-xs: 6px;
    --radius-sm: 9px;
    --radius-md: 13px;
    --radius-lg: 18px;

    --shadow-soft: 0 10px 30px rgba(23, 37, 55, .055);
    --shadow-card: 0 18px 46px rgba(23, 37, 55, .08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--bbp-ink);
    background: var(--bbp-white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
    margin-inline: auto;
}

.tag {
    margin: 0 0 10px;
    color: var(--bbp-blue);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.title {
    margin: 0;
    color: var(--bbp-ink);
    font-size: clamp(35px, 3.2vw, 47px);
    line-height: 1.12;
    letter-spacing: -.038em;
}

.description {
    margin: 0;
    color: var(--bbp-text);
    font-size: 15px;
    line-height: 1.72;
}

.highlight {
    color: var(--bbp-blue);
}

.btn-primary,
.btn-outline,
.bbp-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.btn-primary,
.bbp-cta {
    color: #fff;
    background: var(--bbp-blue);
    border-color: var(--bbp-blue);
    box-shadow: 0 7px 18px rgba(54,88,181,.13);
}

.btn-primary:hover,
.bbp-cta:hover {
    background: var(--bbp-blue-dark);
    border-color: var(--bbp-blue-dark);
    transform: translateY(-1px);
}

.btn-outline {
    color: var(--bbp-blue);
    background: #fff;
    border-color: rgba(54,88,181,.27);
}

.btn-outline:hover {
    border-color: var(--bbp-blue);
    background: #f9faff;
}

/* =========================================================
   HERO — WIDER, COMPACT, BALANCED
   ========================================================= */

.retail-hero {
    position: relative;
    padding: 52px 0 58px;
    overflow: hidden;
    border-bottom: 1px solid #e9edf1;
    background:
        radial-gradient(circle at 87% 7%, rgba(91,78,174,.09), transparent 27%),
        radial-gradient(circle at 7% 0%, rgba(20,127,118,.065), transparent 25%),
        linear-gradient(180deg, #fcfdff 0%, #f5f7fb 100%);
}

.retail-hero::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(54,88,181,.06);
    border-radius: 50%;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    gap: 74px;
    align-items: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 21px;
    color: var(--bbp-muted);
    font-size: 12.5px;
}

.hero-left h1 {
    max-width: 790px;
    margin: 0 0 17px;
    color: var(--bbp-ink);
    font-size: clamp(46px, 4.8vw, 64px);
    line-height: 1.015;
    letter-spacing: -.05em;
}

.hero-lead {
    max-width: 760px;
    margin: 0 0 9px;
    color: #4f5b67;
    font-size: 16px;
    line-height: 1.66;
}

.hero-support {
    max-width: 730px;
    margin: 0;
    color: #707c87;
    font-size: 13.5px;
    line-height: 1.62;
}

.ai-hero-outcome {
    margin-top: 16px;
    color: #6b7681;
    font-size: 11.5px;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 18px;
}

.ai-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 17px;
    color: #56626d;
    font-size: 11.5px;
    font-weight: 650;
}

.ai-hero-proof span {
    position: relative;
    padding-left: 14px;
}

.ai-hero-proof span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bbp-teal);
}

.retail-snapshot-card {
    padding: 24px;
    border: 1px solid rgba(54,88,181,.14);
    border-top: 3px solid var(--bbp-blue);
    border-radius: 17px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-card);
}

.retail-snapshot-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.snapshot-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--bbp-blue);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.retail-snapshot-header h2 {
    margin: 0;
    color: var(--bbp-ink);
    font-size: 21px;
    line-height: 1.2;
}

.snapshot-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--bbp-blue-dark);
    background: var(--bbp-indigo-soft);
    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.snapshot-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bbp-teal);
}

.ai-snapshot-priority {
    margin-bottom: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(20,127,118,.14);
    border-radius: 8px;
    background: var(--bbp-teal-soft);
}

.ai-snapshot-priority > span {
    display: block;
    margin-bottom: 4px;
    color: var(--bbp-teal-dark);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-snapshot-priority strong {
    display: block;
    margin-bottom: 3px;
    color: var(--bbp-ink);
    font-size: 12.5px;
}

.ai-snapshot-priority small {
    color: #6e7b85;
    font-size: 9.5px;
    line-height: 1.45;
}

.retail-snapshot-metrics {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
}

.snapshot-metric {
    min-height: 73px;
    padding: 11px 12px;
    border: 1px solid #e4e8ed;
    border-radius: 8px;
    background: #fff;
}

.snapshot-label {
    display: block;
    color: var(--bbp-muted);
    font-size: 9px;
}

.snapshot-metric strong {
    display: block;
    margin: 5px 0 2px;
    color: var(--bbp-ink);
    font-size: 16px;
}

.snapshot-metric small {
    color: var(--bbp-muted);
    font-size: 9px;
}

.retail-snapshot-activity {
    margin-top: 9px;
    border-top: 1px solid #e4e8ec;
}

.snapshot-activity-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #e8ecef;
    font-size: 10px;
}

.snapshot-activity-row span {
    color: #697681;
}

.snapshot-activity-row strong {
    color: var(--bbp-ink);
    font-size: 10px;
}

.snapshot-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    color: #74808b;
    font-size: 8.5px;
    font-weight: 700;
}

.snapshot-footer i {
    flex: 1;
    height: 1px;
    background: rgba(54,88,181,.16);
}

/* =========================================================
   GLOBAL SECTION SYSTEM
   ========================================================= */

.ai-insight-journey-section,
.ai-business-insights-section,
.ai-dashboard-section,
.ai-connected-data-section,
.ai-performance-section,
.ai-cashflow-section,
.ai-dues-section,
.ai-inventory-section,
.ai-financial-section,
.ai-questions-section,
.ai-human-control-section,
.ai-operations-section,
.ai-types-section,
.ai-migration-section,
.retail-faq-section {
    position: relative;
    padding: 84px 0;
}

.ai-insight-journey-section,
.ai-dashboard-section,
.ai-performance-section,
.ai-dues-section,
.ai-financial-section,
.ai-human-control-section,
.ai-types-section,
.retail-faq-section {
    background: #fff;
}

.ai-business-insights-section,
.ai-cashflow-section,
.ai-inventory-section,
.ai-questions-section,
.ai-operations-section,
.ai-migration-section {
    background: var(--bbp-soft);
}

.ai-insight-journey-head,
.ai-performance-layout,
.ai-inventory-layout,
.ai-types-layout,
.ai-migration-layout {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr);
    gap: 86px;
    align-items: start;
}

.ai-insight-journey-head {
    margin-bottom: 34px;
}

.ai-business-insights-head,
.ai-operations-head {
    max-width: 880px;
    margin: 0 auto 38px;
    text-align: center;
}

.ai-business-insights-head .description,
.ai-operations-head .description {
    max-width: 760px;
    margin: 13px auto 0;
}

/* =========================================================
   01 — TRANSACTIONS TO INSIGHTS
   ========================================================= */

.ai-insight-journey {
    display: grid;
    grid-template-columns: 1fr 52px 1fr 52px 1fr;
    align-items: stretch;
    border-top: 1px solid var(--bbp-line-strong);
    border-bottom: 1px solid var(--bbp-line-strong);
}

.ai-insight-stage {
    min-height: 190px;
    padding: 24px 26px;
    background: transparent;
}

.ai-insight-stage.active {
    background: linear-gradient(180deg, rgba(54,88,181,.055), rgba(54,88,181,.015));
}

.ai-insight-stage > span {
    color: var(--bbp-teal);
    font-size: 10px;
    font-weight: 800;
}

.ai-insight-stage small {
    display: block;
    margin-top: 19px;
    color: var(--bbp-muted);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-insight-stage h3 {
    margin: 8px 0 8px;
    font-size: 19px;
}

.ai-insight-stage p {
    margin: 0;
    color: var(--bbp-text);
    font-size: 13px;
    line-height: 1.6;
}

.ai-insight-arrow {
    align-self: center;
    color: #98a3ad;
    text-align: center;
    font-size: 19px;
}

/* =========================================================
   02 — BUSINESS INSIGHTS
   ========================================================= */

.ai-business-insights-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.ai-business-insights-grid article {
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--bbp-line);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(25,37,53,.02);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ai-business-insights-grid article:hover {
    transform: translateY(-2px);
    border-color: #cfd7de;
    box-shadow: var(--shadow-soft);
}

.ai-business-insights-grid article > span {
    color: var(--bbp-teal);
    font-size: 9.5px;
    font-weight: 800;
}

.ai-insight-symbol {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 22px 0 15px;
    border-radius: 8px;
    color: var(--bbp-blue-dark);
    background: var(--bbp-indigo-soft);
    font-size: 9.5px;
    font-weight: 800;
}

.ai-business-insights-grid h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.ai-business-insights-grid p {
    margin: 0;
    color: var(--bbp-text);
    font-size: 12.7px;
    line-height: 1.58;
}

/* =========================================================
   03 — DASHBOARD
   ========================================================= */

.ai-dashboard-layout {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 82px;
    align-items: center;
}

.ai-dashboard-copy .description {
    margin-top: 13px;
}

.ai-dashboard-note {
    margin-top: 21px;
    padding: 14px 16px;
    border-left: 3px solid var(--bbp-teal);
    background: var(--bbp-teal-soft);
    color: #485762;
    font-size: 12.5px;
    font-weight: 700;
}

.ai-dashboard-mock {
    overflow: hidden;
    border: 1px solid var(--bbp-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.ai-dashboard-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 19px;
    color: #fff;
    background: linear-gradient(135deg, var(--bbp-blue-deep), var(--bbp-blue));
}

.ai-dashboard-topbar span {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-dashboard-topbar strong {
    font-size: 12.5px;
}

.ai-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-bottom: 1px solid var(--bbp-line);
}

.ai-dashboard-kpis article {
    padding: 15px;
    border-right: 1px solid var(--bbp-line);
    background: #fff;
}

.ai-dashboard-kpis article:last-child {
    border-right: 0;
}

.ai-dashboard-kpis span,
.ai-dashboard-kpis small {
    display: block;
    color: var(--bbp-muted);
    font-size: 8.5px;
}

.ai-dashboard-kpis strong {
    display: block;
    margin: 5px 0 3px;
    font-size: 15.5px;
}

.ai-dashboard-lower {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
}

.ai-dashboard-chart {
    padding: 20px;
    border-right: 1px solid var(--bbp-line);
}

.ai-dashboard-chart > span,
.ai-dashboard-alerts > span {
    color: var(--bbp-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-chart-bars {
    height: 112px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
    margin: 18px 0 9px;
    border-bottom: 1px solid var(--bbp-line);
}

.ai-chart-bars i {
    flex: 1;
    min-height: 10px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #7482d2, var(--bbp-blue));
}

.ai-dashboard-chart small {
    color: var(--bbp-muted);
    font-size: 8.5px;
}

.ai-dashboard-alerts {
    padding: 20px;
    background: #fafbfd;
}

.ai-dashboard-alerts div {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--bbp-line);
}

.ai-dashboard-alerts strong {
    display: block;
    font-size: 19px;
}

.ai-dashboard-alerts small {
    color: var(--bbp-muted);
    font-size: 8.5px;
}

/* =========================================================
   04 — CONNECTED DATA — FIXED CONTRAST
   ========================================================= */

.ai-connected-data-section,
.ai-connected-data-section.dark-section {
    color: #fff;
    background:
        radial-gradient(circle at 88% 7%, rgba(20,127,118,.20), transparent 25%),
        linear-gradient(145deg, var(--bbp-dark), var(--bbp-dark-2));
}

.ai-connected-data-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 84px;
    align-items: center;
}

.ai-connected-data-section .tag {
    color: #8fd8cf !important;
}

.ai-connected-data-section .title,
.ai-connected-data-section h2 {
    color: #ffffff !important;
}

.ai-connected-data-copy p {
    margin: 13px 0 0;
    color: #d4dce2 !important;
    font-size: 14px;
    line-height: 1.68;
}

.ai-connected-data-flow {
    display: grid;
    gap: 6px;
}

.ai-connected-data-flow div {
    min-height: 43px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    color: #f7f9fa;
    background: rgba(255,255,255,.055);
}

.ai-connected-data-flow div:hover {
    background: rgba(255,255,255,.08);
}

.ai-connected-data-flow div.active {
    border-color: rgba(143,216,207,.34);
    background: rgba(20,127,118,.34);
}

.ai-connected-data-flow div span {
    color: #91ddd4 !important;
    font-size: 9.5px;
    font-weight: 800;
}

.ai-connected-data-flow div strong {
    color: #ffffff !important;
    font-size: 12.5px;
}

.ai-connected-data-flow i {
    display: none;
}

/* =========================================================
   05 — PERFORMANCE
   ========================================================= */

.ai-performance-layout {
    align-items: start;
}

.ai-performance-layout .description {
    margin-top: 13px;
}

.ai-performance-callout {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    color: #485675;
    background: var(--bbp-indigo-soft);
    font-size: 12.5px;
    font-weight: 700;
}

.ai-performance-matrix {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    border-top: 1px solid var(--bbp-line);
    border-left: 1px solid var(--bbp-line);
    background: #fff;
}

.ai-performance-matrix div {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 17px;
    border-right: 1px solid var(--bbp-line);
    border-bottom: 1px solid var(--bbp-line);
}

.ai-performance-matrix span {
    color: var(--bbp-teal);
    font-size: 9px;
    font-weight: 800;
}

.ai-performance-matrix strong {
    font-size: 12.5px;
}

/* =========================================================
   06 — CASH FLOW
   ========================================================= */

.ai-cashflow-head {
    max-width: 880px;
    margin-bottom: 34px;
}

.ai-cashflow-head .description {
    margin-top: 13px;
}

.ai-cashflow-rail {
    display: grid;
    grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
    align-items: stretch;
}

.ai-cashflow-rail article {
    min-height: 195px;
    padding: 22px;
    border: 1px solid var(--bbp-line);
    border-radius: 10px;
    background: #fff;
}

.ai-cashflow-rail article.active {
    border-color: rgba(54,88,181,.24);
    background: linear-gradient(180deg, #f3f5fb, #fff);
}

.ai-cashflow-rail article > span {
    color: var(--bbp-teal);
    font-size: 9.5px;
    font-weight: 800;
}

.ai-cashflow-rail small {
    display: block;
    margin-top: 18px;
    color: var(--bbp-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-cashflow-rail h3 {
    margin: 8px 0;
    font-size: 17px;
}

.ai-cashflow-rail p {
    margin: 0;
    color: var(--bbp-text);
    font-size: 12px;
    line-height: 1.56;
}

.ai-cash-arrow {
    align-self: center;
    text-align: center;
    color: #9ba6af;
}

/* =========================================================
   07 — DUES
   ========================================================= */

.retail-workflow-header {
    max-width: 900px;
    margin-bottom: 34px;
}

.ai-dues-grid {
    display: grid;
    grid-template-columns: 1fr 210px 1fr;
    gap: 14px;
}

.ai-dues-panel {
    padding: 27px;
    border: 1px solid var(--bbp-line);
    border-radius: 11px;
}

.ai-dues-panel.receivables {
    background: linear-gradient(180deg, #f4f6ff, #fff);
}

.ai-dues-panel.payables {
    background: linear-gradient(180deg, #eff9f7, #fff);
}

.ai-dues-panel > span {
    color: var(--bbp-blue);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-dues-panel h3 {
    margin: 16px 0;
    font-size: 19px;
}

.ai-dues-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-dues-panel li {
    position: relative;
    padding: 10px 0 10px 16px;
    border-top: 1px solid rgba(105,120,135,.14);
    color: var(--bbp-text);
    font-size: 12.5px;
}

.ai-dues-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bbp-teal);
}

.ai-dues-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(145deg, var(--bbp-dark), var(--bbp-dark-2));
    text-align: center;
}

.ai-dues-center span {
    margin-bottom: 11px;
    color: #8fd8cf;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .09em;
}

.ai-dues-center strong {
    font-size: 14.5px;
    line-height: 1.45;
}

/* =========================================================
   08 — INVENTORY
   ========================================================= */

.ai-inventory-layout {
    align-items: start;
}

.ai-inventory-layout .description {
    margin-top: 13px;
}

.ai-inventory-signals {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    border-top: 1px solid var(--bbp-line);
    border-left: 1px solid var(--bbp-line);
    background: #fff;
}

.ai-inventory-signals article {
    min-height: 59px;
    padding: 16px 17px;
    border-right: 1px solid var(--bbp-line);
    border-bottom: 1px solid var(--bbp-line);
}

.ai-inventory-signals span {
    color: var(--bbp-teal);
    font-size: 9px;
    font-weight: 800;
}

.ai-inventory-signals strong {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
}

/* =========================================================
   09 — FINANCIAL
   ========================================================= */

.ai-financial-head {
    max-width: 860px;
    margin-bottom: 31px;
}

.ai-financial-head .description {
    margin-top: 13px;
}

.ai-report-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 9px;
}

.ai-report-grid span {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--bbp-line);
    border-radius: 8px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 700;
}

.ai-financial-note {
    margin-top: 19px;
    padding: 15px 17px;
    border-radius: 8px;
    color: #51606b;
    background: var(--bbp-indigo-soft);
    font-size: 12.5px;
    line-height: 1.6;
}

/* =========================================================
   10 — PRACTICAL QUESTIONS
   ========================================================= */

.ai-question-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.ai-question-grid article {
    min-height: 188px;
    padding: 21px;
    border: 1px solid var(--bbp-line);
    border-radius: 10px;
    background: #fff;
}

.ai-question-grid article.active {
    color: #fff;
    border-color: var(--bbp-blue);
    background: linear-gradient(145deg, var(--bbp-blue-dark), var(--bbp-blue));
}

.ai-question-grid article > span {
    color: var(--bbp-teal);
    font-size: 9.5px;
    font-weight: 800;
}

.ai-question-grid article.active > span {
    color: #a0e2da;
}

.ai-question-grid h3 {
    margin: 18px 0 8px;
    font-size: 15px;
    line-height: 1.42;
}

.ai-question-grid p {
    margin: 0;
    color: var(--bbp-text);
    font-size: 11.8px;
    line-height: 1.55;
}

.ai-question-grid article.active p {
    color: #e7ebfa;
}

/* =========================================================
   11 — AI + HUMAN CONTROL
   ========================================================= */

.ai-human-control {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 64px;
    padding: 36px 40px;
    border-radius: 14px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 8%, rgba(20,127,118,.16), transparent 26%),
        linear-gradient(145deg, #2d3d73, #4252a7);
}

.ai-human-control .tag {
    color: #d5dbff;
}

.ai-human-control .title {
    color: #fff;
}

.ai-human-control-copy p {
    margin: 12px 0 0;
    color: #e2e6f5;
    font-size: 13px;
    line-height: 1.64;
}

.ai-human-principles {
    border-top: 1px solid rgba(255,255,255,.16);
}

.ai-human-principles article {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.ai-human-principles span {
    color: #a0e2da;
    font-size: 9px;
    font-weight: 800;
}

.ai-human-principles strong {
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================================
   12 — OPERATIONS
   ========================================================= */

.ai-operations-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.ai-operations-grid article {
    min-height: 190px;
    padding: 21px;
    border: 1px solid var(--bbp-line);
    border-radius: 10px;
    background: #fff;
}

.ai-operations-grid span {
    color: var(--bbp-teal);
    font-size: 9.5px;
    font-weight: 800;
}

.ai-operations-grid h3 {
    margin: 19px 0 8px;
    font-size: 16px;
}

.ai-operations-grid p {
    margin: 0;
    color: var(--bbp-text);
    font-size: 12px;
    line-height: 1.56;
}

/* =========================================================
   13 — BUSINESS TYPES
   ========================================================= */

.ai-types-layout {
    align-items: start;
}

.ai-types-layout .description {
    margin-top: 13px;
}

.ai-types-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    border-top: 1px solid var(--bbp-line);
    border-left: 1px solid var(--bbp-line);
}

.ai-types-list span {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 16px 17px;
    border-right: 1px solid var(--bbp-line);
    border-bottom: 1px solid var(--bbp-line);
    font-size: 12.5px;
    font-weight: 700;
}

/* =========================================================
   14 — MIGRATION
   ========================================================= */

.ai-migration-layout {
    align-items: start;
}

.ai-migration-layout .description {
    margin-top: 13px;
}

.ai-migration-link {
    display: inline-block;
    margin-top: 19px;
    color: var(--bbp-blue);
    font-size: 12.5px;
    font-weight: 700;
}

.ai-migration-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 9px;
}

.ai-migration-grid span {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid var(--bbp-line);
    border-radius: 8px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 700;
}

/* =========================================================
   FAQ
   ========================================================= */

.retail-faq-layout {
    display: grid;
    grid-template-columns: .68fr 1.32fr;
    gap: 82px;
}

.retail-faq-heading .description {
    margin-top: 13px;
}

.retail-faq-list {
    border-top: 1px solid var(--bbp-line);
}

.retail-faq-list details {
    border-bottom: 1px solid var(--bbp-line);
}

.retail-faq-list summary {
    position: relative;
    padding: 19px 34px 19px 0;
    cursor: pointer;
    list-style: none;
    color: var(--bbp-ink);
    font-size: 14.5px;
    font-weight: 700;
}

.retail-faq-list summary::-webkit-details-marker {
    display: none;
}

.retail-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 16px;
    right: 4px;
    color: var(--bbp-blue);
    font-size: 20px;
    font-weight: 500;
}

.retail-faq-list details[open] summary {
    color: var(--bbp-blue-dark);
}

.retail-faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.retail-faq-list p {
    margin: 0;
    padding: 0 36px 19px 0;
    color: var(--bbp-text);
    font-size: 12.8px;
    line-height: 1.64;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.retail-final-cta {
    padding: 66px 0;
    background:
        radial-gradient(circle at 88% 20%, rgba(20,127,118,.08), transparent 24%),
        linear-gradient(135deg, #eef2fb, #f8fafc);
}

.retail-final-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 58px;
    align-items: center;
}

.retail-final-cta-copy h2 {
    max-width: 760px;
    margin: 0 0 13px;
    color: var(--bbp-ink);
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.12;
    letter-spacing: -.036em;
}

.retail-final-cta-copy p {
    max-width: 800px;
    margin: 0 0 9px;
    color: var(--bbp-text);
    font-size: 13.5px;
    line-height: 1.64;
}

.retail-final-cta-actions {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
    .hero-container,
    .ai-dashboard-layout,
    .ai-connected-data-layout,
    .ai-performance-layout,
    .ai-inventory-layout,
    .ai-types-layout,
    .ai-migration-layout,
    .retail-faq-layout {
        grid-template-columns: 1fr;
    }

    .ai-business-insights-grid,
    .ai-operations-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .ai-cashflow-rail {
        grid-template-columns: repeat(2,1fr);
        gap: 14px;
    }

    .ai-cash-arrow {
        display: none;
    }

    .ai-dues-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ai-dues-center {
        grid-column: 1 / -1;
        min-height: 110px;
    }

    .ai-question-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .retail-final-cta-inner {
        grid-template-columns: 1fr;
    }

    .retail-final-cta-actions {
        flex-direction: row;
    }
}

@media (max-width: 820px) {
    :root {
        --page-gutter: 20px;
    }

    .retail-hero {
        padding: 42px 0 48px;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .ai-insight-journey-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ai-insight-journey {
        grid-template-columns: 1fr;
        border: 0;
    }

    .ai-insight-stage {
        border-top: 1px solid var(--bbp-line);
    }

    .ai-insight-stage:last-child {
        border-bottom: 1px solid var(--bbp-line);
    }

    .ai-insight-arrow {
        display: none;
    }

    .ai-dashboard-kpis {
        grid-template-columns: repeat(2,1fr);
    }

    .ai-human-control {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ai-report-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 580px) {
    :root {
        --page-gutter: 17px;
    }

    .hero-buttons,
    .retail-final-cta-actions {
        flex-direction: column;
    }

    .hero-buttons a,
    .retail-final-cta-actions a {
        width: 100%;
    }

    .retail-snapshot-header {
        flex-direction: column;
    }

    .ai-business-insights-grid,
    .ai-operations-grid,
    .ai-question-grid,
    .ai-performance-matrix,
    .ai-inventory-signals,
    .ai-report-grid,
    .ai-types-list,
    .ai-migration-grid,
    .ai-dues-grid {
        grid-template-columns: 1fr;
    }

    .ai-dashboard-lower {
        grid-template-columns: 1fr;
    }

    .ai-dashboard-chart {
        border-right: 0;
        border-bottom: 1px solid var(--bbp-line);
    }
}

/* =========================================================
   V7 — MSME DESIGN-SYSTEM ALIGNMENT
   Matches BusinessBook Plus typography, contrast, width,
   section rhythm and hero snapshot proportions.
   ========================================================= */

:root {
    --bbp-blue: #3158a6;
    --bbp-blue-dark: #223f7c;
    --bbp-teal: #148779;
    --bbp-teal-dark: #0f655e;
    --bbp-ink: #111020;
    --bbp-text: #111020;
    --bbp-muted: #657078;
    --bbp-line: #dfe5eb;
    --bbp-line-strong: #d7dfe8;
    --bbp-soft: #f5f7fb;
    --bbp-soft-blue: #eef3fb;
    --page-width: 1440px;
    --page-gutter: 4%;
}

body.ai-insights-page {
    color: var(--text-primary, #111020);
    background: #fff;
    font-family: var(--para-font-family, "Poppins", Arial, sans-serif);
}

.ai-insights-page .wrap {
    width: 100%;
    max-width: var(--container-width, 1440px);
    margin: 0 auto;
    padding-left: 4%;
    padding-right: 4%;
}

.ai-insights-page .title,
.ai-insights-page .retail-final-cta-copy h2,
.ai-insights-page .retail-snapshot-header h2 {
    font-family: var(--heading-font-family, "Montserrat", Arial, sans-serif);
    color: var(--text-primary, #111020);
}

.ai-insights-page .title {
    max-width: 760px;
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.ai-insights-page .description {
    color: var(--text-primary, #111020);
    font-size: 16px;
    line-height: 1.82;
    letter-spacing: 0;
}

.ai-insights-page .tag {
    display: inline-block;
    margin: 0 0 16px;
    color: var(--bbp-blue);
    font-family: var(--para-font-family, "Poppins", Arial, sans-serif);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ai-insights-page .tag::before {
    display: none;
}

/* HERO — closely follows the MSME reference proportions */
.ai-insights-page .retail-hero {
    min-height: 0;
    height: auto;
    padding: 66px 0;
    border-bottom: 0;
    background: var(--bg-light, #f9f9fa);
}

.ai-insights-page .retail-hero::after {
    display: none;
}

.ai-insights-page .hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.ai-insights-page .hero-left {
    flex: 1 1 0;
    min-width: 0;
}

.ai-insights-page .breadcrumb {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 7px 13px;
    margin-bottom: 18px;
    border: 1px solid #d7dff0;
    border-radius: 18px;
    background: #fff;
    color: #7c889c;
    font-size: 11.5px;
    line-height: 1.35;
    letter-spacing: .2px;
}

.ai-insights-page .hero-left h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: var(--text-primary, #111020);
    font-family: var(--heading-bold-font-family, "Montserrat", Arial, sans-serif);
    font-size: clamp(38px, 3vw, 48px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.ai-insights-page .hero-left h1 .highlight {
    color: var(--bbp-blue);
}

.ai-insights-page .hero-lead {
    max-width: 650px;
    margin: 0 0 32px;
    color: var(--text-primary, #111020);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0;
}

.ai-insights-page .hero-support,
.ai-insights-page .ai-hero-outcome {
    display: none;
}

.ai-insights-page .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 30px;
}

.ai-insights-page .btn-primary,
.ai-insights-page .btn-outline,
.ai-insights-page .bbp-cta {
    min-height: 0;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--para-font-family, "Poppins", Arial, sans-serif);
    font-size: 14px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none;
}

.ai-insights-page .btn-primary,
.ai-insights-page .bbp-cta {
    color: #fff;
    background: var(--bbp-blue);
    border-color: var(--bbp-blue);
}

.ai-insights-page .btn-primary:hover,
.ai-insights-page .bbp-cta:hover {
    background: var(--bbp-blue-dark);
    border-color: var(--bbp-blue-dark);
    transform: translateY(-2px);
}

.ai-insights-page .btn-outline {
    color: var(--bbp-blue);
    background: #fff;
    border: 1.8px solid rgba(49,88,166,.72);
}

.ai-insights-page .btn-outline:hover {
    color: #fff;
    border-color: var(--bg-dark, #111827);
    background: var(--bg-dark, #111827);
}

.ai-insights-page .ai-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin: 0;
    color: #5f6874;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 600;
}

.ai-insights-page .ai-hero-proof span {
    position: relative;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ai-insights-page .ai-hero-proof span::before {
    left: 0;
    top: .5em;
    width: 6px;
    height: 6px;
    transform: none;
    background: var(--bbp-teal);
}

.ai-insights-page .hero-right {
    flex: 0 1 540px;
    width: min(100%, 540px);
    max-width: 540px;
}

/* HERO RIGHT — rebuilt in the visual language of the MSME snapshot */
.ai-insights-page .retail-snapshot-card {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    padding: 28px;
    overflow: visible;
    border: 1px solid rgba(49,88,166,.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(49,88,166,.09), transparent 34%),
        rgba(255,255,255,.86);
    box-shadow: 0 18px 50px rgba(21,37,74,.09);
    backdrop-filter: blur(14px);
}

.ai-insights-page .retail-snapshot-card::before {
    display: none;
}

.ai-insights-page .retail-snapshot-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ai-insights-page .snapshot-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--bbp-blue);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ai-insights-page .retail-snapshot-header h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0;
}

.ai-insights-page .snapshot-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 7px 10px;
    border-radius: 50px;
    color: var(--bbp-blue-dark);
    background: var(--bbp-soft-blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.ai-insights-page .snapshot-dot {
    width: 7px;
    height: 7px;
    background: var(--bbp-teal);
}

.ai-insights-page .ai-snapshot-focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(20,135,121,.18);
    border-radius: 14px;
    background: #f2f8f7;
}

.ai-insights-page .ai-snapshot-focus > div {
    min-width: 0;
}

.ai-insights-page .ai-snapshot-focus span {
    display: block;
    margin-bottom: 5px;
    color: var(--bbp-teal-dark);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .08em;
}

.ai-insights-page .ai-snapshot-focus strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary, #111020);
    font-family: var(--heading-font-family, "Montserrat", Arial, sans-serif);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.ai-insights-page .ai-snapshot-focus small {
    display: block;
    color: #5f6874;
    font-size: 11px;
    line-height: 1.5;
}

.ai-insights-page .ai-snapshot-focus b {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 50px;
    color: #8b5a12;
    background: #fff7e8;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.ai-insights-page .retail-snapshot-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.ai-insights-page .snapshot-metric {
    min-height: 112px;
    padding: 16px;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    background: #fff;
}

.ai-insights-page .snapshot-metric.attention {
    border-color: rgba(49,88,166,.18);
    background: #f8faff;
}

.ai-insights-page .snapshot-label {
    display: block;
    color: var(--text-primary, #111020);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.ai-insights-page .snapshot-metric strong {
    display: block;
    margin: 11px 0 3px;
    color: var(--text-primary, #111020);
    font-family: var(--heading-font-family, "Montserrat", Arial, sans-serif);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0;
}

.ai-insights-page .snapshot-metric small {
    display: block;
    color: var(--text-primary, #111020);
    font-size: 11px;
    line-height: 1.45;
    opacity: .72;
}

.ai-insights-page .ai-snapshot-signals-label {
    margin: 0 0 8px;
    color: #7c889c;
    font-size: 9.5px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .08em;
}

.ai-insights-page .retail-snapshot-activity {
    margin: 0;
    border-top: 1px solid rgba(15,23,42,.10);
    border-bottom: 1px solid rgba(15,23,42,.10);
}

.ai-insights-page .snapshot-activity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 11px 2px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    color: var(--text-primary, #111020);
    font-size: 12px;
    line-height: 1.4;
}

.ai-insights-page .snapshot-activity-row:last-child {
    border-bottom: 0;
}

.ai-insights-page .snapshot-activity-row span {
    color: var(--text-primary, #111020);
}

.ai-insights-page .snapshot-activity-row strong {
    color: var(--bbp-teal-dark);
    font-size: 11px;
    font-weight: 700;
}

.ai-insights-page .snapshot-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-top: 16px;
    color: var(--text-primary, #111020);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
}

.ai-insights-page .snapshot-footer i {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: rgba(15,23,42,.30);
}

/* SECTION RHYTHM + BACKGROUNDS */
.ai-insights-page .ai-insight-journey-section,
.ai-insights-page .ai-business-insights-section,
.ai-insights-page .ai-dashboard-section,
.ai-insights-page .ai-connected-data-section,
.ai-insights-page .ai-performance-section,
.ai-insights-page .ai-cashflow-section,
.ai-insights-page .ai-dues-section,
.ai-insights-page .ai-inventory-section,
.ai-insights-page .ai-financial-section,
.ai-insights-page .ai-questions-section,
.ai-insights-page .ai-human-control-section,
.ai-insights-page .ai-operations-section,
.ai-insights-page .ai-types-section,
.ai-insights-page .ai-migration-section,
.ai-insights-page .retail-faq-section {
    padding: 88px 0;
}

.ai-insights-page .ai-insight-journey-section,
.ai-insights-page .ai-dashboard-section,
.ai-insights-page .ai-performance-section,
.ai-insights-page .ai-dues-section,
.ai-insights-page .ai-financial-section,
.ai-insights-page .ai-human-control-section,
.ai-insights-page .ai-types-section,
.ai-insights-page .retail-faq-section {
    background: #fff;
}

.ai-insights-page .ai-business-insights-section,
.ai-insights-page .ai-cashflow-section,
.ai-insights-page .ai-inventory-section,
.ai-insights-page .ai-questions-section,
.ai-insights-page .ai-operations-section,
.ai-insights-page .ai-migration-section {
    background: #f5f7fb;
}

.ai-insights-page .ai-insight-journey-head,
.ai-insights-page .ai-performance-layout,
.ai-insights-page .ai-inventory-layout,
.ai-insights-page .ai-types-layout,
.ai-insights-page .ai-migration-layout {
    grid-template-columns: minmax(0,1fr) minmax(340px,.72fr);
    gap: 70px;
}

.ai-insights-page .ai-business-insights-head,
.ai-insights-page .ai-operations-head {
    max-width: 820px;
    margin: 0 auto 42px;
}

.ai-insights-page .ai-dashboard-layout,
.ai-insights-page .ai-connected-data-layout {
    gap: 80px;
}

/* Stronger reference-page text contrast throughout */
.ai-insights-page .ai-insight-stage p,
.ai-insights-page .ai-business-insights-grid p,
.ai-insights-page .ai-dashboard-copy .description,
.ai-insights-page .ai-performance-layout .description,
.ai-insights-page .ai-cashflow-head .description,
.ai-insights-page .ai-cashflow-rail p,
.ai-insights-page .ai-dues-panel li,
.ai-insights-page .ai-inventory-layout .description,
.ai-insights-page .ai-financial-head .description,
.ai-insights-page .ai-question-grid p,
.ai-insights-page .ai-human-control-copy p,
.ai-insights-page .ai-operations-grid p,
.ai-insights-page .ai-types-layout .description,
.ai-insights-page .ai-migration-layout .description,
.ai-insights-page .retail-faq-heading .description,
.ai-insights-page .retail-faq-list p,
.ai-insights-page .retail-final-cta-copy p {
    color: var(--text-primary, #111020);
}

/* Cards: flatter and closer to the MSME page */
.ai-insights-page .ai-business-insights-grid article,
.ai-insights-page .ai-cashflow-rail article,
.ai-insights-page .ai-dues-panel,
.ai-insights-page .ai-question-grid article,
.ai-insights-page .ai-operations-grid article,
.ai-insights-page .ai-report-grid span,
.ai-insights-page .ai-migration-grid span {
    border-color: #dfe5eb;
    box-shadow: none;
}

.ai-insights-page .ai-business-insights-grid article,
.ai-insights-page .ai-question-grid article,
.ai-insights-page .ai-operations-grid article {
    border-radius: 14px;
}

.ai-insights-page .ai-business-insights-grid h3,
.ai-insights-page .ai-cashflow-rail h3,
.ai-insights-page .ai-dues-panel h3,
.ai-insights-page .ai-question-grid h3,
.ai-insights-page .ai-operations-grid h3,
.ai-insights-page .ai-insight-stage h3 {
    color: var(--text-primary, #111020);
    font-family: var(--heading-font-family, "Montserrat", Arial, sans-serif);
    letter-spacing: 0;
}

/* Connected-data dark break retained, but typography follows the site system */
.ai-insights-page .ai-connected-data-section,
.ai-insights-page .ai-connected-data-section.dark-section {
    background: linear-gradient(145deg, #111827, #1f2937);
}

.ai-insights-page .ai-connected-data-section .title,
.ai-insights-page .ai-connected-data-section h2 {
    color: #fff !important;
}

.ai-insights-page .ai-connected-data-copy p {
    color: rgba(255,255,255,.82) !important;
    font-size: 16px;
    line-height: 1.78;
}

/* Human-control section changed from a heavy dark card to the MSME light-panel language */
.ai-insights-page .ai-human-control {
    gap: 58px;
    padding: 38px 40px;
    border: 1px solid #dfe5eb;
    border-radius: 18px;
    color: var(--text-primary, #111020);
    background: #f7f9fc;
    box-shadow: 0 16px 42px rgba(34,54,86,.05);
}

.ai-insights-page .ai-human-control .title,
.ai-insights-page .ai-human-control h2 {
    color: var(--text-primary, #111020) !important;
}

.ai-insights-page .ai-human-control .tag {
    color: var(--bbp-blue) !important;
}

.ai-insights-page .ai-human-control-copy p {
    color: var(--text-primary, #111020) !important;
    font-size: 14px;
    line-height: 1.7;
}

.ai-insights-page .ai-human-principles article {
    border-color: #dfe5eb;
}

.ai-insights-page .ai-human-principles article span {
    color: var(--bbp-teal);
}

.ai-insights-page .ai-human-principles strong {
    color: var(--text-primary, #111020);
}

/* FAQ closer to reference */
.ai-insights-page .retail-faq-layout {
    grid-template-columns: .72fr 1.28fr;
    gap: 72px;
}

.ai-insights-page .retail-faq-list summary {
    color: var(--text-primary, #111020);
    font-family: var(--heading-font-family, "Montserrat", Arial, sans-serif);
    font-size: 15px;
    font-weight: 600;
}

.ai-insights-page .retail-faq-list p {
    font-size: 14px;
    line-height: 1.7;
}

/* Final CTA: same calm light-family treatment */
.ai-insights-page .retail-final-cta {
    padding: 72px 0;
    border-top: 0;
    background: radial-gradient(circle at 88% 20%,rgba(20,135,121,.10),transparent 25%),linear-gradient(135deg,#eef3fb,#f7f9fc);
}

.ai-insights-page .retail-final-cta-copy h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.ai-insights-page .retail-final-cta-copy p {
    font-size: 15px;
    line-height: 1.72;
}

/* Responsive alignment */
@media (max-width: 1100px) {
    .ai-insights-page .hero-container {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .ai-insights-page .hero-right {
        width: 100%;
        max-width: 680px;
        flex-basis: auto;
    }

    .ai-insights-page .retail-snapshot-card {
        max-width: 680px;
        margin: 0;
    }

    .ai-insights-page .ai-insight-journey-head,
    .ai-insights-page .ai-performance-layout,
    .ai-insights-page .ai-inventory-layout,
    .ai-insights-page .ai-types-layout,
    .ai-insights-page .ai-migration-layout,
    .ai-insights-page .retail-faq-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .ai-insights-page .retail-hero {
        padding: 48px 0;
    }

    .ai-insights-page .hero-left h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .ai-insights-page .hero-lead {
        font-size: 15px;
        line-height: 1.72;
    }

    .ai-insights-page .title,
    .ai-insights-page .retail-final-cta-copy h2 {
        font-size: 32px;
    }

    .ai-insights-page .description {
        font-size: 15px;
        line-height: 1.75;
    }

    .ai-insights-page .retail-snapshot-card {
        padding: 22px;
        border-radius: 20px;
    }

    .ai-insights-page .ai-insight-journey-section,
    .ai-insights-page .ai-business-insights-section,
    .ai-insights-page .ai-dashboard-section,
    .ai-insights-page .ai-connected-data-section,
    .ai-insights-page .ai-performance-section,
    .ai-insights-page .ai-cashflow-section,
    .ai-insights-page .ai-dues-section,
    .ai-insights-page .ai-inventory-section,
    .ai-insights-page .ai-financial-section,
    .ai-insights-page .ai-questions-section,
    .ai-insights-page .ai-human-control-section,
    .ai-insights-page .ai-operations-section,
    .ai-insights-page .ai-types-section,
    .ai-insights-page .ai-migration-section,
    .ai-insights-page .retail-faq-section {
        padding: 68px 0;
    }

    .ai-insights-page .ai-human-control {
        padding: 28px 24px;
    }
}

@media (max-width: 479px) {
    .ai-insights-page .retail-snapshot-card {
        padding: 16px;
        border-radius: 18px;
    }

    .ai-insights-page .retail-snapshot-header {
        gap: 12px;
    }

    .ai-insights-page .retail-snapshot-header h2 {
        font-size: 18px;
    }

    .ai-insights-page .snapshot-status {
        padding: 6px 8px;
        font-size: 9px;
    }

    .ai-insights-page .ai-snapshot-focus {
        align-items: flex-start;
        padding: 14px;
    }

    .ai-insights-page .retail-snapshot-metrics {
        grid-template-columns: 1fr;
    }

    .ai-insights-page .snapshot-metric {
        min-height: auto;
    }
}


/* =========================================================
   V8 TARGETED ALIGNMENT CORRECTIONS
   ========================================================= */

/* 1. Desktop hero vertical offsets requested after header */
@media (min-width: 1101px) {
    .ai-insights-page .hero-container {
        align-items: flex-start;
    }

    .ai-insights-page .hero-left {
        margin-top: 50px;
    }

    .ai-insights-page .hero-right {
        margin-top: 10px;
    }
}

/* 2. Left-align eyebrow, heading and description in these two sections */
.ai-insights-page .ai-business-insights-head,
.ai-insights-page .ai-operations-head {
    max-width: 820px;
    margin: 0 0 42px;
    text-align: left;
}

.ai-insights-page .ai-business-insights-head .tag,
.ai-insights-page .ai-operations-head .tag,
.ai-insights-page .ai-business-insights-head .title,
.ai-insights-page .ai-operations-head .title,
.ai-insights-page .ai-business-insights-head .description,
.ai-insights-page .ai-operations-head .description {
    text-align: left;
}

.ai-insights-page .ai-business-insights-head .description,
.ai-insights-page .ai-operations-head .description {
    max-width: 760px;
    margin: 14px 0 0;
}

/* 3. Snapshot header: white title with sufficient contrast */
.ai-insights-page .retail-snapshot-header {
    margin: -28px -28px 20px;
    padding: 20px 22px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(135deg, var(--bbp-blue-dark), var(--bbp-blue));
}

.ai-insights-page .retail-snapshot-header h2 {
    color: #ffffff !important;
}

.ai-insights-page .retail-snapshot-header .snapshot-kicker {
    color: rgba(255,255,255,.76);
}

.ai-insights-page .retail-snapshot-header .snapshot-status {
    color: #ffffff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
}

.ai-insights-page .retail-snapshot-header .snapshot-dot {
    background: #8fe0c9;
}

@media (max-width: 767px) {
    .ai-insights-page .retail-snapshot-header {
        margin: -22px -22px 20px;
        padding: 18px 20px;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 479px) {
    .ai-insights-page .retail-snapshot-header {
        margin: -16px -16px 18px;
        padding: 16px;
        border-radius: 18px 18px 0 0;
    }
}

/* =========================================================
   V9 HERO POSITION + COMPACT SNAPSHOT
   ========================================================= */

@media (min-width: 1101px) {
    .ai-insights-page .hero-left {
        margin-top: 15px;
    }

    .ai-insights-page .hero-right {
        margin-top: -50px;
    }
}

/* Compact the right-side snapshot vertically without shrinking readability */
.ai-insights-page .retail-snapshot-card {
    padding: 24px 26px 20px;
}

.ai-insights-page .retail-snapshot-header {
    margin: -24px -26px 14px;
    padding: 16px 20px;
}

.ai-insights-page .snapshot-kicker {
    margin-bottom: 3px;
}

.ai-insights-page .retail-snapshot-header h2 {
    font-size: 20px;
    line-height: 1.2;
}

.ai-insights-page .snapshot-status {
    padding: 6px 9px;
}

.ai-insights-page .ai-snapshot-focus {
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 12px;
}

.ai-insights-page .ai-snapshot-focus span {
    margin-bottom: 3px;
}

.ai-insights-page .ai-snapshot-focus strong {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.32;
}

.ai-insights-page .ai-snapshot-focus small {
    font-size: 10.5px;
    line-height: 1.4;
}

.ai-insights-page .retail-snapshot-metrics {
    gap: 9px;
    margin-bottom: 13px;
}

.ai-insights-page .snapshot-metric {
    min-height: 84px;
    padding: 11px 13px;
    border-radius: 12px;
}

.ai-insights-page .snapshot-label {
    font-size: 11px;
}

.ai-insights-page .snapshot-metric strong {
    margin: 6px 0 2px;
    font-size: 19px;
}

.ai-insights-page .snapshot-metric small {
    font-size: 10px;
    line-height: 1.35;
}

.ai-insights-page .ai-snapshot-signals-label {
    margin-bottom: 5px;
    font-size: 9px;
}

.ai-insights-page .snapshot-activity-row {
    padding: 8px 2px;
    font-size: 11px;
}

.ai-insights-page .snapshot-activity-row strong {
    font-size: 10.5px;
}

.ai-insights-page .snapshot-footer {
    gap: 7px;
    padding-top: 11px;
    font-size: 10.5px;
}

@media (max-width: 767px) {
    .ai-insights-page .retail-snapshot-card {
        padding: 22px 22px 18px;
    }

    .ai-insights-page .retail-snapshot-header {
        margin: -22px -22px 14px;
        padding: 16px 18px;
    }
}

@media (max-width: 479px) {
    .ai-insights-page .retail-snapshot-card {
        padding: 16px 16px 15px;
    }

    .ai-insights-page .retail-snapshot-header {
        margin: -16px -16px 13px;
        padding: 15px 16px;
    }

    .ai-insights-page .retail-snapshot-header h2 {
        font-size: 18px;
    }
}

/* =========================================================
   V11 — SECTION REDESIGN / LESS CARD-HEAVY
   Hero intentionally untouched.
   ========================================================= */

/* ---------- Page rhythm ---------- */
.ai-insights-page .ai-insight-journey-section,
.ai-insights-page .ai-business-insights-section,
.ai-insights-page .ai-dashboard-section,
.ai-insights-page .ai-connected-data-section,
.ai-insights-page .ai-performance-section,
.ai-insights-page .ai-cashflow-section,
.ai-insights-page .ai-dues-section,
.ai-insights-page .ai-inventory-section,
.ai-insights-page .ai-financial-section,
.ai-insights-page .ai-questions-section,
.ai-insights-page .ai-human-control-section,
.ai-insights-page .ai-operations-section,
.ai-insights-page .ai-types-section,
.ai-insights-page .ai-migration-section,
.ai-insights-page .retail-faq-section {
    padding: 92px 0;
}

.ai-insights-page .ai-business-insights-section,
.ai-insights-page .ai-cashflow-section,
.ai-insights-page .ai-questions-section,
.ai-insights-page .ai-types-section {
    background: #f6f8fb;
}

.ai-insights-page .ai-inventory-section {
    background: #f5f9f8;
}

.ai-insights-page .ai-migration-section {
    background: #ffffff;
}

.ai-insights-page .ai-business-insights-head,
.ai-insights-page .ai-operations-head,
.ai-insights-page .ai-cashflow-head,
.ai-insights-page .ai-financial-head,
.ai-insights-page .retail-workflow-header {
    max-width: 900px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.ai-insights-page .ai-business-insights-head .description,
.ai-insights-page .ai-operations-head .description {
    max-width: 760px;
    margin-left: 0;
    margin-right: 0;
}

/* ---------- 01 / Transaction journey: continuous reasoning rail ---------- */
.ai-insights-page .ai-insight-journey-head {
    margin-bottom: 48px;
}

.ai-insights-page .ai-insight-journey {
    position: relative;
    grid-template-columns: 1fr 64px 1fr 64px 1fr;
    border-top: 0;
    border-bottom: 0;
}

.ai-insights-page .ai-insight-journey::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 21px;
    height: 1px;
    background: #cfd7df;
}

.ai-insights-page .ai-insight-stage {
    position: relative;
    min-height: 205px;
    padding: 52px 24px 0 0;
    background: transparent;
}

.ai-insights-page .ai-insight-stage::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 13px;
    height: 13px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--bbp-teal);
    box-shadow: 0 0 0 1px #b7c3cd;
}

.ai-insights-page .ai-insight-stage.active {
    background: transparent;
}

.ai-insights-page .ai-insight-stage.active::before {
    width: 16px;
    height: 16px;
    top: 13px;
    background: var(--bbp-blue);
    box-shadow: 0 0 0 5px rgba(49,88,166,.10);
}

.ai-insights-page .ai-insight-stage > span {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--bbp-teal-dark);
    font-size: 11px;
}

.ai-insights-page .ai-insight-stage small {
    margin-top: 0;
    font-size: 10px;
}

.ai-insights-page .ai-insight-stage h3 {
    margin: 9px 0 9px;
    font-size: 20px;
}

.ai-insights-page .ai-insight-stage p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.7;
}

.ai-insights-page .ai-insight-arrow {
    position: relative;
    z-index: 1;
    align-self: start;
    margin-top: 10px;
    color: #7e8b97;
    background: #fff;
    font-size: 18px;
}

/* ---------- 02 / Business insights: editorial index, not cards ---------- */
.ai-insights-page .ai-business-insights-head {
    margin-bottom: 32px;
}

.ai-insights-page .ai-business-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    column-gap: 64px;
    row-gap: 0;
    border-top: 1px solid #d5dde5;
}

.ai-insights-page .ai-business-insights-grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    grid-template-areas:
        "meta title"
        "symbol text";
    column-gap: 18px;
    row-gap: 6px;
    padding: 25px 0 27px;
    border: 0;
    border-bottom: 1px solid #d5dde5;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.ai-insights-page .ai-business-insights-grid article:hover {
    transform: none;
    border-color: #d5dde5;
    box-shadow: none;
}

.ai-insights-page .ai-business-insights-grid article > span {
    grid-area: meta;
    align-self: center;
    color: var(--bbp-teal-dark);
    font-size: 11px;
}

.ai-insights-page .ai-insight-symbol {
    grid-area: symbol;
    width: 40px;
    height: 40px;
    margin: 4px 0 0;
    border: 1px solid #cbd6e1;
    border-radius: 50%;
    color: var(--bbp-blue-dark);
    background: transparent;
    font-size: 10px;
}

.ai-insights-page .ai-business-insights-grid h3 {
    grid-area: title;
    align-self: center;
    margin: 0;
    font-size: 18px;
}

.ai-insights-page .ai-business-insights-grid p {
    grid-area: text;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.68;
}

/* ---------- 03 / Dashboard: product surface, flatter and wider ---------- */
.ai-insights-page .ai-dashboard-layout {
    grid-template-columns: .76fr 1.24fr;
    gap: 88px;
}

.ai-insights-page .ai-dashboard-copy {
    padding-top: 10px;
}

.ai-insights-page .ai-dashboard-note {
    margin-top: 26px;
    padding: 15px 0 15px 18px;
    border-left: 3px solid var(--bbp-teal);
    border-radius: 0;
    background: transparent;
    color: #3e4c58;
    font-size: 14px;
}

.ai-insights-page .ai-dashboard-mock {
    border: 1px solid #d9e1e8;
    border-radius: 6px;
    box-shadow: 0 20px 45px rgba(25,43,70,.08);
}

.ai-insights-page .ai-dashboard-topbar {
    padding: 17px 20px;
    background: linear-gradient(135deg,#253d7d,#3158a6);
}

.ai-insights-page .ai-dashboard-kpis article {
    min-height: 92px;
    padding: 18px 16px;
}

.ai-insights-page .ai-dashboard-kpis span,
.ai-insights-page .ai-dashboard-kpis small,
.ai-insights-page .ai-dashboard-chart small {
    font-size: 10px;
}

.ai-insights-page .ai-dashboard-kpis strong {
    margin: 7px 0 4px;
    font-size: 18px;
}

.ai-insights-page .ai-dashboard-chart,
.ai-insights-page .ai-dashboard-alerts {
    padding: 24px;
}

/* ---------- 04 / Connected data: vertical data spine ---------- */
.ai-insights-page .ai-connected-data-layout {
    grid-template-columns: .72fr 1.28fr;
    gap: 96px;
}

.ai-insights-page .ai-connected-data-flow {
    position: relative;
    gap: 0;
    padding-left: 22px;
}

.ai-insights-page .ai-connected-data-flow::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: rgba(255,255,255,.20);
}

.ai-insights-page .ai-connected-data-flow div {
    position: relative;
    min-height: 54px;
    padding: 14px 0 14px 18px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
    background: transparent;
}

.ai-insights-page .ai-connected-data-flow div::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 23px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #79cfc5;
    box-shadow: 0 0 0 4px rgba(121,207,197,.10);
}

.ai-insights-page .ai-connected-data-flow div:hover {
    background: transparent;
}

.ai-insights-page .ai-connected-data-flow div.active {
    margin-top: 8px;
    padding: 16px 18px;
    border: 1px solid rgba(143,216,207,.32);
    border-radius: 8px;
    background: rgba(20,127,118,.22);
}

.ai-insights-page .ai-connected-data-flow div.active::before {
    left: -39px;
    top: 25px;
    background: #ffffff;
}

.ai-insights-page .ai-connected-data-flow div strong {
    font-size: 13.5px;
}

/* ---------- 05 / Performance: scorecard rows ---------- */
.ai-insights-page .ai-performance-layout {
    grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr);
    gap: 90px;
}

.ai-insights-page .ai-performance-callout {
    margin-top: 28px;
    padding: 16px 0 16px 18px;
    border-left: 3px solid var(--bbp-blue);
    border-radius: 0;
    background: transparent;
    color: #3f4d59;
    font-size: 14px;
}

.ai-insights-page .ai-performance-matrix {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    border: 0;
    border-top: 1px solid #d5dde5;
    background: transparent;
}

.ai-insights-page .ai-performance-matrix div {
    min-height: 72px;
    padding: 18px 4px 18px 0;
    border: 0;
    border-bottom: 1px solid #d5dde5;
    background: transparent;
}

.ai-insights-page .ai-performance-matrix div:nth-child(odd) {
    margin-right: 28px;
}

.ai-insights-page .ai-performance-matrix span {
    min-width: 28px;
    color: var(--bbp-teal-dark);
    font-size: 11px;
}

.ai-insights-page .ai-performance-matrix strong {
    font-size: 14px;
}

/* ---------- 06 / Cash flow: process line instead of cards ---------- */
.ai-insights-page .ai-cashflow-head {
    margin-bottom: 54px;
}

.ai-insights-page .ai-cashflow-rail {
    position: relative;
    grid-template-columns: 1fr 46px 1fr 46px 1fr 46px 1fr;
    align-items: start;
}

.ai-insights-page .ai-cashflow-rail::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 2px;
    background: #cfd8e1;
}

.ai-insights-page .ai-cashflow-rail article {
    position: relative;
    min-height: 0;
    padding: 36px 16px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ai-insights-page .ai-cashflow-rail article::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 4px solid #f6f8fb;
    border-radius: 50%;
    background: var(--bbp-teal);
    box-shadow: 0 0 0 1px #aebbc6;
}

.ai-insights-page .ai-cashflow-rail article.active {
    border: 0;
    background: transparent;
}

.ai-insights-page .ai-cashflow-rail article.active::before {
    background: var(--bbp-blue);
    box-shadow: 0 0 0 5px rgba(49,88,166,.10);
}

.ai-insights-page .ai-cashflow-rail article > span {
    color: var(--bbp-teal-dark);
    font-size: 11px;
}

.ai-insights-page .ai-cashflow-rail small {
    margin-top: 13px;
    font-size: 9px;
}

.ai-insights-page .ai-cashflow-rail h3 {
    margin: 7px 0 8px;
    font-size: 18px;
}

.ai-insights-page .ai-cashflow-rail p {
    max-width: 245px;
    font-size: 13px;
    line-height: 1.65;
}

.ai-insights-page .ai-cash-arrow {
    position: relative;
    z-index: 1;
    align-self: start;
    margin-top: -3px;
    padding: 0 8px;
    color: #7d8995;
    background: #f6f8fb;
}

/* ---------- 07 / Dues: shared comparison board ---------- */
.ai-insights-page .ai-dues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border-top: 1px solid #d7dfe7;
    border-bottom: 1px solid #d7dfe7;
    background: #fff;
}

.ai-insights-page .ai-dues-panel {
    padding: 30px 36px 28px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
}

.ai-insights-page .ai-dues-panel.receivables {
    border-right: 1px solid #d7dfe7;
}

.ai-insights-page .ai-dues-panel > span {
    font-size: 10px;
}

.ai-insights-page .ai-dues-panel h3 {
    margin: 13px 0 18px;
    font-size: 21px;
}

.ai-insights-page .ai-dues-panel li {
    padding: 11px 0 11px 17px;
    font-size: 13px;
}

.ai-insights-page .ai-dues-center {
    grid-column: 1 / -1;
    min-height: 74px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 18px 28px;
    border-radius: 0;
    text-align: left;
    background: linear-gradient(135deg,#172033,#273b67);
}

.ai-insights-page .ai-dues-center span {
    margin: 0;
    font-size: 10px;
}

.ai-insights-page .ai-dues-center strong {
    max-width: 590px;
    font-size: 15px;
    text-align: right;
}

/* ---------- 08 / Inventory: signal ledger ---------- */
.ai-insights-page .ai-inventory-layout {
    grid-template-columns: minmax(0,.88fr) minmax(420px,1.12fr);
    gap: 92px;
    align-items: start;
}

.ai-insights-page .ai-inventory-signals {
    display: block;
    border: 0;
    border-top: 1px solid #cedbd7;
    background: transparent;
}

.ai-insights-page .ai-inventory-signals article {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid #cedbd7;
    background: transparent;
}

.ai-insights-page .ai-inventory-signals span {
    color: var(--bbp-teal-dark);
    font-size: 11px;
}

.ai-insights-page .ai-inventory-signals strong {
    margin: 0;
    font-size: 14px;
}

/* ---------- 09 / Financial: report index ---------- */
.ai-insights-page .ai-financial-head {
    margin-bottom: 36px;
}

.ai-insights-page .ai-report-grid {
    counter-reset: ai-report;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    border-top: 1px solid #d5dde5;
    border-bottom: 1px solid #d5dde5;
}

.ai-insights-page .ai-report-grid span {
    counter-increment: ai-report;
    min-height: 68px;
    display: grid;
    grid-template-columns: 35px 1fr;
    align-items: center;
    gap: 10px;
    padding: 17px 18px;
    border: 0;
    border-right: 1px solid #d5dde5;
    border-bottom: 1px solid #d5dde5;
    border-radius: 0;
    background: transparent;
    font-size: 13.5px;
}

.ai-insights-page .ai-report-grid span::before {
    content: counter(ai-report, decimal-leading-zero);
    color: var(--bbp-teal-dark);
    font-size: 10px;
    font-weight: 800;
}

.ai-insights-page .ai-report-grid span:nth-child(3n) {
    border-right: 0;
}

.ai-insights-page .ai-report-grid span:nth-last-child(-n+3) {
    border-bottom: 0;
}

.ai-insights-page .ai-financial-note {
    margin-top: 26px;
    padding: 15px 0 15px 18px;
    border-left: 3px solid var(--bbp-blue);
    border-radius: 0;
    background: transparent;
    color: #44515d;
    font-size: 13.5px;
}

/* ---------- 10 / Questions: question index, final row highlighted ---------- */
.ai-insights-page .ai-question-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 58px;
    row-gap: 0;
    border-top: 1px solid #d4dde5;
}

.ai-insights-page .ai-question-grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 38px 1fr;
    grid-template-areas:
        "num title"
        "num text";
    column-gap: 14px;
    row-gap: 5px;
    padding: 22px 0 23px;
    border: 0;
    border-bottom: 1px solid #d4dde5;
    border-radius: 0;
    background: transparent;
}

.ai-insights-page .ai-question-grid article > span {
    grid-area: num;
    padding-top: 2px;
    color: var(--bbp-teal-dark);
    font-size: 10.5px;
}

.ai-insights-page .ai-question-grid h3 {
    grid-area: title;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.45;
}

.ai-insights-page .ai-question-grid p {
    grid-area: text;
    margin: 0;
    font-size: 12.7px;
    line-height: 1.6;
}

.ai-insights-page .ai-question-grid article.active {
    grid-column: 1 / -1;
    grid-template-columns: 42px minmax(240px,.7fr) 1.3fr;
    grid-template-areas: "num title text";
    align-items: center;
    column-gap: 22px;
    margin-top: 22px;
    padding: 22px 24px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: linear-gradient(135deg,#263d79,#3158a6);
}

.ai-insights-page .ai-question-grid article.active > span {
    color: #a9e0d8;
}

.ai-insights-page .ai-question-grid article.active h3,
.ai-insights-page .ai-question-grid article.active p {
    color: #fff;
}

/* ---------- 11 / Human control: full section band, no floating card ---------- */
.ai-insights-page .ai-human-control-section {
    background: #eef3fb;
}

.ai-insights-page .ai-human-control {
    grid-template-columns: .9fr 1.1fr;
    gap: 78px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    color: var(--text-primary,#111020);
    background: transparent;
}

.ai-insights-page .ai-human-control .tag {
    color: var(--bbp-blue);
}

.ai-insights-page .ai-human-control .title {
    color: var(--text-primary,#111020);
}

.ai-insights-page .ai-human-control-copy p {
    color: var(--text-primary,#111020);
    font-size: 14px;
    line-height: 1.72;
}

.ai-insights-page .ai-human-principles {
    border-top: 1px solid #cbd6e2;
}

.ai-insights-page .ai-human-principles article {
    grid-template-columns: 42px 1fr;
    padding: 21px 0;
    border-bottom: 1px solid #cbd6e2;
}

.ai-insights-page .ai-human-principles span {
    color: var(--bbp-teal-dark);
    font-size: 10px;
}

.ai-insights-page .ai-human-principles strong {
    color: var(--text-primary,#111020);
    font-size: 14px;
    line-height: 1.58;
}

/* ---------- 12 / Operations: operating map ---------- */
.ai-insights-page .ai-operations-section {
    background: #fff;
}

.ai-insights-page .ai-operations-head {
    margin-bottom: 34px;
}

.ai-insights-page .ai-operations-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 64px;
    row-gap: 0;
    border-top: 1px solid #d5dde5;
}

.ai-insights-page .ai-operations-grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 38px 135px 1fr;
    align-items: start;
    gap: 14px;
    padding: 20px 0;
    border: 0;
    border-bottom: 1px solid #d5dde5;
    border-radius: 0;
    background: transparent;
}

.ai-insights-page .ai-operations-grid span {
    padding-top: 2px;
    color: var(--bbp-teal-dark);
    font-size: 10px;
}

.ai-insights-page .ai-operations-grid h3 {
    margin: 0;
    font-size: 15px;
}

.ai-insights-page .ai-operations-grid p {
    margin: 0;
    font-size: 12.7px;
    line-height: 1.6;
}

/* ---------- 13 / Business types: simple coverage list ---------- */
.ai-insights-page .ai-types-layout {
    grid-template-columns: minmax(0,.85fr) minmax(420px,1.15fr);
    gap: 92px;
}

.ai-insights-page .ai-types-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 38px;
    border: 0;
    border-top: 1px solid #d5dde5;
}

.ai-insights-page .ai-types-list span {
    position: relative;
    min-height: 0;
    padding: 17px 0 17px 20px;
    border: 0;
    border-bottom: 1px solid #d5dde5;
    font-size: 13.5px;
}

.ai-insights-page .ai-types-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bbp-teal);
}

/* ---------- 14 / Migration: migration manifest ---------- */
.ai-insights-page .ai-migration-layout {
    grid-template-columns: minmax(0,.85fr) minmax(420px,1.15fr);
    gap: 92px;
}

.ai-insights-page .ai-migration-link {
    margin-top: 25px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(49,88,166,.30);
    font-size: 13.5px;
}

.ai-insights-page .ai-migration-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 36px;
    border-top: 1px solid #d5dde5;
}

.ai-insights-page .ai-migration-grid span {
    position: relative;
    min-height: 0;
    padding: 17px 0 17px 24px;
    border: 0;
    border-bottom: 1px solid #d5dde5;
    border-radius: 0;
    background: transparent;
    font-size: 13.5px;
}

.ai-insights-page .ai-migration-grid span::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 16px;
    color: var(--bbp-teal-dark);
    font-size: 12px;
    font-weight: 800;
}

/* ---------- FAQ: stronger editorial accordion ---------- */
.ai-insights-page .retail-faq-section {
    background: #f7f9fb;
}

.ai-insights-page .retail-faq-layout {
    grid-template-columns: .62fr 1.38fr;
    gap: 96px;
}

.ai-insights-page .retail-faq-heading {
    position: sticky;
    top: 110px;
    align-self: start;
}

.ai-insights-page .retail-faq-list {
    border-top: 1px solid #cfd8e1;
}

.ai-insights-page .retail-faq-list details {
    border-bottom: 1px solid #cfd8e1;
}

.ai-insights-page .retail-faq-list summary {
    padding: 22px 42px 22px 0;
    font-size: 15px;
    line-height: 1.5;
}

.ai-insights-page .retail-faq-list details[open] {
    padding-left: 18px;
    border-left: 3px solid var(--bbp-blue);
}

.ai-insights-page .retail-faq-list p {
    padding: 0 44px 23px 0;
    font-size: 13.5px;
    line-height: 1.72;
}

/* ---------- Final CTA: full-width closing statement ---------- */
.ai-insights-page .retail-final-cta {
    padding: 76px 0;
    color: #fff;
    background:
        radial-gradient(circle at 86% 18%, rgba(20,135,121,.18), transparent 25%),
        linear-gradient(135deg,#172033,#263d79 64%,#3158a6);
}

.ai-insights-page .retail-final-cta-inner {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 80px;
}

.ai-insights-page .retail-final-cta .tag {
    color: #9fded6;
}

.ai-insights-page .retail-final-cta-copy h2 {
    color: #fff;
    font-size: clamp(36px,3.2vw,46px);
}

.ai-insights-page .retail-final-cta-copy p,
.ai-insights-page .retail-final-cta-copy p strong {
    color: rgba(255,255,255,.86);
}

.ai-insights-page .retail-final-cta-actions .btn-primary {
    color: #243a76;
    border-color: #fff;
    background: #fff;
}

.ai-insights-page .retail-final-cta-actions .btn-primary:hover {
    color: #fff;
    border-color: #fff;
    background: transparent;
}

.ai-insights-page .retail-final-cta-actions .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.65);
    background: transparent;
}

.ai-insights-page .retail-final-cta-actions .btn-outline:hover {
    color: #243a76;
    border-color: #fff;
    background: #fff;
}

/* ---------- V11 responsive ---------- */
@media (max-width: 1120px) {
    .ai-insights-page .ai-performance-layout,
    .ai-insights-page .ai-inventory-layout,
    .ai-insights-page .ai-types-layout,
    .ai-insights-page .ai-migration-layout,
    .ai-insights-page .ai-dashboard-layout,
    .ai-insights-page .ai-connected-data-layout,
    .ai-insights-page .retail-faq-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ai-insights-page .retail-faq-heading {
        position: static;
    }

    .ai-insights-page .ai-operations-grid article {
        grid-template-columns: 38px 120px 1fr;
    }
}

@media (max-width: 820px) {
    .ai-insights-page .ai-insight-journey {
        grid-template-columns: 1fr;
    }

    .ai-insights-page .ai-insight-journey::before {
        left: 7px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 1px;
        height: auto;
    }

    .ai-insights-page .ai-insight-stage {
        padding: 10px 0 28px 38px;
        border: 0;
    }

    .ai-insights-page .ai-insight-stage::before,
    .ai-insights-page .ai-insight-stage.active::before {
        left: 0;
        top: 5px;
    }

    .ai-insights-page .ai-insight-arrow {
        display: none;
    }

    .ai-insights-page .ai-business-insights-grid,
    .ai-insights-page .ai-question-grid,
    .ai-insights-page .ai-operations-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .ai-insights-page .ai-question-grid article.active {
        grid-column: auto;
        grid-template-columns: 38px 1fr;
        grid-template-areas:
            "num title"
            "num text";
    }

    .ai-insights-page .ai-cashflow-rail {
        grid-template-columns: 1fr 1fr;
        gap: 32px 28px;
    }

    .ai-insights-page .ai-cashflow-rail::before,
    .ai-insights-page .ai-cash-arrow {
        display: none;
    }

    .ai-insights-page .ai-cashflow-rail article {
        padding-top: 34px;
        border-top: 1px solid #d1dbe3;
    }

    .ai-insights-page .ai-dues-grid {
        grid-template-columns: 1fr;
    }

    .ai-insights-page .ai-dues-panel.receivables {
        border-right: 0;
        border-bottom: 1px solid #d7dfe7;
    }

    .ai-insights-page .ai-dues-center {
        grid-column: auto;
    }

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

    .ai-insights-page .ai-report-grid span:nth-child(3n) {
        border-right: 1px solid #d5dde5;
    }

    .ai-insights-page .ai-report-grid span:nth-child(2n) {
        border-right: 0;
    }

    .ai-insights-page .ai-report-grid span:nth-last-child(-n+3) {
        border-bottom: 1px solid #d5dde5;
    }

    .ai-insights-page .ai-report-grid span:nth-last-child(-n+1) {
        border-bottom: 0;
    }

    .ai-insights-page .ai-human-control {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .ai-insights-page .retail-final-cta-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 580px) {
    .ai-insights-page .ai-insight-journey-section,
    .ai-insights-page .ai-business-insights-section,
    .ai-insights-page .ai-dashboard-section,
    .ai-insights-page .ai-connected-data-section,
    .ai-insights-page .ai-performance-section,
    .ai-insights-page .ai-cashflow-section,
    .ai-insights-page .ai-dues-section,
    .ai-insights-page .ai-inventory-section,
    .ai-insights-page .ai-financial-section,
    .ai-insights-page .ai-questions-section,
    .ai-insights-page .ai-human-control-section,
    .ai-insights-page .ai-operations-section,
    .ai-insights-page .ai-types-section,
    .ai-insights-page .ai-migration-section,
    .ai-insights-page .retail-faq-section {
        padding: 68px 0;
    }

    .ai-insights-page .ai-business-insights-grid article {
        grid-template-columns: 42px 1fr;
    }

    .ai-insights-page .ai-cashflow-rail,
    .ai-insights-page .ai-report-grid,
    .ai-insights-page .ai-types-list,
    .ai-insights-page .ai-migration-grid {
        grid-template-columns: 1fr;
    }

    .ai-insights-page .ai-report-grid span,
    .ai-insights-page .ai-report-grid span:nth-child(2n),
    .ai-insights-page .ai-report-grid span:nth-child(3n) {
        border-right: 0;
        border-bottom: 1px solid #d5dde5;
    }

    .ai-insights-page .ai-report-grid span:last-child {
        border-bottom: 0;
    }

    .ai-insights-page .ai-dues-panel {
        padding: 25px 0;
    }

    .ai-insights-page .ai-dues-grid {
        border-left: 0;
        border-right: 0;
    }

    .ai-insights-page .ai-dues-center {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .ai-insights-page .ai-dues-center strong {
        text-align: left;
    }

    .ai-insights-page .ai-question-grid article.active {
        margin-top: 16px;
        padding: 20px;
    }

    .ai-insights-page .ai-operations-grid article {
        grid-template-columns: 34px 1fr;
        grid-template-areas:
            "num title"
            "num text";
        gap: 5px 12px;
    }

    .ai-insights-page .ai-operations-grid span { grid-area: num; }
    .ai-insights-page .ai-operations-grid h3 { grid-area: title; }
    .ai-insights-page .ai-operations-grid p { grid-area: text; }

    .ai-insights-page .retail-faq-list details[open] {
        padding-left: 12px;
    }

    .ai-insights-page .retail-final-cta {
        padding: 64px 0;
    }
}

/* V11 dues placement correction */
@media (min-width: 821px) {
    .ai-insights-page .ai-dues-panel.receivables {
        grid-column: 1;
        grid-row: 1;
    }

    .ai-insights-page .ai-dues-panel.payables {
        grid-column: 2;
        grid-row: 1;
    }

    .ai-insights-page .ai-dues-center {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 820px) {
    .ai-insights-page .ai-dues-panel.receivables,
    .ai-insights-page .ai-dues-panel.payables,
    .ai-insights-page .ai-dues-center {
        grid-column: 1;
        grid-row: auto;
    }
}

/* =========================================================
   V12 — SECTION QUALITY PASS
   Hero intentionally unchanged.
   Focus: connected data, human control, lighter CTA,
   and stronger treatment for the quieter sections.
   ========================================================= */

/* ---------- 04 / CONNECTED DATA — source system → insight outcome ---------- */
.ai-insights-page .ai-connected-data-section,
.ai-insights-page .ai-connected-data-section.dark-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(49,88,166,.20), transparent 28%),
        radial-gradient(circle at 92% 82%, rgba(20,127,118,.15), transparent 24%),
        linear-gradient(145deg,#131d2d 0%,#192941 56%,#1d3150 100%);
}

.ai-insights-page .ai-connected-data-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size: 72px 100%;
    mask-image: linear-gradient(to right,transparent,rgba(0,0,0,.65),transparent);
}

.ai-insights-page .ai-connected-data-layout {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0,.78fr) minmax(560px,1.22fr);
    gap: 94px;
    align-items: start;
}

.ai-insights-page .ai-connected-data-copy {
    max-width: 520px;
    padding-top: 16px;
}

.ai-insights-page .ai-connected-data-copy .tag {
    margin-bottom: 18px;
    color: #9edbd4;
}

.ai-insights-page .ai-connected-data-copy .title {
    max-width: 520px;
    margin-bottom: 22px;
}

.ai-insights-page .ai-connected-data-copy p {
    max-width: 500px;
    margin: 0 0 15px;
    color: rgba(255,255,255,.78) !important;
    font-size: 15px;
    line-height: 1.78;
}

.ai-insights-page .ai-connected-data-copy p:last-child {
    margin-bottom: 0;
}

.ai-insights-page .ai-connected-data-flow {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 34px;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.18);
}

.ai-insights-page .ai-connected-data-flow::before {
    display: none;
}

.ai-insights-page .ai-connected-data-flow > i {
    display: none;
}

.ai-insights-page .ai-connected-data-flow-head {
    grid-column: 1 / -1;
    min-height: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 15px 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.18) !important;
    background: transparent !important;
}

.ai-insights-page .ai-connected-data-flow-head::before {
    display: none !important;
}

.ai-insights-page .ai-connected-data-flow-head span {
    color: #8fd8cf;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .10em;
}

.ai-insights-page .ai-connected-data-flow-head strong {
    color: rgba(255,255,255,.66);
    font-size: 11px;
    font-weight: 500;
}

.ai-insights-page .ai-connected-data-flow > div:not(.ai-connected-data-flow-head):not(.active) {
    min-height: 66px;
    display: grid;
    grid-template-columns: 36px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
    border-radius: 0;
    background: transparent;
}

.ai-insights-page .ai-connected-data-flow > div:not(.ai-connected-data-flow-head):not(.active)::before {
    display: none;
}

.ai-insights-page .ai-connected-data-flow > div:not(.ai-connected-data-flow-head):not(.active) span {
    color: #7bcfc5;
    font-size: 10px;
    font-weight: 800;
}

.ai-insights-page .ai-connected-data-flow > div:not(.ai-connected-data-flow-head):not(.active) strong {
    color: rgba(255,255,255,.92);
    font-family: var(--heading-font-family, "Montserrat", Arial, sans-serif);
    font-size: 13px;
    font-weight: 600;
}

.ai-insights-page .ai-connected-data-flow > div.active {
    grid-column: 1 / -1;
    min-height: 0;
    display: grid;
    grid-template-columns: 42px minmax(190px,.7fr) minmax(250px,1.3fr);
    align-items: center;
    gap: 16px;
    margin: 24px 0 0;
    padding: 19px 22px;
    border: 1px solid rgba(126,211,200,.40);
    border-radius: 10px;
    background: linear-gradient(135deg,rgba(20,127,118,.28),rgba(49,88,166,.24));
    box-shadow: inset 4px 0 0 #6fc9be;
}

.ai-insights-page .ai-connected-data-flow > div.active::before {
    display: none;
}

.ai-insights-page .ai-connected-data-flow > div.active span {
    color: #9fe0d8;
    font-size: 10px;
    font-weight: 800;
}

.ai-insights-page .ai-connected-data-flow > div.active strong {
    color: #fff;
    font-size: 15px;
}

.ai-insights-page .ai-connected-data-flow > div.active em {
    color: rgba(255,255,255,.74);
    font-size: 11.5px;
    line-height: 1.55;
    font-style: normal;
}

/* ---------- 05 / PERFORMANCE — make the right-side scorecard feel intentional ---------- */
.ai-insights-page .ai-performance-matrix {
    position: relative;
    padding-top: 34px;
}

.ai-insights-page .ai-performance-matrix::before {
    content: "PERFORMANCE SIGNALS";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--bbp-blue);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .10em;
}

.ai-insights-page .ai-performance-matrix div {
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.ai-insights-page .ai-performance-matrix div:nth-child(7),
.ai-insights-page .ai-performance-matrix div:nth-child(8) {
    background: linear-gradient(90deg,rgba(49,88,166,.045),transparent);
}

/* ---------- 11 / HUMAN CONTROL — explicit governance model ---------- */
.ai-insights-page .ai-human-control-section {
    background: #ffffff;
    border-top: 1px solid #e4e9ef;
    border-bottom: 1px solid #e4e9ef;
}

.ai-insights-page .ai-human-control {
    grid-template-columns: minmax(0,.78fr) minmax(600px,1.22fr);
    gap: 90px;
    align-items: start;
    padding: 0;
}

.ai-insights-page .ai-human-control-copy {
    max-width: 510px;
    padding-top: 8px;
}

.ai-insights-page .ai-human-control-copy .title {
    margin-bottom: 20px;
}

.ai-insights-page .ai-human-control-copy p {
    margin: 0 0 14px;
    color: #465361 !important;
    font-size: 14px;
    line-height: 1.75;
}

.ai-insights-page .ai-human-control-right {
    min-width: 0;
}

.ai-insights-page .ai-control-model {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 34px 1fr 34px 1fr;
    align-items: stretch;
    margin-bottom: 28px;
    border-top: 1px solid #ccd6e0;
    border-bottom: 1px solid #ccd6e0;
}

.ai-insights-page .ai-control-model > div {
    min-height: 102px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 10px 17px 0;
}

.ai-insights-page .ai-control-model > div.active {
    position: relative;
    padding-left: 18px;
    background: linear-gradient(90deg,rgba(49,88,166,.07),transparent);
}

.ai-insights-page .ai-control-model > div.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: var(--bbp-blue);
}

.ai-insights-page .ai-control-model span {
    margin-bottom: 9px;
    color: var(--bbp-teal-dark);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .09em;
}

.ai-insights-page .ai-control-model > div.active span {
    color: var(--bbp-blue);
}

.ai-insights-page .ai-control-model strong {
    color: var(--text-primary,#111020);
    font-family: var(--heading-font-family, "Montserrat", Arial, sans-serif);
    font-size: 14px;
    line-height: 1.4;
}

.ai-insights-page .ai-control-model > i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a96a2;
    font-size: 16px;
    font-style: normal;
}

.ai-insights-page .ai-human-principles {
    border-top: 0;
}

.ai-insights-page .ai-human-principles article {
    grid-template-columns: 46px 1fr;
    padding: 18px 0;
    border-top: 1px solid #d8e0e7;
    border-bottom: 0;
}

.ai-insights-page .ai-human-principles article:last-child {
    border-bottom: 1px solid #d8e0e7;
}

.ai-insights-page .ai-human-principles span {
    color: var(--bbp-blue);
    font-size: 10px;
}

.ai-insights-page .ai-human-principles strong {
    max-width: 620px;
    color: #26323d;
    font-size: 13.5px;
    line-height: 1.62;
}

/* ---------- 13 / BUSINESS TYPES — numbered coverage index ---------- */
.ai-insights-page .ai-types-list {
    counter-reset: ai-type;
    border-top: 1px solid #d5dde5;
}

.ai-insights-page .ai-types-list-head {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid #d5dde5;
}

.ai-insights-page .ai-types-list-head span {
    min-height: 0;
    padding: 0;
    border: 0;
    color: var(--bbp-blue);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .10em;
}

.ai-insights-page .ai-types-list-head span::before {
    display: none;
}

.ai-insights-page .ai-types-list-head strong {
    color: #687582;
    font-size: 11px;
    font-weight: 500;
}

.ai-insights-page .ai-types-list > span {
    counter-increment: ai-type;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
    padding-left: 0;
}

.ai-insights-page .ai-types-list > span::before {
    content: counter(ai-type, decimal-leading-zero);
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    color: var(--bbp-teal-dark);
    background: transparent;
    font-size: 9.5px;
    font-weight: 800;
}

/* ---------- 14 / MIGRATION — clearer data manifest ---------- */
.ai-insights-page .ai-migration-grid {
    border-top: 1px solid #d5dde5;
}

.ai-insights-page .ai-migration-grid-head {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid #d5dde5;
}

.ai-insights-page .ai-migration-grid-head span {
    min-height: 0;
    padding: 0;
    border: 0;
    color: var(--bbp-blue);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .10em;
}

.ai-insights-page .ai-migration-grid-head span::before {
    display: none;
}

.ai-insights-page .ai-migration-grid-head strong {
    color: #687582;
    font-size: 11px;
    font-weight: 500;
}

.ai-insights-page .ai-migration-grid > span {
    padding-top: 18px;
    padding-bottom: 18px;
}

/* ---------- FINAL CTA — light, calm, and consistent with the site ---------- */
.ai-insights-page .retail-final-cta {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
    color: var(--text-primary,#111020);
    border-top: 1px solid #dde5ec;
    background:
        radial-gradient(circle at 88% 18%,rgba(20,135,121,.10),transparent 24%),
        radial-gradient(circle at 8% 90%,rgba(49,88,166,.08),transparent 26%),
        linear-gradient(135deg,#eef3fb 0%,#f7f9fc 56%,#ffffff 100%);
}

.ai-insights-page .retail-final-cta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,var(--bbp-blue),var(--bbp-teal));
}

.ai-insights-page .retail-final-cta .tag {
    color: var(--bbp-blue);
}

.ai-insights-page .retail-final-cta-copy h2 {
    color: var(--text-primary,#111020);
}

.ai-insights-page .retail-final-cta-copy p,
.ai-insights-page .retail-final-cta-copy p strong {
    color: #465361;
}

.ai-insights-page .retail-final-cta-copy p strong {
    color: #26323d;
}

.ai-insights-page .retail-final-cta-actions .btn-primary {
    color: #fff;
    border-color: var(--bbp-blue);
    background: var(--bbp-blue);
}

.ai-insights-page .retail-final-cta-actions .btn-primary:hover {
    color: #fff;
    border-color: var(--bbp-blue-dark);
    background: var(--bbp-blue-dark);
}

.ai-insights-page .retail-final-cta-actions .btn-outline {
    color: var(--bbp-blue);
    border-color: rgba(49,88,166,.42);
    background: #fff;
}

.ai-insights-page .retail-final-cta-actions .btn-outline:hover {
    color: #fff;
    border-color: var(--bbp-blue);
    background: var(--bbp-blue);
}

/* ---------- V12 responsive ---------- */
@media (max-width: 1120px) {
    .ai-insights-page .ai-connected-data-layout,
    .ai-insights-page .ai-human-control {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .ai-insights-page .ai-connected-data-copy,
    .ai-insights-page .ai-human-control-copy {
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    .ai-insights-page .ai-connected-data-flow {
        grid-template-columns: 1fr;
    }

    .ai-insights-page .ai-connected-data-flow-head,
    .ai-insights-page .ai-connected-data-flow > div.active,
    .ai-insights-page .ai-types-list-head,
    .ai-insights-page .ai-migration-grid-head {
        grid-column: auto;
    }

    .ai-insights-page .ai-connected-data-flow > div.active {
        grid-template-columns: 34px 1fr;
        grid-template-areas:
            "num title"
            "num note";
    }

    .ai-insights-page .ai-connected-data-flow > div.active span { grid-area: num; }
    .ai-insights-page .ai-connected-data-flow > div.active strong { grid-area: title; }
    .ai-insights-page .ai-connected-data-flow > div.active em { grid-area: note; }

    .ai-insights-page .ai-control-model {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .ai-insights-page .ai-control-model > div,
    .ai-insights-page .ai-control-model > div.active {
        min-height: 0;
        padding: 16px 0;
        border-bottom: 1px solid #ccd6e0;
        background: transparent;
    }

    .ai-insights-page .ai-control-model > div.active::after {
        width: 3px;
        height: 100%;
        top: 0;
        bottom: auto;
    }

    .ai-insights-page .ai-control-model > i {
        display: none;
    }

    .ai-insights-page .ai-types-list-head,
    .ai-insights-page .ai-migration-grid-head,
    .ai-insights-page .ai-connected-data-flow-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* =========================================================
   V13 — AI HUMAN CONTROL WIDTH CORRECTION
   Keep this section aligned with the shared 1440px / 4% page grid.
   ========================================================= */
.ai-insights-page .ai-human-control {
    width: 100%;
    max-width: var(--container-width, 1440px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 4%;
    padding-right: 4%;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(48px, 5.5vw, 78px);
}

.ai-insights-page .ai-human-control-copy {
    width: 100%;
    max-width: 500px;
    min-width: 0;
}

.ai-insights-page .ai-human-control-right {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    justify-self: end;
}

.ai-insights-page .ai-control-model,
.ai-insights-page .ai-human-principles {
    width: 100%;
    max-width: 100%;
}

.ai-insights-page .ai-control-model > div,
.ai-insights-page .ai-human-principles article,
.ai-insights-page .ai-human-principles strong {
    min-width: 0;
}

@media (max-width: 1120px) {
    .ai-insights-page .ai-human-control {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-left: 4%;
        padding-right: 4%;
    }

    .ai-insights-page .ai-human-control-copy,
    .ai-insights-page .ai-human-control-right {
        max-width: 760px;
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .ai-insights-page .ai-human-control {
        gap: 28px;
    }
}


/* =========================================================
   AI FOR ACCOUNTING — HUB EXTENSIONS
   ========================================================= */

.ai-for-accounting-page .hero-left h1 {
    font-size: clamp(42px, 4.35vw, 58px);
}

.ai-for-accounting-page .hero-support {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
}

.ai-capabilities-head,
.ai-for-accounting-page .ai-operations-head {
    max-width: 900px;
    margin: 0 0 38px;
    text-align: left;
}

.ai-capabilities-head .description,
.ai-for-accounting-page .ai-operations-head .description {
    max-width: 790px;
    margin: 13px 0 0;
}

.ai-capabilities-section {
    position: relative;
    padding: 84px 0;
    background: var(--bbp-soft);
}

.ai-capabilities-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ai-capability-feature {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--bbp-line);
    border-radius: 13px;
    background: #fff;
}

.ai-capability-feature.capability-capture {
    background: radial-gradient(circle at 92% 8%, rgba(20,127,118,.07), transparent 26%),linear-gradient(180deg, #f8fcfb, #fff);
}

.ai-capability-feature.capability-ask {
    background: radial-gradient(circle at 92% 8%, rgba(54,88,181,.07), transparent 26%),linear-gradient(180deg, #f7f9ff, #fff);
}

.ai-capability-feature.capability-followup {
    background: radial-gradient(circle at 92% 8%, rgba(197,128,74,.07), transparent 26%),linear-gradient(180deg, #fffaf6, #fff);
}

.ai-capability-feature.capability-understand {
    background: radial-gradient(circle at 92% 8%, rgba(91,78,174,.07), transparent 26%),linear-gradient(180deg, #f8f7fd, #fff);
}

.ai-capability-feature.capability-future {
    min-height: 270px;
    grid-column: 1 / -1;
    border-style: dashed;
    background: linear-gradient(135deg, rgba(54,88,181,.025), rgba(20,127,118,.025)),#fbfcfd;
}

.ai-capability-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-capability-top > span {
    color: var(--bbp-teal);
    font-size: 10px;
    font-weight: 800;
}

.ai-capability-top small {
    color: var(--bbp-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.ai-capability-feature h3 {
    margin: 22px 0 10px;
    color: var(--bbp-ink);
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.ai-capability-feature > p {
    max-width: 720px;
    margin: 0;
    color: var(--bbp-text);
    font-size: 14px;
    line-height: 1.68;
}

.ai-capability-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 25px;
    padding: 14px 15px;
    border: 1px solid var(--bbp-line);
    border-radius: 8px;
    background: rgba(255,255,255,.72);
}

.ai-capability-flow span {
    color: #4f5d68;
    font-size: 10px;
    font-weight: 700;
}

.ai-capability-flow i {
    color: #9aa5af;
    font-size: 11px;
    font-style: normal;
}

.ai-capability-question {
    display: grid;
    gap: 7px;
    margin-top: 24px;
    padding: 14px 15px;
    border: 1px solid rgba(54,88,181,.13);
    border-radius: 8px;
    background: rgba(241,244,251,.74);
}

.ai-capability-question > span {
    color: var(--bbp-blue);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-capability-question strong {
    color: #4a5662;
    font-size: 10.5px;
    line-height: 1.45;
}

.ai-capability-link {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding-top: 27px;
    color: var(--bbp-blue);
    font-size: 12.5px;
    font-weight: 800;
}

.ai-capability-link:hover {
    color: var(--bbp-blue-dark);
}

.ai-future-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.ai-future-slots span {
    padding: 8px 10px;
    border: 1px dashed #ccd5dc;
    border-radius: 999px;
    color: #78848f;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
}

.ai-for-accounting-page .ai-operations-section {
    background: #fff;
}

.ai-for-accounting-page .ai-operations-grid {
    grid-template-columns: repeat(3,1fr);
}

.ai-for-accounting-page .ai-operations-grid article {
    min-height: 205px;
}

.ai-future-ready-section {
    background: var(--bbp-soft);
}

.ai-future-ready-section .ai-types-list {
    background: #fff;
}

.ai-for-accounting-page .snapshot-metric {
    min-height: 82px;
}

.ai-for-accounting-page .snapshot-metric strong {
    font-size: 14.5px;
    line-height: 1.25;
}

.ai-for-accounting-page .snapshot-metric small {
    line-height: 1.4;
}

.ai-for-accounting-page .retail-snapshot-card {
    padding: 22px;
}

@media (max-width: 980px) {
    .ai-capabilities-layout {
        grid-template-columns: 1fr;
    }

    .ai-capability-feature.capability-future {
        grid-column: auto;
    }

    .ai-for-accounting-page .ai-operations-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 640px) {
    .ai-capability-feature {
        min-height: auto;
        padding: 22px;
    }

    .ai-for-accounting-page .ai-operations-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   V2 — PROFESSIONAL HUB REFINEMENT
   ========================================================= */

/* Hero hub visual — distinct from inner AI pages */
.ai-hub-visual {
    overflow: hidden;
    border: 1px solid rgba(54,88,181,.14);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 10%, rgba(20,127,118,.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 22px 54px rgba(23,37,55,.09);
}

.ai-hub-visual-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 22px 17px;
    border-bottom: 1px solid var(--bbp-line);
}

.ai-hub-visual-top span {
    display: block;
    margin-bottom: 5px;
    color: var(--bbp-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

.ai-hub-visual-top h2 {
    max-width: 360px;
    margin: 0;
    color: var(--bbp-ink);
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.ai-hub-visual-top em {
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--bbp-teal-dark);
    background: var(--bbp-teal-soft);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.ai-hub-core {
    position: relative;
    min-height: 330px;
    margin: 10px 14px 0;
}

.ai-hub-core::before,
.ai-hub-core::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(54,88,181,.08);
    border-radius: 50%;
}

.ai-hub-core::before {
    width: 245px;
    height: 245px;
}

.ai-hub-core::after {
    width: 330px;
    height: 330px;
}

.ai-hub-core-center {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 185px;
    min-height: 128px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(54,88,181,.14);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(23,37,55,.075);
    text-align: center;
}

.ai-hub-core-center span {
    color: var(--bbp-teal);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-hub-core-center strong {
    display: block;
    margin-top: 7px;
    color: var(--bbp-ink);
    font-size: 15px;
}

.ai-hub-core-center small {
    display: block;
    margin-top: 6px;
    color: var(--bbp-muted);
    font-size: 8.5px;
    line-height: 1.45;
}

.ai-hub-orbit {
    position: absolute;
    z-index: 4;
    width: 122px;
    min-height: 78px;
    padding: 12px;
    border: 1px solid var(--bbp-line);
    border-radius: 11px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 22px rgba(23,37,55,.055);
}

.ai-hub-orbit span {
    color: var(--bbp-teal);
    font-size: 8.5px;
    font-weight: 800;
}

.ai-hub-orbit strong {
    display: block;
    margin-top: 5px;
    color: var(--bbp-ink);
    font-size: 12.5px;
}

.ai-hub-orbit small {
    display: block;
    margin-top: 3px;
    color: var(--bbp-muted);
    font-size: 8px;
    line-height: 1.35;
}

.ai-hub-orbit-1 { left: 8px; top: 28px; }
.ai-hub-orbit-2 { right: 8px; top: 28px; }
.ai-hub-orbit-3 { left: 8px; bottom: 28px; }
.ai-hub-orbit-4 { right: 8px; bottom: 28px; }

.ai-hub-visual-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--bbp-line);
    color: var(--bbp-muted);
    background: #fbfcfd;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .06em;
}

.ai-hub-visual-bottom i {
    flex: 1;
    height: 1px;
    background: #dce2e7;
}

.ai-hub-visual-bottom strong {
    color: var(--bbp-blue-dark);
    font-size: 9.5px;
    white-space: nowrap;
}

/* Foundation refinement */
.ai-for-accounting-page .ai-insight-journey-section {
    background: #fff;
}

.ai-for-accounting-page .ai-insight-journey-head {
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    gap: 96px;
}

.ai-for-accounting-page .ai-insight-stage {
    min-height: 205px;
    padding: 26px 28px;
}

/* Capabilities — more editorial, less generic card feel */
.ai-capabilities-layout {
    gap: 18px;
}

.ai-capability-feature {
    position: relative;
    min-height: 385px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(23,37,55,.035);
}

.ai-capability-feature::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    top: 70px;
    height: 1px;
    background: rgba(116,128,139,.12);
}

.ai-capability-feature h3 {
    margin-top: 29px;
    font-size: 23px;
}

.ai-capability-feature > p {
    font-size: 13.8px;
    line-height: 1.72;
}

.ai-capability-link {
    font-size: 12.5px;
}

/* Connected architecture */
.ai-architecture-section {
    padding: 92px 0;
}

.ai-architecture-head {
    max-width: 900px;
    margin-bottom: 42px;
    text-align: left;
}

.ai-architecture-head .title {
    color: #fff !important;
}

.ai-architecture-head .description {
    max-width: 820px;
    margin-top: 14px;
    color: #d4dce2 !important;
}

.ai-architecture-layout {
    display: grid;
    grid-template-columns: 1fr .78fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.ai-architecture-source,
.ai-architecture-output {
    padding: 26px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
}

.ai-architecture-source > span,
.ai-architecture-output > span {
    color: #8fd8cf;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .09em;
}

.ai-architecture-source h3,
.ai-architecture-output h3 {
    margin: 18px 0 20px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.ai-architecture-source-list,
.ai-architecture-output-list {
    display: grid;
    gap: 7px;
}

.ai-architecture-source-list div,
.ai-architecture-output-list div {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 7px;
    background: rgba(255,255,255,.045);
}

.ai-architecture-source-list span,
.ai-architecture-output-list span {
    min-width: 28px;
    color: #91ddd4;
    font-size: 8.5px;
    font-weight: 800;
}

.ai-architecture-source-list strong,
.ai-architecture-output-list strong {
    color: #f8fafb;
    font-size: 11.5px;
}

.ai-architecture-output-list .future {
    border-style: dashed;
    opacity: .84;
}

.ai-architecture-bridge {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ai-architecture-core,
.ai-architecture-ai {
    width: 100%;
    padding: 19px 17px;
    border-radius: 12px;
    text-align: center;
}

.ai-architecture-core {
    border: 1px solid rgba(143,216,207,.27);
    background: rgba(20,127,118,.18);
}

.ai-architecture-ai {
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.07);
}

.ai-architecture-core span,
.ai-architecture-ai span {
    display: block;
    color: #91ddd4;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-architecture-core strong,
.ai-architecture-ai strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 13px;
}

.ai-architecture-core small {
    display: block;
    margin-top: 6px;
    color: #cbd7dc;
    font-size: 8.5px;
    line-height: 1.45;
}

.ai-architecture-line {
    width: 1px;
    height: 74px;
    margin: 8px 0;
    background: linear-gradient(180deg, rgba(143,216,207,.5), rgba(255,255,255,.15));
}

/* Workflow model replaces dense cards */
.ai-workflow-model {
    border-top: 1px solid var(--bbp-line-strong);
}

.ai-workflow-model article {
    display: grid;
    grid-template-columns: 60px .9fr 1.1fr;
    gap: 26px;
    align-items: center;
    min-height: 118px;
    padding: 22px 0;
    border-bottom: 1px solid var(--bbp-line);
}

.ai-workflow-model article > span {
    color: var(--bbp-teal);
    font-size: 10px;
    font-weight: 800;
}

.ai-workflow-model small {
    display: block;
    margin-bottom: 6px;
    color: var(--bbp-blue);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-workflow-model h3 {
    margin: 0;
    color: var(--bbp-ink);
    font-size: 17px;
    line-height: 1.4;
}

.ai-workflow-model p {
    margin: 0;
    color: var(--bbp-text);
    font-size: 13.5px;
    line-height: 1.64;
}

/* Human control polish */
.ai-for-accounting-page .ai-human-control-section {
    background:
        radial-gradient(circle at 92% 8%, rgba(54,88,181,.04), transparent 24%),
        #fff;
}

.ai-for-accounting-page .ai-human-control {
    gap: 90px;
}

/* Future section polish */
.ai-future-ready-section {
    background:
        radial-gradient(circle at 8% 0%, rgba(20,127,118,.04), transparent 22%),
        var(--bbp-soft);
}

.ai-future-ready-section .ai-types-list {
    border-radius: 13px;
    box-shadow: 0 10px 30px rgba(23,37,55,.035);
}

/* FAQ — single column editorial */
.ai-hub-faq-section {
    background: #fff;
}

.ai-hub-faq-head {
    max-width: 900px;
    margin-bottom: 34px;
    text-align: left;
}

.ai-hub-faq-head .description {
    max-width: 820px;
    margin-top: 13px;
}

.ai-hub-faq-list {
    max-width: 980px;
    border-top: 1px solid var(--bbp-line-strong);
}

.ai-hub-faq-list details {
    border-bottom: 1px solid var(--bbp-line);
}

.ai-hub-faq-list summary {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 21px 0;
    cursor: pointer;
    list-style: none;
    color: var(--bbp-ink);
    font-size: 15.5px;
    font-weight: 750;
    line-height: 1.5;
}

.ai-hub-faq-list summary::-webkit-details-marker {
    display: none;
}

.ai-hub-faq-list summary span {
    color: var(--bbp-teal);
    font-size: 9px;
    font-weight: 800;
}

.ai-hub-faq-list p {
    max-width: 860px;
    margin: -4px 0 22px 56px;
    color: var(--bbp-text);
    font-size: 13.5px;
    line-height: 1.7;
}

/* Final CTA refinement */
.ai-for-accounting-page .retail-final-cta {
    background:
        radial-gradient(circle at 88% 18%, rgba(20,127,118,.07), transparent 24%),
        linear-gradient(135deg, #edf2fb, #f8fbfc);
}

@media (max-width: 1080px) {
    .ai-architecture-layout {
        grid-template-columns: 1fr;
    }

    .ai-architecture-bridge {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 70px 1fr;
        gap: 10px;
    }

    .ai-architecture-line {
        width: 70px;
        height: 1px;
        margin: auto 0;
    }
}

@media (max-width: 820px) {
    .ai-hub-core {
        min-height: 420px;
    }

    .ai-hub-orbit-1,
    .ai-hub-orbit-2,
    .ai-hub-orbit-3,
    .ai-hub-orbit-4 {
        width: calc(50% - 18px);
    }

    .ai-workflow-model article {
        grid-template-columns: 42px 1fr;
    }

    .ai-workflow-model article p {
        grid-column: 2;
    }
}

@media (max-width: 640px) {
    .ai-hub-core {
        min-height: 500px;
    }

    .ai-hub-core::before,
    .ai-hub-core::after {
        display: none;
    }

    .ai-hub-core-center {
        top: 18px;
        transform: translateX(-50%);
    }

    .ai-hub-orbit {
        position: absolute;
        width: calc(50% - 14px);
    }

    .ai-hub-orbit-1 { left: 0; top: 180px; }
    .ai-hub-orbit-2 { right: 0; top: 180px; }
    .ai-hub-orbit-3 { left: 0; bottom: 18px; }
    .ai-hub-orbit-4 { right: 0; bottom: 18px; }

    .ai-architecture-bridge {
        grid-template-columns: 1fr;
    }

    .ai-architecture-line {
        width: 1px;
        height: 46px;
        margin: 0 auto;
    }

    .ai-hub-faq-list summary {
        grid-template-columns: 32px 1fr;
    }

    .ai-hub-faq-list p {
        margin-left: 46px;
    }
}


/* =========================================================
   V3 — FLAGSHIP AI HUB REDESIGN
   ========================================================= */

/* Global section cadence */
.ai-foundation-section,
.ai-capabilities-v3,
.ai-connected-platform-section,
.ai-operating-model-section,
.ai-governance-section,
.ai-future-section,
.ai-hub-faq-section {
    position: relative;
    padding: 88px 0;
}

.ai-for-accounting-page .title {
    font-size: clamp(35px, 3vw, 46px);
}

.ai-for-accounting-page .description {
    font-size: 15px;
    line-height: 1.72;
}

/* HERO */
.ai-system-visual {
    overflow: hidden;
    border: 1px solid rgba(54,88,181,.13);
    border-radius: 18px;
    background:
        radial-gradient(circle at 86% 12%, rgba(20,127,118,.07), transparent 24%),
        linear-gradient(180deg,#fff,#f7f9fc);
    box-shadow: 0 24px 60px rgba(23,37,55,.095);
}

.ai-system-topbar {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    padding:20px 22px 18px;
    border-bottom:1px solid var(--bbp-line);
}

.ai-system-topbar span {
    display:block;
    margin-bottom:5px;
    color:var(--bbp-blue);
    font-size:9px;
    font-weight:800;
    letter-spacing:.1em;
}

.ai-system-topbar h2 {
    max-width:360px;
    margin:0;
    color:var(--bbp-ink);
    font-size:20px;
    line-height:1.26;
    letter-spacing:-.02em;
}

.ai-system-topbar em {
    padding:6px 9px;
    border-radius:999px;
    color:var(--bbp-teal-dark);
    background:var(--bbp-teal-soft);
    font-size:9px;
    font-style:normal;
    font-weight:800;
}

.ai-system-canvas {
    display:grid;
    grid-template-columns:.72fr .85fr 1.18fr;
    gap:14px;
    align-items:stretch;
    padding:18px;
}

.ai-system-data-rail,
.ai-system-capabilities {
    padding:14px;
    border:1px solid var(--bbp-line);
    border-radius:12px;
    background:rgba(255,255,255,.85);
}

.ai-system-data-rail>span,
.ai-system-capabilities::before {
    display:block;
    margin-bottom:10px;
    color:var(--bbp-muted);
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-system-data-rail div {
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 0;
    border-top:1px solid #edf0f2;
}

.ai-system-data-rail div:first-of-type {border-top:0}

.ai-system-data-rail i {
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--bbp-teal);
}

.ai-system-data-rail strong {
    color:#52606c;
    font-size:9.5px;
}

.ai-system-core {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:260px;
    padding:18px;
    border:1px solid rgba(54,88,181,.16);
    border-radius:14px;
    background:
        radial-gradient(circle at 50% 12%,rgba(54,88,181,.07),transparent 35%),
        linear-gradient(180deg,#f8faff,#fff);
    text-align:center;
}

.ai-system-core-mark {
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin-bottom:14px;
    border-radius:13px;
    color:#fff;
    background:linear-gradient(135deg,var(--bbp-blue-deep),var(--bbp-blue));
    font-size:14px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(54,88,181,.18);
}

.ai-system-core span {
    color:var(--bbp-teal);
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-system-core strong {
    display:block;
    margin-top:7px;
    color:var(--bbp-ink);
    font-size:14px;
}

.ai-system-core small {
    display:block;
    margin-top:5px;
    color:var(--bbp-muted);
    font-size:8.5px;
    line-height:1.4;
}

.ai-system-capabilities {
    display:grid;
    gap:7px;
}

.ai-system-capabilities a {
    display:grid;
    grid-template-columns:28px 1fr;
    gap:10px;
    align-items:center;
    padding:10px 11px;
    border:1px solid transparent;
    border-radius:8px;
    background:#f8fafb;
    transition:.18s ease;
}

.ai-system-capabilities a:hover {
    border-color:#d9e0e6;
    background:#fff;
    transform:translateX(2px);
}

.ai-system-capabilities a>span {
    color:var(--bbp-teal);
    font-size:8.5px;
    font-weight:800;
}

.ai-system-capabilities small {
    display:block;
    color:var(--bbp-muted);
    font-size:7.5px;
    font-weight:800;
    letter-spacing:.07em;
}

.ai-system-capabilities strong {
    display:block;
    margin-top:3px;
    color:var(--bbp-ink);
    font-size:10.5px;
}

.ai-system-footer {
    display:flex;
    align-items:center;
    gap:10px;
    padding:13px 19px;
    border-top:1px solid var(--bbp-line);
    background:#fbfcfd;
    font-size:8.5px;
}

.ai-system-footer span {color:var(--bbp-muted)}
.ai-system-footer strong {color:var(--bbp-blue-dark)}
.ai-system-footer i {flex:1;height:1px;background:#dce2e7}

/* FOUNDATION */
.ai-foundation-section {
    background:#fff;
}

.ai-foundation-layout {
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:88px;
    align-items:start;
}

.ai-foundation-copy .description {
    margin-top:14px;
}

.ai-foundation-model {
    border-top:1px solid var(--bbp-line-strong);
}

.ai-foundation-row {
    display:grid;
    grid-template-columns:44px .9fr 1.1fr;
    gap:20px;
    align-items:center;
    min-height:112px;
    padding:21px 0;
    border-bottom:1px solid var(--bbp-line);
}

.ai-foundation-row>span {
    color:var(--bbp-teal);
    font-size:9.5px;
    font-weight:800;
}

.ai-foundation-row small {
    display:block;
    margin-bottom:5px;
    color:var(--bbp-blue);
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-foundation-row strong {
    color:var(--bbp-ink);
    font-size:14px;
    line-height:1.45;
}

.ai-foundation-row p {
    margin:0;
    color:var(--bbp-text);
    font-size:12.8px;
    line-height:1.62;
}

.ai-foundation-row.active {
    background:linear-gradient(90deg,transparent,rgba(20,127,118,.045));
}

/* CAPABILITIES */
.ai-capabilities-v3 {
    background:var(--bbp-soft);
}

.ai-capabilities-head {
    max-width:900px;
    margin-bottom:38px;
}

.ai-capabilities-editorial {
    border-top:1px solid var(--bbp-line-strong);
}

.ai-capability-row {
    display:grid;
    grid-template-columns:115px 1fr 150px;
    gap:28px;
    align-items:center;
    min-height:190px;
    padding:28px 0;
    border-bottom:1px solid var(--bbp-line);
}

.ai-capability-index span {
    display:block;
    color:var(--bbp-teal);
    font-size:10px;
    font-weight:800;
}

.ai-capability-index small {
    display:block;
    margin-top:8px;
    color:var(--bbp-muted);
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-capability-main h3 {
    margin:0 0 9px;
    color:var(--bbp-ink);
    font-size:21px;
    letter-spacing:-.02em;
}

.ai-capability-main p {
    max-width:760px;
    margin:0;
    color:var(--bbp-text);
    font-size:13.6px;
    line-height:1.66;
}

.ai-capability-process,
.ai-capability-samples {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:14px;
    color:#66737e;
    font-size:9.5px;
    font-weight:700;
}

.ai-capability-process i {
    color:#a0aab3;
    font-style:normal;
}

.ai-capability-samples span {
    padding:5px 8px;
    border:1px solid var(--bbp-line);
    border-radius:999px;
    background:#fff;
    font-size:9px;
}

.ai-capability-cta {
    justify-self:end;
    color:var(--bbp-blue);
    font-size:11.5px;
    font-weight:800;
    white-space:nowrap;
}

.ai-capability-cta span {margin-left:5px}

.ai-capability-row.future {
    background:linear-gradient(90deg,transparent,rgba(54,88,181,.035));
}

.ai-capability-future-note {
    justify-self:end;
    padding:7px 9px;
    border:1px dashed #cbd4db;
    border-radius:999px;
    color:var(--bbp-muted);
    font-size:9px;
    font-weight:700;
}

/* CONNECTED PLATFORM */
.ai-connected-platform-section {
    background:#fff;
}

.ai-connected-platform-head {
    max-width:900px;
    margin-bottom:40px;
}

.ai-connected-platform {
    display:grid;
    grid-template-columns:1fr .86fr 1fr;
    gap:16px;
    align-items:stretch;
}

.ai-connected-source,
.ai-connected-ai,
.ai-connected-center {
    min-height:360px;
    padding:24px;
    border:1px solid var(--bbp-line);
    border-radius:14px;
}

.ai-connected-source,
.ai-connected-ai {
    background:#fbfcfd;
}

.ai-connected-source>span,
.ai-connected-ai>span {
    color:var(--bbp-blue);
    font-size:8.5px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-connected-list {
    margin-top:18px;
    border-top:1px solid var(--bbp-line);
}

.ai-connected-list div {
    padding:11px 0;
    border-bottom:1px solid var(--bbp-line);
    color:#53616d;
    font-size:11px;
    font-weight:700;
}

.ai-connected-center {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:
        radial-gradient(circle at 50% 15%,rgba(54,88,181,.08),transparent 33%),
        linear-gradient(180deg,#f7f9ff,#fff);
    text-align:center;
}

.ai-connected-center-mark {
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    margin-bottom:17px;
    border-radius:15px;
    color:#fff;
    background:linear-gradient(135deg,var(--bbp-blue-deep),var(--bbp-blue));
    font-size:13px;
    font-weight:800;
}

.ai-connected-center span {
    color:var(--bbp-teal);
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-connected-center strong {
    display:block;
    margin-top:8px;
    color:var(--bbp-ink);
    font-size:17px;
}

.ai-connected-center p {
    max-width:250px;
    margin:8px 0 0;
    color:var(--bbp-text);
    font-size:11.5px;
    line-height:1.58;
}

.ai-connected-ai-list {
    display:grid;
    gap:7px;
    margin-top:18px;
}

.ai-connected-ai-list div {
    padding:11px 12px;
    border:1px solid var(--bbp-line);
    border-radius:8px;
    background:#fff;
}

.ai-connected-ai-list small {
    display:block;
    color:var(--bbp-teal);
    font-size:7.5px;
    font-weight:800;
    letter-spacing:.07em;
}

.ai-connected-ai-list strong {
    display:block;
    margin-top:4px;
    color:var(--bbp-ink);
    font-size:10.5px;
}

.ai-connected-ai-list .future {
    border-style:dashed;
    background:transparent;
}

.ai-connected-principle {
    display:grid;
    grid-template-columns:110px 1fr;
    gap:24px;
    align-items:center;
    margin-top:18px;
    padding:16px 18px;
    border-left:3px solid var(--bbp-teal);
    background:var(--bbp-teal-soft);
}

.ai-connected-principle span {
    color:var(--bbp-teal-dark);
    font-size:8.5px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-connected-principle strong {
    color:#44535e;
    font-size:12.5px;
    line-height:1.55;
}

/* OPERATING MODEL */
.ai-operating-model-section {
    background:var(--bbp-soft);
}

.ai-operating-model-head {
    max-width:900px;
    margin-bottom:36px;
}

.ai-operating-model-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border-top:1px solid var(--bbp-line);
    border-left:1px solid var(--bbp-line);
    background:#fff;
}

.ai-operating-model-grid article {
    min-height:245px;
    padding:24px;
    border-right:1px solid var(--bbp-line);
    border-bottom:1px solid var(--bbp-line);
}

.ai-operating-model-grid article>span {
    color:var(--bbp-teal);
    font-size:9.5px;
    font-weight:800;
}

.ai-operating-model-grid small {
    display:block;
    margin-top:22px;
    color:var(--bbp-blue);
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-operating-model-grid h3 {
    margin:7px 0 9px;
    color:var(--bbp-ink);
    font-size:16px;
    line-height:1.42;
}

.ai-operating-model-grid p {
    margin:0;
    color:var(--bbp-text);
    font-size:12.5px;
    line-height:1.6;
}

/* GOVERNANCE */
.ai-governance-section {
    background:
        radial-gradient(circle at 88% 9%,rgba(20,127,118,.13),transparent 26%),
        linear-gradient(145deg,#172733,#203744);
}

.ai-governance-layout {
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:84px;
    align-items:center;
}

.ai-governance-copy .tag {color:#8fd8cf}
.ai-governance-copy h2 {
    margin:12px 0 13px;
    color:#fff;
    font-size:clamp(35px,3vw,46px);
    line-height:1.13;
    letter-spacing:-.036em;
}
.ai-governance-copy p {
    margin:0;
    color:#d2dbe1;
    font-size:14px;
    line-height:1.7;
}

.ai-governance-model {
    display:grid;
    grid-template-columns:1fr 46px 1fr 46px 1fr;
    gap:8px;
    align-items:center;
}

.ai-governance-model>div {
    min-height:145px;
    padding:18px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:10px;
    background:rgba(255,255,255,.055);
}

.ai-governance-model>div.active {
    border-color:rgba(143,216,207,.33);
    background:rgba(20,127,118,.24);
}

.ai-governance-model span {
    color:#91ddd4;
    font-size:8.5px;
    font-weight:800;
}

.ai-governance-model small {
    display:block;
    margin-top:19px;
    color:#c7d1d8;
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.ai-governance-model strong {
    display:block;
    margin-top:7px;
    color:#fff;
    font-size:12.5px;
    line-height:1.5;
}

.ai-governance-model i {
    height:1px;
    background:rgba(255,255,255,.18);
}

/* FUTURE */
.ai-future-section {
    background:#fff;
}

.ai-future-layout {
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:88px;
    align-items:start;
}

.ai-future-copy .description {
    margin-top:14px;
}

.ai-future-rail {
    border-top:1px solid var(--bbp-line-strong);
}

.ai-future-rail div {
    display:grid;
    grid-template-columns:70px 1fr auto;
    gap:18px;
    align-items:center;
    min-height:65px;
    padding:13px 0;
    border-bottom:1px solid var(--bbp-line);
}

.ai-future-rail span {
    color:var(--bbp-teal);
    font-size:8.5px;
    font-weight:800;
}

.ai-future-rail strong {
    color:var(--bbp-ink);
    font-size:12.5px;
}

.ai-future-rail small {
    color:var(--bbp-muted);
    font-size:9px;
}

.ai-future-rail .next {
    background:linear-gradient(90deg,transparent,rgba(54,88,181,.035));
}

/* FAQ — match AI Business Assistant */
.ai-hub-faq-section {
    background:#fff;
}

.ai-hub-faq-head {
    max-width:930px;
    margin:0 0 36px;
    text-align:left;
}

.ai-hub-faq-head .description {
    max-width:870px;
    margin:0;
    color:var(--bbp-text);
    font-size:15.5px;
    line-height:1.72;
}

.ai-hub-faq-list {
    border-top:1px solid var(--bbp-line);
    max-width:none;
}

.ai-hub-faq-list details {
    border-bottom:1px solid var(--bbp-line);
}

.ai-hub-faq-list summary {
    cursor:pointer;
    padding:18px 0;
    color:#24303b;
    font-size:15.5px;
    font-weight:750;
    line-height:1.5;
    list-style:revert;
    display:list-item;
}

.ai-hub-faq-list p {
    max-width:900px;
    margin:-5px 0 18px;
    color:var(--bbp-text);
    font-size:13.5px;
    line-height:1.68;
}

/* CTA */
.ai-for-accounting-page .retail-final-cta {
    padding:74px 0;
}

@media(max-width:1100px){
    .ai-system-canvas,
    .ai-connected-platform,
    .ai-foundation-layout,
    .ai-governance-layout,
    .ai-future-layout {
        grid-template-columns:1fr;
    }

    .ai-capability-row {
        grid-template-columns:90px 1fr;
    }

    .ai-capability-cta,
    .ai-capability-future-note {
        grid-column:2;
        justify-self:start;
    }

    .ai-operating-model-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .ai-governance-model {
        grid-template-columns:1fr;
    }

    .ai-governance-model i {
        width:1px;
        height:18px;
        justify-self:center;
    }
}

@media(max-width:700px){
    .ai-foundation-row {
        grid-template-columns:34px 1fr;
    }
    .ai-foundation-row p {
        grid-column:2;
    }

    .ai-capability-row {
        grid-template-columns:1fr;
        gap:13px;
    }
    .ai-capability-cta,
    .ai-capability-future-note {
        grid-column:auto;
    }

    .ai-operating-model-grid {
        grid-template-columns:1fr;
    }

    .ai-connected-principle {
        grid-template-columns:1fr;
        gap:7px;
    }

    .ai-future-rail div {
        grid-template-columns:55px 1fr;
    }
    .ai-future-rail small {
        grid-column:2;
    }
}


/* =========================================================
   V4 — HERO RIGHT: AI COMMAND CENTER
   ========================================================= */
.ai-command-visual{overflow:hidden;border:1px solid rgba(54,88,181,.14);border-radius:18px;background:radial-gradient(circle at 90% 8%,rgba(20,127,118,.075),transparent 25%),linear-gradient(180deg,#fff 0%,#f7f9fc 100%);box-shadow:0 24px 60px rgba(23,37,55,.095)}
.ai-command-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px 22px 17px;border-bottom:1px solid var(--bbp-line)}
.ai-command-header span{display:block;margin-bottom:5px;color:var(--bbp-blue);font-size:9px;font-weight:800;letter-spacing:.1em}
.ai-command-header h2{max-width:360px;margin:0;color:var(--bbp-ink);font-size:20px;line-height:1.26;letter-spacing:-.02em}
.ai-command-header em{flex-shrink:0;padding:6px 9px;border-radius:999px;color:var(--bbp-teal-dark);background:var(--bbp-teal-soft);font-size:8.5px;font-style:normal;font-weight:800}
.ai-command-focus{display:grid;grid-template-columns:1fr 110px;gap:18px;align-items:center;margin:16px;padding:18px;border:1px solid rgba(54,88,181,.12);border-radius:13px;background:radial-gradient(circle at 90% 12%,rgba(54,88,181,.07),transparent 28%),linear-gradient(135deg,#f6f8fd,#fbfcfe)}
.ai-command-focus-copy>span{color:var(--bbp-teal);font-size:8px;font-weight:800;letter-spacing:.08em}
.ai-command-focus-copy>strong{display:block;margin-top:7px;color:var(--bbp-ink);font-size:16px;line-height:1.35}
.ai-command-focus-copy p{margin:6px 0 0;color:var(--bbp-text);font-size:10.5px;line-height:1.5}
.ai-command-score{min-height:96px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:12px;border-radius:12px;color:#fff;background:linear-gradient(145deg,var(--bbp-blue-deep),var(--bbp-blue));text-align:center}
.ai-command-score span{font-size:8px;font-weight:800;letter-spacing:.08em;opacity:.86}
.ai-command-score strong{display:block;margin:2px 0;font-size:27px;line-height:1}
.ai-command-score small{max-width:72px;font-size:7.5px;line-height:1.35;opacity:.8}
.ai-command-lanes{margin:0 16px;border-top:1px solid var(--bbp-line)}
.ai-command-lanes a{display:grid;grid-template-columns:30px 1fr 18px;gap:11px;align-items:center;min-height:64px;padding:11px 2px;border-bottom:1px solid var(--bbp-line);transition:.18s ease}
.ai-command-lanes a:hover{padding-left:7px}
.ai-command-lanes a>span{color:var(--bbp-teal);font-size:8.5px;font-weight:800}
.ai-command-lanes small{display:block;color:var(--bbp-muted);font-size:7.5px;font-weight:800;letter-spacing:.08em}
.ai-command-lanes strong{display:block;margin-top:3px;color:var(--bbp-ink);font-size:11.5px}
.ai-command-lanes p{margin:3px 0 0;color:var(--bbp-muted);font-size:8.5px}
.ai-command-lanes b{color:#9aa5af;font-size:12px;font-weight:500}
.ai-command-footer{display:grid;grid-template-columns:1.1fr .9fr;gap:10px;padding:14px 16px 16px;background:#fbfcfd}
.ai-command-footer>div{padding:11px 12px;border:1px solid var(--bbp-line);border-radius:9px;background:#fff}
.ai-command-footer span{display:block;color:var(--bbp-muted);font-size:7.5px;font-weight:800;letter-spacing:.08em}
.ai-command-footer strong{display:block;margin-top:5px;color:var(--bbp-ink);font-size:9px;line-height:1.45}
.ai-command-next{border-style:dashed!important;background:transparent!important}
.ai-command-next span{color:var(--bbp-teal)}
@media(max-width:640px){.ai-command-focus{grid-template-columns:1fr}.ai-command-score{min-height:80px}.ai-command-footer{grid-template-columns:1fr}}


/* =========================================================
   V5 — COMPACT ABOVE-THE-FOLD HERO
   ========================================================= */

.ai-for-accounting-page .retail-hero {
    padding: 38px 0 42px;
}

.ai-for-accounting-page .hero-container {
    align-items: center;
    gap: 62px;
}

.ai-for-accounting-page .hero-left h1 {
    font-size: clamp(40px, 4.15vw, 56px);
    margin-bottom: 14px;
}

.ai-for-accounting-page .hero-lead {
    font-size: 15.5px;
    line-height: 1.6;
}

.ai-for-accounting-page .hero-support {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.55;
}

.ai-for-accounting-page .hero-buttons {
    margin-top: 15px;
}

.ai-for-accounting-page .ai-hero-proof {
    margin-top: 14px;
}

.ai-command-visual.compact {
    border-radius: 16px;
}

.ai-command-visual.compact .ai-command-header {
    padding: 14px 17px 12px;
}

.ai-command-visual.compact .ai-command-header span {
    margin-bottom: 3px;
    font-size: 8px;
}

.ai-command-visual.compact .ai-command-header h2 {
    max-width: none;
    white-space: nowrap;
    font-size: 17px;
    line-height: 1.2;
}

.ai-command-visual.compact .ai-command-header em {
    padding: 5px 8px;
    font-size: 8px;
}

.ai-command-focus.compact-focus {
    display: block;
    margin: 10px 12px;
    padding: 12px 14px;
}

.ai-command-focus.compact-focus .ai-command-focus-copy > span {
    font-size: 7.5px;
}

.ai-command-focus.compact-focus .ai-command-focus-copy > strong {
    margin-top: 5px;
    font-size: 14px;
}

.ai-command-focus.compact-focus .ai-command-focus-copy p {
    margin-top: 4px;
    font-size: 9.7px;
    line-height: 1.45;
}

.ai-command-lanes.compact-lanes {
    margin: 0 12px;
}

.ai-command-lanes.compact-lanes a {
    min-height: 50px;
    grid-template-columns: 26px 1fr 16px;
    gap: 9px;
    padding: 7px 2px;
}

.ai-command-lanes.compact-lanes a > span {
    font-size: 8px;
}

.ai-command-lanes.compact-lanes small {
    font-size: 7px;
}

.ai-command-lanes.compact-lanes strong {
    margin-top: 2px;
    font-size: 10.5px;
}

.ai-command-lanes.compact-lanes p {
    margin-top: 2px;
    font-size: 8px;
}

.ai-command-footer.compact-footer {
    grid-template-columns: 1.1fr .9fr;
    gap: 8px;
    padding: 10px 12px 12px;
}

.ai-command-footer.compact-footer > div {
    padding: 8px 9px;
}

.ai-command-footer.compact-footer span {
    font-size: 7px;
}

.ai-command-footer.compact-footer strong {
    margin-top: 3px;
    font-size: 8.3px;
    line-height: 1.35;
}

@media (min-width: 1100px) {
    .ai-command-visual.compact {
        max-height: 520px;
    }
}

@media (max-width: 640px) {
    .ai-command-visual.compact .ai-command-header h2 {
        white-space: normal;
    }
}


/* =========================================================
   V6 — RESTORE HERO PROPORTIONS / KEEP RIGHT PANEL COMPACT
   ========================================================= */

/* Bring back the more balanced overall hero height */
.ai-for-accounting-page .retail-hero {
    padding: 50px 0 56px;
}

/* Add safe breathing room below the mega menu/header */
.ai-for-accounting-page .hero-container {
    align-items: center;
    gap: 66px;
}

/* Restore stronger left-side presence without becoming oversized */
.ai-for-accounting-page .hero-left h1 {
    font-size: clamp(44px, 4.55vw, 60px);
    margin-bottom: 16px;
}

.ai-for-accounting-page .hero-lead {
    font-size: 16px;
    line-height: 1.64;
}

.ai-for-accounting-page .hero-support {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.6;
}

.ai-for-accounting-page .hero-buttons {
    margin-top: 18px;
}

.ai-for-accounting-page .ai-hero-proof {
    margin-top: 17px;
}

/* Keep right-side design from v5, but prevent it from feeling stuck to top */
.ai-for-accounting-page .hero-right {
    align-self: center;
    padding-top: 4px;
}

.ai-command-visual.compact {
    max-height: none;
    margin-top: 0;
}

/* Slightly relax the command panel spacing without increasing it too much */
.ai-command-visual.compact .ai-command-header {
    padding: 15px 18px 13px;
}

.ai-command-focus.compact-focus {
    margin: 11px 13px;
    padding: 13px 15px;
}

.ai-command-lanes.compact-lanes {
    margin: 0 13px;
}

.ai-command-lanes.compact-lanes a {
    min-height: 52px;
    padding: 8px 2px;
}

.ai-command-footer.compact-footer {
    padding: 11px 13px 13px;
}

/* Typical desktop: preserve above-the-fold balance without crushing hero */
@media (min-width: 1100px) and (min-height: 760px) {
    .ai-for-accounting-page .retail-hero {
        min-height: 590px;
        display: flex;
        align-items: center;
    }

    .ai-for-accounting-page .hero-container {
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
    }
}

/* Shorter laptop screens: retain compact behavior */
@media (min-width: 1100px) and (max-height: 759px) {
    .ai-for-accounting-page .retail-hero {
        padding: 42px 0 46px;
    }

    .ai-for-accounting-page .hero-left h1 {
        font-size: clamp(42px, 4.25vw, 56px);
    }

    .ai-command-lanes.compact-lanes a {
        min-height: 49px;
    }
}

@media (max-width: 820px) {
    .ai-for-accounting-page .retail-hero {
        padding: 42px 0 48px;
    }

    .ai-for-accounting-page .hero-right {
        padding-top: 0;
    }
}


/* =========================================================
   V7 — TALLER HERO / LOWER RIGHT PANEL / LARGER TYPE
   ========================================================= */

/* Make the overall hero visibly taller again */
.ai-for-accounting-page .retail-hero {
    padding: 62px 0 70px;
}

@media (min-width: 1100px) {
    .ai-for-accounting-page .retail-hero {
        min-height: 665px;
        display: flex;
        align-items: center;
    }
}

/* Stronger left-side scale */
.ai-for-accounting-page .hero-left h1 {
    font-size: clamp(48px, 4.9vw, 64px);
    line-height: 1.05;
    margin-bottom: 18px;
}

.ai-for-accounting-page .hero-lead {
    font-size: 17px;
    line-height: 1.68;
}

.ai-for-accounting-page .hero-support {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.62;
}

.ai-for-accounting-page .hero-buttons {
    margin-top: 20px;
}

.ai-for-accounting-page .ai-hero-proof {
    margin-top: 19px;
}

/* Move hero-right down by exactly 25px */
.ai-for-accounting-page .hero-right {
    position: relative;
    top: 25px;
    align-self: center;
    padding-top: 0;
}

/* Slightly larger type inside the compact right panel */
.ai-command-visual.compact .ai-command-header {
    padding: 16px 19px 14px;
}

.ai-command-visual.compact .ai-command-header span {
    font-size: 8.5px;
}

.ai-command-visual.compact .ai-command-header h2 {
    font-size: 18.5px;
    line-height: 1.22;
}

.ai-command-visual.compact .ai-command-header em {
    font-size: 8.5px;
}

.ai-command-focus.compact-focus {
    margin: 12px 14px;
    padding: 14px 16px;
}

.ai-command-focus.compact-focus .ai-command-focus-copy > span {
    font-size: 8px;
}

.ai-command-focus.compact-focus .ai-command-focus-copy > strong {
    margin-top: 6px;
    font-size: 15.5px;
}

.ai-command-focus.compact-focus .ai-command-focus-copy p {
    margin-top: 5px;
    font-size: 10.5px;
    line-height: 1.5;
}

.ai-command-lanes.compact-lanes {
    margin: 0 14px;
}

.ai-command-lanes.compact-lanes a {
    min-height: 55px;
    padding: 9px 2px;
}

.ai-command-lanes.compact-lanes a > span {
    font-size: 8.5px;
}

.ai-command-lanes.compact-lanes small {
    font-size: 7.5px;
}

.ai-command-lanes.compact-lanes strong {
    margin-top: 2px;
    font-size: 11.5px;
}

.ai-command-lanes.compact-lanes p {
    margin-top: 2px;
    font-size: 8.5px;
}

.ai-command-footer.compact-footer {
    padding: 12px 14px 14px;
}

.ai-command-footer.compact-footer span {
    font-size: 7.5px;
}

.ai-command-footer.compact-footer strong {
    margin-top: 4px;
    font-size: 8.8px;
}

/* Shorter laptops: keep the right panel lower, but avoid excessive overflow */
@media (min-width: 1100px) and (max-height: 760px) {
    .ai-for-accounting-page .retail-hero {
        min-height: 620px;
        padding: 52px 0 58px;
    }

    .ai-for-accounting-page .hero-left h1 {
        font-size: clamp(46px, 4.6vw, 60px);
    }

    .ai-for-accounting-page .hero-right {
        top: 22px;
    }
}

@media (max-width: 820px) {
    .ai-for-accounting-page .retail-hero {
        padding: 48px 0 56px;
    }

    .ai-for-accounting-page .hero-right {
        top: 0;
    }
}


/* =========================================================
   V8 — FINAL HERO TUNING
   ========================================================= */

@media (min-width: 1100px) {
    .ai-for-accounting-page .hero-left h1 {
        font-size: 55px;
    }

    .ai-for-accounting-page .hero-right {
        top: 20px;
    }
}

/* Preserve responsive scaling below desktop */
@media (max-width: 1099px) {
    .ai-for-accounting-page .hero-left h1 {
        font-size: clamp(44px, 6vw, 55px);
    }
}
