
: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;
    }
}
