/* ============================================================
   BRAINY NEURALS — EDGE AI DEVELOPMENT
   Single-file inline stylesheet, organized for WordPress migration.
   Sections: 1) Tokens · 2) Base & reset · 3) Typography · 4) Layout
            5) Buttons · 6) Header & nav · 7) Hero · 8) Manifesto INK
            9) Hardware matrix · 10) Inference optimization
            11) Edge AI applications · 12) Industry blocks
            13) Case studies · 14) Methodology timeline rail
            15) Why BN INK · 16) Cloud-vs-OTS-vs-BN comparison
            17) FAQ accordion · 18) Related grid · 19) Final CTA INK
            20) Sticky CTA + BTT · 21) Footer · 22) Motion · 23) Utilities
   ============================================================ */

/* ----- 1) Tokens ----- */
:root {
  --ink: #0A0E1A;
  --ink-soft: #1A1F2E;
  --paper: #FFFFFF;
  --paper-2: #FAFAF7;
  --primary: #0655FF;
  --primary-tint: rgba(6, 85, 255, 0.04);
  --primary-tint-strong: rgba(6, 85, 255, 0.10);
  --signal: #B5FF3C;
  --signal-soft: rgba(181, 255, 60, 0.18);
  --text: #0A0E1A;
  --text-mute: #4B5563;
  --text-faint: #6B7280;
  --rule: #E5E7EB;
  --rule-strong: #D1D5DB;
  --rule-ink: rgba(255, 255, 255, 0.12);
  --rule-ink-strong: rgba(255, 255, 255, 0.20);

  --f-sans: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-serif: 'IBM Plex Serif', Georgia, serif;

  --container: 1280px;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-y: clamp(72px, 9vw, 120px);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 280ms;
  --dur-slow: 480ms;
}

/* ----- 2) Base & reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Skip link */
.skip {
  position: absolute; top: -40px; left: 8px; padding: 10px 14px;
  background: var(--ink); color: #fff; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 600; font-size: 14px;
}
.skip:focus { top: 8px; outline: 2px solid var(--signal); }

/* Selection */
::selection { background: var(--primary); color: #fff; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----- 3) Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--f-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(28px, 3.8vw, 48px); line-height: 1.08; }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; font-weight: 600; }
h4 { font-size: clamp(17px, 1.6vw, 19px); font-weight: 600; }
p { margin: 0 0 1em; }
.em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.mono {
  font-family: var(--f-mono);
  font-size: 0.78em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----- 4) Layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section { position: relative; }
.band { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.band-paper { background: var(--paper); }
.band-paper-2 { background: var(--paper-2); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink h1, .band-ink h2, .band-ink h3, .band-ink h4 { color: #fff; }
.band-ink p { color: rgba(255, 255, 255, 0.78); }

/* Section header pattern */
.sec-head { max-width: 880px; margin: 0 0 56px; }
.sec-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.band-ink .sec-head .kicker { color: var(--signal); }
.sec-head .kicker::before {
  content: ""; width: 24px; height: 1px;
  background: currentColor; display: inline-block;
}
.sec-head .lede { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); color: var(--text-mute); max-width: 760px; }
.band-ink .sec-head .lede { color: rgba(255, 255, 255, 0.72); }

/* ----- 5) Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; min-height: 48px;
  font-family: var(--f-sans); font-weight: 500; font-size: 15px;
  letter-spacing: -0.005em; line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0445D6; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text); border-color: var(--rule-strong);
}
.btn-secondary:hover { background: var(--text); color: #fff; border-color: var(--text); }
.band-ink .btn-secondary { color: #fff; border-color: var(--rule-ink-strong); }
.band-ink .btn-secondary:hover { background: #fff; color: var(--ink); }
.btn-signal {
  background: var(--signal); color: var(--ink);
  font-weight: 600;
}
.btn-signal:hover { background: #C4FF55; transform: translateY(-1px); }

/* Inline link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.link-arrow:hover { border-color: var(--primary); text-decoration: none; }
.band-ink .link-arrow { color: var(--signal); }

/* ----- 6) Header & nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 28px; width: auto; }
.brand .brand-name {
  font-weight: 600; letter-spacing: -0.01em; color: var(--text);
}
.nav-primary { display: flex; align-items: center; gap: 6px; }
.nav-primary a {
  color: var(--text); font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-primary a:hover { color: var(--primary); text-decoration: none; background: var(--paper-2); }
.nav-primary a[aria-current="page"] { color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 14px; }
.shipped-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px;
  background: var(--paper-2); border: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute);
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 0 rgba(6, 85, 255, 0.5);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 85, 255, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(6, 85, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 85, 255, 0); }
}

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text);
  transition: transform var(--dur) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 72px 0 0; z-index: 70;
  background: var(--paper);
  padding: 24px var(--pad-x);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 18px; font-weight: 500;
  color: var(--text); border-bottom: 1px solid var(--rule);
}
.mobile-menu .btn { width: 100%; margin-top: 20px; }

@media (max-width: 980px) {
  .nav-primary, .shipped-pill { display: none; }
  .burger { display: inline-flex; }
}

/* ----- 7) Hero ----- */
.hero {
  position: relative;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 10vw, 120px);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(6, 85, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 85, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at top right, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary);
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: currentColor; display: inline-block;
}
.hero h1 { max-width: 16ch; margin-bottom: 28px; }
.hero h1 .em { color: var(--primary); }
.hero p.lede {
  max-width: 64ch; font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-mute); margin-bottom: 44px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.proof-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.proof-item {
  display: flex; flex-direction: column; gap: 6px;
}
.proof-num {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600; color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.proof-num .num-suffix { color: var(--primary); }
.proof-label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute);
  line-height: 1.4;
}
@media (max-width: 880px) {
  .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

/* Hero hardware schematic mini-SVG */
.hero-hw-strip {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px; margin-bottom: 0;
  padding: 14px 18px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  max-width: 720px;
}
.hero-hw-strip .hw-label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); white-space: nowrap;
}
.hero-hw-strip .hw-icons {
  display: flex; gap: 14px; align-items: center; flex: 1; flex-wrap: wrap;
}
.hero-hw-strip .hw-icons svg { width: 28px; height: 28px; opacity: 0.85; }
.hero-hw-strip .hw-name {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--text-mute); white-space: nowrap;
}

/* ----- 8) Manifesto INK (S2) ----- */
.manifesto h2 .em { color: var(--signal); }
.manifesto-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; margin-top: 56px;
  align-items: start;
}
.manifesto-body p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.manifesto-body p + p { margin-top: 1.2em; }
.manifesto-body .col-2 p:first-child { margin-top: 0; }
@media (max-width: 880px) {
  .manifesto-body { grid-template-columns: 1fr; gap: 0; }
  .manifesto-body .col-2 { margin-top: 1.2em; }
}

/* Latency comparison mini-diagram */
.latency-vs {
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.latency-vs .lv-block { }
.latency-vs .lv-tag {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); margin-bottom: 10px;
}
.latency-vs .lv-num {
  font-size: 32px; font-weight: 600; letter-spacing: -0.02em;
  color: #fff;
}
.latency-vs .lv-num.signal { color: var(--signal); }
.latency-vs .lv-detail {
  margin-top: 8px;
  font-family: var(--f-mono); font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 660px) {
  .latency-vs { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- 9) Hardware matrix (S3) ----- */
.hw-platforms .sec-head { margin-bottom: 36px; }
.hw-intro { max-width: 880px; margin-bottom: 36px; color: var(--text-mute); font-size: clamp(15px, 1.2vw, 17px); }

/* Hardware schematic header strip — signature design moment */
.hw-schematic {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0;
  padding: 36px 28px;
  margin-bottom: 0;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.hw-schematic .hw-node {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  flex: 1; min-width: 0;
  text-align: center;
}
.hw-schematic .hw-node svg {
  width: 64px; height: 48px;
  color: var(--text);
}
.hw-schematic .hw-node .hw-cap {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}
.hw-schematic .hw-divider {
  width: 1px; height: 60px;
  background: var(--rule);
  flex: 0 0 1px;
}
@media (max-width: 880px) {
  .hw-schematic { padding: 24px 14px; gap: 8px; }
  .hw-schematic .hw-node svg { width: 44px; height: 36px; }
  .hw-schematic .hw-node .hw-cap { font-size: 9px; }
  .hw-schematic .hw-divider { height: 40px; }
}

/* Hardware matrix table — desktop */
.hw-table-wrap {
  border: 1px solid var(--rule);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.hw-table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
}
.hw-table thead th {
  background: var(--ink); color: #fff;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 18px;
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid var(--rule-ink);
}
.hw-table tbody td {
  padding: 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
.hw-table tbody tr:last-child td { border-bottom: 0; }
.hw-table tbody tr:hover { background: var(--paper-2); }
.hw-table .plat-name {
  font-weight: 600; color: var(--text);
  display: flex; flex-direction: column; gap: 6px;
}
.hw-table .new-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  background: var(--signal); color: var(--ink);
  border-radius: 99px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 2px;
}
.hw-table .perf-cell { font-family: var(--f-mono); font-size: 13.5px; color: var(--text); }
.hw-table .cost-cell { font-weight: 500; color: var(--text); white-space: nowrap; }
.hw-table .stack-cell { font-family: var(--f-mono); font-size: 13px; color: var(--text-mute); }

/* Hardware matrix — mobile card stack */
.hw-cards { display: none; margin-top: -1px; }
.hw-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 0;
  padding: 24px 20px;
}
.hw-card:first-child { border-top: 1px solid var(--rule); }
.hw-card:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.hw-card h3 {
  font-size: 19px; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.hw-card-row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 10px 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--rule);
  font-size: 14px;
  line-height: 1.5;
}
.hw-card-row:first-of-type { border-top: 0; }
.hw-card-row .hw-card-label {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 1px;
}
.hw-card-row .hw-card-val { color: var(--text); }
.hw-card-row .hw-card-val.mono { font-family: var(--f-mono); font-size: 13px; }

@media (max-width: 980px) {
  .hw-table-wrap { display: none; }
  .hw-cards { display: block; }
}

/* ----- 10) Inference optimization (S4) ----- */
.opt-subs {
  display: grid; gap: 0;
  margin-top: 16px;
}
.opt-sub {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.opt-sub:last-child { border-bottom: 1px solid var(--rule); }
.opt-sub-meta { position: sticky; top: 100px; align-self: start; }
.opt-sub-num {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.opt-sub-meta h3 { margin-bottom: 0; }
.opt-sub-body p {
  font-size: 16.5px; line-height: 1.7;
  color: var(--text-mute);
}
@media (max-width: 880px) {
  .opt-sub { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .opt-sub-meta { position: static; }
}

/* ----- 11) Edge AI applications (S5) ----- */
.app-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 8px;
}
.app-card {
  padding: 40px 36px;
  border: 1px solid var(--rule);
  background: #fff;
  margin-top: -1px; margin-left: -1px;
  position: relative;
}
.app-card h3 { margin-bottom: 18px; }
.app-card .app-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.app-card .app-tag::before {
  content: ""; width: 18px; height: 1px;
  background: currentColor; display: inline-block;
}
.app-card p { color: var(--text-mute); font-size: 15.5px; line-height: 1.65; margin: 0; }
@media (max-width: 880px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 32px 24px; }
}

/* ----- 12) Industry blocks (S6) ----- */
.ind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.ind-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.ind-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10, 14, 26, 0.06);
  border-color: var(--rule-strong);
}
.ind-card .ind-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.ind-card h3 {
  font-size: 20px; margin-bottom: 14px;
}
.ind-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-mute); margin: 0; }
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .ind-grid { grid-template-columns: 1fr; } }

/* ----- 13) Case studies (S7) ----- */
.case-cards {
  display: grid; gap: 24px;
  margin-top: 8px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px 36px 0;
  overflow: hidden;
}
.case-card-head {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px;
  margin-bottom: 24px;
  align-items: start;
}
.case-card-head .case-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
  display: block;
}
.case-card h3 {
  font-size: clamp(20px, 2.1vw, 24px);
  margin-bottom: 0;
  line-height: 1.2;
}
.case-card .case-metric {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 12px;
  background: var(--primary-tint);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  align-self: start;
}
.case-card .case-body {
  color: var(--text-mute);
  font-size: 16px; line-height: 1.7;
  margin: 0 0 28px;
}
.case-card .case-stack {
  display: flex; flex-direction: column; gap: 6px;
  margin: 0 -36px;
  padding: 18px 36px;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.case-card .case-stack .stack-label {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
}
.case-card .case-stack .stack-list {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}
@media (max-width: 720px) {
  .case-card { padding: 28px 24px 0; }
  .case-card .case-stack { margin: 0 -24px; padding: 16px 24px; }
  .case-card-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ----- 14) Methodology timeline rail (S8) — signature design moment ----- */
.method-rail-wrap {
  margin-top: 8px;
  position: relative;
}
.method-rail {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 28px;
  margin: 0 calc(-1 * var(--pad-x));
  padding-left: var(--pad-x); padding-right: var(--pad-x);
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
}
.method-rail::-webkit-scrollbar { height: 6px; }
.method-rail::-webkit-scrollbar-track { background: transparent; }
.method-rail::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }

.method-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.method-card .method-phase {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.method-card .method-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  font-family: var(--f-mono); font-size: 14px; font-weight: 600;
  color: var(--primary);
  align-self: flex-start;
}
.method-card.ongoing .method-num {
  border-color: var(--text);
  color: var(--text);
}
.method-card h3 {
  font-size: 19px; margin: 0;
  line-height: 1.25;
}
.method-card .method-body {
  font-size: 14.5px; line-height: 1.65;
  color: var(--text-mute);
  margin: 0;
  flex: 1;
}
.method-card .method-week {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px dashed var(--rule);
}

.method-hint {
  display: none;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 14px;
}
@media (max-width: 880px) {
  .method-hint { display: block; }
  .method-card { flex: 0 0 84vw; }
}

/* ----- 15) Why BN INK (S9) ----- */
.why-bn {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 16px;
}
.why-bn-item {
  padding: 32px 0;
  border-top: 1px solid var(--rule-ink);
  display: flex; flex-direction: column; gap: 14px;
}
.why-bn-item:first-child, .why-bn-item:nth-child(2) { border-top: 0; padding-top: 0; }
.why-bn-item .why-num {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal);
}
.why-bn-item h3 {
  font-size: 22px;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
.why-bn-item p {
  font-size: 15.5px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.why-bn-item a.link-arrow {
  font-size: 14px;
  margin-top: 4px;
}
@media (max-width: 880px) {
  .why-bn { grid-template-columns: 1fr; gap: 0; }
  .why-bn-item { border-top: 1px solid var(--rule-ink); padding: 32px 0; }
  .why-bn-item:nth-child(2) { border-top: 1px solid var(--rule-ink); padding-top: 32px; }
  .why-bn-item:first-child { border-top: 0; padding-top: 0; }
}

/* ----- 16) Cloud vs OTS vs BN comparison (S10) ----- */
.compare-wrap {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  margin-top: 16px;
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
}
.compare-table thead th {
  background: var(--paper-2);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 18px 20px;
  text-align: left;
  color: var(--text-mute);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  vertical-align: bottom;
}
.compare-table thead th.col-bn {
  background: var(--primary);
  color: #fff;
  position: relative;
}
.compare-table thead th.col-bn .recommended-tag {
  display: block;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 6px;
  font-weight: 600;
}
.compare-table thead th.col-bn .col-bn-name {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.compare-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.5;
  color: var(--text-mute);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-table tbody td.col-bn-cell {
  background: var(--primary-tint);
  color: var(--text);
  font-weight: 500;
}
.compare-table tbody tr:hover td:not(.col-bn-cell) { background: var(--paper-2); }
.compare-table tbody tr:hover td.col-bn-cell { background: var(--primary-tint-strong); }

/* Compare — mobile card stack */
.compare-cards { display: none; margin-top: 16px; }
.compare-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-bottom: 16px;
}
.compare-card.is-bn {
  border-color: var(--primary);
  background: var(--primary-tint);
  position: relative;
}
.compare-card.is-bn::before {
  content: "Recommended";
  position: absolute; top: -10px; left: 22px;
  padding: 3px 10px;
  background: var(--signal); color: var(--ink);
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  border-radius: 99px;
}
.compare-card h3 {
  font-size: 19px;
  margin-bottom: 18px;
  color: var(--text);
}
.compare-card.is-bn h3 { color: var(--primary); }
.compare-row {
  display: grid; grid-template-columns: 1fr;
  padding: 12px 0;
  border-top: 1px dashed var(--rule);
  font-size: 14px;
  line-height: 1.5;
}
.compare-row:first-of-type { border-top: 0; padding-top: 4px; }
.compare-row .compare-label {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.compare-row .compare-val { color: var(--text); }

@media (max-width: 980px) {
  .compare-wrap { display: none; }
  .compare-cards { display: block; }
}

/* ----- 17) FAQ accordion (S11) ----- */
.faq-list {
  border-top: 1px solid var(--rule);
  margin-top: 16px;
  max-width: 880px;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.faq-q:hover { color: var(--primary); }
.faq-q .faq-toggle {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  flex: 0 0 28px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq-q .faq-toggle::before, .faq-q .faq-toggle::after {
  content: ""; position: absolute; width: 11px; height: 1.5px;
  background: var(--text-mute);
  transition: transform var(--dur) var(--ease);
}
.faq-q .faq-toggle::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-toggle { border-color: var(--primary); }
.faq-q[aria-expanded="true"] .faq-toggle::before { background: var(--primary); }
.faq-q[aria-expanded="true"] .faq-toggle::after { transform: rotate(0deg); background: var(--primary); }
.faq-toggle { position: relative; }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease);
}
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 15.5px; line-height: 1.7;
  color: var(--text-mute);
  max-width: 76ch;
}
.faq-q[aria-expanded="true"] + .faq-a { max-height: 800px; }

/* ----- 18) Related grid (S12) ----- */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.related-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(6, 85, 255, 0.08);
  text-decoration: none;
}
.related-card .related-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
}
.related-card h3 {
  font-size: 18px;
  margin: 0;
  color: var(--text);
}
.related-card p {
  font-size: 14px; line-height: 1.55;
  color: var(--text-mute);
  margin: 0;
}
.related-card .related-cta {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary);
}
@media (max-width: 980px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .related-grid { grid-template-columns: 1fr; } }

/* ----- 19) Final CTA INK (S13) ----- */
.final-cta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 16px;
}
.final-cta h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  margin-bottom: 24px;
}
.final-cta h2 .em { color: var(--signal); }
.final-cta .final-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
}
.final-cta .final-primary { margin-top: 8px; }
.final-cta .final-links {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--rule-ink);
}
.final-cta .final-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--rule-ink);
  transition: color var(--dur) var(--ease);
  font-size: 14.5px;
}
.final-cta .final-link:hover { color: var(--signal); text-decoration: none; }
.final-cta .final-link .final-link-label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.final-cta .final-link .final-link-val {
  flex: 1;
  text-align: right;
  font-family: var(--f-mono); font-size: 13px;
}

.calendly-slot {
  background: var(--ink-soft);
  border: 1px solid var(--rule-ink);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start;
}
.calendly-slot .cal-eyebrow {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal);
}
.calendly-slot h3 {
  font-size: 22px;
  color: #fff;
}
.calendly-slot .cal-meta {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--rule-ink);
}
.calendly-slot .cal-meta-row {
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--f-mono); font-size: 12px;
}
.calendly-slot .cal-meta-row .cal-key { color: rgba(255, 255, 255, 0.55); }
.calendly-slot .cal-meta-row .cal-val { color: #fff; }
.calendly-slot .trust-pills {
  display: flex; gap: 14px;
  align-items: center;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-ink);
  width: 100%;
}
.calendly-slot .trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule-ink-strong);
  border-radius: 99px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 880px) {
  .final-cta { grid-template-columns: 1fr; gap: 36px; }
}

/* ----- 20) Sticky CTA + BTT ----- */
.sticky-cta {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 60;
  display: none;
  align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--ink); color: #fff;
  border-radius: 99px;
  box-shadow: 0 8px 32px rgba(10, 14, 26, 0.18);
  font-size: 13.5px; font-weight: 500;
  transition: transform var(--dur) var(--ease);
}
.sticky-cta:hover { transform: translateY(-2px); text-decoration: none; color: #fff; }
.sticky-cta .pulse-dot { background: var(--signal); box-shadow: 0 0 0 0 rgba(181, 255, 60, 0.4); }
.sticky-cta[data-visible="true"] { display: inline-flex; }

.btt {
  position: fixed; bottom: 20px; left: 20px;
  z-index: 60;
  width: 44px; height: 44px;
  display: none;
  align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(10, 14, 26, 0.08);
}
.btt:hover { background: var(--paper-2); }
.btt[data-visible="true"] { display: inline-flex; }
.btt svg { width: 18px; height: 18px; color: var(--text); }

@media (max-width: 660px) {
  .sticky-cta { bottom: 14px; right: 14px; padding: 10px 14px; font-size: 12.5px; }
  .btt { bottom: 14px; left: 14px; width: 40px; height: 40px; }
}

/* ----- 21) Footer ----- */
.site-footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}
.site-footer h4 {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .footer-logo img { height: 28px; filter: brightness(0) invert(1); }
.footer-brand .footer-logo span { color: #fff; font-weight: 600; }
.footer-brand p {
  font-size: 14px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 36ch;
  margin: 0 0 18px;
}
.footer-brand .footer-creds {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.footer-brand .footer-cred {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule-ink-strong);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.75);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--signal); text-decoration: none; }
.footer-col a[aria-current="page"] { color: #fff; }

.footer-base {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-ink);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
}
.footer-social {
  display: flex; align-items: center; gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-ink-strong);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
}
.footer-social a:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.footer-social img { width: 14px; height: 14px; filter: brightness(0) invert(1); opacity: 0.85; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 660px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ----- 22) Motion ----- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .method-rail { scroll-snap-type: none; }
}

/* ----- 23) Utilities ----- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.no-wrap { white-space: nowrap; }