/* REVIEW ONLY. Load AFTER site.css, and opt in with body.bf-tech-dark.
   Existing menu JS continues to toggle nav.open. No new script required. */
body.bf-tech-dark {
  --ink: #f5f7fa; --muted: #b4bdc9; --paper: #0b0e12;
  --dark: #080b0f; --line: #38414e; --gold: #ffffff;
  --tech-surface: #131920; --tech-raised: #19212b;
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "BF Tech Sans", Arial, Helvetica, sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
body.bf-tech-dark :is(h1,h2,h3,.solution-grid h3,.supplier-grid h2,
  .advisory-stages h2,.footer-brand,summary,.brand) {
  font-family: "BF Tech Sans", Arial, Helvetica, sans-serif;
}
body.bf-tech-dark :is(h1,h2,h3) { color: var(--ink); font-weight: 600; }
body.bf-tech-dark h1 { line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
body.bf-tech-dark h2 { font-size: clamp(1.75rem,3.1vw,2.75rem); line-height: 1.15; letter-spacing: -.03em; }
body.bf-tech-dark h3 { letter-spacing: -.015em; }
body.bf-tech-dark :is(em,.technology-opening em,.page-intro em) { color: #c6d1df; }
body.bf-tech-dark :is(.eyebrow,.technology-opening .eyebrow) {
  color: #c6d1df; font-size: .6875rem; line-height: 1.5; letter-spacing: .16em;
}
body.bf-tech-dark :is(.small,.section-heading p,.three p,.page-intro>p:not(.eyebrow),
  .solution-grid p,.form-layout aside p,.form-preview,.bfg-scoping p) { color: var(--muted); }
body.bf-tech-dark :is(.section,.page-intro) { padding-block: clamp(2.5rem,6vw,5rem); }
body.bf-tech-dark .section { max-width: 1340px; }
body.bf-tech-dark main { overflow-wrap: anywhere; }
/* Existing sticky header rules remain authoritative. */
body.bf-tech-dark>header {
  background: #080b0f; color: var(--ink); border-bottom: 1px solid var(--line);
  box-shadow: none; min-height: 92px; gap: 20px;
}
body.bf-tech-dark .brand { font-weight: 600; letter-spacing: .04em; }
body.bf-tech-dark .brand small { color: var(--muted); }
body.bf-tech-dark .brand img { filter: brightness(0) invert(1); }
body.bf-tech-dark nav { font-size: .8125rem; }
body.bf-tech-dark :is(.header-call,.text-link) { border-color: #8190a2; color: var(--ink); }
body.bf-tech-dark .header-call { min-height: 44px; display: inline-flex; align-items: center; }
body.bf-tech-dark :is(a,button,summary,input,select,textarea):focus-visible {
  outline: 3px solid #b9d9ff; outline-offset: 4px;
}
body.bf-tech-dark .skip { color: #0b0e12; background: #fff; }
/* Actual homepage hero: .technology-opening > div + figure */
body.bf-tech-dark .technology-opening {
  background: #0b0e12; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: clamp(2rem,6vw,6rem); padding: clamp(3rem,7vw,6rem) 5%;
  border-bottom: 1px solid var(--line);
}
body.bf-tech-dark .technology-opening>div { min-width: 0; max-width: 760px; }
body.bf-tech-dark .technology-opening h1 { font-size: clamp(2.5rem,5.5vw,5.2rem); }
body.bf-tech-dark .technology-opening p:not(.eyebrow) { color: var(--muted); max-width: 60ch; font-size: 1.0625rem; }
body.bf-tech-dark .technology-opening figure { min-width: 0; margin: 0; border: 1px solid var(--line); }
body.bf-tech-dark .technology-opening img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
body.bf-tech-dark .button {
  background: #f5f7fa; color: #0b0e12; border: 1px solid #f5f7fa;
  border-radius: 2px; font-weight: 600; min-height: 48px;
  transition: background-color .16s ease,border-color .16s ease;
}
body.bf-tech-dark .button:hover { background: #dbe4ef; border-color: #dbe4ef; color: #0b0e12; }
body.bf-tech-dark .button.light { background: transparent; color: var(--ink); border-color: #8190a2; }
/* Exact existing card selector; retain all nine current links and descriptions. */
body.bf-tech-dark .solution-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
body.bf-tech-dark .solution-grid>a {
  min-width: 0; display: flex; flex-direction: column; gap: .5rem;
  padding: 28px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--tech-surface); transition: background-color .16s ease,border-color .16s ease;
}
body.bf-tech-dark .solution-grid>a:hover { background: var(--tech-raised); border-color: #8190a2; }
body.bf-tech-dark .solution-grid h3 { font-size: 1.5rem; line-height: 1.2; margin: 8px 0 12px; }
body.bf-tech-dark .solution-grid>a>span:last-child { margin-top: auto; color: var(--ink); }
body.bf-tech-dark :is(.requirements,.callout,.careers-entry,.process,.specialist) {
  background: var(--tech-surface); color: var(--ink); border-block: 1px solid var(--line);
}
body.bf-tech-dark :is(.process p,.process h3,.specialist p,.careers-entry p) { color: var(--muted); }
body.bf-tech-dark :is(.requirements li,.detail-section li) { margin-bottom: .85rem; }
body.bf-tech-dark .detail-section>p { max-width: 78ch; }
body.bf-tech-dark .detail-section>ul { max-width: 85ch; padding-left: 1.25rem; }
body.bf-tech-dark :is(.detail-section p a,.detail-section li a,.resource-links a) {
  text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px;
}
body.bf-tech-dark :is(.advisory-stages article,.supplier-grid article,.detail-section details) { border-color: var(--line); }
body.bf-tech-dark summary { color: var(--ink); }
body.bf-tech-dark summary:after { color: var(--muted); }
/* Provider logos stay on white plates: don't invert third-party branding. */
body.bf-tech-dark .logo-grid>a { background: #fff; border: 1px solid #fff; border-radius: 3px; }
body.bf-tech-dark .logo-grid img { filter: none; mix-blend-mode: normal; }
body.bf-tech-dark .supplier-grid img { background: #fff; filter: none; }
body.bf-tech-dark .provider-wordmark { color: #202820; }
/* Preserve every form field, handler, consent control and status element. */
body.bf-tech-dark form label { color: var(--ink); }
body.bf-tech-dark :is(input,select,textarea) {
  background: #10161e; color: var(--ink); border: 1px solid #8190a2;
  border-radius: 2px; color-scheme: dark;
}
body.bf-tech-dark :is(input,textarea)::placeholder { color: #a9b5c5; opacity: 1; }
body.bf-tech-dark .bfg-scoping { background: var(--tech-surface); color: var(--ink); border-color: var(--line); }
body.bf-tech-dark .bfg-scoping textarea { background: #10161e; color: var(--ink); }
body.bf-tech-dark .form-status { color: #dcf8e4; background: #153423; }
body.bf-tech-dark .form-status.error { color: #ffe8e2; background: #4a251f; }
body.bf-tech-dark .verification { background: var(--tech-surface); color: var(--ink); border-color: var(--line); }
body.bf-tech-dark footer { background: #080b0f; color: var(--muted); border-top: 1px solid var(--line); }
body.bf-tech-dark .footer-brand { color: var(--ink); }
body.bf-tech-dark footer>.small { color: var(--muted); }
@media(max-width:1100px) { body.bf-tech-dark>header { gap: 12px; } }
@media(max-width:800px) {
  body.bf-tech-dark .technology-opening { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  body.bf-tech-dark .technology-opening figure { margin: 0; }
  body.bf-tech-dark .technology-opening img { height: auto; max-height: 420px; }
  body.bf-tech-dark nav { background: var(--tech-surface); font-size: .9375rem; }
  body.bf-tech-dark .menu { color: var(--ink); }
  body.bf-tech-dark .solution-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  body.bf-tech-dark .solution-grid { grid-template-columns: minmax(0,1fr); }
  body.bf-tech-dark .solution-grid>a { padding: 24px; }
  body.bf-tech-dark .technology-opening h1 { font-size: clamp(2.25rem,10vw,3.25rem); }
  body.bf-tech-dark .technology-opening p:not(.eyebrow) { font-size: 1rem; }
  body.bf-tech-dark .technology-opening .button { width: 100%; }
  body.bf-tech-dark .header-call { font-size: .6875rem; }
}
@media(prefers-reduced-motion:reduce) {
  body.bf-tech-dark :is(.button,.solution-grid>a) { transition: none; }
}

/* Modern components — 6 November 2026. Preserve original routes and controls. */
body.bf-tech-dark { --tech-accent:#3ee0c2; --tech-surface:#111b20; --tech-raised:#17282d; --line:#2b3e46; overflow-wrap:normal; }
body.bf-tech-dark main { overflow-wrap:normal; }
body.bf-tech-dark .section { max-width:1280px; padding-block:90px; }
body.bf-tech-dark .page-intro { max-width:1280px; padding-block:80px 48px; }
body.bf-tech-dark .eyebrow { color:var(--tech-accent); letter-spacing:.17em; }
body.bf-tech-dark .button { border-radius:8px; padding:15px 20px; background:var(--tech-accent); border-color:var(--tech-accent); color:#06231e; box-shadow:0 6px 20px #0003; transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease; }
body.bf-tech-dark .button:hover { background:#79efda; border-color:#79efda; color:#06231e; transform:translateY(-2px); box-shadow:0 10px 24px #0005; }
body.bf-tech-dark .button.light { color:var(--tech-accent); background:transparent; border-color:#3ee0c280; box-shadow:none; }
body.bf-tech-dark .header-call { background:var(--tech-accent); color:#06231e; border:1px solid var(--tech-accent); border-radius:8px; font-weight:600; }
body.bf-tech-dark .technology-opening { max-width:1280px; margin:auto; padding:92px 5%; gap:5%; background:radial-gradient(ellipse at 75% 25%,#3ee0c20b,transparent 65%),linear-gradient(135deg,#10191f,#0b0e12 70%); }
body.bf-tech-dark .technology-opening h1 { font-size:clamp(46px,5.4vw,72px); letter-spacing:-.045em; line-height:1.06; }
body.bf-tech-dark .technology-opening em { color:var(--tech-accent); }
body.bf-tech-dark .technology-opening figure { border-radius:20px; overflow:hidden; box-shadow:0 24px 65px #0007; border:1px solid #3b525c; }
body.bf-tech-dark .technology-opening img { aspect-ratio:4/4.1; object-fit:cover; }
body.bf-tech-dark .technology-opening .button { margin:12px 8px 0 0; min-height:54px; }
body.bf-tech-dark .solution-grid { gap:22px; }
body.bf-tech-dark .solution-grid>a { border-radius:12px; border:1px solid #30444d; background:var(--tech-surface); padding:28px; min-height:300px; box-shadow:0 12px 32px #0003; transition:transform .18s ease,background-color .18s ease,border-color .18s ease; }
body.bf-tech-dark .solution-grid>a:hover { background:var(--tech-raised); border-color:#3ee0c28c; transform:translateY(-4px); }
body.bf-tech-dark .solution-grid>a>span:last-child { color:var(--tech-accent); font-size:14px; font-weight:600; }
body.bf-tech-dark .solution-grid h3 { font-size:26px; }
body.bf-tech-dark .tech-process { counter-reset:process; }
body.bf-tech-dark .tech-process .three>article { counter-increment:process; background:var(--tech-surface); border:1px solid #30444d; border-radius:12px; padding:28px; box-shadow:0 12px 32px #0003; }
body.bf-tech-dark .tech-process .three>article::before { content:'0' counter(process); display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:#3ee0c21a; color:var(--tech-accent); font-weight:700; margin-bottom:24px; }
body.bf-tech-dark :is(.requirements,.callout,.careers-entry) { border-radius:16px; max-width:1152px; margin-inline:auto; padding:56px 40px; }
body.bf-tech-dark .advisory-stages article { background:var(--tech-surface); padding:28px; border:1px solid #30444d; border-radius:12px; }
body.bf-tech-dark .text-link { color:var(--tech-accent); border-color:#3ee0c26b; }
body.bf-tech-dark .detail-section a { color:var(--tech-accent); }
body.bf-tech-dark .logo-grid { grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:16px; }
body.bf-tech-dark .logo-grid>a { background:#111b20; border:1px solid #30444d; border-radius:12px; padding:14px; min-height:106px; overflow:hidden; }
body.bf-tech-dark .logo-grid img { background:#fff; border-radius:6px; padding:10px; width:100%; height:64px; }
body.bf-tech-dark .logo-grid .provider-wordmark { display:block; white-space:nowrap; overflow-wrap:normal; word-break:normal; min-height:64px; width:100%; line-height:64px; padding:0 8px; background:#fff; border-radius:6px; font-size:clamp(16px,1.7vw,22px); letter-spacing:-.05em; color:#202820; }
body.bf-tech-dark .provider-wordmark strong { display:inline; white-space:nowrap; font-weight:400; }
body.bf-tech-dark .trigger-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
body.bf-tech-dark .trigger-grid article { background:var(--tech-surface); border:1px solid #30444d; border-left:3px solid var(--tech-accent); padding:24px; border-radius:12px; }
body.bf-tech-dark .trigger-grid p { margin:0; color:var(--ink); }
body.bf-tech-dark .tech-solution-visual { max-width:1152px; margin:0 auto 24px; padding:0; }
body.bf-tech-dark .tech-solution-visual img { width:100%; height:auto; border-radius:16px; border:1px solid #30444d; }
body.bf-tech-dark .tech-solution-visual figcaption { color:var(--muted); font-size:12px; margin-top:12px; }
body.bf-tech-dark .verification,body.bf-tech-dark .bfg-scoping { border-radius:12px; }
body.bf-tech-dark :is(input,select,textarea) { border-radius:8px; }
@media(max-width:1000px) { body.bf-tech-dark .technology-opening { grid-template-columns:1fr; } body.bf-tech-dark .technology-opening img { aspect-ratio:16/9; max-height:420px; } }
@media(max-width:600px) { body.bf-tech-dark .section { padding-block:56px; } body.bf-tech-dark .page-intro { padding-block:48px 32px; } body.bf-tech-dark .technology-opening { padding:52px 5%; } body.bf-tech-dark .technology-opening h1 { font-size:clamp(38px,10vw,48px); } body.bf-tech-dark .technology-opening .button { width:100%; margin-right:0; } body.bf-tech-dark .logo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } body.bf-tech-dark .logo-grid>a { padding:10px; } body.bf-tech-dark .logo-grid .provider-wordmark { font-size:18px; padding:0 2px; } body.bf-tech-dark .trigger-grid { grid-template-columns:1fr; } body.bf-tech-dark :is(.requirements,.callout,.careers-entry) { border-radius:12px; margin-inline:5%; padding:32px 24px; } body.bf-tech-dark .tech-solution-visual { margin-inline:5%; } body.bf-tech-dark .solution-grid>a { min-height:0; } }
@media(prefers-reduced-motion:reduce) { body.bf-tech-dark :is(.button,.solution-grid>a) { transition:none; transform:none; } }
