/* =========================================================================
   bSecure theme: a distinct template layered over the shared system.
   Navy and blue, Plus Jakarta Sans, a horizontal chapter bar instead of the
   sidebar, outlined chapter numbers, banded sections and card-style calls.
   ========================================================================= */

body{background:#050a14}
.case-study.bs-theme{
  --bg:#050a14;--s1:#0a1222;--s2:#0e182b;--s3:#142036;--s4:#1c2a44;
  --line:rgba(125,182,255,.10);--line-2:rgba(125,182,255,.18);
  --ink:#f3f7ff;--ink-2:#cfdaee;--body:#8e9cb6;--mute:#5f6e88;--dim:#26344f;
  --sun:#2f8cff;--sun-2:#7db6ff;--sun-glow:rgba(47,140,255,.22);
  font-family:"Plus Jakarta Sans","IBM Plex Sans",system-ui,sans-serif;
  background:
    radial-gradient(60% 40% at 80% 0%,rgba(47,140,255,.16),transparent 70%),
    linear-gradient(rgba(125,182,255,.035) 1px,transparent 1px) 0 0/48px 48px,
    linear-gradient(90deg,rgba(125,182,255,.035) 1px,transparent 1px) 0 0/48px 48px,
    #050a14;
}
.bs-theme .cs-label,.bs-theme .cs-cap,.bs-theme .cs-sk,.bs-theme .bs-ev,.bs-theme .bs-tool{font-family:"JetBrains Mono","IBM Plex Mono",monospace}
.site-header .in{font-family:"Plus Jakarta Sans",sans-serif}

/* hero, stats and section navigation follow the shared layout (sidebar chapters) */
.bs-theme .cs-toc a[aria-current="true"]{border-left-color:var(--sun)}

/* ---------- chapter headers: outlined numeral + title ---------- */
.bs-theme .cs-section{position:relative;padding:40px 0 140px}
.bs-theme .cs-section:nth-of-type(even):before{content:"";position:absolute;inset:0 -100vmax;z-index:-1;background:linear-gradient(180deg,rgba(14,24,43,.55),rgba(14,24,43,0) 70%);border-top:1px solid var(--line)}
.bs-theme .cs-sk{display:flex;align-items:center;gap:14px;font-size:11px;letter-spacing:.14em;color:var(--sun-2);margin:0 0 18px}
.bs-theme .cs-sk:before{content:attr(data-n);font-family:"Plus Jakarta Sans",sans-serif;font-size:84px;font-weight:800;letter-spacing:-.05em;line-height:.8;color:transparent;-webkit-text-stroke:1.5px rgba(125,182,255,.45)}
.bs-theme .cs-h2{font-size:clamp(30px,3.8vw,48px);font-weight:800;letter-spacing:-.035em;line-height:1.06;max-width:820px}
.bs-theme .cs-h2 .w{color:#22314d}
.bs-theme .cs-h2 .w.is-lit{color:var(--ink)}
.bs-theme .cs-p{max-width:760px;font-size:16.5px}
.bs-theme .cs-p strong{color:#fff;background:linear-gradient(transparent 62%,rgba(47,140,255,.35) 62%)}
.bs-theme .cs-vis,.bs-theme .cs-block{max-width:none}
.bs-theme .cs-panel{border-color:var(--line-2);border-radius:24px;background:linear-gradient(180deg,rgba(14,24,43,.9),rgba(8,14,26,.9))}

/* ---------- decision cards replace the call block ---------- */
.bs-theme .cs-call{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:none;padding:0;border:0;background:none;margin-top:32px}
.bs-theme .cs-call dt{display:none}
.bs-theme .cs-call dd{position:relative;margin:0;padding:22px 24px 22px;border-radius:18px;border:1px solid var(--line-2);background:var(--s1);font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.bs-theme .cs-call dd:before{display:block;margin-bottom:8px;font-family:"JetBrains Mono",monospace;font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.bs-theme .cs-call dd:nth-of-type(1){border-color:rgba(47,140,255,.45);background:linear-gradient(160deg,rgba(47,140,255,.14),rgba(10,18,34,.9) 60%)}
.bs-theme .cs-call dd:nth-of-type(1):before{content:"Decision";color:var(--sun-2)}
.bs-theme .cs-call dd:nth-of-type(2):before{content:"Trade-off";color:#ffb648}

/* owners and thesis */
.bs-theme .cs-owners{max-width:none}
.bs-theme .cs-owner{border-radius:20px;border-color:var(--line-2);background:var(--s1)}
.bs-theme .cs-thesis{max-width:none;border:0;padding:44px 0 0;background:none}
.bs-theme .cs-thesis p{font-size:clamp(24px,2.8vw,34px);font-weight:700;letter-spacing:-.025em;line-height:1.25}
.bs-theme .cs-thesis em{font-style:normal;background:linear-gradient(100deg,#7db6ff,#2f8cff);-webkit-background-clip:text;background-clip:text;color:transparent}
.bs-theme .cs-rules,.bs-theme .cs-reflect{max-width:820px!important}
.bs-theme .cs-reflect{font-weight:500}

@media (max-width:980px){

}
@media (max-width:860px){
  .bs-theme .cs-sk:before{font-size:56px}
  .bs-theme .cs-call{grid-template-columns:1fr}
}