/* ============================================================
   TOKENS · BRAINY NEURALS
   ============================================================ */
:root {
  --ink: #0A0A0B;
  --ink-2: #1A1A1D;
  --ink-3: #2A2A2E;
  --paper: #FFFFFF;
  --paper-2: #F4F4F2;
  --paper-3: #E8E8E4;
  --bone: #FAFAF8;
  --line: rgba(10,10,11,0.14);
  --line-soft: rgba(10,10,11,0.08);
  --line-dark: rgba(244,239,230,0.14);
  --muted: rgba(10,10,11,0.58);
  --muted-dark: rgba(244,239,230,0.62);

  --blue: #0655FF;
  --blue-2: #0444CC;
  --blue-tint: #DCE5FF;
  --blue-deep: #03257A;
  --signal: #B5FF3C;
  --rust: #C2410C;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --r-xl: 22px;

  --container: 1320px;
  --gutter: 32px;

  --t1: cubic-bezier(.2,.7,.2,1);
  --t2: cubic-bezier(.7,0,.3,1);
}

/* ============================================================
   BASE / RESET
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: var(--paper); }

.mono  { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; }
.serif { font-family: "IBM Plex Serif", "Times New Roman", serif; font-weight: 400; font-style: italic; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r); z-index: 9999; }
.skip:focus { left: 16px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.dark { background: var(--ink); color: var(--bone); }
.dark a { color: var(--bone); }

.section-marker {
  display: flex; align-items: center; gap: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}
.section-marker .rule { flex: 1; height: 1px; background: var(--line); max-width: 240px; }
.section-marker .count { color: var(--ink); }
.dark .section-marker { color: var(--muted-dark); }
.dark .section-marker .rule { background: var(--line-dark); }
.dark .section-marker .count { color: var(--bone); }

.h-display {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.h-display em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; letter-spacing: -0.02em; }

.h-section {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.h-section em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; letter-spacing: -0.015em; }

.h-card {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 820px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.dark .lede { color: var(--bone); }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-dark); }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* in-prose links */
.prose-link {
  color: inherit;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .15s var(--t1), border-color .15s var(--t1);
}
.prose-link:hover { color: var(--blue); border-color: var(--blue); }
.dark .prose-link { border-bottom-color: var(--line-dark); }
.dark .prose-link:hover { color: var(--blue-tint); border-color: var(--blue-tint); }

/* ============================================================
   COMPONENTS · BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  min-height: 44px;
  transition: transform .2s var(--t1), background .2s var(--t1), color .2s var(--t1), border-color .2s var(--t1);
}
.btn .arr { transition: transform .25s var(--t1); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost { color: var(--bone); border-color: var(--line-dark); }
.dark .btn-ghost:hover { border-color: var(--bone); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--ink); color: #fff; }

/* ============================================================
   COMPONENTS · NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14.5px; color: var(--ink); padding: 8px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s var(--t1);
}
.nav-link:hover { background: rgba(10,10,11,0.06); }
.nav-link .caret { font-size: 10px; opacity: .5; }
.nav-link.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.nav-mono .pulse { width: 6px; height: 6px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow: 0 0 0 0 rgba(22,163,74,.5);} 70%{box-shadow: 0 0 0 8px rgba(22,163,74,0);} 100%{box-shadow: 0 0 0 0 rgba(22,163,74,0);} }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line);
  background: var(--paper);
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-mono { display: none; }
  .nav-burger { display: inline-flex; }
}
.mobile-nav {
  display: none;
  position: fixed; inset: 64px 0 0 0;
  background: var(--paper);
  z-index: 49;
  padding: 32px var(--gutter);
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 12px;
  border-radius: 8px;
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:hover { background: var(--bone); }

/* ============================================================
   §1 HERO
   ============================================================ */
.hero { padding: 56px 0 88px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.02em;
  background: var(--bone);
  margin-bottom: 30px;
}
.hero-eyebrow .badge {
  background: var(--ink); color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 999px;
}
.hero h1 { margin-bottom: 28px; }
.hero h1 .blue { color: var(--blue); font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; letter-spacing: -0.018em; }
.hero h1 em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; letter-spacing: -0.018em; }
.hero-sub {
  font-size: clamp(16.5px, 1.15vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: 36px;
}
.hero-sub .muted { color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* — Signature: ENGAGEMENT LEDGER panel (right of hero) — */
.ledger-panel {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid var(--ink-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10,10,11,0.35), 0 2px 6px rgba(10,10,11,0.06);
}
.ledger-panel::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,85,255,0.10), transparent 30%),
    radial-gradient(120% 60% at 100% 0%, rgba(6,85,255,0.18), transparent 50%);
}
.lp-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-dark);
  position: relative;
}
.lp-head .dots { display: inline-flex; gap: 6px; }
.lp-head .dots span { width: 8px; height: 8px; border-radius: 50%; }
.lp-head .dots span:nth-child(1) { background: #5C5C66; }
.lp-head .dots span:nth-child(2) { background: #3B3B42; }
.lp-head .dots span:nth-child(3) { background: #2A2A2E; }
.lp-title {
  position: relative;
  color: var(--bone);
  margin-top: 14px;
  font-size: 13px; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.lp-title .sig {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(181,255,60,.6);
  animation: pulse-sig 2s infinite;
}
@keyframes pulse-sig { 0%{box-shadow: 0 0 0 0 rgba(181,255,60,.5);} 70%{box-shadow: 0 0 0 8px rgba(181,255,60,0);} 100%{box-shadow: 0 0 0 0 rgba(181,255,60,0);} }
.lp-rule { height: 1px; background: var(--line-dark); margin: 14px 0 0; position: relative; }

.lp-stages {
  position: relative;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  row-gap: 0;
}
.lp-stage {
  display: contents;
}
.lp-stage > .ix {
  font-size: 11px; color: var(--muted-dark);
  padding: 16px 8px 16px 0;
  align-self: center;
}
.lp-stage > .nm {
  padding: 16px 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: -0.005em;
  position: relative;
  border-bottom: 1px solid var(--line-dark);
}
.lp-stage > .ix { border-bottom: 1px solid var(--line-dark); }
.lp-stage > .tm { border-bottom: 1px solid var(--line-dark); }
.lp-stage:last-child > .nm,
.lp-stage:last-child > .ix,
.lp-stage:last-child > .tm { border-bottom: 0; }
.lp-stage > .nm .sub {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--muted-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}
.lp-stage > .tm {
  align-self: center;
  font-size: 11px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
  text-align: right;
}
.lp-stage.live > .nm { color: var(--bone); }
.lp-stage.live > .nm::before {
  content: "";
  position: absolute;
  left: -22px; top: 50%;
  width: 6px; height: 6px;
  background: var(--blue);
  transform: translateY(-50%);
  border-radius: 1px;
}
.lp-stage.live > .tm { color: var(--bone); }

.lp-handoff {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.lp-handoff .label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-dark);
}
.lp-handoff .value {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px; color: var(--bone); font-weight: 500;
  margin-left: auto;
}
.lp-handoff .value em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; color: var(--signal); }
.lp-foot {
  position: relative;
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.lp-foot .ok { color: var(--signal); }

/* proof metrics — 6-item grid below hero */
.proof-band {
  margin-top: 56px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.proof-item { display: flex; flex-direction: column; gap: 8px; }
.proof-v {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.proof-v .plus { color: var(--blue); font-size: 0.66em; font-style: italic; }
.proof-v.mono {
  font-family: "IBM Plex Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.proof-v.mono::before {
  content: ""; width: 6px; height: 6px; background: var(--blue); display: inline-block; flex-shrink: 0;
}
.proof-l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .proof-band { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (max-width: 540px) {
  .proof-band { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* ============================================================
   §2 CRISIS — dark band, signature 75% treatment
   ============================================================ */
.crisis { padding: 120px 0; }
.crisis .wrap { position: relative; }
.crisis::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 75%);
  opacity: 0.6;
}
.crisis-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: end; margin-bottom: 64px; }
.crisis-head h2 { color: var(--bone); margin: 0; }
.crisis-head h2 .pct {
  font-style: italic;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--bone);
  position: relative;
  display: inline-block;
}
.crisis-head h2 .pct::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.5em;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 100%);
  z-index: -1;
  opacity: 0.35;
  border-radius: 2px;
}
.scale-meter {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 22px;
  background: rgba(255,255,255,0.02);
}
.scale-meter .lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 16px;
}
.scale-bars {
  display: grid;
  grid-template-columns: repeat(40, 1fr);
  gap: 2px;
}
.scale-bars i {
  display: block; height: 28px;
  background: var(--ink-3);
  border-radius: 1px;
  transition: background .8s var(--t1);
}
.scale-bars i.fail { background: var(--blue); }
.scale-bars i.scale { background: var(--bone); }
.scale-legend {
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted-dark);
}
.scale-legend .blue { color: var(--blue-tint); }
.scale-legend .bone { color: var(--bone); }

.crisis-prose {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.crisis-prose p {
  color: var(--muted-dark);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}
.crisis-prose .lead {
  color: var(--bone);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.crisis-prose .lead::before {
  content: ""; width: 8px; height: 8px; background: var(--blue);
  display: inline-block;
}
.crisis-prose .col strong { color: var(--bone); font-weight: 500; }
@media (max-width: 980px) {
  .crisis-head { grid-template-columns: 1fr; gap: 32px; }
  .crisis-prose { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   §3 SERVICES — ledger
   ============================================================ */
.svc-intro {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 920px;
  margin: 0 0 56px;
}
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: 80px 1.1fr 2.2fr 140px;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background .25s var(--t1);
}
.svc-row::before {
  content: "";
  position: absolute; inset: -1px -16px;
  background: var(--bone);
  opacity: 0;
  transition: opacity .25s var(--t1);
  z-index: -1;
  border-radius: 10px;
}
.svc-row:hover::before { opacity: 1; }
.svc-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 6px;
}
.svc-num .of { color: var(--muted); }
.svc-title h3 {
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.svc-title .meta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.svc-title .meta .star { font-size: 9px; }
.svc-title .meta.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.svc-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.svc-desc p { margin: 0 0 10px; }
.svc-desc p:last-child { margin-bottom: 0; }
.svc-link {
  justify-self: end;
  padding-top: 6px;
}
.svc-link a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.svc-link a:hover { color: var(--blue); border-color: var(--blue); }
.svc-row:hover .svc-link .arr { transform: translateX(3px); }
.svc-link .arr { display: inline-block; transition: transform .25s var(--t1); }
@media (max-width: 980px) {
  .svc-row { grid-template-columns: 60px 1fr; gap: 14px 20px; row-gap: 14px; padding: 28px 0; }
  .svc-desc { grid-column: 2 / -1; }
  .svc-link { grid-column: 2 / -1; justify-self: start; padding-top: 0; }
}

/* ============================================================
   §4 WHY — differentiator bento
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.why-card .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.why-card .num .tag {
  background: var(--blue); color: #fff;
  padding: 3px 8px; border-radius: 4px;
  font-size: 10px; letter-spacing: 0.05em;
}
.why-card h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
  text-wrap: balance;
}
.why-card h3 em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; }
.why-card h3 .blue { color: var(--blue); font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; }
.why-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
}
.why-card.feat {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink-3);
  overflow: hidden;
}
.why-card.feat::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(6,85,255,0.16), transparent 60%);
  pointer-events: none;
}
.why-card.feat > * { position: relative; z-index: 1; }
.why-card.feat .num { color: var(--muted-dark); }
.why-card.feat p { color: var(--muted-dark); }
.why-card.feat h3 .blue { color: var(--blue-tint); }
.why-card.feat .portrait {
  margin-top: auto;
  display: flex; gap: 16px; align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.why-card.feat .portrait img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--line-dark);
}
.why-card.feat .portrait .who { display: flex; flex-direction: column; gap: 2px; }
.why-card.feat .portrait .nm { font-size: 14.5px; font-weight: 500; color: var(--bone); }
.why-card.feat .portrait .cred {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.why-card.feat .portrait .cred .blue { color: var(--signal); }

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
@media (max-width: 980px) {
  .span-8, .span-7, .span-6, .span-5, .span-4 { grid-column: span 12; }
}

.why-card .name-link {
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  font-weight: 500;
}

/* ============================================================
   §5 INDUSTRIES — table → mobile cards
   ============================================================ */
.ind-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ind-table thead th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: left;
  padding: 18px 16px 18px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}
.ind-table tbody td {
  padding: 24px 16px 24px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.ind-table tbody tr:last-child td { border-bottom: 0; }
.ind-table tbody td:first-child {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-right: 24px;
  width: 18%;
}
.ind-table tbody td:nth-child(2) { width: 22%; }
.ind-table tbody td:nth-child(3) { width: 18%; color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 12.5px; letter-spacing: 0.02em; }
.ind-table tbody td:nth-child(4) { width: 26%; }
.ind-table tbody td:nth-child(5) { width: 16%; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.02em; }
.ind-table tbody td:nth-child(4) em { font-style: italic; font-family: "IBM Plex Serif", serif; color: var(--ink); font-weight: 400; }
@media (max-width: 980px) {
  .ind-table, .ind-table thead, .ind-table tbody, .ind-table tr, .ind-table td { display: block; width: 100%; }
  .ind-table thead { display: none; }
  .ind-table tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bone);
    padding: 24px;
    margin-bottom: 16px;
  }
  .ind-table tbody td {
    border: 0;
    padding: 0 0 12px 0;
    width: 100% !important;
  }
  .ind-table tbody td:first-child {
    font-size: 22px;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .ind-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .ind-table tbody td:first-child::before { display: none; }
}

/* ============================================================
   §6 ENGAGEMENT MODELS — table
   ============================================================ */
.eng-table {
  width: 100%;
  border-collapse: collapse;
}
.eng-table thead th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: left;
  padding: 18px 16px 18px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}
.eng-table tbody td {
  padding: 28px 16px 28px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.eng-table tbody td:first-child {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  width: 20%;
  padding-right: 24px;
}
.eng-table tbody td:first-child a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.eng-table tbody td:first-child a:hover { color: var(--blue); border-color: var(--blue); }
.eng-table tbody td:nth-child(2) { width: 22%; }
.eng-table tbody td:nth-child(3) { width: 30%; }
.eng-table tbody td:nth-child(4) {
  width: 12%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.eng-table tbody td:nth-child(5) {
  width: 16%;
  color: var(--ink);
  font-size: 14px;
}
.eng-table tbody tr.featured td { background: var(--bone); }
.eng-table tbody tr.featured td:first-child::after {
  content: "RECOMMENDED";
  display: block;
  margin-top: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--blue);
}

@media (max-width: 980px) {
  .eng-table, .eng-table thead, .eng-table tbody, .eng-table tr, .eng-table td { display: block; width: 100%; }
  .eng-table thead { display: none; }
  .eng-table tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    margin-bottom: 16px;
    background: var(--bone);
  }
  .eng-table tbody td {
    border: 0;
    padding: 0 0 12px 0;
    width: 100% !important;
  }
  .eng-table tbody td:first-child {
    font-size: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
  }
  .eng-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .eng-table tbody td:first-child::before { display: none; }
}

/* ============================================================
   §7 CASE STUDIES
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case-card {
  background: var(--bone);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: background .2s var(--t1);
}
.case-card:hover { background: #fff; }
.case-card.featured {
  grid-row: span 2;
  background: var(--ink);
  color: var(--bone);
  padding: 40px;
}
.case-card.featured:hover { background: var(--ink-2); }
.case-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.case-tag .sq { width: 8px; height: 8px; background: var(--blue); display: inline-block; }
.case-card.featured .case-tag { color: var(--muted-dark); }
.case-card.featured .case-tag .sq { background: var(--signal); }
.case-headline {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.case-headline em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; }
.case-card.featured .case-headline { font-size: clamp(28px, 2.6vw, 40px); }
.case-card .case-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.case-card.featured .case-body { color: var(--muted-dark); font-size: 15.5px; }
.case-card .case-body p { margin: 0 0 10px; }
.case-card .case-body p:last-child { margin: 0; }
.case-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.case-card.featured .case-foot { border-top-color: var(--line-dark); color: var(--muted-dark); }
.case-foot .stat { color: var(--ink); }
.case-card.featured .case-foot .stat { color: var(--bone); }
@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .case-card.featured { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; }
  .case-card.featured { grid-column: auto; }
}

/* ============================================================
   §8 COMPARISON — 3-column columnar layout (BN highlighted)
   ============================================================ */
.cmp-wrap {
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cmp-col {
  position: relative;
  padding: 0;
}
.cmp-col.label-col {
  border-right: 1px solid var(--line);
}
.cmp-col.bn {
  background: var(--ink);
  color: var(--bone);
  margin-top: -32px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px -30px rgba(10,10,11,0.4);
}
.cmp-col.bn::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(6,85,255,0.18), transparent 60%);
  pointer-events: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.cmp-col + .cmp-col:not(.bn) { border-right: 1px solid var(--line); }
.cmp-col:nth-child(2) { border-right: 1px solid var(--line); }
.cmp-col:last-child { border-right: 0; }

.cmp-head {
  padding: 28px 22px 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cmp-col.bn .cmp-head { border-bottom-color: var(--line-dark); }
.cmp-col.label-col .cmp-head {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 28px 16px 24px 0;
}
.cmp-head .name {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cmp-col.bn .cmp-head .name { color: var(--bone); }
.cmp-head .sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.cmp-col.bn .cmp-head .sub { color: var(--signal); }
.cmp-col.bn .cmp-head .sub::before {
  content: "● ";
  color: var(--signal);
}
.cmp-row {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  min-height: 92px;
  display: flex; align-items: center;
}
.cmp-col.label-col .cmp-row {
  padding: 18px 16px 18px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 500;
  min-height: 92px;
}
.cmp-col.bn .cmp-row {
  color: var(--bone);
  border-bottom-color: var(--line-dark);
}
.cmp-col.bn .cmp-row em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; color: var(--signal); }
.cmp-row.last { border-bottom: 0; }

@media (max-width: 1080px) {
  .cmp-wrap {
    grid-template-columns: 1fr;
    border: 0;
    gap: 16px;
  }
  .cmp-col.label-col { display: none; }
  .cmp-col {
    border: 1px solid var(--line) !important;
    border-radius: var(--r-lg);
    background: var(--bone);
  }
  .cmp-col.bn {
    margin-top: 0;
    border-radius: var(--r-lg) !important;
  }
  .cmp-row {
    display: block;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
  }
  .cmp-col.bn .cmp-row { border-bottom-color: var(--line-dark); }
  .cmp-row::before {
    content: attr(data-label);
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .cmp-col.bn .cmp-row::before { color: var(--muted-dark); }
}

/* ============================================================
   §9 FAQ
   ============================================================ */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.faq-side .h-section { margin-bottom: 20px; }
.faq-side .lede { margin-bottom: 24px; }
.faq-side .promise {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--bone);
  display: flex; flex-direction: column; gap: 10px;
}
.faq-side .promise .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.faq-side .promise .text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  gap: 16px;
  align-items: start;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
}
.faq-q .qi {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
  letter-spacing: 0.04em;
}
.faq-q .qt {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
  text-wrap: balance;
}
.faq-q .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  align-self: start;
  transition: background .2s var(--t1), border-color .2s var(--t1);
}
.faq-q .ic::before,
.faq-q .ic::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s var(--t1), background .2s var(--t1);
}
.faq-q .ic::before { width: 10px; height: 1.5px; }
.faq-q .ic::after { width: 1.5px; height: 10px; }
.faq-item[aria-expanded="true"] .faq-q .ic {
  background: var(--ink);
  border-color: var(--ink);
}
.faq-item[aria-expanded="true"] .faq-q .ic::before,
.faq-item[aria-expanded="true"] .faq-q .ic::after { background: var(--bone); }
.faq-item[aria-expanded="true"] .faq-q .ic::after { transform: scaleY(0); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--t1);
}
.faq-a > div { overflow: hidden; }
.faq-item[aria-expanded="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a .inner {
  padding: 0 0 28px 56px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 760px;
}
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-a .inner { padding-left: 56px; }
}

/* ============================================================
   §10 RELATED — table
   ============================================================ */
.rel-table { width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rel-table thead th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: left;
  padding: 16px 16px 16px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.rel-table tbody td {
  padding: 20px 16px 20px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.rel-table tbody tr:last-child td { border-bottom: 0; }
.rel-table tbody tr { transition: background .2s var(--t1); }
.rel-table tbody tr:hover { background: var(--bone); }
.rel-table tbody td:first-child {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  width: 26%;
  padding-right: 24px;
}
.rel-table tbody td:first-child a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
}
.rel-table tbody td:first-child a:hover { color: var(--blue); }
.rel-table tbody td:first-child .arr { color: var(--muted); transition: transform .2s var(--t1), color .2s var(--t1); display: inline-block; }
.rel-table tbody tr:hover td:first-child .arr { transform: translateX(4px); color: var(--blue); }
.rel-table tbody td:nth-child(2) {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  width: 28%;
  letter-spacing: 0.01em;
}
@media (max-width: 800px) {
  .rel-table thead th:nth-child(2) { display: none; }
  .rel-table tbody td:nth-child(2) { display: none; }
  .rel-table tbody td:first-child { width: 40%; }
}

/* ============================================================
   §11 FINAL CTA — atmospheric blue
   ============================================================ */
.final-cta {
  position: relative;
  padding: 140px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(55% 70% at 50% 25%, rgba(122,160,255,0.42), transparent 70%),
    radial-gradient(80% 60% at 100% 100%, rgba(2,20,90,0.55), transparent 65%),
    radial-gradient(80% 60% at 0% 100%, rgba(2,20,90,0.55), transparent 65%),
    linear-gradient(180deg, #0A5CFF 0%, #0633B5 70%, #021E78 100%);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: -2px; pointer-events: none;
  background-image:
    radial-gradient(circle at center, rgba(255,255,255,0.18) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 70%);
  opacity: 0.5;
}
.final-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 80px, rgba(255,255,255,0.04) 80px 81px);
  mask-image: radial-gradient(circle at 50% 50%, transparent 5%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 5%, black 25%, transparent 85%);
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
  color: #fff;
}
.final-cta h2 em {
  font-style: italic;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
}
.final-cta .subtext {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.82);
}
.final-cta .ctas {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.final-cta .secondary-row {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
}
.final-cta .secondary-row a {
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.28);
  padding-bottom: 2px;
  transition: color .2s var(--t1), border-color .2s var(--t1);
}
.final-cta .secondary-row a:hover { color: #fff; border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--bone); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.9fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-logo { height: 48px; filter: brightness(0) invert(1); opacity: 0.96; }
.footer-brand .desc { color: var(--muted-dark); font-size: 14px; line-height: 1.6; margin: 22px 0 0; max-width: 360px; }
.footer-col h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--bone); font-size: 14px; transition: color .15s var(--t1); }
.footer-col a:hover { color: #7AA0FF; }
.footer-sub h4:not(:first-child) { margin-top: 28px; }

.social-row { display: inline-flex; gap: 8px; margin-top: 18px; }
.social-row .social {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  transition: background .2s var(--t1), border-color .2s var(--t1);
}
.social-row .social:hover { background: rgba(255,255,255,0.10); border-color: var(--bone); }
.social-row .social img { width: 16px; height: 16px; filter: invert(1) brightness(1.2); opacity: 0.82; transition: opacity .2s var(--t1); }
.social-row .social:hover img { opacity: 1; }

.footer-bot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 28px;
  gap: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.footer-bot > :first-child { justify-self: start; }
.footer-bot > :nth-child(2) { justify-self: center; }
.footer-bot > :last-child { justify-self: end; }
.footer-bot .legal { display: flex; gap: 24px; }
.footer-bot a:hover { color: var(--bone); }
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bot { grid-template-columns: 1fr; justify-items: start !important; gap: 18px; }
  .footer-bot > * { justify-self: start !important; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   STICKY CTA + BACK-TO-TOP
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 100px);
  z-index: 60;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 18px 40px -10px rgba(10,10,11,0.4);
  transition: transform .35s var(--t1), opacity .25s var(--t1);
  opacity: 0;
  pointer-events: none;
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-cta .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(181,255,60,.6); animation: pulse-sig 2s infinite; }
.sticky-cta a.cta-btn { background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.sticky-cta a.cta-btn:hover { background: var(--blue-2); }
@media (max-width: 540px) {
  .sticky-cta { font-size: 12.5px; padding: 6px 6px 6px 14px; }
}
.btt {
  position: fixed; bottom: 20px; right: 20px;
  width: 44px; height: 44px;
  background: var(--ink); color: var(--bone);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 60;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s var(--t1), transform .3s var(--t1);
  box-shadow: 0 8px 24px rgba(10,10,11,0.25);
}
.btt.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.btt:hover { background: var(--ink-2); }

/* ============================================================
   MOTION · fade-up on entry
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--t1), transform .7s var(--t1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   CALENDLY MODAL (placeholder scaffolding)
   ============================================================ */
.cal-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.cal-modal.open { display: flex; }
.cal-dialog {
  background: var(--paper);
  border-radius: var(--r-lg);
  max-width: 640px; width: 100%;
  padding: 32px;
  position: relative;
  max-height: 90vh; overflow: auto;
}
.cal-dialog .close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 18px;
}
.cal-embed {
  margin-top: 18px;
  min-height: 320px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  display: grid; place-items: center;
  text-align: center;
  padding: 32px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.cal-dialog h3 { margin: 0 0 6px; font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.cal-dialog p { margin: 0; color: var(--muted); font-size: 14.5px; }

.section.dark .h-section {
    color: var(--bone) !important;
}
.dark .ind-table thead th {
    color: var(--muted-dark) !important;
    border-bottom-color: var(--line-dark)!important;
}
.dark .ind-table tbody td:first-child {
    color: var(--bone) !important;
    border-bottom-color: var(--line-dark)!important;

}
.dark .ind-table tbody td {
    color: var(--muted-dark)!important;
    border-bottom-color: var(--line-dark)!
    important;
}
.dark .ind-table tbody td:nth-child(4) em {
    color: var(--signal) !important;
}
/* Sane typography color inheritance across dark context layers */
.final-cta h2,
.crisis.dark h2,
.section.dark h2,
.case-card.featured .case-headline {
    color: var(--bone) !important;
}

.case-card.featured .case-body p {
    color: rgba(255, 255, 255, 0.8) !important;
}