/* ==========================================================================
   Kindlebit AI â€” static stylesheet
   Ink + graphite base, ember accent, warm paper light surface.
   Bootstrap 5.2 provides grid/utilities; everything below is bespoke.
   ========================================================================== */

:root {
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --background: oklch(0.988 0.004 85);
  --foreground: oklch(0.19 0.012 60);
  --card: oklch(1 0 0);
  --secondary: oklch(0.955 0.008 80);
  --muted-foreground: oklch(0.505 0.014 62);
  --accent: oklch(0.948 0.02 60);
  --accent-foreground: oklch(0.28 0.05 45);
  --border: oklch(0.9 0.008 75);
  --input: oklch(0.9 0.008 75);
  --ring: oklch(0.62 0.15 48);
  --ink: oklch(0.185 0.012 62);
  --ink-raised: oklch(0.235 0.013 62);
  --ink-foreground: oklch(0.972 0.006 80);
  --ink-muted: oklch(0.735 0.011 75);
  --ink-border: oklch(0.34 0.012 62);
  --ember: #f38020;
  --ember-soft: #f38020;
  --shadow-card: 0 1px 2px oklch(0.19 0.012 60 / 0.04), 0 12px 32px -18px oklch(0.19 0.012 60 / 0.22);
  --shadow-lift: 0 2px 4px oklch(0.19 0.012 60 / 0.05), 0 28px 56px -28px oklch(0.19 0.012 60 / 0.28);
  --gradient-ember: linear-gradient(120deg, var(--ember), var(--ember-soft));
  --grid-line: oklch(0.19 0.012 60 / 0.06);
  --grid-line-ink: oklch(1 0 0 / 0.07);
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
}

/* ---------- Base ---------- */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "cv01", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin: 0;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

::selection {
  background: var(--ember);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */

.container-kb {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container-kb {
    padding-inline: 2rem;
  }
}

.section-y {
  padding-block: 4.5rem;
}

@media (min-width: 768px) {
  .section-y {
    padding-block: 7rem;
  }
}

.is-relative {
  position: relative;
}

.is-clipped {
  position: relative;
  overflow: hidden;
}

.bg-soft {
  background-color: color-mix(in oklab, var(--secondary) 40%, transparent);
}

.bg-soft-60 {
  background-color: color-mix(in oklab, var(--secondary) 60%, transparent);
}

.bg-ink {
  background-color: #143667;
}

.line-t {
  border-top: 1px solid var(--border);
}

.line-b {
  border-bottom: 1px solid var(--border);
}

.line-y {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.canvas-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-canvas {
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.grid-canvas-ink {
  background-image: linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px), linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.02);
  }
}
.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  background: var(--gradient-ember);
  pointer-events: none;
}

.glow--hero {
  left: -10rem;
  top: 80px;
  width: 36rem;
  height: 36rem;
  opacity: 0.12;
}

.glow--cta {
  right: -8rem;
  bottom: -12rem;
  width: 34rem;
  height: 34rem;
  opacity: 0.25;
  z-index: 99;
}
.right-sec-img img {
    width: 100%;
    /* animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; */
    border-radius: 10px;
}

.right-sec-img {
    width: 100%;
}
/* ---------- Spacing scale (0.25rem steps, Kindlebit scale) ---------- */

.kb-mt-1 { margin-top: 0.25rem; }
.kb-mt-15 { margin-top: 0.375rem; }
.kb-mt-2 { margin-top: 0.5rem; }
.kb-mt-25 { margin-top: 0.625rem; }
.kb-mt-3 { margin-top: 0.75rem; }
.kb-mt-4 { margin-top: 1rem; }
.kb-mt-5 { margin-top: 1.25rem; }
.kb-mt-6 { margin-top: 1.5rem; }
.kb-mt-7 { margin-top: 1.75rem; }
.kb-mt-8 { margin-top: 2rem; }
.kb-mt-9 { margin-top: 2.25rem; }
.kb-mt-10 { margin-top: 2.5rem; }
.kb-mt-12 { margin-top: 3rem; }
.kb-mt-14 { margin-top: 3.5rem; }
.kb-pt-4 { padding-top: 1rem; }
.kb-pt-5 { padding-top: 1.25rem; }
.kb-pt-6 { padding-top: 1.5rem; }
.kb-pt-7 { padding-top: 1.75rem; }

.kb-gap-2 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
.kb-gap-3 { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
.kb-gap-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }

.push-bottom {
  margin-top: auto;
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.eyebrow--ember {
  color: var(--ember);
}

.eyebrow--soft {
  color: #f38020;
}

.eyebrow-dash {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.display-1 {
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.display-1 span {
    color: #f38020;
}
.display-2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.032em;
}

.display-3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.026em;
}

.lead-kb {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .lead-kb {
    font-size: 1.1875rem;
  }
}

.lead-kb--ink {
  color: var(--ink-muted);
}

.t-ink {
  color: var(--ink-foreground);
}

.t-ink-muted {
  color: var(--ink-muted);
}

.t-ember {
  color: var(--ember);
}

.t-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.t-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.t-xs {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.h-lg {
  font-size: 1.125rem;
  font-weight: 600;
}

.h-md {
  font-size: 1.05rem;
  font-weight: 600;
}

.h-sm {
  font-size: 1rem;
  font-weight: 600;
}

.h-xl {
  font-size: 1.4rem;
  font-weight: 600;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.mono-label--ember {
  color: var(--ember);
}

.mono-label--soft {
  color: var(--ember-soft);
}

.mono-label--ink {
  color: var(--ink-muted);
}

.col-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.mono-xs {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ember);
}

.tag {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 4px;
  padding: 0.125rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.tag--ink {
  border-color: var(--ink-border);
  background: transparent;
  color: var(--ink-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

/* ---------- Section header ---------- */
.brand img, .brand-name img {
    width: 145px;
}
.section-header {
  max-width: 48rem;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header .display-1,
.section-header .display-2 {
  margin-top: 1rem;
}

.section-header .lead-kb {
  margin-top: 1.25rem;
}

/* ---------- Panels ---------- */

.panel {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.panel--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in oklab, var(--ember) 40%, var(--border));
}

.panel--ink {
  background-color: #0a2349;
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-xl);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease;
}

.panel--ink.panel--hover:hover {
  transform: translateY(-3px);
  box-shadow: none;
  border-color: color-mix(in oklab, var(--ember) 55%, var(--ink-border));
}

.panel-p-5 { padding: 1.25rem; }
.panel-p-6 { padding: 1.5rem; }
.panel-p-7 { padding: 1.75rem; }

@media (min-width: 768px) {
  .panel-p-7-md-8 { padding: 2rem; }
  .panel-p-7-md-9 { padding: 2.25rem; }
  .panel-p-7-md-10 { padding: 2.5rem; }
}

.panel-p-7-md-8,
.panel-p-7-md-9,
.panel-p-7-md-10 {
  padding: 1.75rem;
}

.stack-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dashed-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  border: 1px dashed var(--ink-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

/* ---------- Buttons & links ---------- */

.btn-kb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 200ms ease;
  cursor: pointer;
}

.btn-kb svg {
  transition: transform 200ms ease;
}

.btn-kb:hover svg {
  transform: translateX(4px);
}

.btn-kb--primary {
  background: var(--ember);
  color: #fff;
}

.btn-kb--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 30px -12px var(--ember);
  color: #fff;
}

.btn-kb--outline {
  border-color: var(--border);
  background: var(--card);
  color: var(--foreground);
}

.btn-kb--outline:hover {
  border-color: color-mix(in oklab, var(--foreground) 40%, transparent);
  background: var(--secondary);
}

.btn-kb--ink {
  border-color: oklch(0.6 0 0);
  background: transparent;
  color: var(--ink-foreground);
}

.btn-kb--ink:hover {
  border-color: color-mix(in oklab, var(--ember) 60%, transparent);
  background: rgba(255, 255, 255, 0.05);
}

.btn-block-sm {
  width: 100%;
}

@media (min-width: 576px) {
  .btn-block-sm {
    width: auto;
  }
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .btn-row {
    flex-direction: row;
  }
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ember);
}

.arrow-link--sm {
  font-size: 0.85rem;
}

.arrow-link span {
  border-bottom: 1px solid transparent;
  padding-bottom: 0.125rem;
  transition: border-color 200ms ease;
}

.arrow-link svg {
  transition: transform 200ms ease;
}

.arrow-link:hover span {
  border-bottom-color: currentColor;
}

.arrow-link:hover svg {
  transform: translateX(3px);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
  cursor: pointer;
}

.pill:hover {
  border-color: color-mix(in oklab, var(--ember) 50%, transparent);
  color: var(--ember);
}

.pill[aria-pressed="true"] {
  border-color: var(--ember);
  background: var(--ember);
  color: #fff;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Lists ---------- */

.tick-list li,
.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.tick-list li + li,
.dot-list li + li {
  margin-top: 0.5rem;
}

.tick-list svg {
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: var(--ember);
}

.dot-list .dot {
  margin-top: 0.5rem;
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--ember);
}

.dot-list--ink li {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.check-grid {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 576px) {
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.check-grid svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--ember);
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.info-list li + li {
  margin-top: 0.75rem;
}

.info-list svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--ember);
}

.info-list a:hover {
  color: var(--foreground);
}

.column-block {
  /* border-top: 1px solid var(--border); */
  padding-top: 1rem;
}

.column-block ul {
  margin-top: 0.75rem;
}

/* ---------- Icons ---------- */

.icon-4 { width: 1rem; height: 1rem; }
.icon-35 { width: 0.875rem; height: 0.875rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-ember { color: var(--ember); }
.icon-muted { color: var(--muted-foreground); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-border);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  border-bottom: 1px solid transparent;
  background: #fdfefe;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 72px;
  }
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.625rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background: var(--ink);
}

.brand-mark span {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 2px;
  background: var(--ember);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-suffix {
  display: none;
  border-left: 1px solid var(--border);
  padding-left: 0.625rem;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link-kb {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-link-kb:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.nav-link-kb.is-active {
  color: var(--ember);
}

.nav-link-kb svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 200ms ease;
}

.has-mega {
  position: relative;
}

.has-mega.is-open > .nav-link-kb svg {
  transform: rotate(180deg);
}

.mega {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(56rem, 90vw);
  transform: translateX(-50%);
  padding-top: 0.75rem;
}

.has-mega.is-open .mega {
  display: block;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1.1fr 2.6fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
}

.mega-intro {
  border-right: 1px solid var(--border);
  padding-right: 1.5rem;
}

.mega-intro p:first-child {
  font-size: 0.875rem;
  font-weight: 600;
}

.mega-blurb {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.mega-columns ul {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.375rem;
}

.mega-columns a {
  display: block;
  border-radius: 4px;
  padding: 0.25rem 0.375rem;
  font-size: 0.82rem;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  transition: background-color 200ms ease, color 200ms ease;
}

.mega-columns a:hover {
  background: var(--secondary);
  color: var(--ember);
}

.mega-column-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.header-cta {
  display: none;
  flex-shrink: 0;
}

.header-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  border-radius: var(--radius-md);
  background: #1c447d;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-foreground);
  transition: background-color 200ms ease;
}

.header-cta a:hover {
  background: var(--ember);
}

.header-cta svg {
  transition: transform 200ms ease;
}

.header-cta a:hover svg {
  transform: translateX(4px);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}

@media (min-width: 992px) {
  .brand-suffix,
  .main-nav,
  .header-cta {
    display: flex;
  }

  .brand-suffix {
    display: inline-block;
  }

  .nav-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  flex-direction: column;
  background: var(--background);
}

.mobile-menu.is-open {
  display: flex;
}

@media (min-width: 992px) {
  .mobile-menu.is-open {
    display: none;
  }
}

.mobile-menu-head {
  display: flex;
  height: 4rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  padding-block: 1.5rem;
  position: absolute;
  background: #fcfbf8;
  top: 60px;
}

.mobile-nav a.mobile-link {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-block: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-cta {
  margin-top: 2rem;
  display: flex;
  min-height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  background: var(--ember);
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

/* ---------- Breadcrumbs & page hero ---------- */

.breadcrumbs {
  margin-bottom: 2rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs a:hover {
  color: var(--foreground);
}

.breadcrumbs .current {
  color: var(--foreground);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--secondary) 40%, transparent);
}

.page-hero-inner {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .page-hero-inner {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  height: auto;
  display: flex;
  align-items: center;
  /* background: url(../images/hero-banner.png) no-repeat; */
  /* background-size: 100%; */
  /* background-position: bottom; */
  /* background-color: #fdfefe; */
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .hero-grid {
    padding-block: 5rem;
  }
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.hero-lead {
  max-width: 36rem;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  font-weight: 600;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .split {
    gap: 4rem;
  }

  .split--voice {
    grid-template-columns: 1fr 0.85fr;
  }

  .split--chat {
    grid-template-columns: 0.85fr 1fr;
  }

  .split--trust {
    grid-template-columns: 1fr 1.1fr;
  }

  .split--faq {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .split--industry {
    grid-template-columns: 0.9fr 1.4fr;
  }

  .split--service {
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
  }

  .split--contact {
    grid-template-columns: 1.4fr 0.85fr;
  }
}

.split--gap-10 {
  gap: 2.5rem;
}

/* ---------- Metrics ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 576px) {
  .metrics > * + * {
    border-left: 1px solid var(--border);
  }
}

@media (min-width: 992px) {
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.metric {
  padding: 1.5rem 0.25rem;
}

@media (min-width: 576px) {
  .metric {
    padding-inline: 1.5rem;
  }
}

.metric-value {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--muted-foreground);
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.sector-list .sector {
  font-size: 0.95rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

/* ---------- Mosaic grid (hairline separated cards) ---------- */

.mosaic {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--border);
}

@media (min-width: 576px) {
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mosaic--process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .mosaic--process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mosaic > * {
  background: var(--card);
}

.mosaic-cell {
  height: 100%;
  padding: 1.5rem;
  transition: background-color 200ms ease;
}

a.mosaic-cell:hover,
.mosaic-cell--hover:hover {
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
}

/* ---------- Feature blocks ---------- */

.feature-block {
  height: 100%;
  border-left: 2px solid color-mix(in oklab, var(--ember) 60%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
  padding: 1rem;
}

.top-rule {
  height: 100%;
  border-top: 2px solid color-mix(in oklab, var(--ember) 60%, transparent);
  padding-top: 1.25rem;
}

.rule-block {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 14px;
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.chip-row .sep {
  color: var(--border);
  margin-left: 0.75rem;
}

.chip-row > span {
  display: flex;
  align-items: center;
}

/* ---------- Diagrams ---------- */

.diagram {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}

@media (min-width: 576px) {
  .diagram {
    padding: 1.75rem;
  }
}

.diagram-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.dot-live {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--ember);
}

.dot-live--sm {
  width: 0.375rem;
  height: 0.375rem;
}

.diagram-row {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 1rem;
}

.diagram-orchestration {
  border: 1px solid color-mix(in oklab, var(--ember) 35%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--accent) 60%, transparent);
  padding: 1rem;
}

.diagram-orchestration .mono-label {
  color: var(--accent-foreground);
}

.diagram-outcome {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--ink);
  padding: 1rem;
}

.connector {
  display: flex;
  justify-content: center;
  padding-block: 0.625rem;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.node {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--card) 60%, transparent);
  padding: 0.75rem;
  transition: all 500ms ease;
}

.node svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
}

.node span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
}

.node.is-active {
  border-color: color-mix(in oklab, var(--ember) 50%, transparent);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.node.is-active svg {
  color: var(--ember);
}

.system-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.system-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--secondary);
  padding: 0.25rem 0.625rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
}

/* Voice call flow */

.call-panel {
  overflow: hidden;
  background-color: #143667;
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}

@media (min-width: 576px) {
  .call-panel {
    padding: 1.5rem;
  }
}

.call-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink-border);
  padding-bottom: 1rem;
}

.call-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember-soft);
}

.call-steps {
  margin-top: 1rem;
  display: grid;
  gap: 0.625rem;
}

.call-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid color-mix(in oklab, var(--ink-border) 60%, transparent);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  opacity: 0.45;
  transition: all 500ms ease;
}

.call-step svg {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--ink-muted);
}

.call-step.is-on {
  border-color: color-mix(in oklab, var(--ember) 40%, transparent);
  background: rgba(255, 255, 255, 0.04);
  opacity: 1;
}

.call-step.is-on svg {
  color: var(--ember);
}

.call-step-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-foreground);
}

.call-step-detail {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* Conversation panel */

.chat {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  padding: 0.75rem 1rem;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--ember) 15%, transparent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ember);
}

.chat-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.chat-row {
  display: flex;
}

.chat-row--customer {
  justify-content: flex-end;
}

.bubble {
  max-width: 85%;
  border-radius: var(--radius-xl);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.bubble--customer {
  border-bottom-right-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--ink-foreground);
}

.bubble--agent {
  border-bottom-left-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
  font-size: 11px;
  color: var(--muted-foreground);
}

.chat-typing .dot-live {
  width: 0.375rem;
  height: 0.375rem;
  animation: kb-bounce 1s infinite;
}

/* Lifecycle diagram */

.lifecycle {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .lifecycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .lifecycle {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lifecycle-stage {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 1rem;
}

.lifecycle-stage .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
}

.lifecycle-stage .name {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 500;
}

.lifecycle-bar {
  margin-top: 0.75rem;
  height: 4px;
  border-radius: 9999px;
}

/* Industry glyph */

.glyph {
  display: flex;
  height: 6rem;
  align-items: flex-end;
  gap: 0.375rem;
  /* border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
  padding: 0.75rem; */
}

.glyph span {
  flex: 1;
  border-radius: 2px;
}

/* ---------- Agents / process ---------- */

.agent-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agent-head h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-foreground);
}

.agent-systems {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  border-top: 1px solid var(--ink-border);
  padding-top: 1rem;
}

.step-card {
  /* display: grid; */
  align-items: start;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  padding: 1.5rem;
}

@media (min-width: 576px) {
  .step-card {
    grid-template-columns: 6rem 1fr;
  }
}

@media (min-width: 768px) {
  .step-card {
    padding: 1.75rem;
  }
}

.steps-stack {
  display: grid;
  gap: 0.75rem;
}

/* ---------- Service detail articles ---------- */

.service-article {
  scroll-margin-top: 6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .service-article {
    padding: 2.5rem;
  }
}

.articles-stack {
  display: grid;
  gap: 1.5rem;
}

.tri-columns {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .tri-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.scroll-anchor {
  scroll-margin-top: 5rem;
}

/* ---------- Case studies ---------- */

.case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.case-meta .sep {
  color: var(--border);
}

.case-rows {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.case-rows dd {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

/* ---------- FAQ accordion (Bootstrap themed) ---------- */

.accordion-kb .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.accordion-kb .accordion-button {
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  padding: 1.25rem 0;
  box-shadow: none;
  gap: 1rem;
}

.accordion-kb .accordion-button:not(.collapsed) {
  color: var(--foreground);
  background: transparent;
  box-shadow: none;
}

.accordion-kb .accordion-button:focus {
  box-shadow: none;
}

.accordion-kb .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  filter: none;
}

.accordion-kb .accordion-body {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ---------- Forms ---------- */

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.field-label .req {
  color: var(--ember);
}

.field-input {
  margin-top: 0.375rem;
  width: 100%;
  border: 1px solid var(--input);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 0.625rem 0.875rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 200ms ease;
}

.field-input::placeholder {
  color: var(--muted-foreground);
}

.field-input:focus {
  border-color: var(--ember);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-span-2 {
    grid-column: span 2;
  }
}

.submit-btn {
  display: inline-flex;
  min-height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--ember);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  transition: all 200ms ease;
  cursor: pointer;
}

.submit-btn:hover {
  filter: brightness(1.1);
}

.submit-btn svg {
  transition: transform 200ms ease;
}

.submit-btn:hover svg {
  transform: translateX(4px);
}

@media (min-width: 576px) {
  .submit-btn {
    width: auto;
  }
}

.form-success {
  padding-block: 2.5rem;
  text-align: center;
}

.form-success .lead-kb {
  margin-inline: auto;
  margin-top: 1rem;
  max-width: 28rem;
}

/* Contact Form 7 integration */
.wpcf7 form {
  display: contents;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-response-output {
  margin: 1.25rem 0 0 !important;
}
.wpcf7-not-valid-tip {
    display: block !important;
    margin-top: 0.4rem;
    color: #dc3232;
    font-size: 0.8rem;
}

.wpcf7-not-valid {
    border-color: #dc3232 !important;
}

.wpcf7-response-output {
    display: block !important;
}



/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  /* overflow: hidden; */
  background: #0a2349;
  color: var(--ink-foreground);
}

.footer-inner {
  position: relative;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .footer-inner {
    padding-block: 5rem;
  }
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.31);
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-cta {
  display: inline-flex;
  min-height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  background: var(--ember);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  transition: filter 200ms ease;
}

.footer-cta:hover {
  filter: brightness(1.1);
  color: #fff;
}

.footer-cta svg {
  transition: transform 200ms ease;
}

.footer-cta:hover svg {
  transform: translateX(4px);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ember-soft);
}

.footer-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: var(--ink-foreground);
}

.footer-contact {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact svg {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--ember);
}

.footer-contact a:hover {
  color: var(--ink-foreground);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid oklch(1 0 0 / 0.31);
  padding-top: 2rem;
}

@media (min-width: 576px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom p,
.footer-bottom li {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom a:hover {
  color: var(--ink-foreground);
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  /* overflow: hidden; */
  background: #0a2349;
}

.final-cta-inner {
  position: relative;
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .final-cta-inner {
    padding-block: 7rem;
  }
}

.final-cta .max-w-3xl {
  max-width: 48rem;
}

/* ---------- Motion ---------- */

@keyframes kb-dash {
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes kb-pulse-soft {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@keyframes kb-bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.flow-line {
  stroke-dasharray: 6 8;
  animation: kb-dash 1.6s linear infinite;
}

.pulse-soft {
  animation: kb-pulse-soft 2.6s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Helpers ---------- */

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-sm { max-width: 24rem; }
.full-height { height: 100%; }
.text-center-kb { text-align: center; }
.flex-center { display: flex; justify-content: center; }
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.closing-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .closing-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1440px) {
	.main-nav .has-mega:nth-child(1) .mega {transform: translateX(-20%);}
	.main-nav .has-mega:nth-child(2) .mega {transform: translateX(-20%);}
}

@media (max-width: 767px) {
	.hero-grid {padding-block: 2rem;gap: 0rem;}
	.hero {height: auto;background: #fff;}
	.glow--cta {display:none}
	.footer-inner {padding-block: 2rem;}
	.final-cta-inner {padding-block: 2rem;}
}


/* ---------- Hero: AI Command Centre ---------- */


.cc-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-border);
  background: #0a2349;
  box-shadow: 0 30px 70px -40px oklch(0 0 0 / 0.8);
}

.cc-aura {
  position: absolute;
  left: 50%;
  top: 46%;
  height: 18rem;
  width: 18rem;
  translate: -50% -50%;
  border-radius: 9999px;
  background: radial-gradient(circle, color-mix(in oklab, var(--ember) 42%, transparent), transparent 65%);
  opacity: 0.18;
  filter: blur(46px);
  pointer-events: none;
}

.cc-map {
  position: relative;
  padding: 1rem;
}

@media (min-width: 640px) {
  .cc-map {
    padding: 1.25rem;
  }
}

.cc-links {
  position: absolute;
  inset: 1rem;
  height: calc(100% - 2rem);
  width: calc(100% - 2rem);
  pointer-events: none;
}

@keyframes cc-dash-flow {
  to {
    stroke-dashoffset: -18;
  }
}

.cc-dash {
  animation: cc-dash-flow 2.4s linear infinite;
}

.cc-grid {
  position: relative;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "a b c"
    "d core e"
    "f g h";
}

.cc-node {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.6rem;
  border: 1px solid var(--ink-border);
  background: #010f23;
  padding: 0.55rem 0.6rem;
  color: var(--ink-muted);
  transition:
    border-color 400ms ease,
    background-color 400ms ease,
    box-shadow 400ms ease,
    color 400ms ease;
}

.cc-node.is-active {
  border-color: color-mix(in oklab, var(--ember) 55%, var(--ink-border));
  background: color-mix(in oklab, var(--ember) 12%, var(--ink-raised));
  color: var(--ember);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--ember) 22%, transparent);
}

.cc-node--ghost {
  justify-content: center;
  border-style: dashed;
  opacity: 0.6;
}

.cc-node-label {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-node-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.cc-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklab, var(--ember) 42%, var(--ink-border));
  background:
    radial-gradient(circle at 50% 30%, color-mix(in oklab, var(--ember) 20%, transparent), transparent 70%),
    color-mix(in oklab, var(--ink-raised) 85%, transparent);
  padding: 0.9rem 0.6rem;
  text-align: center;
  min-height: 6.5rem;
}

.cc-core-ring {
  position: absolute;
  inset: -6%;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--ember) 30%, transparent);
  opacity: 0.5;
  animation: cc-pulse 4s ease-in-out infinite;
}

.cc-core-ring--2 {
  inset: -18%;
  animation-delay: 1.4s;
  opacity: 0.28;
}

@keyframes cc-pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.18;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.5;
  }
}

.cc-event {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  padding: 0.3rem 0.45rem;
  background: color-mix(in oklab, var(--ink-raised) 45%, transparent);
}

.cc-event--new {
  border-color: color-mix(in oklab, var(--ember) 32%, transparent);
  animation: kb-rise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cc-event-dot {
  height: 0.3rem;
  width: 0.3rem;
  flex: none;
  border-radius: 9999px;
  background: var(--ember);
}

@media (prefers-reduced-motion: reduce) {
  .cc-dash,
  .cc-core-ring,
  .cc-event--new {
    animation: none;
  }
}

.cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-bottom: 1px solid var(--ink-border);
  padding: .75rem 1rem;
}
.cc-live { font-family: var(--font-mono); font-size: 11px; color: var(--ember-soft); }
.cc-feed { border-top: 1px solid var(--ink-border); padding: .875rem 1rem; }
.cc-feed-head { display: flex; align-items: center; justify-content: space-between; }
.cc-feed-title {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .18em; color: var(--ink-muted);
}
.cc-feed-list { list-style: none; margin: .625rem 0 0; padding: 0; display: grid; gap: .375rem; }
.cc-event-text { font-size: .78rem; color: var(--ink-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-event-src { margin-left: auto; flex: none; font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); }
.cc-core-eyebrow { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--ember-soft); margin: 0; }
.cc-core-title { margin: .25rem 0 0; font-size: .78rem; font-weight: 500; color: var(--ink-foreground); }
.cc-core-stage { margin: .125rem 0 0; font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); }
.cc-pipeline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem;
  border-top: 1px solid var(--ink-border); padding: .75rem 1rem;
}
.cc-stage-wrap { display: inline-flex; align-items: center; gap: .5rem; }
.cc-stage {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-muted); transition: color 500ms ease;
}
.cc-stage.is-on { color: var(--ember); }
.cc-arrow { color: var(--ink-muted); opacity: .6; }
@media (min-width: 640px) { .cc-head, .cc-feed, .cc-pipeline { padding-inline: 1.25rem; } }


/* Media---768px (Bootstrap md) ---------------------------------------------------- */
@media (max-width: 767.98px) {
  .display-2 {font-size: 26px;line-height: 1.4;}
  .kb-mt-12 {margin-top: 1.5rem;}
  .hero-kicker {font-size: 10px;margin: 20px 0 20px;}
  .display-1,.display-3 {line-height: 1.4;}
  .kb-mt-5 {margin-top: 10px;}
}

.wpcf7-response-output {
    display: none !important;
}