/* Brightcore v2 — product pages (Audit Sentinel, Code-Sense, IR Logic) */

/* Legacy-cascade guards: style.css ships its own product-hero grid (.85fr/1.15fr),
   oversized h1, and ✓ pseudo-bullets. These re-assert the v2 values with enough
   specificity to win regardless of load order. */
.bc-main .bc-product-hero-grid { grid-template-columns: 1.02fr 1fr; gap: 70px; align-items: center; }
.bc-product-hero .bc-hero-copy h1 { font-size: clamp(44px, 4.8vw, 72px); line-height: .98; }
.bc-check-list li:has(.bc-icon)::before { content: none; }

/* ---------- product hero ---------- */
.bc-product-hero { padding: 170px 0 80px; border-bottom: 1px solid var(--bc-line); background: radial-gradient(circle at 62% 30%, rgba(111, 227, 154, .09), transparent 26%), radial-gradient(circle at 80% 60%, rgba(109, 182, 238, .06), transparent 30%); }
.bcp-code-page .bc-product-hero { background: radial-gradient(circle at 62% 30%, rgba(109, 182, 238, .1), transparent 26%), radial-gradient(circle at 80% 60%, rgba(111, 227, 154, .05), transparent 30%); }
.bc-product-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 70px; align-items: center; }
.bc-product-label { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid rgba(111, 227, 154, .45); border-radius: 999px; color: var(--bc-green); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 800; }
.bc-product-label .bc-icon { width: 15px; height: 15px; }
.bcp-code-page .bc-product-label { border-color: rgba(109, 182, 238, .5); color: var(--bc-blue); }
.bc-product-hero h1 { font-family: var(--bc-display); font-size: clamp(44px, 4.8vw, 72px); line-height: .98; letter-spacing: -.04em; font-weight: 800; margin: 22px 0 20px; text-wrap: balance; }
.bc-product-hero .bcp-lede { max-width: 540px; color: var(--bc-muted); font-size: 19px; line-height: 1.5; margin: 0 0 24px; }
.bc-check-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 11px; }
.bc-check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: baseline; color: #cdd9d5; font-size: 15.5px; }
.bc-check-list .bc-icon { width: 16px; height: 16px; color: var(--bc-green); position: relative; top: 2px; }
.bcp-code-page .bc-check-list .bc-icon { color: var(--bc-blue); }

/* blue button variant */
.bc-button.is-blue { background: var(--bc-blue); border-color: var(--bc-blue); color: #04121c; }
.bc-button.is-blue:hover, .bc-button.is-blue:focus-visible { background: #7cb8e6; border-color: #7cb8e6; box-shadow: 0 12px 34px rgba(109, 182, 238, .28); }

/* ---------- paper note (hero visual) ---------- */
.bc-product-hero .bc-hero-composite::before { display: none; }
.bcp-note { position: absolute; left: 0; top: 24px; width: 286px; min-height: 430px; padding: 16px 18px; background: linear-gradient(170deg, #efece3, #e3e0d5); color: #232a27; border-radius: 3px; transform: rotate(-1.6deg); box-shadow: 0 30px 70px rgba(0, 0, 0, .42), 0 0 36px rgba(111, 227, 154, .07); font-family: var(--bc-mono); }
.is-scanning .bcp-note { box-shadow: 0 30px 70px rgba(0, 0, 0, .42), 0 0 56px rgba(111, 227, 154, .22); }
.bcp-note small { display: flex; align-items: center; gap: 8px; font-family: var(--bc-body); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 800; color: #6d736e; border-bottom: 1px solid rgba(35, 42, 39, .18); padding-bottom: 9px; margin-bottom: 10px; }
.bcp-note small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bc-green-2); }
.bcp-note b { display: block; margin: 10px 0 3px; font-size: 10px; letter-spacing: .08em; }
.bcp-note p { margin: 0; font-size: 11.5px; line-height: 1.6; }
.bc-product-hero .bc-scan-line { width: 286px; top: 24px; }
.bc-product-hero .bc-doc-redactions { left: 0; top: 24px; width: 286px; height: 430px; }
.bc-doc-redactions.is-highlight i { height: 13px; background: rgba(58, 168, 110, .35); border: 1px solid rgba(58, 168, 110, .5); box-shadow: none; border-radius: 2px; }
.bc-product-hero .bc-audit-card { width: 370px; }

/* ---------- Code-Sense hero output ---------- */
.bcp-code-composite { position: relative; min-height: 510px; width: min(100%, 680px); }
.bcp-code-out { position: absolute; right: 0; top: 8px; width: 384px; border: 1px solid var(--bc-line-strong); border-radius: 12px; background: rgba(4, 13, 19, .95); overflow: hidden; box-shadow: 0 34px 80px rgba(0, 0, 0, .38); transition: border-color .5s ease, box-shadow .5s ease; }
.is-run .bcp-code-out { border-color: rgba(109, 182, 238, .45); box-shadow: 0 34px 80px rgba(0, 0, 0, .38), 0 0 50px rgba(109, 182, 238, .15); }
.bcp-out-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--bc-line-strong); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.bcp-out-head .bcp-busy, .bcp-out-head .bcp-done { display: none; align-items: center; gap: 9px; }
.bcp-busy i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(109, 182, 238, .3); border-top-color: var(--bc-blue); animation: bc-spin .8s linear infinite; }
.is-busy .bcp-busy { display: inline-flex; color: var(--bc-blue); }
.is-run .bcp-done { display: inline-flex; color: var(--bc-blue); }
.bcp-done .bc-icon { width: 15px; height: 15px; }
.bcp-out-head strong { font-family: var(--bc-display); font-size: 25px; letter-spacing: -.03em; color: var(--bc-blue); opacity: 0; transform: scale(.5); }
.is-run .bcp-out-head strong { opacity: 1; transform: scale(1); transition: opacity .4s var(--bc-ease) .2s, transform .5s cubic-bezier(.18, 1.6, .4, 1) .2s; }
.bcp-out-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--bc-line); }
.bcp-out-choice article { padding: 12px 14px; border: 1px solid var(--bc-line); border-radius: 6px; transition: border-color .5s ease, background .5s ease, transform .5s var(--bc-ease); }
.bcp-out-choice small, .bcp-out-rationale small, .bcp-out-mdm small { display: block; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 700; }
.bcp-out-choice b { display: block; margin-top: 7px; font-family: var(--bc-display); font-size: 27px; letter-spacing: -.03em; }
.bcp-out-choice p { margin: 3px 0 0; color: var(--bc-muted); font-size: 11.5px; }
.is-run .bcp-out-choice article.is-selected { border-color: rgba(109, 182, 238, .66); background: rgba(61, 127, 184, .3); transform: scale(1.04); }
.is-run .bcp-out-choice article.is-selected b { color: var(--bc-blue); }
.bcp-out-mdm { padding: 13px 18px; border-bottom: 1px solid var(--bc-line); display: grid; gap: 6px; }
.bcp-out-mdm span { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 7px 10px; border: 1px solid var(--bc-line); border-radius: 4px; font-size: 12px; color: #d6e2df; opacity: .35; transition: opacity .5s ease; }
.is-run .bcp-out-mdm span { opacity: 1; transition-delay: calc(.35s + var(--i, 0) * .18s); }
.bcp-out-mdm i { font-style: normal; color: var(--bc-blue); }
.bcp-out-mdm span.is-mod i { color: var(--bc-amber); }
.bcp-out-rationale { padding: 13px 18px 16px; }
.bcp-out-rationale p { margin: 7px 0 0; color: var(--bc-muted); font-size: 12.5px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .5s ease .9s, transform .5s var(--bc-ease) .9s; }
.is-run .bcp-out-rationale p { opacity: 1; transform: none; }

/* ---------- numbered flow ---------- */
.bcp-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 34px; }
.bcp-flow::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--bc-green), rgba(111, 227, 154, .15)); transform: scaleX(0); transform-origin: left; }
.bcp-code-page .bcp-flow::before { background: linear-gradient(90deg, var(--bc-blue), rgba(109, 182, 238, .15)); }
.bcp-flow.is-drawn::before { transform: scaleX(1); transition: transform 1.6s var(--bc-ease); }
.bcp-flow article { border: 1px solid var(--bc-line); border-radius: 10px; padding: 26px 24px; background: rgba(8, 19, 17, .6); opacity: 0; transform: translateY(24px); transition: opacity .7s var(--bc-ease), transform .7s var(--bc-ease), border-color .3s ease; }
.bcp-flow article.is-on { opacity: 1; transform: none; }
.bcp-flow article:hover { border-color: rgba(111, 227, 154, .3); }
.bcp-code-page .bcp-flow article:hover { border-color: rgba(109, 182, 238, .35); }
.bcp-flow span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(111, 227, 154, .4); border-radius: 50%; color: var(--bc-green); margin-bottom: 16px; }
.bcp-code-page .bcp-flow span { border-color: rgba(109, 182, 238, .45); color: var(--bc-blue); }
.bcp-flow span .bc-icon { width: 21px; height: 21px; }
.bcp-flow small { color: var(--bc-dim); font-family: var(--bc-mono); font-size: 12px; }
.bcp-flow h3 { font-family: var(--bc-display); font-size: 21px; font-weight: 800; margin: 6px 0 8px; }
.bcp-flow p { margin: 0; color: var(--bc-muted); font-size: 14px; line-height: 1.5; }

.bc-section-kicker { display: inline-block; color: var(--bc-green); text-transform: uppercase; letter-spacing: .26em; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.bcp-code-page .bc-section-kicker { color: var(--bc-blue); }

/* ---------- report anatomy (Audit) ---------- */
.bcp-anatomy { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: start; }
.bcp-anatomy h2 { font-family: var(--bc-display); font-size: clamp(32px, 3vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 0 0 14px; text-wrap: balance; }
.bcp-anatomy > div > p { color: var(--bc-muted); font-size: 16.5px; line-height: 1.55; margin: 0 0 26px; }
.bcp-anatomy-list { list-style: none; margin: 0; padding: 0; }
.bcp-anatomy-list li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--bc-line); color: #c4d2ce; font-size: 15px; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s var(--bc-ease); }
.bcp-anatomy-list li .bc-icon { width: 16px; height: 16px; color: var(--bc-green); }
.bcp-anatomy-list li.is-hot { background: rgba(111, 227, 154, .07); color: var(--bc-ink); transform: translateX(6px); }
.bcp-report { border: 1px solid var(--bc-line-strong); border-radius: 12px; background: rgba(4, 14, 19, .9); overflow: hidden; box-shadow: 0 34px 80px rgba(0, 0, 0, .3); }
.bcp-report-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--bc-line-strong); }
.bcp-report-head strong { font-family: var(--bc-display); font-size: 16px; font-weight: 800; }
.bcp-report-head span { color: var(--bc-dim); font-size: 12px; display: inline-flex; gap: 8px; align-items: center; }
.bcp-report-head span .bc-icon { width: 14px; height: 14px; }
.bcp-report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.bcp-report-grid article { border: 1px solid var(--bc-line); border-radius: 8px; padding: 15px 16px; background: rgba(7, 18, 22, .7); opacity: 0; transform: translateY(14px); transition: opacity .6s var(--bc-ease), transform .6s var(--bc-ease), border-color .3s ease, box-shadow .3s ease; }
.bcp-report-grid article.is-on { opacity: 1; transform: none; }
.bcp-report-grid article.is-hot { border-color: rgba(111, 227, 154, .55); box-shadow: 0 0 26px rgba(111, 227, 154, .14); }
.bcp-report-grid small { display: block; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 700; margin-bottom: 8px; }
.bcp-report-grid p { margin: 0; color: var(--bc-muted); font-size: 12.5px; line-height: 1.5; }
.bcp-report-grid .is-grade > div { display: flex; align-items: end; gap: 14px; margin-bottom: 6px; }
.bcp-report-grid .is-grade b { font-family: var(--bc-display); font-size: 38px; line-height: .9; letter-spacing: -.04em; }
.bcp-report-grid .is-grade b em { color: var(--bc-muted); font-family: var(--bc-body); font-size: 12px; font-style: normal; font-weight: 600; }
.bcp-report-grid .is-grade strong { color: var(--bc-green); font-size: 38px; line-height: .85; font-weight: 700; }
.bcp-report-grid .is-risk span { display: inline-block; color: var(--bc-green); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.bcp-report-grid .is-risk ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.bcp-report-grid .is-risk li { display: flex; justify-content: space-between; font-size: 12px; color: #c4d2ce; }
.bcp-report-grid .is-risk li b { color: var(--bc-green); font-weight: 700; }
.bcp-report-grid .is-risk li b.is-amber { color: var(--bc-amber); }
.bcp-report-grid .is-points b { display: block; font-family: var(--bc-display); font-size: 34px; color: var(--bc-red); letter-spacing: -.03em; margin-bottom: 4px; }

/* ---------- Code-Sense product UI (analyze demo) ---------- */
.bcp-screens { display: grid; grid-template-columns: .92fr 1.08fr; gap: 14px; align-items: start; }
.bcp-form, .bcp-result { border: 1px solid var(--bc-line-strong); border-radius: 12px; background: rgba(4, 13, 19, .92); overflow: hidden; }
.bcp-form { padding: 24px; }
.bcp-screen-title { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.bcp-screen-title .bc-icon { width: 30px; height: 30px; color: var(--bc-blue); }
.bcp-screen-title strong { display: block; font-family: var(--bc-display); font-size: 18px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.bcp-screen-title span { display: block; margin-top: 2px; color: var(--bc-dim); font-size: 12px; line-height: 1.4; }
.bcp-form > p { margin: 0 0 18px; color: var(--bc-muted); font-size: 13.5px; line-height: 1.5; }
.bcp-form label { display: block; margin-bottom: 14px; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; }
.bcp-form label span { display: block; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--bc-line-strong); border-radius: 6px; background: rgba(10, 24, 30, .7); color: #d8e2df; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.bcp-form label.is-note span { font-family: var(--bc-mono); font-size: 11px; line-height: 1.65; max-height: 218px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.bcp-form .bc-button { width: 100%; min-height: 52px; margin-top: 4px; cursor: pointer; font-family: var(--bc-body); }
.bcp-result { position: relative; }
.bcp-license { padding: 9px 20px; border-bottom: 1px solid var(--bc-line); color: var(--bc-dim); font-family: var(--bc-mono); font-size: 11px; }
.bcp-progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--bc-blue), var(--bc-green)); transform: scaleX(0); transform-origin: left; z-index: 2; }
.is-analyzing .bcp-progress { animation: bcp-progress 1.4s var(--bc-ease) forwards; }
@keyframes bcp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bcp-result [data-row] { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--bc-ease), transform .55s var(--bc-ease); }
.bcp-result [data-row].is-on { opacity: 1; transform: none; }
.bcp-result-head { padding: 18px 20px; border-bottom: 1px solid var(--bc-line); }
.bcp-result-head small, .bcp-diagnosis h4, .bcp-mdm-output h4, .bcp-cdi small { display: block; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; margin: 0 0 8px; }
.bcp-result-head h3 { margin: 0 0 10px; font-family: var(--bc-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.bcp-result-head h3 span { color: var(--bc-blue); font-size: 34px; }
.bcp-result-head ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; color: var(--bc-muted); font-size: 12.5px; }
.bcp-result-head li b { color: var(--bc-ink); font-weight: 700; }
.bcp-diagnosis { padding: 14px 20px; border-bottom: 1px solid var(--bc-line); display: grid; gap: 6px; }
.bcp-diagnosis span { display: inline-block; padding: 8px 11px; border: 1px solid var(--bc-line); border-radius: 5px; font-size: 12.5px; color: #d6e2df; }
.bcp-diagnosis span b { color: var(--bc-blue); font-family: var(--bc-mono); font-weight: 600; margin-right: 8px; }
.bcp-mdm-output { padding: 14px 20px; border-bottom: 1px solid var(--bc-line); }
.bcp-mdm-output pre { margin: 0; font-family: var(--bc-mono); font-size: 11.5px; line-height: 1.7; color: #c9d7d3; white-space: pre-wrap; }
.bcp-mdm-output pre b { color: var(--bc-blue); font-weight: 600; }
.bcp-cdi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--bc-line); }
.bcp-cdi article { border: 1px solid var(--bc-line); border-radius: 8px; padding: 13px 14px; }
.bcp-cdi article.is-cdi { border-color: rgba(232, 182, 103, .35); }
.bcp-cdi h4 { margin: 0 0 5px; font-size: 13.5px; font-weight: 700; color: var(--bc-ink); }
.bcp-cdi p { margin: 0; color: var(--bc-muted); font-size: 12px; line-height: 1.5; }
.bcp-result-actions { display: flex; gap: 24px; padding: 13px 20px; color: var(--bc-blue); font-size: 12.5px; font-weight: 600; }

/* ---------- decision walk ---------- */
.bcp-walk { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bcp-walk-panel h2 { font-family: var(--bc-display); font-size: clamp(32px, 3vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 0 0 14px; text-wrap: balance; }
.bcp-walk-panel > p { color: var(--bc-muted); font-size: 16.5px; line-height: 1.55; margin: 0 0 26px; }
.bcp-walk-steps { display: grid; gap: 10px; }
.bcp-walk-steps article { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 16px 18px; border: 1px solid var(--bc-line); border-radius: 10px; background: rgba(8, 19, 17, .55); cursor: pointer; transition: border-color .3s ease, background .3s ease, transform .3s var(--bc-ease); }
.bcp-walk-steps article:hover { border-color: var(--bc-line-strong); transform: translateX(4px); }
.bcp-walk-steps article.is-active { border-color: rgba(109, 182, 238, .6); background: rgba(61, 127, 184, .14); transform: translateX(8px); }
.bcp-walk-steps small { grid-column: 1; color: var(--bc-dim); font-family: var(--bc-mono); font-size: 11px; }
.bcp-walk-steps h3 { grid-column: 1; margin: 0; font-family: var(--bc-display); font-size: 19px; font-weight: 800; }
.bcp-walk-steps p { grid-column: 1; margin: 2px 0 0; color: var(--bc-muted); font-size: 13px; }
.bcp-walk-steps strong { grid-row: 1 / span 3; grid-column: 2; align-self: center; font-family: var(--bc-display); font-size: 24px; color: var(--bc-blue); letter-spacing: -.02em; }
.bcp-trace { border: 1px solid var(--bc-line-strong); border-radius: 14px; background: rgba(4, 13, 19, .9); padding: 30px; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.bcp-trace::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(rgba(109, 182, 238, .35) 1px, transparent 1px); background-size: 14px 14px; pointer-events: none; }
.bcp-trace > span { color: var(--bc-dim); text-transform: uppercase; letter-spacing: .22em; font-size: 10.5px; font-weight: 800; }
.bcp-trace-nodes { display: flex; gap: 12px; }
.bcp-trace-nodes em { flex: 1; text-align: center; padding: 13px 8px; border: 1px solid var(--bc-line); border-radius: 8px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--bc-dim); background: rgba(10, 24, 30, .6); transition: border-color .4s ease, color .4s ease, box-shadow .4s ease, background .4s ease; }
.bcp-trace-nodes em.is-lit { border-color: rgba(109, 182, 238, .6); color: var(--bc-ink); background: rgba(61, 127, 184, .18); box-shadow: 0 0 22px rgba(109, 182, 238, .18); }
.bcp-trace-card { border: 1px solid rgba(109, 182, 238, .4); border-radius: 10px; padding: 20px 22px; background: rgba(7, 18, 26, .85); position: relative; z-index: 1; }
.bcp-trace-card small { display: block; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; margin-bottom: 6px; }
.bcp-trace-card strong { display: block; font-family: var(--bc-display); font-size: 42px; letter-spacing: -.03em; color: var(--bc-blue); line-height: 1; }
.bcp-trace-card p { margin: 8px 0 0; color: var(--bc-muted); font-size: 13.5px; }
.bcp-trace-card.is-flash strong { animation: bcp-flash .5s var(--bc-ease); }
@keyframes bcp-flash { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }

/* ---------- evidence grid ---------- */
.bcp-evidence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bcp-evidence article { border: 1px solid var(--bc-line); border-radius: 10px; padding: 24px; background: rgba(8, 19, 17, .55); opacity: 0; transform: translateY(18px); transition: opacity .6s var(--bc-ease), transform .6s var(--bc-ease); }
.bcp-evidence article.is-on { opacity: 1; transform: none; }
.bcp-evidence small { display: block; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; margin-bottom: 12px; }
.bcp-evidence strong { display: block; font-family: var(--bc-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.bcp-evidence article.is-high { border-color: rgba(109, 182, 238, .4); }
.bcp-evidence article.is-high strong { color: var(--bc-blue); }
.bcp-evidence article.is-necessity { border-color: rgba(111, 227, 154, .4); }
.bcp-evidence article.is-necessity strong { color: var(--bc-green); }
.bcp-evidence p { margin: 0; color: var(--bc-muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- rationale layout ---------- */
.bcp-rationale-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.bcp-rationale-layout h2 { font-family: var(--bc-display); font-size: clamp(32px, 3vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 0 0 14px; text-wrap: balance; }
.bcp-rationale-layout > div > p { color: var(--bc-muted); font-size: 16.5px; line-height: 1.55; margin: 0; }
.bcp-rationale-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border: 1px solid var(--bc-line-strong); border-radius: 12px; background: rgba(4, 13, 19, .92); overflow: hidden; }
.bcp-rationale-card > div { padding: 26px; border-right: 1px solid var(--bc-line); }
.bcp-rationale-card small { display: block; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; margin-bottom: 12px; }
.bcp-rationale-card p { margin: 0 0 10px; color: #cdd9d5; font-size: 14px; line-height: 1.55; }
.bcp-rationale-card p strong { color: var(--bc-blue); }
.bcp-rationale-card aside { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px; }
.bcp-rationale-card aside span { display: flex; gap: 12px; align-items: center; color: #cdd9d5; font-size: 13.5px; }
.bcp-rationale-card aside .bc-icon { width: 18px; height: 18px; color: var(--bc-green); }
.bcp-rationale-card aside span.is-amber .bc-icon { color: var(--bc-amber); }

/* ---------- scenario chips (grade stress-test) ---------- */
.bcp-scenarios { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.bcp-scenarios small { width: 100%; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; margin-bottom: 2px; }
.bcp-scenarios button { padding: 9px 16px; border: 1px solid var(--bc-line-strong); border-radius: 999px; background: transparent; color: var(--bc-muted); font-family: var(--bc-body); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s var(--bc-ease); }
.bcp-scenarios button:hover { border-color: rgba(111, 227, 154, .5); color: var(--bc-ink); transform: translateY(-1px); }
.bcp-scenarios button.is-active { background: rgba(111, 227, 154, .12); border-color: var(--bc-green); color: var(--bc-green); }
.bcp-report-grid .is-risk span.is-mod { color: var(--bc-amber); }
.bcp-report-grid .is-risk span.is-elev { color: var(--bc-red); }
.bcp-report-grid .is-risk li b.is-red { color: var(--bc-red); }
.bcp-pop { animation: bcp-flash .45s var(--bc-ease); }

/* ---------- time slider (Code-Sense analyze form) ---------- */
.bcp-form label span.bcp-time-control { display: flex; align-items: center; gap: 14px; }
.bcp-time-control input { flex: 1; accent-color: var(--bc-blue); cursor: pointer; margin: 0; }
.bcp-time-control b { font-family: var(--bc-mono); color: var(--bc-blue); font-size: 13px; font-weight: 600; white-space: nowrap; min-width: 56px; text-align: right; }
.bcp-time-control i { font-style: normal; }

/* ---------- Psych accent: violet variant of the Code-Sense family ----------
   Locally remapping --bc-blue recolors every blue component on the page. */
.bcp-psych-page, .bc-specialty-row.is-psych { --bc-blue: #a78bfa; --bc-blue-2: #7c5cf0; }
.bcp-psych-page .bc-product-hero { background: radial-gradient(circle at 62% 30%, rgba(167, 139, 250, .12), transparent 26%), radial-gradient(circle at 80% 60%, rgba(111, 227, 154, .05), transparent 30%); }
.bcp-psych-page .bcp-out-choice article.is-selected, .bcp-psych-page .is-run .bcp-out-choice article.is-selected { border-color: rgba(167, 139, 250, .66); background: rgba(124, 92, 240, .22); }
.bcp-psych-page .bcp-flow span { border-color: rgba(167, 139, 250, .45); }

/* ---------- psych demo form: add-on chips + dual session times ---------- */
.bcp-addons, .bcp-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bcp-addons { margin-bottom: 14px; }
.bcp-addons > .bcp-form-chip { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; padding: 11px 13px; border: 1px solid var(--bc-line-strong); border-radius: 6px; background: rgba(10, 24, 30, .7); color: #d8e2df; font-size: 12.5px; font-weight: 500; }
.bcp-addons > .bcp-form-chip > .bc-icon { width: 15px; height: 15px; color: var(--bc-blue); position: relative; top: 2px; }
.bcp-addons i { display: block; font-style: normal; color: var(--bc-dim); font-size: 11px; margin-top: 3px; }
.bcp-times label { margin-bottom: 14px; }
.bcp-form .bcp-sandbox-note { display: grid; grid-template-columns: 16px 1fr; gap: 10px; margin: 14px 0 0; color: var(--bc-dim); font-size: 11.5px; line-height: 1.5; }
.bcp-form .bcp-sandbox-note .bc-icon { width: 14px; height: 14px; color: var(--bc-amber); position: relative; top: 2px; }

/* ---------- two-ways / duo cards (Psych) ---------- */
.bcp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bcp-duo article { border: 1px solid var(--bc-line); border-radius: 10px; padding: 30px 28px; background: rgba(8, 19, 17, .6); transition: transform .4s var(--bc-ease), border-color .4s ease, box-shadow .4s ease; }
.bcp-duo article:hover { transform: translateY(-4px); border-color: rgba(109, 182, 238, .35); box-shadow: 0 26px 60px rgba(0, 0, 0, .35); }
.bcp-duo article > .bc-icon { color: var(--bc-blue); width: 30px; height: 30px; }
.bcp-duo small { display: block; margin-top: 14px; color: #9eafbd; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; }
.bcp-duo h3 { font-family: var(--bc-display); font-size: 23px; font-weight: 800; margin: 6px 0 10px; }
.bcp-duo p { color: var(--bc-muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 10px; }
.bcp-duo p:last-child { margin-bottom: 0; }
.bcp-duo p b { color: var(--bc-ink); }
.bcp-disclaimer { margin-top: 18px; color: var(--bc-dim); font-size: 12.5px; line-height: 1.5; max-width: 760px; }
.bcp-psych-page .bc-expert-grid article > .bc-icon { color: var(--bc-blue); }

/* nav active */
.bc-nav a.is-active { color: var(--bc-green); }
.bc-nav a.is-active::after { right: 0 !important; }

/* ---------- IR Logic v2 polish (keeps legacy .bc-ir-* pricing/visual styles) ---------- */
.bc-ir-pricing-grid article { transition: transform .4s var(--bc-ease), border-color .4s ease, box-shadow .4s ease; }
.bc-ir-pricing-grid article:hover { transform: translateY(-6px); border-color: rgba(111, 227, 154, .35); box-shadow: 0 26px 60px rgba(0, 0, 0, .35); }
.bc-ir-pricing-grid article.is-featured { border-color: rgba(111, 227, 154, .45); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bc-product-hero-grid, .bc-main .bc-product-hero-grid, .bcp-anatomy, .bcp-screens, .bcp-walk, .bcp-rationale-layout { grid-template-columns: 1fr; }
  .bcp-flow, .bcp-evidence { grid-template-columns: 1fr 1fr; }
  .bc-product-hero { padding-top: 130px; }
}
@media (max-width: 760px) {
  .bcp-flow, .bcp-evidence, .bcp-report-grid, .bcp-cdi, .bcp-duo { grid-template-columns: 1fr; }
  .bcp-rationale-card { grid-template-columns: 1fr; }
  .bcp-rationale-card > div { border-right: 0; border-bottom: 1px solid var(--bc-line); }
}

/* WP mobile (≤760px): stack the product hero composites */
@media (max-width: 760px) {
  .bc-product-hero { padding-top: 100px; }
  .bc-hero-composite, .bcp-code-composite { min-height: 0; width: 100%; display: grid; gap: 14px; }
  .bcp-note { position: relative; inset: auto; width: 100%; min-height: 0; transform: none; }
  .bcp-code-out, .bc-product-hero .bc-audit-card { position: relative; inset: auto; width: 100%; border-radius: 12px; }
  .bc-product-hero .bc-scan-line, .bc-product-hero .bc-doc-redactions { display: none; }
}
