/* Business-case page layout, shared by /executive-brief/, /build-vs-buy/ and /pipeline-roi/ (one copy, Task 466).
   Loaded after site.css by those pages only, so these class names cannot collide with other pages.
   Hero and closing band are flat blue-deep, not the homepage gradient, so the light text keeps 4.5:1 contrast
   across the whole band; the grid texture comes from #hero::after in site.css. */
#hero { background: var(--blue-deep); padding: 88px 0 72px; position: relative; overflow: hidden; }
#hero .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 600; color: var(--blue-mid); background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); padding: 5px 14px; border-radius: 100px; margin-bottom: 20px; }
.hero-intro { font-size: 1.05rem; line-height: 1.6; color: var(--blue-mid); max-width: 680px; margin: 0 0 28px; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.05; color: #fff; max-width: 900px; margin: 0 0 24px; text-wrap: balance; }
.hero-title .hl { color: #93BBFF; }
.hero-sub { font-size: 1.15rem; line-height: 1.7; color: var(--blue-mid); max-width: 680px; margin: 0 0 36px; }
.hero-sub + .stat-grid { padding-top: 12px; } /* with the 36px above: the 48px gap the brief had (padding, so it does not collapse) */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-lg); padding: 24px; }
.stat-num { font-size: 2.75rem; font-weight: 900; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.stat-label { margin-top: 10px; font-size: 1rem; color: var(--blue-mid); }

section.band { padding: 88px 0; }
.band-gray { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.band .section-title { max-width: 760px; }
.band .section-sub { max-width: 720px; color: var(--gray-700); margin: 0 0 40px; }
.band .section-title + .card-grid { margin-top: 40px; }
.read-more { margin-top: 28px; font-size: 0.94rem; color: var(--gray-600); }
.read-more a { color: var(--blue-dark); font-weight: 600; }
.read-more a:hover { color: var(--blue-deep); text-decoration: underline; }

.bvb { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bvb-card { border: 1px solid var(--gray-200); border-radius: 20px; padding: 28px; background: #fff; min-width: 0; }
.bvb-card-ds { border: 2px solid var(--blue); background: var(--blue-light); }
.bvb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.bvb-head h3 { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.bvb-when { font-size: 0.94rem; font-weight: 700; color: var(--blue-dark); }
.bvb-when-slow { color: #B42318; }
.bvb-rows { display: flex; flex-direction: column; gap: 12px; font-size: 0.94rem; color: var(--gray-700); }
.bvb-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--gray-100); padding-bottom: 10px; }
.bvb-row:last-child { border-bottom: 0; padding-bottom: 0; }
.bvb-row span:last-child { font-weight: 600; white-space: nowrap; }
.bvb-points { display: flex; flex-direction: column; gap: 14px; font-size: 1rem; color: var(--gray-700); line-height: 1.6; }
.bvb-points b { color: var(--gray-900); }
.bvb-punch { padding-top: 8px; border-top: 1px solid var(--blue-mid); color: var(--blue-dark); font-weight: 600; }

.card-grid { display: grid; gap: 24px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 28px; min-width: 0; }
.card-sm { padding: 24px; }
.card-gray { background: var(--gray-50); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.01em; }
.card-sm h3 { font-size: 1rem; margin-bottom: 4px; }
.card-gray h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { margin: 0; font-size: 0.94rem; color: var(--gray-600); line-height: 1.65; }

.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { border: 1px solid var(--gray-200); border-radius: 20px; padding: 32px; min-width: 0; }
.plan-managed { border: 2px solid var(--blue); background: var(--blue-light); }
.plan h3 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--gray-900); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.plan-head h3 { margin: 0; }
.plan-badge { font-size: 0.8rem; font-weight: 600; color: var(--blue-dark); background: var(--blue-mid); padding: 4px 12px; border-radius: 100px; }
.plan > p { margin: 0 0 20px; font-size: 1rem; color: var(--gray-700); line-height: 1.65; }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.94rem; color: var(--gray-600); line-height: 1.6; }
.plan-list li { padding-left: 22px; position: relative; }
.plan-list li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

.cost { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.cost .section-sub { margin-bottom: 24px; }

#cta { background: var(--blue-deep); padding: 88px 0; }
.cta-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.cta-copy { flex: 1 1 520px; min-width: 0; }
.cta-eyebrow { display: inline-flex; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #93BBFF; background: rgba(48,97,251,0.25); padding: 5px 14px; border-radius: 100px; margin-bottom: 20px; }
.cta-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: #fff; margin: 0 0 16px; }
.cta-sub { margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--blue-mid); max-width: 640px; }
.cta-sub-small { margin-top: 16px; font-size: 1rem; }

.sources-note { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 24px 0; font-size: 0.82rem; line-height: 1.6; color: var(--gray-600); }

/* stat cards: the homepage .roi-card pattern; the source note is darkened to gray-500 for 4.5:1 contrast */
.roi-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-xl); padding: 36px; min-width: 0; }
.roi-card-num { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.card .roi-card-num { font-size: 2.5rem; margin-bottom: 12px; }
.roi-card-title { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin: 0 0 10px; letter-spacing: normal; line-height: 1.4; }
.roi-card-body { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; margin: 0; }
.roi-source { font-size: 0.75rem; color: var(--gray-500); margin: 16px 0 0; font-style: italic; }

/* comparison table: the /how-it-works/ .bvb-table pattern; Datastreamer column darkened from --green for contrast */
.table-scroll { margin-top: 40px; overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--gray-200); box-shadow: var(--sh); background: #fff; }
.bvb-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.bvb-table thead tr { background: var(--gray-900); }
.bvb-table thead th { padding: 18px 24px; font-size: 0.85rem; font-weight: 700; text-align: left; }
.bvb-table thead th:first-child { color: var(--gray-300); }
.bvb-table thead th:nth-child(2) { color: #FF6B6B; }
.bvb-table thead th:nth-child(3) { color: #6EE7A0; }
.bvb-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.bvb-table tbody tr:last-child { border-bottom: none; }
.bvb-table tbody th, .bvb-table td { padding: 16px 24px; font-size: 0.875rem; vertical-align: top; text-align: left; line-height: 1.6; }
.bvb-table tbody th { font-weight: 600; color: var(--gray-700); }
.bvb-table td:nth-child(2) { color: var(--gray-600); }
.bvb-table td:nth-child(3) { color: #15803D; font-weight: 500; }

/* cross-link banner: the /how-it-works/ .bvb-bottom pattern */
section.band-tight { padding: 0 0 88px; }
.xlink { background: linear-gradient(135deg, var(--blue-light), var(--blue-mid)); border: 1px solid var(--blue-mid); border-radius: var(--r-xl); padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.xlink-title { margin: 0 0 6px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--gray-900); }
.xlink-text { margin: 0; font-size: 1rem; color: var(--gray-700); }

/* five questions */
.q-list { list-style: none; counter-reset: q; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 860px; }
.q-list li { counter-increment: q; position: relative; padding: 20px 24px 20px 76px; border: 1px solid var(--gray-200); border-radius: var(--r-lg); background: #fff; }
.q-list li::before { content: counter(q); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: var(--r); background: var(--blue-light); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.q-list h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }
.q-list p { margin: 0; font-size: 0.94rem; color: var(--gray-600); }
.figure-note { margin: 24px 0 0; font-size: 0.82rem; line-height: 1.6; color: var(--gray-600); max-width: 860px; }
.figure-note a { color: var(--blue-dark); font-weight: 600; }
.figure-note a:hover { text-decoration: underline; }

@media (max-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } .cost { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 860px) { .stat-grid, .card-grid-3, .bvb, .plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { section.band-tight { padding: 0 0 64px; } }
@media (max-width: 600px) { .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; } .plan, .bvb-card, .roi-card { padding: 24px; } .cta-actions, .cta-actions .btn, .hero-actions .btn, .xlink .btn { width: 100%; } .hero-actions .btn, .cta-actions .btn { white-space: normal; text-align: center; } .xlink { padding: 24px; } .q-list li { padding: 18px 18px 18px 68px; } .q-list li::before { left: 16px; } }
@media (max-width: 680px) { section.band { padding: 64px 0; } #hero { padding: 64px 0 56px; } #cta { padding: 64px 0; } .container { padding: 0 16px; } }
