/* ============================================================
   TOKENS — Brainy Neurals design system
   ============================================================ */
: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
   ============================================================ */
*,*::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; transition-duration: 0.001ms !important; animation-iteration-count: 1 !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; }
p { margin: 0 0 16px; }
::selection { background: var(--ink); color: var(--paper); }
.serif { font-family: "IBM Plex Serif", "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; }

.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); position: relative; }
.dark::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.55;
}
.dark .wrap { position: relative; }

.h-display {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.h-display em, .h-section em, .h-card em, .ev em {
  font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; letter-spacing: -0.015em;
}
.h-section {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.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(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 820px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.dark .lede { color: var(--bone); }
p.muted { color: var(--muted); }
.dark p.muted, .dark .muted { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--bone);
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow .sq { width: 6px; height: 6px; background: var(--blue); display: inline-block; }
.dark .eyebrow { background: rgba(255,255,255,0.04); border-color: var(--line-dark); color: var(--muted-dark); }
.dark .eyebrow .sq { background: var(--signal); }

.section-marker {
  display: flex; align-items: center; gap: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.section-marker .rule { flex: 1; height: 1px; background: var(--line); }
.section-marker .num { color: var(--ink); font-weight: 500; }
.dark .section-marker { color: var(--muted-dark); }
.dark .section-marker .num { color: var(--bone); }
.dark .section-marker .rule { background: var(--line-dark); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-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;
  transition: 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; }

/* ============================================================
   NAV
   ============================================================ */
.site-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.current { 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: inline-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-g 2s infinite; }
@keyframes pulse-g { 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; border-radius: 8px; border: 1px solid var(--line); align-items: center; justify-content: center; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-mono { display: none; }
  .nav-burger { display: inline-flex; }
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: #fff;
  padding: 12px 0 18px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ============================================================
   HERO (§1)
   ============================================================ */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(6,85,255,0.04), transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent {
  font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400;
  color: var(--blue); letter-spacing: -0.015em;
}
.hero-sub {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 36px;
}
.hero-sub .muted { color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 56px; }

/* Proof metrics row — static (no marquee for service page) */
.proof-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(10,10,11,0.04) 23px 24px),
    var(--paper);
}
.proof-cell {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.proof-cell:last-child { border-right: 0; }
.proof-cell .v {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.proof-cell .v .plus { color: var(--blue); font-size: 0.65em; font-style: italic; }
.proof-cell .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;
  white-space: nowrap;
}
.proof-cell .v.mono::before {
  content: ""; width: 6px; height: 6px; background: var(--blue); display: inline-block;
  flex-shrink: 0;
}
.proof-cell .l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.35;
}
@media (max-width: 1024px) {
  .proof-row { grid-template-columns: repeat(3, 1fr); }
  .proof-cell:nth-child(3n) { border-right: 0; }
  .proof-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .proof-row { grid-template-columns: repeat(2, 1fr); }
  .proof-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .proof-cell:nth-child(2n) { border-right: 0; }
  .proof-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .proof-cell:nth-last-child(-n+1):nth-child(odd) { border-right: 0; }
}

/* Hero right — agent reasoning specimen card */
.agent-spec {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--ink-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10,10,11,0.35), 0 2px 6px rgba(10,10,11,0.06);
}
.agent-spec::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.15), transparent 50%);
}
.agent-spec > * { position: relative; }
.agent-spec .ah {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 18px;
}
.agent-spec .ah .live { color: var(--signal); display: inline-flex; align-items: center; gap: 6px; }
.agent-spec .ah .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(181,255,60,.6); animation: pulse-s 2s infinite; }
@keyframes pulse-s { 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);} }
.agent-spec .ah .dots { display: inline-flex; gap: 6px; }
.agent-spec .ah .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.agent-spec .ah .dots i:nth-child(1) { background: #5C5C66; }
.agent-spec .ah .dots i:nth-child(2) { background: #3B3B42; }
.agent-spec .as-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--bone);
}
.agent-spec .as-sub { font-size: 11.5px; color: var(--muted-dark); letter-spacing: 0.04em; margin-bottom: 18px; }
.agent-spec .as-rule { height: 1px; background: var(--line-dark); margin: 0 0 14px; }

.agent-step { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; }
.agent-step .ix { font-size: 11px; color: var(--muted-dark); }
.agent-step .ev { font-size: 12px; color: var(--bone); }
.agent-step .val { font-size: 11.5px; color: var(--signal); }
.agent-step .val.blue { color: #7AA0FF; }
.agent-step .val.warn { color: #FFB089; }

.agent-meter {
  margin-top: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 12px;
}
.agent-meter .ml { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-dark); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.agent-meter .bars { display: grid; grid-template-columns: repeat(36, 1fr); gap: 2px; }
.agent-meter .bars i { display: block; height: 16px; background: var(--ink-3); border-radius: 1px; }
.agent-meter .bars i.on { background: var(--blue); }
.agent-meter .bars i.sig { background: var(--signal); }

.agent-foot {
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.agent-foot .ok { color: var(--signal); }

/* ============================================================
   §2 INFLECTION POINT
   ============================================================ */
.inflection { padding: 120px 0; }
.inflection-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 96px;
}
@media (max-width: 1024px) { .inflection-grid { grid-template-columns: 1fr; gap: 48px; } }
.inflection-aside {
  position: sticky; top: 90px; align-self: start;
}
.inflection-aside .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 24px;
}
.inflection-aside .h-section { color: var(--bone); }
.inflection-aside .h-section em { color: var(--blue-tint); }
.inflection-stats {
  display: flex; flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.inflection-stats li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.inflection-stats li .v {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
  white-space: nowrap;
}
.inflection-stats li .v .plus { color: var(--blue-tint); font-size: 0.7em; }
.inflection-stats li .l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
  line-height: 1.4;
}
.inflection-body p {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.62;
  color: var(--bone);
  margin: 0 0 28px;
  max-width: 760px;
}
.inflection-body p .muted { color: var(--muted-dark); }
.inflection-body .pull {
  margin: 36px 0;
  padding: 32px 36px;
  border-left: 2px solid var(--blue);
  background: rgba(6,85,255,0.08);
  border-radius: 0 var(--r) var(--r) 0;
}
.inflection-body .pull q {
  display: block;
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--bone);
  quotes: "\201C" "\201D";
}
.inflection-body .pull q::before { content: open-quote; color: var(--blue-tint); margin-right: 2px; }
.inflection-body .pull q::after { content: close-quote; color: var(--blue-tint); }
.inflection-body .pull cite {
  display: block;
  margin-top: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.inflection-body .pull cite::before { content: "— "; }

.cmp-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 24px 0;
}
.cmp-cell .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 10px;
}
.cmp-cell .term {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px; font-weight: 500; letter-spacing: -0.015em;
  color: var(--bone);
  margin-bottom: 8px;
}
.cmp-cell .term .yr { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--blue-tint); font-weight: 400; margin-left: 8px; letter-spacing: 0.04em; }
.cmp-cell .gloss { font-size: 14px; line-height: 1.55; color: var(--muted-dark); margin: 0; }
@media (max-width: 640px) { .cmp-row { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   §3 SPECTRUM — signature design moment
   ============================================================ */
.spectrum { padding: 120px 0; }
.spectrum-intro { max-width: 880px; margin: 0 0 48px; }

/* Autonomy ribbon — the signature visual */
.autonomy-ribbon {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  margin: 0 0 56px;
  background: var(--bone);
  overflow: hidden;
}
.ar-head {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.ar-head .axis {
  flex: 1; display: flex; align-items: center; gap: 12px;
  font-family: "IBM Plex Mono", monospace;
}
.ar-head .axis .track {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--blue) 100%);
}
.ar-head .axis .end { color: var(--blue); font-weight: 500; }

.ar-row {
  display: grid;
  grid-template-columns: 64px 1fr 240px 220px;
  gap: 24px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  background: var(--bone);
  transition: background .2s var(--t1);
}
.ar-row:last-child { border-bottom: 0; }
.ar-row:hover { background: #fff; }
.ar-row .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; color: var(--muted); letter-spacing: 0.04em;
}
.ar-row .ix b { color: var(--ink); font-weight: 500; }
.ar-row .ttl {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.15;
}
.ar-row .ttl em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; color: var(--blue); }
.ar-row .ttl .one {
  display: block;
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
}
.ar-meter {
  display: flex; gap: 4px;
  align-items: center;
}
.ar-meter .cell {
  flex: 1; height: 28px;
  background: rgba(10,10,11,0.06);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.ar-meter .cell.on { background: var(--blue); border-color: var(--blue); }
.ar-meter .cell.partial { background: linear-gradient(90deg, var(--blue) 50%, rgba(10,10,11,0.06) 50%); border-color: var(--blue); }
.ar-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bone);
  white-space: nowrap;
  justify-self: end;
  align-self: center;
}
.ar-tag.low { background: #2A2A2E; }
.ar-tag.med-low { background: #1A1A1D; }
.ar-tag.med { background: var(--ink); }
.ar-tag.med-high { background: var(--blue-2); color: #fff; }
.ar-tag.high { background: var(--blue); color: #fff; }
@media (max-width: 900px) {
  .ar-row { grid-template-columns: 56px 1fr; row-gap: 14px; }
  .ar-row .ar-meter { grid-column: 1 / -1; }
  .ar-row .ar-tag { grid-column: 1 / -1; justify-self: start; }
}

/* Spectrum data table */
.spectrum-table-wrap {
  margin: 0 0 32px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.scroll-shell { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-shell::-webkit-scrollbar { height: 8px; }
.scroll-shell::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.spectrum-table, .compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 920px;
}
.spectrum-table th, .spectrum-table td,
.compare-table th, .compare-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.spectrum-table thead th, .compare-table thead th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  background: var(--bone);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.spectrum-table tbody td.type,
.compare-table tbody td.factor {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--bone);
  position: sticky; left: 0; z-index: 1;
  border-right: 1px solid var(--line);
  min-width: 200px;
}
.spectrum-table tbody td.type::before,
.compare-table tbody td.factor::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px;
  background: var(--blue);
  margin-right: 10px;
  vertical-align: middle;
}
.spectrum-table td b, .compare-table td b { font-weight: 600; color: var(--ink); }
.spectrum-table tbody tr:last-child td,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.complexity-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: rgba(10,10,11,0.06);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.complexity-pill.low { background: rgba(181,255,60,0.18); border-color: rgba(181,255,60,0.4); }
.complexity-pill.low-med { background: rgba(122,160,255,0.18); border-color: rgba(122,160,255,0.4); }
.complexity-pill.med { background: rgba(122,160,255,0.32); border-color: rgba(122,160,255,0.5); }
.complexity-pill.med-high { background: rgba(6,85,255,0.18); border-color: rgba(6,85,255,0.4); color: var(--blue); }
.complexity-pill.high { background: var(--blue); border-color: var(--blue); color: #fff; }

.spectrum-synthesis {
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.spectrum-synthesis::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: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 75%);
  opacity: 0.5;
}
.spectrum-synthesis > * { position: relative; }
.spectrum-synthesis .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-dark); margin-bottom: 14px;
}
.spectrum-synthesis p {
  margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55;
  color: var(--bone); max-width: 980px;
}
.spectrum-synthesis p em { color: var(--blue-tint); font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; }

/* ============================================================
   §4 SOLUTIONS WE BUILD
   ============================================================ */
.solutions { padding: 120px 0; background: var(--bone); }
.sol-head { max-width: 980px; margin: 0 0 56px; }
.sol-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sol-item {
  background: #fff;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 80px 1fr 320px;
  gap: 32px;
  align-items: start;
  transition: background .2s var(--t1);
  position: relative;
}
.sol-item:hover { background: var(--bone); }
.sol-item .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 8px;
}
.sol-item .ix b { color: var(--ink); font-weight: 500; }
.sol-body h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  text-wrap: balance;
}
.sol-body h3 em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; color: var(--blue); }
.sol-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 760px;
}
.sol-body p:last-of-type { margin-bottom: 0; }
.sol-body p strong { color: var(--ink); font-weight: 500; }
.sol-side {
  padding-top: 8px;
  display: flex; flex-direction: column; gap: 14px;
}
.sol-side .pill {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sol-side .pill .star { font-size: 11px; }
.sol-side .specs {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.sol-side .specs .sp {
  display: grid; grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
}
.sol-side .specs .sp .k { color: var(--muted); letter-spacing: 0.04em; }
.sol-side .specs .sp .v { color: var(--ink); font-weight: 500; }
@media (max-width: 1024px) {
  .sol-item { grid-template-columns: 64px 1fr; padding: 32px 28px; gap: 24px; }
  .sol-side { grid-column: 1 / -1; padding-top: 8px; }
}
@media (max-width: 540px) {
  .sol-item { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; }
  .sol-item .ix { padding-top: 0; }
}

/* ============================================================
   §5 TECH STACK
   ============================================================ */
.stack { padding: 120px 0; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stack-card {
  background: var(--bone);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: background .2s var(--t1);
  position: relative;
}
.stack-card:hover { background: #fff; }
.stack-card::after {
  content: "";
  position: absolute; right: 14px; bottom: 12px;
  width: 6px; height: 6px;
  border: 1px solid var(--line);
  border-left: 0; border-top: 0;
}
.stack-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.stack-head .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.stack-head h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0; flex: 1;
  line-height: 1.2;
}
.stack-items { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.stack-chip {
  display: inline-block;
  padding: 5px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  line-height: 1.3;
}
.stack-chip.note {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  white-space: normal;
  flex-basis: 100%;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 6px 10px;
}
@media (max-width: 980px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stack-grid { grid-template-columns: 1fr; } }

/* ============================================================
   §6 INDUSTRIES
   ============================================================ */
.industries { padding: 120px 0; background: var(--bone); }
.ind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ind-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: border-color .2s var(--t1);
}
.ind-card:hover { border-color: var(--ink); }
.ind-card.span-2 { grid-column: span 2; }
.ind-card .top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.ind-card .top h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0; line-height: 1.15;
}
.ind-card .top .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted);
}
.ind-card .top .ix b { color: var(--blue); font-weight: 500; }
.ind-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.ind-card .compliance {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 4px;
  padding: 6px 10px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 4px;
  align-self: flex-start;
}
.ind-card .compliance::before { content: ""; width: 5px; height: 5px; background: var(--blue); display: inline-block; }
@media (max-width: 900px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card.span-2 { grid-column: auto; }
}

/* ============================================================
   §7 CASE STUDIES
   ============================================================ */
.cases { padding: 120px 0; }
.case-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.case-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 64px 1fr 280px;
  gap: 32px;
  transition: background .2s var(--t1), border-color .2s var(--t1);
}
.case-card:hover { background: #fff; border-color: var(--ink); }
.case-card .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 4px;
}
.case-card .num b { color: var(--ink); font-weight: 500; }
.case-card .body h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 6px;
}
.case-card .body .domain {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.case-card .body .domain::before { content: ""; width: 6px; height: 6px; background: var(--blue); display: inline-block; }
.case-card .body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
}
.case-card .body p:last-of-type { margin: 0; }
.case-card .body strong { font-weight: 600; color: var(--ink); }
.case-side {
  display: flex; flex-direction: column;
  gap: 14px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.case-side .metric {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.case-side .metric b { color: var(--blue); font-style: normal; font-family: "IBM Plex Sans", sans-serif; font-weight: 500; }
.case-side .metric-l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted);
  margin-top: -6px;
}
.case-side .stack-line {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.case-side .stack-line .l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.case-side .stack-line .chips {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.case-side .stack-line .chips span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
@media (max-width: 1024px) {
  .case-card { grid-template-columns: 48px 1fr; gap: 20px; padding: 28px; }
  .case-side { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}

/* ============================================================
   §8 METHODOLOGY (timeline on ink band)
   ============================================================ */
.method { padding: 120px 0; }
.method-head { max-width: 880px; margin: 0 0 56px; }
.method-timeline {
  position: relative;
  padding-left: 32px;
}
.method-timeline::before {
  content: ""; position: absolute;
  left: 7px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 70%, var(--line-dark) 100%);
}
.method-phase {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 0 0 48px;
}
.method-phase:last-child { padding-bottom: 0; }
.method-phase::before {
  content: "";
  position: absolute;
  left: -32px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 1px var(--blue);
}
.method-phase.ongoing::before { background: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.method-phase .when {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
}
.method-phase .when .ph {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-tint);
  margin-bottom: 8px;
}
.method-phase.ongoing .when .ph { color: var(--signal); }
.method-phase .when h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 6px 0 0;
  color: var(--bone);
}
.method-phase .what p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--bone);
  margin: 0;
  max-width: 760px;
}
.method-phase.ongoing .what p { color: var(--muted-dark); }
@media (max-width: 900px) {
  .method-phase { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   §9 WHY (differentiators)
   ============================================================ */
.why { padding: 120px 0; background: var(--bone); }
.why-head { max-width: 880px; margin: 0 0 56px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: border-color .2s var(--t1);
}
.why-card:hover { border-color: var(--ink); }
.why-card .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.why-card .ix .badge {
  background: var(--blue);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.why-card h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.why-card h3 em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; color: var(--blue); }
.why-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.why-card.founder {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink-3);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
}
.why-card.founder p { color: var(--muted-dark); }
.why-card.founder h3 em { color: var(--blue-tint); }
.why-card.founder .ix { color: var(--muted-dark); }
.founder-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink-2) url("http://localhost/brainy/wp-content/uploads/2026/05/mitesh-patel.jpeg") center 18%/cover no-repeat;
  border: 1px solid var(--ink-3);
}
.founder-portrait .cap {
  position: absolute; bottom: 10px; left: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--bone);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 4px;
}
.founder-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 6px;
}
.cred-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  color: var(--bone);
  border-radius: 999px;
  font-size: 12.5px;
}
.cred-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.cred-pill.nv .dot { background: #76B900; }
.cred-pill.aws .dot { background: #FF9900; }
.cred-pill.ms .dot { background: #50E6FF; }
.cred-pill.up .dot { background: #14A800; }
.founder-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--bone);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: 6px;
}
.founder-link:hover { border-color: var(--bone); }
.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-12,.span-8,.span-7,.span-6,.span-5,.span-4 { grid-column: span 12; }
  .why-card.founder { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 240px; }
}

/* ============================================================
   §10 COMPETITIVE COMPARISON
   ============================================================ */
.compare { padding: 120px 0; }
.compare-head { max-width: 880px; margin: 0 0 48px; }
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.compare-table { min-width: 980px; }
.compare-table thead th { vertical-align: top; }
.compare-table thead th .vendor {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: none;
  font-weight: 500;
  margin-bottom: 4px;
}
.compare-table thead th .ex {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
  font-weight: 400;
}
.compare-table thead th.us {
  background: var(--ink);
  color: var(--bone);
}
.compare-table thead th.us .vendor { color: var(--bone); }
.compare-table thead th.us .vendor em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; color: var(--blue-tint); }
.compare-table thead th.us .ex { color: var(--muted-dark); }
.compare-table tbody td.us {
  background: rgba(6,85,255,0.04);
  color: var(--ink);
  border-left: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
}
.compare-table tbody td.us strong { color: var(--blue); font-weight: 600; }
.compare-table tbody tr:hover td:not(.factor) { background-color: var(--bone); }
.compare-table tbody tr:hover td.us { background: rgba(6,85,255,0.08); }
.compare-table tbody tr:last-child td.us { border-bottom: 1px solid var(--blue); }
.compare-table tbody tr:first-child td.us { border-top: 1px solid var(--blue); }

/* ============================================================
   §11 FAQ
   ============================================================ */
.faq { padding: 120px 0; background: var(--bone); }
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.faq-aside .section-marker { margin-bottom: 0; }
.faq-aside .h-section { margin-bottom: 18px; }
.faq-aside .lede { max-width: 380px; margin-bottom: 28px; }
.faq-aside .helper {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  gap: 16px;
  align-items: start;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .qi {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  padding-top: 3px;
}
.faq-item summary .qt {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}
.faq-item summary .qic {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  align-self: start;
  transition: background .2s var(--t1);
  flex-shrink: 0;
}
.faq-item summary .qic::before,
.faq-item summary .qic::after {
  content: ""; position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transition: transform .25s var(--t1), background .2s var(--t1);
}
.faq-item summary .qic::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item summary .qic::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] summary .qic { background: var(--ink); }
.faq-item[open] summary .qic::before,
.faq-item[open] summary .qic::after { background: var(--bone); }
.faq-item[open] summary .qic::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  padding: 0 0 28px 60px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 820px;
}
.faq-a p { margin: 0 0 14px; }
.faq-a p:last-child { margin: 0; }
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-a { padding-left: 60px; }
}

/* ============================================================
   §12 RELATED SERVICES
   ============================================================ */
.related { padding: 120px 0; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.rel-card {
  grid-column: span 4;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: background .2s var(--t1), border-color .2s var(--t1), transform .2s var(--t1);
  position: relative;
}
.rel-card:hover { background: #fff; border-color: var(--ink); }
.rel-card:hover .arr { transform: translateX(4px); }
.rel-card .rh {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted);
}
.rel-card .rh .url { color: var(--blue); }
.rel-card h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.rel-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.rel-card .go {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rel-card .arr { transition: transform .2s var(--t1); display: inline-block; }
.rel-card:nth-child(1) { grid-column: span 6; }
.rel-card:nth-child(2) { grid-column: span 6; }
@media (max-width: 980px) {
  .rel-card, .rel-card:nth-child(1), .rel-card:nth-child(2) { grid-column: span 6; }
}
@media (max-width: 600px) {
  .rel-card, .rel-card:nth-child(1), .rel-card:nth-child(2) { grid-column: span 12; }
}

/* ============================================================
   §13 FINAL CTA (atmospheric blue)
   ============================================================ */
.final-cta {
  position: relative;
  padding: 140px 0 120px;
  text-align: left;
  color: #fff;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(122,160,255,0.4), transparent 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(2,30,120,0.55), transparent 60%),
    linear-gradient(115deg, #0858FF 0%, #0A48E0 55%, #0334B8 100%);
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 50%, black, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 30% 50%, black, transparent 90%);
}
.final-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 70% 50%, transparent 0 90px, rgba(255,255,255,0.04) 90px 91px);
  mask-image: radial-gradient(circle at 70% 50%, transparent 10%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 70% 50%, transparent 10%, black 35%, transparent 90%);
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.final-cta h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  color: #fff;
  text-wrap: balance;
}
.final-cta h2 em { font-style: italic; font-family: "IBM Plex Serif", serif; font-weight: 400; color: rgba(255,255,255,0.86); }
.final-cta .sub {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  margin: 0 0 32px;
  max-width: 580px;
}
.final-cta .primary-action {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.final-cta .secondary {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.final-cta .secondary .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.final-cta .secondary-row {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.final-cta .secondary-row a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.36);
  padding-bottom: 2px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .2s var(--t1);
}
.final-cta .secondary-row a:hover { border-color: #fff; }
.final-cta .secondary-row .sep { color: rgba(255,255,255,0.4); }

.cal-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cal-card .ct-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.cal-card .ct-label::before { content: ""; width: 6px; height: 6px; background: var(--signal); border-radius: 50%; }
.cal-card h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #fff;
}
.cal-card p {
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 22px;
}
.cal-card .specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.cal-card .specs .sp {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.cal-card .specs .sp .k { display: block; color: rgba(255,255,255,0.62); text-transform: uppercase; margin-bottom: 4px; font-size: 10px; }
.cal-card .specs .sp .v { color: #fff; font-size: 13.5px; font-family: "IBM Plex Sans", sans-serif; letter-spacing: -0.005em; font-weight: 500; }
.cal-card .btn-white { width: 100%; justify-content: space-between; }

@media (max-width: 980px) {
  .final-cta-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .desc {
  color: var(--muted-dark);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 18px 0 24px;
  max-width: 420px;
}
.footer-brand .brand-logo { filter: brightness(0) invert(1); opacity: 0.95; height: 44px; }
.footer-creds {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.footer-creds .cp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--bone);
  background: rgba(255,255,255,0.04);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}
.footer-creds .cp .dot { width: 6px; height: 6px; border-radius: 50%; }
.footer-creds .cp.nv .dot { background: #76B900; }
.footer-creds .cp.iso .dot { background: #fff; }
.footer-creds .cp.aws .dot { background: #FF9900; }
.footer-creds .cp.ms .dot { background: #50E6FF; }

.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 18px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col a {
  color: var(--bone);
  font-size: 14px;
  transition: color .2s var(--t1);
}
.footer-col a:hover { color: #7AA0FF; }
.footer-sub h4 { margin-top: 28px; }

.footer-social {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
}
.footer-social .so {
  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);
}
.footer-social .so:hover { background: rgba(255,255,255,0.10); border-color: var(--bone); }
.footer-social .so img { width: 16px; height: 16px; filter: invert(1) brightness(1.2); opacity: 0.82; }
.footer-social .so:hover img { opacity: 1; }

.footer-bot {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.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; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   STICKY + BACK TO TOP
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 80px);
  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: 13.5px;
  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 .pd { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(181,255,60,.6); animation: pulse-s 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; font-size: 13px; min-height: 32px; }
.sticky-cta a.cta-btn:hover { background: var(--blue-2); }

.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 .6s var(--t1), transform .6s var(--t1); }
.fade-up.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
}

/* small util */
.nowrap { white-space: nowrap; }