/* MenkFlow Ops Control Hub
   Hebrew-first, dependency-free, responsive from 200px upward.
   Design tokens meet WCAG AA for body text on their intended backgrounds. */

:root {
  --ink: #07111f;
  --ink-2: #0f172a;
  --ink-3: #334155;
  --paper: #f8fafc;
  --paper-2: #ffffff;
  --paper-3: #f0fbf6;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-dark: #94a3b8;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #10b981;
  --blue-dark: #047857;
  --blue-pale: #d1fae5;
  --copper: #0e7490;
  --copper-pale: #cffafe;
  --success: #10b981;
  --success-pale: #d1fae5;
  --warning: #f59e0b;
  --warning-pale: #fef3c7;
  --danger: #dc2626;
  --danger-pale: #fee2e2;
  --shadow-sm: 0 8px 24px rgba(2, 6, 23, 0.08);
  --shadow-md: 0 28px 70px rgba(2, 6, 23, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-height: 76px;
  --ease: cubic-bezier(.22, .75, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 200px;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 2%, rgba(16, 185, 129, .08), transparent 28rem),
    radial-gradient(circle at 8% 18%, rgba(6, 182, 212, .07), transparent 26rem),
    var(--paper);
  font-family: "Assistant", "Arimo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

button {
  border: 0;
}

input,
select,
textarea {
  color: var(--text);
}

::selection {
  color: #04111d;
  background: #6ee7b7;
}

:focus-visible {
  outline: 3px solid #10b981;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(84px, 9vw, 144px);
}

.section-grid {
  background-image:
    linear-gradient(rgba(2, 6, 23, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 6, 23, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: #a7f3d0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-block-start: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  margin-block-end: 24px;
  font-size: clamp(2.55rem, 5.7vw, 5.5rem);
  font-weight: 700;
}

h2 {
  margin-block-end: 24px;
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.4rem);
  font-weight: 700;
}

h1 em,
h2 em {
  color: var(--blue-dark);
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-dark), var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading {
  margin-block-end: clamp(42px, 7vw, 82px);
}

.section-heading > p,
.section-intro > p,
.visual-copy > p {
  color: var(--muted);
}

.centered {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered > p:last-child {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
}

.split-heading > p {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    transform .2s var(--ease),
    box-shadow .2s var(--ease),
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--blue), #6ee7b7 55%, var(--copper));
  border-color: rgba(16, 185, 129, .4);
  box-shadow: 0 14px 34px rgba(16, 185, 129, .24);
}

.button-primary:hover {
  color: #020617;
  background: linear-gradient(135deg, #34d399, #a7f3d0 55%, #22d3ee);
  box-shadow: 0 18px 42px rgba(16, 185, 129, .32);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .66);
  border-color: rgba(2, 6, 23, .18);
}

.button-ghost:hover,
.button-outline:hover {
  color: var(--blue-dark);
  border-color: var(--blue);
  background: var(--white);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: #aeb7bf;
}

.button-small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: .88rem;
}

.button-text {
  color: var(--ink-3);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.button-text:hover {
  background: var(--paper-3);
}

.button-whatsapp {
  color: #064e3b;
  background: #d1fae5;
  border-color: #6ee7b7;
}

/* Header */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(248, 250, 252, .9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(2, 6, 23, .1);
  box-shadow: 0 8px 30px rgba(2, 6, 23, .06);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -.045em;
}

.brand > span > span {
  color: var(--blue-dark);
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  color: var(--ink-3);
  font-size: .91rem;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
}

.desktop-nav a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 2px;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(900px, calc(100svh - var(--header-height)));
  padding-block: clamp(54px, 7vw, 96px) 34px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 78% 15%, rgba(16, 185, 129, .17), transparent 34%),
    radial-gradient(circle at 15% 70%, rgba(6, 182, 212, .12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .26;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(380px, .88fr) minmax(520px, 1.12fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 700px;
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--ink-3);
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-end: 38px;
}

.hero-qualifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: .86rem;
  font-weight: 650;
}

.hero-qualifiers li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-qualifiers span {
  color: var(--copper);
  font-size: .72rem;
  font-weight: 700;
}

.hero-footnote {
  display: flex;
  justify-content: center;
  gap: 12px 38px;
  margin-block-start: 34px;
  padding-block-start: 28px;
  color: var(--muted);
  border-top: 1px solid rgba(2, 6, 23, .12);
  font-size: .82rem;
  font-weight: 650;
}

.hero-footnote span {
  position: relative;
}

.hero-footnote span:not(:last-child)::after {
  position: absolute;
  inset-inline-end: calc(100% + 19px);
  inset-block-start: 50%;
  width: 3px;
  height: 3px;
  content: "";
  background: #94a3b8;
  border-radius: 50%;
}

/* Operational Fog Map */
.fog-shell {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 24px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(2, 6, 23, .13);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: background .55s var(--ease), border-color .55s var(--ease), box-shadow .55s var(--ease);
}

.fog-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(2, 6, 23, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 6, 23, .06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.visual-heading,
.visual-caption,
.fog-map {
  position: relative;
  z-index: 1;
}

.visual-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.visual-kicker {
  margin: 0 0 4px;
  color: var(--blue-dark) !important;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.visual-title {
  margin: 0;
  font-size: 1.14rem;
  letter-spacing: -.02em;
}

.segment-control {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
  background: #eef2f7;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
}

.segment-control button {
  min-width: 58px;
  padding: 6px 9px;
  color: var(--muted);
  background: transparent;
  border-radius: 5px;
  font-size: .75rem;
  font-weight: 700;
}

.segment-control button.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 3px 10px rgba(2, 6, 23, .08);
}

.fog-map {
  position: relative;
  min-height: 520px;
  margin-block: 14px 8px;
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.map-lines path {
  fill: none;
  stroke: rgba(220, 38, 38, .36);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 7;
  vector-effect: non-scaling-stroke;
}

.map-lines .broken {
  stroke: var(--danger);
  stroke-dasharray: 2 9;
}

.map-lines-hub {
  opacity: 0;
}

.map-lines-hub path {
  stroke: rgba(16, 185, 129, .48);
  stroke-dasharray: 7 9;
}

.fog-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 138px;
  min-height: 72px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0 9px;
  align-content: center;
  align-items: center;
  padding: 10px 11px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid #dbe3eb;
  border-radius: 10px;
  box-shadow: 0 7px 17px rgba(2, 6, 23, .09);
  transition:
    border-color .55s var(--ease),
    box-shadow .55s var(--ease),
    transform .55s var(--ease);
}

.fog-node > span:not(.node-icon) {
  color: var(--ink);
  font-size: .77rem;
  font-weight: 700;
  line-height: 1.2;
}

.fog-node small {
  grid-column: 2;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.2;
}

.node-icon {
  display: grid;
  width: 32px;
  height: 32px;
  grid-row: 1 / span 2;
  place-items: center;
  color: var(--ink-3);
  background: var(--paper-3);
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 700;
}

.node-whatsapp { inset-block-start: 4%; inset-inline-start: 0; }
.node-sheet { inset-block-start: 1%; inset-inline-end: 22%; }
.node-mail { inset-block-start: 4%; inset-inline-end: 0; }
.node-people { inset-block-end: 0; inset-inline-start: 4%; }
.node-client { inset-block-end: -1%; inset-inline-end: 35%; }
.node-report { inset-block-end: 0; inset-inline-end: 3%; }

.fog-core {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  z-index: 5;
  display: grid;
  width: 190px;
  min-height: 126px;
  place-content: center;
  padding: 18px;
  color: var(--white);
  text-align: center;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(2, 6, 23, .28);
  transform: translate(-50%, -50%);
  transition: background .55s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease);
}

html[dir="rtl"] .fog-core {
  transform: translate(50%, -50%);
}

.fog-core svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  color: #22d3ee;
}

.fog-core strong {
  font-size: .94rem;
}

.fog-core small {
  margin-block-start: 4px;
  color: #94a3b8;
  font-size: .65rem;
}

.core-pulse {
  position: absolute;
  inset: -10px;
  z-index: -1;
  border: 1px solid rgba(220, 38, 38, .32);
  border-radius: 28px;
  animation: core-breathe 2.7s ease-in-out infinite;
}

.lost-marker {
  position: absolute;
  z-index: 6;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--danger);
  background: var(--danger-pale);
  border: 1px solid #fecaca;
  border-radius: 50%;
  font-size: .73rem;
  font-weight: 700;
}

.marker-one { inset-block-start: 27%; inset-inline-start: 27%; }
.marker-two { inset-block-start: 36%; inset-inline-end: 22%; }
.marker-three { inset-block-end: 23%; inset-inline-start: 38%; }

.visual-caption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(248, 250, 252, .9);
  border: 1px solid rgba(2, 6, 23, .1);
  border-radius: 9px;
  font-size: .73rem;
}

.visual-caption p {
  margin: 0;
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-block-start: 7px;
  background: var(--danger);
  border-radius: 50%;
}


.fog-shell[data-mode="hub"] {
  background:
    radial-gradient(circle at 50% 45%, rgba(16, 185, 129, .24), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, .14), transparent 35%),
    linear-gradient(180deg, #07111f, #0f172a);
  border-color: rgba(34, 211, 238, .35);
  box-shadow: 0 32px 76px rgba(2, 6, 23, .28);
}

.fog-shell[data-mode="hub"] .visual-title {
  color: var(--white);
}

.fog-shell[data-mode="hub"] .visual-kicker {
  color: #a7f3d0 !important;
}

.fog-shell[data-mode="hub"] .visual-caption {
  color: #cbd5e1;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .13);
}

.fog-shell[data-mode="hub"] .visual-caption strong {
  color: var(--white);
}

.fog-shell[data-mode="hub"] .segment-control {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .16);
}

.fog-shell[data-mode="hub"] .segment-control button {
  color: #cbd5e1;
}

.fog-shell[data-mode="hub"] .segment-control button.is-active {
  color: var(--ink);
}

.fog-shell[data-mode="hub"] .map-lines-fog,
.fog-shell[data-mode="hub"] .lost-marker {
  opacity: 0;
}

.fog-shell[data-mode="hub"] .map-lines-hub {
  opacity: 1;
}

.fog-shell[data-mode="hub"] .map-lines-hub path {
  animation: flow-line 2.6s linear infinite;
}

.fog-shell[data-mode="hub"] .fog-node {
  border-color: rgba(16, 185, 129, .32);
  box-shadow: 0 9px 20px rgba(16, 185, 129, .1);
  transform: translateY(-2px);
}

.fog-shell[data-mode="hub"] .node-icon {
  color: var(--blue-dark);
  background: var(--blue-pale);
}

.fog-shell[data-mode="hub"] .fog-core {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--copper));
  color: #04111d;
  box-shadow: 0 24px 52px rgba(16, 185, 129, .28);
  transform: translate(50%, -50%) scale(1.04);
}

[dir="ltr"] .fog-shell[data-mode="hub"] .fog-core {
  transform: translate(-50%, -50%) scale(1.04);
}

.fog-shell[data-mode="hub"] .core-pulse {
  border-color: rgba(16, 185, 129, .5);
}

.fog-shell[data-mode="hub"] .status-dot {
  background: var(--success);
}

/* Editorial symptoms */
.section-editorial {
  background: var(--paper-2);
  border-block: 1px solid rgba(2, 6, 23, .08);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(480px, 1.18fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  inset-block-start: calc(var(--header-height) + 42px);
}

.section-intro h2 {
  max-width: 610px;
}

.section-intro > p:last-child {
  max-width: 570px;
  margin-block-end: 0;
  font-size: 1.06rem;
}

.symptom-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: symptoms;
}

.symptom-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding-block: 26px;
  border-block-start: 1px solid var(--line);
}

.symptom-list li:last-child {
  border-block-end: 1px solid var(--line);
}

.symptom-number {
  color: var(--copper);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.symptom-list h3 {
  margin-block-end: 9px;
  font-size: clamp(1.1rem, 1.8vw, 1.48rem);
}

.symptom-list p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

/* Before and after */
.system-transition {
  color: var(--white);
  background:
    radial-gradient(circle at 72% 10%, rgba(16, 185, 129, .18), transparent 32%),
    radial-gradient(circle at 18% 80%, rgba(6, 182, 212, .11), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0f172a 100%);
  overflow: hidden;
}

.system-transition::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .45;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 40px 40px;
}

.system-transition .container {
  position: relative;
}

.system-transition h2,
.system-transition h3 {
  color: var(--white);
}

.system-transition h2 em,
.fit-section .fit-heading h2 em {
  background: linear-gradient(90deg, #6ee7b7, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.system-transition .centered > p:last-child {
  color: #cbd5e1;
}

.transition-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr);
  min-height: 570px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .025);
  box-shadow: 0 35px 80px rgba(0, 0, 0, .22);
}

.transition-side {
  padding: clamp(28px, 4vw, 52px);
}

.before-side {
  background: linear-gradient(135deg, rgba(220, 38, 38, .1), transparent 70%);
}

.after-side {
  background: linear-gradient(225deg, rgba(16, 185, 129, .12), transparent 70%);
}

.transition-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 38px;
  color: #cbd5e1;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.transition-label span {
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
}

.after-side .transition-label span {
  background: #22d3ee;
}

.transition-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.transition-side li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 2px 13px;
  min-height: 70px;
  padding-block: 13px;
}

.transition-side li:not(:last-child)::after {
  position: absolute;
  inset-block-start: 52px;
  inset-block-end: -8px;
  inset-inline-start: 11px;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, .13);
}

.transition-side li i {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  grid-row: 1 / span 2;
  background: rgba(220, 38, 38, .15);
  border: 1px solid rgba(252, 165, 165, .34);
  border-radius: 7px;
}

.transition-side li i::before,
.transition-side li i::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 1px;
  content: "";
  background: #fca5a5;
  transform: translate(-50%, -50%) rotate(45deg);
}

.transition-side li i::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.after-side li i {
  background: rgba(16, 185, 129, .16);
  border-color: rgba(34, 211, 238, .45);
}

.after-side li i::before {
  width: 10px;
  height: 5px;
  background: transparent;
  border-inline-start: 1.5px solid #a7f3d0;
  border-block-end: 1.5px solid #a7f3d0;
  transform: translate(-50%, -63%) rotate(-45deg);
}

.after-side li i::after {
  display: none;
}

.transition-side li span {
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
}

.transition-side li small {
  grid-column: 2;
  color: #94a3b8;
  font-size: .74rem;
}

.transition-bridge {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.02), rgba(47,114,244,.12), rgba(255,255,255,.02));
  border-inline: 1px solid var(--line-dark);
}

.bridge-core {
  position: relative;
  z-index: 3;
  display: grid;
  width: 178px;
  min-height: 178px;
  place-content: center;
  padding: 18px;
  text-align: center;
  background: #0f172a;
  border: 1px solid rgba(34, 211, 238, .45);
  border-radius: 50%;
  box-shadow: 0 0 0 13px rgba(16, 185, 129, .07), 0 22px 60px rgba(0, 0, 0, .34);
}

.bridge-core svg {
  width: 38px;
  margin: 0 auto 10px;
  color: #22d3ee;
}

.bridge-core strong {
  color: var(--white);
  font-size: .95rem;
}

.bridge-core small {
  margin-block-start: 5px;
  color: #94a3b8;
  font-size: .64rem;
}

.bridge-line {
  position: absolute;
  inset-inline: -45px;
  inset-block-start: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(164,61,57,.55), rgba(255,255,255,.18), rgba(47,114,244,.7));
}

.line-one {
  transform: translateY(-58px) rotate(8deg);
}

.line-two {
  transform: translateY(0);
}

.line-three {
  transform: translateY(58px) rotate(-8deg);
}

/* Architecture */
.architecture {
  background: var(--paper);
}

.capability-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-block-end: clamp(64px, 9vw, 115px);
  border-block: 1px solid var(--line);
}

.capability-rail::before {
  position: absolute;
  inset-block-start: 46px;
  inset-inline: 7%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--blue), #34d399, var(--copper));
}

.capability-rail article {
  position: relative;
  padding: 76px 24px 28px;
  border-inline-start: 1px solid var(--line);
}

.capability-rail article:first-child {
  border-inline-start: 0;
}

.capability-rail article > span {
  position: absolute;
  inset-block-start: 34px;
  inset-inline-start: 24px;
  z-index: 2;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--white);
  background: var(--blue-dark);
  border: 4px solid var(--paper);
  border-radius: 50%;
  font-size: .55rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--blue-dark);
}

.capability-rail article:last-child > span {
  background: var(--copper);
  box-shadow: 0 0 0 1px var(--copper);
}

.capability-rail h3 {
  min-height: 2.3em;
  margin-block-end: 12px;
  font-size: 1.08rem;
}

.capability-rail p {
  margin: 0;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.6;
}

.systems-showcase {
  display: grid;
  gap: 34px;
}

.system-visual {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(520px, 1.3fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  min-height: 500px;
  padding: clamp(30px, 5vw, 68px);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid rgba(2, 6, 23, .12);
  border-radius: var(--radius-lg);
}

.system-visual:nth-child(even) {
  grid-template-columns: minmax(520px, 1.3fr) minmax(300px, .7fr);
}

.system-visual:nth-child(even) .visual-copy {
  grid-column: 2;
  grid-row: 1;
}

.system-visual:nth-child(even) .role-interface {
  grid-column: 1;
  grid-row: 1;
}

.visual-copy h3 {
  margin-block-end: 18px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.visual-copy > p:not(.visual-kicker) {
  margin-block-end: 22px;
}

.visual-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: .75rem;
}

.visual-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.visual-legend i {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.visual-legend .legend-warning {
  background: var(--warning);
}

.visual-legend .legend-alert {
  background: var(--danger);
}

/* Bottleneck pulse */
.pipeline-wrap {
  position: relative;
  min-width: 0;
  min-height: 360px;
  padding: 110px 24px 36px;
  background:
    linear-gradient(rgba(2, 6, 23, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 6, 23, .045) 1px, transparent 1px),
    #f8fafc;
  background-size: 24px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.pipeline {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  direction: rtl;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dbe3eb;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.pipeline-stage {
  min-height: 174px;
  padding: 17px 14px;
  border-inline-start: 1px solid #e2e8f0;
}

.pipeline-stage:first-child {
  border-inline-start: 0;
}

.stage-title {
  display: block;
  min-height: 34px;
  margin-block-end: 14px;
  color: var(--ink-3);
  font-size: .72rem;
  font-weight: 700;
}

.task-stack {
  display: grid;
  gap: 5px;
  min-height: 65px;
  align-content: end;
  margin-block-end: 10px;
}

.task-stack i {
  display: block;
  height: 8px;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 4px;
}

.pipeline-stage small {
  color: var(--muted);
  font-size: .63rem;
}

.pipeline-stage.is-bottleneck {
  position: relative;
  background: var(--warning-pale);
  box-shadow: inset 0 3px 0 var(--warning);
}

.pipeline-stage.is-bottleneck .task-stack i {
  background: #fcd34d;
  border-color: #f59e0b;
}

.pipeline-stage.is-bottleneck small {
  color: #92400e;
  font-weight: 700;
}

.manager-alert {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-start: 7%;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #fcd34d;
  border-radius: 9px;
  box-shadow: 0 10px 25px rgba(2, 6, 23, .13);
}

.alert-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--warning);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
}

.manager-alert strong,
.manager-alert small {
  display: block;
  line-height: 1.3;
}

.manager-alert strong {
  font-size: .76rem;
}

.manager-alert small {
  color: var(--muted);
  font-size: .6rem;
}

.pulse-line {
  position: absolute;
  inset-block-start: 52px;
  inset-inline-start: 25%;
  z-index: 3;
  width: 220px;
  height: 120px;
  overflow: visible;
}

.pulse-line path {
  fill: none;
  stroke: var(--warning);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
  animation: flow-line 2.2s linear infinite;
}

.demo-disclaimer {
  position: absolute;
  inset-inline-end: 18px;
  inset-block-end: 8px;
  margin: 0;
  color: #5d6b77;
  font-size: .58rem;
}

/* Role-based view */
.role-tabs {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
  background: #eef2f7;
  border-radius: 9px;
}

.role-tabs button {
  min-width: 62px;
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 700;
}

.role-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(2, 6, 23, .09);
}

.role-interface {
  position: relative;
  min-width: 0;
  min-height: 390px;
  padding: 54px 26px 42px;
  background:
    linear-gradient(rgba(2, 6, 23, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 6, 23, .045) 1px, transparent 1px),
    #f1f5f9;
  background-size: 26px 26px;
  border: 1px solid #dbe3eb;
  border-radius: 20px;
}

.role-interface::before,
.role-interface::after {
  position: absolute;
  inset-inline: 60px;
  height: 70%;
  content: "";
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 16px;
  transform: translateY(22px) scale(.94);
}

.role-interface::after {
  transform: translateY(44px) scale(.88);
}

.role-panel {
  position: relative;
  z-index: 3;
  min-height: 240px;
  padding: 20px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #dbe3eb;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(2, 6, 23, .13);
}

.role-database {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-3);
  font-size: .64rem;
}

.role-database span {
  width: 20px;
  height: 12px;
  background: var(--blue-pale);
  border: 1px solid #7da4ef;
  border-radius: 50%;
  box-shadow: 0 5px 0 -1px var(--blue-pale), 0 6px 0 #7da4ef;
}

.role-database strong {
  font-size: .66rem;
}

.role-database small {
  display: none;
}

.ui-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block-end: 14px;
  border-block-end: 1px solid #e2e8f0;
}

.ui-topbar span {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
}

.ui-topbar small {
  color: var(--muted);
  font-size: .62rem;
}

.single-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-block-start: 28px;
  padding: 17px;
  background: #f8fafc;
  border: 1px solid #dce2e5;
  border-radius: 10px;
}

.single-task div {
  display: grid;
  gap: 6px;
}

.single-task strong {
  color: var(--ink);
  font-size: .86rem;
}

.single-task small {
  color: var(--muted);
  font-size: .63rem;
}

.status-chip {
  justify-self: start;
  padding: 4px 8px;
  color: #047857;
  background: var(--success-pale);
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 700;
}

.single-task button {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 7px;
  font-size: .66rem;
  font-weight: 700;
}

.mini-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-block-start: 22px;
}

.mini-kanban > div {
  min-height: 150px;
  padding: 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.mini-kanban small {
  display: block;
  margin-block-end: 10px;
  color: var(--muted);
  font-size: .6rem;
  font-weight: 700;
}

.mini-kanban i {
  display: block;
  height: 28px;
  margin-block-end: 6px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(11,29,46,.04);
}

.mini-kanban .kanban-risk {
  background: var(--warning-pale);
  border-color: #fcd34d;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block-start: 25px;
}

.kpi-row > div {
  min-height: 145px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #dce2e5;
  border-radius: 9px;
}

.kpi-row small,
.kpi-row strong {
  display: block;
}

.kpi-row small {
  color: var(--muted);
  font-size: .6rem;
}

.kpi-row strong {
  margin-block: 7px 18px;
  color: var(--ink);
  font-size: 1.08rem;
}

.spark {
  display: block;
  height: 28px;
  background: linear-gradient(135deg, transparent 0 15%, #64748b 16% 20%, transparent 21% 37%, #64748b 38% 42%, transparent 43% 55%, #64748b 56% 60%, transparent 61% 75%, #64748b 76% 80%, transparent 81%);
}

.spark-up {
  background: linear-gradient(155deg, transparent 0 22%, #10b981 23% 27%, transparent 28% 43%, #10b981 44% 48%, transparent 49% 60%, #10b981 61% 65%, transparent 66%);
}

.spark-alert {
  background: linear-gradient(135deg, transparent 0 18%, #b55d16 19% 23%, transparent 24% 45%, #b55d16 46% 50%, transparent 51% 70%, #b55d16 71% 75%, transparent 76%);
}

.customer-status {
  display: grid;
  place-items: center;
  padding-block: 35px 20px;
  text-align: center;
}

.status-track {
  position: relative;
  display: flex;
  width: min(300px, 85%);
  justify-content: space-between;
  margin-block-end: 22px;
}

.status-track::before {
  position: absolute;
  inset-inline: 10px;
  inset-block-start: 50%;
  height: 2px;
  content: "";
  background: #cbd5e1;
  transform: translateY(-50%);
}

.status-track i {
  position: relative;
  z-index: 1;
  display: block;
  width: 19px;
  height: 19px;
  background: var(--white);
  border: 2px solid #94a3b8;
  border-radius: 50%;
}

.status-track i.done {
  background: var(--success);
  border-color: var(--success);
}

.status-track i.current {
  background: var(--white);
  border: 5px solid var(--blue);
  box-shadow: 0 0 0 5px var(--blue-pale);
}

.customer-status strong {
  color: var(--ink);
  font-size: .92rem;
}

.customer-status small {
  margin-block-start: 6px;
  color: var(--muted);
  font-size: .65rem;
}

/* Method */
.method-section {
  background-color: var(--paper-2);
  border-block: 1px solid rgba(2, 6, 23, .08);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(340px, .85fr) minmax(480px, 1.15fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}

.scope-note {
  display: flex;
  gap: 16px;
  margin-block-start: 36px;
  padding: 20px;
  background: var(--blue-pale);
  border-inline-start: 3px solid var(--blue-dark);
  border-radius: 0 10px 10px 0;
}

.scope-note > span {
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.scope-note strong {
  color: var(--ink);
  font-size: .9rem;
}

.scope-note p {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: .78rem;
}

.method-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-timeline::before {
  position: absolute;
  inset-block: 26px;
  inset-inline-start: 31px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--blue), var(--copper));
}

.method-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  min-height: 112px;
  padding-block-end: 22px;
}

.timeline-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--paper-2);
  border: 1px solid #6ee7b7;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
}

.method-timeline li:last-child .timeline-number {
  color: var(--copper);
  border-color: #67e8f9;
}

.method-timeline h3 {
  margin-block: 4px 8px;
  font-size: 1.22rem;
}

.method-timeline p {
  margin: 0;
  color: var(--muted);
}

/* Pricing */
.pricing-section {
  background: var(--paper);
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-plan {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px;
  background: var(--paper-2);
  border: 1px solid #dbe3eb;
  border-radius: 18px;
}

.price-plan.is-featured {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(16,185,129,.16), transparent 35%),
    linear-gradient(180deg, #07111f, #0f172a);
  border-color: rgba(16, 185, 129, .5);
  box-shadow: 0 30px 65px rgba(2, 6, 23, .21);
  transform: translateY(-12px);
}

.recommended {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  padding: 5px 9px;
  color: #a7f3d0;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(52, 211, 153, .35);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
}

.plan-name {
  margin: 0 0 13px;
  color: var(--blue-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.is-featured .plan-name {
  color: #a7f3d0;
}

.price-plan h3 {
  min-height: 2.4em;
  margin-block-end: 30px;
  font-size: 1.3rem;
}

.is-featured h3 {
  color: var(--white);
}

.price {
  display: grid;
  margin: 0;
}

.price small {
  color: var(--muted);
  font-size: .7rem;
}

.price strong {
  margin-block: 4px;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.price span {
  color: var(--muted);
  font-size: .66rem;
}

.is-featured .price small,
.is-featured .price span {
  color: #94a3b8;
}

.is-featured .price strong {
  color: var(--white);
}

.monthly {
  margin: 20px 0 0;
  padding-block-start: 17px;
  color: var(--muted);
  border-block-start: 1px solid var(--line);
  font-size: .75rem;
}

.monthly strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.is-featured .monthly {
  color: #94a3b8;
  border-color: rgba(255,255,255,.14);
}

.is-featured .monthly strong {
  color: var(--white);
}

.price-plan ul {
  display: grid;
  gap: 13px;
  flex: 1;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.price-plan li {
  position: relative;
  padding-inline-start: 25px;
  color: var(--ink-3);
  font-size: .86rem;
}

.price-plan li::before {
  position: absolute;
  inset-block-start: .42em;
  inset-inline-start: 1px;
  width: 9px;
  height: 5px;
  content: "";
  border-inline-start: 1.5px solid var(--success);
  border-block-end: 1.5px solid var(--success);
  transform: rotate(-45deg);
}

.is-featured li {
  color: #cbd5e1;
}

.is-featured li::before {
  border-color: #34d399;
}

.is-featured .button-primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--blue), #6ee7b7, var(--copper));
}

.pricing-fineprint {
  max-width: 1050px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

/* Fit and qualification */
.fit-section {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 4%, rgba(16, 185, 129, .18), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(6, 182, 212, .1), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #0f172a 100%);
}

.fit-section .fit-heading h2 {
  color: var(--white);
}

.fit-section .fit-heading h2 em {
  color: #a7f3d0;
}

.fit-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1020px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
}

.fit-column {
  padding: clamp(26px, 4vw, 45px);
  background: rgba(255,255,255,.025);
}

.fit-column + .fit-column {
  border-inline-start: 1px solid var(--line-dark);
}

.fit-column-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-block-end: 27px;
}

.fit-column-title > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #6ee7b7;
  background: rgba(23, 117, 83, .18);
  border: 1px solid rgba(128, 218, 182, .28);
  border-radius: 50%;
  font-weight: 700;
}

.bad-fit .fit-column-title > span {
  color: #fca5a5;
  background: rgba(220, 38, 38, .16);
  border-color: rgba(229, 165, 160, .25);
}

.fit-column h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.28rem;
}

.fit-column ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-column li {
  position: relative;
  padding-inline-start: 19px;
  color: #cbd5e1;
  font-size: .92rem;
}

.fit-column li::before {
  position: absolute;
  inset-block-start: .62em;
  inset-inline-start: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: #10b981;
  border-radius: 50%;
}

.bad-fit li::before {
  background: #ef4444;
}

.conversion-block {
  display: grid;
  grid-template-columns: minmax(340px, .85fr) minmax(480px, 1.15fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
  margin-block-start: clamp(80px, 10vw, 135px);
}

.conversion-copy {
  position: sticky;
  inset-block-start: calc(var(--header-height) + 42px);
}

.conversion-copy h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.conversion-copy > p:not(.eyebrow) {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.conversion-trust {
  display: grid;
  gap: 9px;
  margin-block-start: 28px;
  color: #dbe3eb;
  font-size: .78rem;
}

.conversion-trust span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.conversion-trust i {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #34d399;
  background: rgba(23, 117, 83, .18);
  border-radius: 50%;
  font-size: .65rem;
  font-style: normal;
}

/* Form */

.form-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-block-end: 18px;
}

.form-intro strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.form-intro span {
  color: var(--muted);
  font-size: .7rem;
  text-align: end;
}

.fit-form[data-current-step="1"] .form-progress {
  margin-block-end: 24px;
  opacity: .72;
}

.fit-form[data-current-step="1"] .form-progress span:nth-child(2) {
  color: #64748b;
  border-color: #e2e8f0;
}

.fit-form {
  position: relative;
  min-width: 0;
  min-height: 500px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--text);
  background: var(--paper-2);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 22px;
  box-shadow: 0 35px 80px rgba(0,0,0,.28);
}

.honeypot {
  position: fixed !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  pointer-events: none !important;
}

.form-progress {
  display: flex;
  gap: 0;
  margin-block-end: 32px;
}

.form-progress span {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0;
  justify-content: center;
  padding-block-end: 10px;
  color: #5d6b77;
  border-block-end: 2px solid #dbe3eb;
  font-size: .75rem;
  font-weight: 700;
}

.form-progress span.is-active {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.form-progress i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: inherit;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: .65rem;
  font-style: normal;
}

.form-step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.form-step[data-form-step="1"] {
  grid-template-columns: 1fr;
}

.field,
fieldset.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  display: block;
  margin-block-end: 7px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
}

.field label small,
.field legend small {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .15);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.field > small {
  display: block;
  margin-block-start: 4px;
  color: var(--muted);
  font-size: .65rem;
}

.field-error {
  min-height: 1.25em;
  margin: 4px 0 0;
  color: var(--danger);
  font-size: .68rem;
  line-height: 1.4;
}

.form-consent-note {
  margin: 0;
  color: var(--muted);
  font-size: .66rem;
}

.form-consent-note a,
.consent-check a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-next {
  justify-self: start;
}

.choice-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid label,
.check-grid label {
  position: relative;
  margin: 0;
}

.choice-grid input,
.check-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span,
.check-grid span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 7px;
  color: var(--ink-3);
  text-align: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}

.choice-grid input:focus-visible + span,
.check-grid input:focus-visible + span {
  outline: 3px solid #10b981;
  outline-offset: 2px;
}

.choice-grid input:checked + span,
.check-grid input:checked + span {
  color: var(--blue-dark);
  background: linear-gradient(135deg, #ecfdf5, #ecfeff);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(16,185,129,.55);
}

.field-full {
  grid-column: 1 / -1;
}

.consent-check {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: var(--ink-3);
  font-size: .72rem;
  cursor: pointer;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-dark);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-actions .button-primary {
  max-width: 410px;
}

.form-status {
  min-height: 22px;
  margin-block-start: 14px;
  color: var(--danger);
  font-size: .73rem;
}

.form-status.is-info {
  color: var(--blue-dark);
}

.fit-form.is-busy::after {
  position: absolute;
  inset: 0;
  z-index: 20;
  content: "";
  background: rgba(255, 253, 248, .72);
  border-radius: inherit;
  cursor: progress;
}

.form-success {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-content: center;
  padding: 40px;
  text-align: center;
  background: var(--paper-2);
  border-radius: inherit;
}

.success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 0 10px var(--success-pale);
}

.form-success h3 {
  margin-block-end: 10px;
  font-size: 1.7rem;
}

.form-success p {
  max-width: 420px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.form-success .button {
  justify-self: center;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(260px, .6fr) minmax(500px, 1.4fr);
  gap: clamp(44px, 8vw, 110px);
  margin-block-start: clamp(100px, 12vw, 160px);
  padding-block-start: clamp(70px, 9vw, 110px);
  border-block-start: 1px solid var(--line-dark);
}

.faq-intro h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.faq-list {
  border-block-start: 1px solid var(--line-dark);
}

.faq-list details {
  border-block-end: 1px solid var(--line-dark);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  overflow: hidden;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 13px;
  height: 1px;
  content: "";
  background: #94a3b8;
  transform: translate(-50%, -50%);
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .2s ease;
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details p {
  max-width: 710px;
  margin: -5px 0 23px;
  color: #cbd5e1;
  font-size: .9rem;
}

/* Footer */
.site-footer {
  padding-block: 70px 24px;
  color: #cbd5e1;
  background: #050d18;
  border-block-start: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) repeat(2, minmax(180px, .4fr));
  gap: 60px;
}

.brand-light {
  color: var(--white);
}

.brand-light > span > span {
  color: #34d399;
}

.footer-brand p {
  max-width: 450px;
  margin-block-start: 18px;
  color: #94a3b8;
  font-size: .88rem;
}

.footer-grid nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid h2 {
  margin-block-end: 12px;
  color: var(--white);
  font-size: .8rem;
  letter-spacing: 0;
}

.footer-grid nav a,
.footer-contact a {
  font-size: .82rem;
}

.footer-grid nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-block-start: 58px;
  padding-block-start: 22px;
  color: #94a3b8;
  border-block-start: 1px solid rgba(255,255,255,.08);
  font-size: .7rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.mobile-sticky-cta {
  display: none;
}

.noscript-notice {
  position: fixed;
  inset-inline: 16px;
  inset-block-end: 16px;
  z-index: 999;
  padding: 15px;
  color: var(--white);
  background: var(--danger);
  border-radius: 8px;
  text-align: center;
}

/* Motion */
@keyframes core-breathe {
  0%, 100% { transform: scale(.98); opacity: .5; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes flow-line {
  to { stroke-dashoffset: -30; }
}

.js [data-section],
.js .symptom-list li,
.js .capability-rail article,
.js .method-timeline li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js [data-section].is-visible,
.js .symptom-list li.is-visible,
.js .capability-rail article.is-visible,
.js .method-timeline li.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(320px, .82fr) minmax(470px, 1.18fr);
    gap: 34px;
  }

  .fog-shell {
    padding: 18px;
  }

  .fog-node {
    width: 124px;
  }

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

  .capability-rail::before {
    display: none;
  }

  .capability-rail article {
    padding-block-start: 64px;
    border-block-start: 1px solid var(--line);
  }

  .capability-rail article:nth-child(-n+3) {
    border-block-start: 0;
  }

  .system-visual,
  .system-visual:nth-child(even) {
    grid-template-columns: minmax(260px, .62fr) minmax(430px, 1.38fr);
    gap: 35px;
  }

  .transition-map {
    grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
  }

  .bridge-core {
    width: 150px;
    min-height: 150px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block-start: 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 770px;
  }

  .fog-shell {
    max-width: 760px;
    margin-inline: auto;
  }

  .editorial-grid,
  .method-layout,
  .conversion-block {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .sticky-copy,
  .conversion-copy {
    position: static;
  }

  .transition-map {
    grid-template-columns: 1fr;
  }

  .transition-bridge {
    min-height: 220px;
    border-block: 1px solid var(--line-dark);
    border-inline: 0;
  }

  .bridge-line {
    inset-block: -30px;
    inset-inline-start: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(var(--danger), rgba(255,255,255,.2), var(--blue));
  }

  .line-one {
    transform: translateX(-58px) rotate(-7deg);
  }

  .line-two {
    transform: none;
  }

  .line-three {
    transform: translateX(58px) rotate(7deg);
  }

  .transition-side {
    padding: 36px;
  }

  .system-visual,
  .system-visual:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .system-visual:nth-child(even) .visual-copy,
  .system-visual:nth-child(even) .role-interface {
    grid-column: auto;
    grid-row: auto;
  }

  .system-visual:nth-child(even) .visual-copy {
    order: 0;
  }

  .system-visual:nth-child(even) .role-interface {
    order: 1;
  }

  .pricing-table {
    grid-template-columns: 1fr;
    max-width: 690px;
    margin-inline: auto;
  }

  .price-plan.is-featured {
    transform: none;
  }

  .price-plan h3 {
    min-height: 0;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: 76px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .header-cta {
    min-height: 38px;
    padding: 8px 12px;
  }

  .header-cta svg {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-qualifiers {
    display: grid;
    gap: 8px;
  }

  .hero-footnote {
    display: grid;
    gap: 8px;
    justify-content: start;
  }

  .hero-footnote span::after {
    display: none;
  }

  .visual-heading {
    align-items: center;
  }

  .fog-map {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-block: 18px 12px;
  }

  .map-lines,
  .lost-marker {
    display: none;
  }

  .fog-node {
    position: static;
    width: auto;
    min-height: 72px;
    grid-template-columns: 27px minmax(0, 1fr);
    padding: 8px;
    box-shadow: none;
  }

  .node-icon {
    width: 27px;
    height: 27px;
  }

  .fog-node > span:not(.node-icon) {
    font-size: .7rem;
  }

  .fog-node small {
    font-size: .57rem;
  }

  .fog-core,
  .fog-shell[data-mode="hub"] .fog-core {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 100px;
    grid-column: 1 / -1;
    margin-block-start: 7px;
    transform: none;
    border-radius: 13px;
  }

  html[dir="rtl"] .fog-core,
  .fog-shell[data-mode="hub"] .fog-core {
    transform: none;
  }

  .capability-rail {
    grid-template-columns: 1fr;
  }

  .capability-rail article,
  .capability-rail article:nth-child(-n+3) {
    min-height: 0;
    padding: 24px 58px 24px 10px;
    border-block-start: 1px solid var(--line);
    border-inline-start: 0;
  }

  .capability-rail article:first-child {
    border-block-start: 0;
  }

  .capability-rail article > span {
    inset-block-start: 25px;
    inset-inline-start: 14px;
  }

  .capability-rail h3 {
    min-height: 0;
  }

  .system-visual {
    padding: 26px 18px;
  }

  .pipeline-wrap {
    min-height: 0;
    padding: 96px 10px 30px;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline-stage {
    display: grid;
    min-height: 82px;
    grid-template-columns: minmax(80px, .7fr) minmax(100px, 1.3fr) auto;
    gap: 10px;
    align-items: center;
    border-block-start: 1px solid #e2e8f0;
    border-inline-start: 0;
  }

  .pipeline-stage:first-child {
    border-block-start: 0;
  }

  .stage-title,
  .task-stack {
    min-height: 0;
    margin: 0;
  }

  .task-stack {
    grid-template-columns: repeat(7, minmax(5px, 1fr));
    align-content: center;
  }

  .task-stack i {
    height: 27px;
  }

  .pulse-line {
    display: none;
  }

  .manager-alert {
    inset-inline: 10px;
  }

  .role-interface {
    min-height: 340px;
    padding: 50px 12px 38px;
  }

  .role-interface::before,
  .role-interface::after {
    inset-inline: 24px;
  }

  .single-task {
    align-items: stretch;
    flex-direction: column;
  }

  .single-task button {
    align-self: stretch;
    min-height: 38px;
  }

  .kpi-row {
    grid-template-columns: 1fr;
  }

  .kpi-row > div {
    min-height: 90px;
  }

  .mini-kanban {
    gap: 5px;
  }

  .mini-kanban > div {
    padding: 7px;
  }

  .fit-comparison {
    grid-template-columns: 1fr;
  }

  .fit-column + .fit-column {
    border-block-start: 1px solid var(--line-dark);
    border-inline-start: 0;
  }

  .form-step {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    position: fixed;
    inset-inline: 12px;
    inset-block-end: max(12px, env(safe-area-inset-bottom));
    z-index: 90;
    display: inline-flex;
    min-height: 48px;
    box-shadow: 0 14px 35px rgba(2, 6, 23, .3);
    transform: translateY(140%);
    transition: transform .35s var(--ease);
  }

  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
  }

  .site-footer {
    padding-block-end: 90px;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.9rem);
  }

  .brand {
    gap: 7px;
    font-size: 1.08rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .header-cta {
    font-size: .75rem;
  }

  .fog-shell {
    padding: 13px;
    border-radius: 17px;
  }

  .visual-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .segment-control {
    align-self: stretch;
  }

  .segment-control button {
    flex: 1;
  }

  .fog-map {
    grid-template-columns: 1fr;
  }

  .fog-core {
    grid-column: 1;
  }

  .symptom-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .transition-side {
    padding: 25px 20px;
  }

  .transition-bridge {
    min-height: 190px;
  }

  .bridge-core {
    width: 140px;
    min-height: 140px;
  }

  .system-visual {
    border-radius: 17px;
  }

  .role-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .role-tabs button {
    min-width: 0;
  }

  .role-database {
    inset-inline-end: 10px;
  }

  .ui-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .mini-kanban {
    grid-template-columns: 1fr;
  }

  .mini-kanban > div {
    min-height: 70px;
  }

  .mini-kanban i {
    display: inline-block;
    width: 30%;
    margin-inline-end: 3px;
  }

  .choice-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fit-form {
    min-height: 450px;
    padding: 21px 15px;
    border-radius: 16px;
  }

  .form-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .form-intro span {
    text-align: start;
  }

  .price-plan {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }
}

@media (max-width: 300px) {
  :root {
    --header-height: 62px;
  }

  body {
    font-size: 14px;
  }

  .container {
    width: min(calc(100% - 16px), var(--container));
  }

  .site-header .brand > span {
    display: none;
  }

  .header-cta {
    padding-inline: 9px;
  }

  .hero {
    padding-block-start: 32px;
  }

  .button {
    min-height: 48px;
    padding-inline: 12px;
    font-size: .84rem;
  }

  .fog-shell {
    padding: 9px;
  }

  .transition-side li {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
  }

  .pipeline-stage {
    grid-template-columns: 1fr;
  }

  .task-stack {
    grid-template-columns: repeat(7, 1fr);
  }

  .role-interface {
    padding-inline: 7px;
  }

  .role-panel {
    padding: 12px 8px;
  }

  .choice-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .form-progress span {
    font-size: .62rem;
  }

  .form-progress i {
    display: none;
  }

  .price strong {
    font-size: 1.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js [data-section],
  .js .symptom-list li,
  .js .capability-rail article,
  .js .method-timeline li {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .fog-node,
  .fog-core,
  .price-plan,
  .fit-form,
  .role-panel {
    border: 1px solid CanvasText;
  }

  .status-dot,
  .transition-label span,
  .visual-legend i {
    forced-color-adjust: none;
  }
}

@media print {
  .site-header,
  .mobile-sticky-cta,
  .hero-actions,
  .segment-control,
  .form-actions,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .hero {
    padding-block: 35px;
    break-inside: avoid;
  }

  .fit-section,
  .system-transition {
    color: #000;
    background: #fff;
  }

  .fit-section h2,
  .fit-section h3,
  .system-transition h2,
  .system-transition h3 {
    color: #000;
  }
}

.fog-shell[data-mode="hub"] .fog-core strong,
.fog-shell[data-mode="hub"] .fog-core small,
.fog-shell[data-mode="hub"] .fog-core svg {
  color: #04111d;
}

.fog-shell[data-mode="hub"] .fog-core small {
  opacity: .8;
}
