:root {
  --bg: #f7faff;
  --surface: #ffffff;
  --surface-soft: #f1f6fc;
  --ink: #071a33;
  --muted: #52657c;
  --muted-strong: #33465e;
  --line: #d9e4f0;
  --line-strong: #bdccdc;
  --blue: #0b63ff;
  --blue-dark: #0849c8;
  --blue-soft: #eaf2ff;
  --green: #14b86b;
  --green-soft: #e8f8f0;
  --amber: #f2a000;
  --amber-soft: #fff5dc;
  --carbon: #071624;
  --carbon-2: #0d2031;
  --carbon-3: #12283b;
  --shadow: 0 18px 48px rgba(18, 44, 74, 0.08);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px, #f9fbfe 100%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

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

svg {
  display: block;
}

.site-header {
  width: min(var(--max), calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links .nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 99, 255, 0.72);
  border-radius: 6px;
  padding: 0 18px;
  background: rgba(11, 99, 255, 0.04);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.nav-links .nav-cta:hover {
  border-color: var(--blue);
  background: rgba(11, 99, 255, 0.1);
  color: var(--blue);
}

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
  padding: 52px 0 50px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bracketed {
  position: relative;
  padding-left: 16px;
}

.bracketed::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 21px;
  border-top: 1px solid var(--blue);
  border-left: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 7vw, 5.9rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 24px;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

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

.button-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 99, 255, 0.18);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
}

.status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-line strong {
  color: #078747;
  font-weight: 800;
}

.status-dot,
.footer-status i,
.process-header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(20, 184, 107, 0.12);
}

.support-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted-strong);
}

.support-item {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-right: 11px;
  border-right: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 650;
}

.support-item:last-child {
  border-right: 0;
}

.support-icon {
  width: 20px;
  height: 20px;
  color: var(--muted-strong);
}

.support-icon svg,
.node-icon svg,
.card-icon svg,
.outcome-icon svg,
.step-icon svg,
.area-item svg,
.node-mini-icon svg,
.warning-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-height: 448px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 255, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.visual-grid,
.process-map::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(7, 26, 51, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.42;
}

.visual-tag {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0 14px;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  background: var(--surface);
}

.visual-tag::before,
.visual-tag::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 8px;
  height: 24px;
  border-color: var(--line-strong);
}

.visual-tag::before {
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.visual-tag::after {
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.route-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.route-layer .route-path {
  fill: none;
  stroke: #708196;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.route-layer .route-path.logic {
  stroke-dasharray: 7 8;
}

.route-layer .route-path.soft {
  opacity: 0.45;
}

.route-layer .route-port {
  fill: #8293a7;
  stroke: #f8fbff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.route-layer .route-port.soft {
  fill: #d7e1eb;
}

.route-layer .flow-pulse {
  fill: var(--blue);
  filter: drop-shadow(0 0 5px rgba(11, 99, 255, 0.52));
}

.map-column {
  position: absolute;
  z-index: 2;
  top: 68px;
  display: grid;
  gap: 14px;
  width: 178px;
  min-width: 0;
}

.input-column {
  left: 34px;
}

.output-column {
  right: 34px;
}

.map-node {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(24, 52, 82, 0.04);
}

.map-node strong {
  display: block;
  overflow-wrap: anywhere;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
}

.map-node > span {
  min-width: 0;
}

.map-node small {
  color: #078747;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.output-node:nth-child(3) small {
  color: var(--blue);
}

.node-icon {
  width: 23px;
  height: 23px;
  color: var(--ink);
}

.orchestrator-card {
  position: absolute;
  z-index: 4;
  top: 132px;
  left: 50%;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  transform: translateX(-50%);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  background: #f8fbff;
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(11, 99, 255, 0.12);
  animation: orchestrator-active-glow 5.6s ease-in-out infinite;
}

.orchestrator-card svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orchestrator-card strong,
.orchestrator-card span {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.orchestrator-card strong {
  font-size: 0.75rem;
  font-weight: 850;
}

.orchestrator-card span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
}

@keyframes orchestrator-active-glow {
  0%,
  100% {
    box-shadow: 0 20px 40px rgba(11, 99, 255, 0.12);
  }

  50% {
    box-shadow:
      0 20px 40px rgba(11, 99, 255, 0.14),
      0 0 0 4px rgba(20, 184, 107, 0.06);
  }
}

.map-legend {
  position: absolute;
  right: 34px;
  bottom: 24px;
  left: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.map-legend i {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.map-legend .dashed {
  background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px);
}

.map-legend .diamond {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  background: transparent;
}

.map-legend .circle {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.service-section,
.outcomes-section,
.movement-section,
.areas-section,
.cta-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.movement-section {
  margin-top: 10px;
  padding: 42px 0;
  border-top: 1px solid #dbe6f1;
  border-bottom: 1px solid #dbe6f1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(244, 248, 253, 0.86)),
    #f4f8fd;
  box-shadow: 0 0 0 100vmax #f4f8fd;
  clip-path: inset(0 -100vmax);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.mobile-section-intro,
.areas-trust-card,
.area-copy {
  display: none;
}

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

.service-card,
.outcome-card,
.step-card,
.area-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(18, 44, 74, 0.04);
}

.service-card {
  min-height: 170px;
  position: relative;
  padding: 28px 24px 24px 92px;
}

.card-icon {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 42px;
  height: 42px;
}

.card-icon.blue,
.outcome-icon.blue,
.step-icon.blue {
  color: var(--blue);
}

.card-icon.green,
.outcome-icon.green,
.step-icon.green {
  color: var(--green);
}

.outcome-icon.amber {
  color: var(--amber);
}

.service-card h2,
.outcome-card h2,
.step-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.2;
}

.service-card p,
.outcome-card p,
.step-card p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  font-size: 0.91rem;
  line-height: 1.55;
}

.system-label {
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.connect-section {
  margin-top: 8px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.connect-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(720px, 1.72fr);
  gap: 36px;
  align-items: center;
}

.connect-copy {
  color: #ffffff;
}

.connect-copy .eyebrow {
  color: #71a9ff;
}

.connect-copy h2 {
  max-width: 360px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.connect-copy > p {
  max-width: 395px;
  margin: 18px 0 0;
  color: #c8d6e5;
  font-size: 1.04rem;
  line-height: 1.62;
}

.metrics-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(193, 212, 232, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.metrics-card div {
  min-width: 0;
  padding: 22px 18px;
  border-right: 1px solid rgba(193, 212, 232, 0.18);
}

.metrics-card div:last-child {
  border-right: 0;
}

.metrics-card strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1;
}

.metric-blue {
  color: #2c82ff;
}

.metric-green {
  color: #42d98a;
}

.metric-amber {
  color: #ffb431;
}

.metrics-card span {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: 0.81rem;
  font-weight: 850;
}

.metrics-card p {
  margin: 7px 0 0;
  color: #a8bbcf;
  font-size: 0.78rem;
  line-height: 1.45;
}

.process-map {
  --process-x-pad: 46px;
  --process-gap: clamp(28px, 3.2vw, 52px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(680px, 1fr);
  max-width: 100%;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(193, 212, 232, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 62% 46%, rgba(11, 99, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #101d2c;
  color: #ffffff;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
}

.process-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(207, 225, 244, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.28;
  pointer-events: none;
}

.system-visual-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 30px 28px;
  border-right: 1px solid rgba(193, 212, 232, 0.12);
}

.system-visual-copy .eyebrow {
  margin-bottom: 20px;
  color: #cbd8e8;
  font-size: 0.7rem;
}

.system-visual-copy h2 {
  max-width: 210px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}

.system-visual-copy p:not(.eyebrow) {
  max-width: 230px;
  margin: 20px 0 0;
  color: #c5d2e0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.system-code {
  width: fit-content;
  margin-top: auto;
  border: 1px solid rgba(100, 184, 164, 0.28);
  border-radius: 5px;
  padding: 9px 14px;
  background: rgba(20, 184, 107, 0.06);
  color: #83d6bc;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.system-flow-link {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(118, 170, 255, 0.32);
  border-radius: 6px;
  padding: 0 16px;
  background: rgba(11, 99, 255, 0.08);
  color: #dce9ff;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.system-flow-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.system-flow-link:hover {
  border-color: rgba(118, 170, 255, 0.56);
  background: rgba(11, 99, 255, 0.14);
  color: #ffffff;
}

.flowcharts-page {
  --max: 1640px;
  background:
    linear-gradient(180deg, #ffffff 0, #f7faff 300px, #f9fbfe 100%),
    var(--bg);
}

.flow-dashboard {
  display: grid;
  grid-template-columns: minmax(220px, 0.24fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  padding: 48px 0 42px;
}

.flow-dashboard-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.flow-hero {
  max-width: 920px;
}

.flow-utility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.flow-utility-row .eyebrow {
  margin: 0;
}

.flow-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 3.5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.flow-nav-icon svg,
.flow-rail-note svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-controls {
  position: sticky;
  top: 22px;
  align-self: start;
  display: grid;
  gap: 28px;
  min-width: 0;
  border-right: 1px solid var(--line-strong);
  padding: 56px 32px 40px 0;
}

.flow-system-state {
  width: max-content;
  min-height: 0;
  display: grid;
  align-items: start;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 11px;
  background:
    radial-gradient(circle at 13% 50%, rgba(20, 184, 107, 0.1), transparent 21%),
    rgba(255, 255, 255, 0.86);
  color: #078747;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(15, 36, 64, 0.06);
}

.flow-system-state span {
  color: var(--ink);
  font-size: 0.62rem;
  letter-spacing: 0;
}

.flow-system-state strong {
  display: grid;
  grid-template-columns: 8px max-content;
  align-items: center;
  gap: 7px;
  color: #078747;
  font-size: 0.66rem;
  line-height: 1.18;
}

.flow-system-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20, 184, 107, 0.1);
}

.flow-system-state small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

.flow-index {
  display: grid;
  gap: 16px;
}

.flow-index-title {
  margin: 0;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.flow-index-list {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.flow-index-list::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 4px;
  width: 1px;
  background: var(--line-strong);
}

.flow-nav-item {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 62px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 16px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.flow-nav-item:hover,
.flow-nav-item:focus-visible {
  border-color: rgba(11, 99, 255, 0.36);
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(11, 99, 255, 0.08);
  transform: translateY(-1px);
}

.flow-nav-item:focus-visible {
  outline: 2px solid rgba(11, 99, 255, 0.26);
  outline-offset: 3px;
}

.flow-nav-item:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(11, 99, 255, 0.08);
}

.flow-nav-icon {
  display: grid;
  place-items: center;
  color: currentColor;
}

.flow-nav-point {
  position: absolute;
  left: -24px;
  top: 50%;
  z-index: 2;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  transform: translateY(-50%);
}

.flow-nav-item[aria-current="true"] {
  border-color: rgba(11, 99, 255, 0.44);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.96), rgba(238, 245, 255, 0.96));
  color: var(--blue);
  box-shadow: 0 12px 26px rgba(11, 99, 255, 0.1);
}

.flow-nav-item[aria-current="true"] .flow-nav-point {
  border-color: rgba(20, 184, 107, 0.35);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(20, 184, 107, 0.1);
}

.flow-rail-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 18px;
  background: rgba(248, 251, 255, 0.82);
  color: var(--ink);
}

.flow-rail-note svg {
  color: var(--blue);
}

.flow-rail-note p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.48;
}

.flow-card-header span {
  color: var(--blue);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.flow-card {
  scroll-margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.flow-card-header {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.flow-card-header h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.1;
}

.flow-card-header p {
  max-width: 540px;
  justify-self: end;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.94rem;
  line-height: 1.5;
}

.flow-frame {
  margin: 0;
  padding: clamp(10px, 1.5vw, 16px);
  background:
    linear-gradient(180deg, rgba(241, 246, 252, 0.62), rgba(255, 255, 255, 0.9)),
    var(--surface-soft);
}

.flow-frame img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.flow-cta {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1.08fr 0.9fr auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 38px;
  background:
    radial-gradient(circle at 92% 16%, rgba(11, 99, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.flow-cta .eyebrow {
  margin-bottom: 10px;
}

.flow-cta h2 {
  max-width: 480px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.06;
}

.flow-cta p:not(.eyebrow) {
  max-width: 460px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.6;
}

.assessment-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 62%, rgba(11, 99, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 72% 18%, rgba(73, 132, 255, 0.12), transparent 26rem),
    linear-gradient(135deg, #020815 0, #06111f 42%, #08111d 100%);
  color: #ffffff;
  color-scheme: dark;
}

.assessment-page::before {
  content: "";
  position: fixed;
  left: -8rem;
  bottom: -8rem;
  z-index: 0;
  width: 44rem;
  height: 24rem;
  pointer-events: none;
  border: 1px solid rgba(11, 99, 255, 0.18);
  border-color: rgba(11, 99, 255, 0.28) transparent transparent;
  border-radius: 50%;
  box-shadow:
    0 -22px 48px rgba(11, 99, 255, 0.14),
    inset 0 8px 22px rgba(11, 99, 255, 0.08);
  transform: rotate(8deg);
}

.assessment-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(96, 124, 161, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 124, 161, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 72%);
}

.assessment-header,
.assessment-main,
.assessment-footer {
  position: relative;
  z-index: 1;
}

.assessment-header {
  width: min(100% - 56px, 1440px);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(122, 152, 191, 0.22);
}

.assessment-brand {
  color: #ffffff;
}

.assessment-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.assessment-nav a {
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.assessment-nav a:hover {
  color: #ffffff;
}

.assessment-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(63, 128, 255, 0.42);
  border-radius: 7px;
  background: rgba(11, 99, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.assessment-menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.assessment-nav-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(63, 128, 255, 0.85);
  border-radius: 6px;
  padding: 0 24px;
  color: #ffffff;
  background: rgba(11, 99, 255, 0.06);
}

.assessment-nav-cta:hover {
  background: rgba(11, 99, 255, 0.15);
  transform: translateY(-1px);
}

.assessment-main {
  width: min(100% - 56px, 1440px);
  margin: 0 auto;
  padding: 36px 0 30px;
}

.assessment-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(40px, 5rem, 64px);
  align-items: start;
}

.assessment-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 28px;
  padding: 34px 0 0;
}

.assessment-eyebrow,
.assessment-section-label,
.assessment-benefit h2,
.assessment-card h2 {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assessment-eyebrow {
  margin: 0 0 32px;
  color: #3f80ff;
  font-size: 0.86rem;
}

.assessment-intro h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.05rem;
  font-weight: 500;
  line-height: 1.02;
}

.assessment-intro h1 em {
  color: #3f80ff;
  font-style: italic;
}

.assessment-rule {
  display: block;
  width: 76px;
  height: 1px;
  margin: 36px 0 28px;
  background: #3f80ff;
}

.assessment-intro p:not(.assessment-eyebrow) {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: 1.16rem;
  line-height: 1.55;
}

.assessment-benefits {
  display: grid;
  gap: 28px;
  margin-top: 12px;
}

.assessment-benefit {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.assessment-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142, 167, 201, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.025);
}

.assessment-icon svg,
.assessment-trust svg,
.assessment-submit-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.assessment-benefit h2,
.assessment-card h2 {
  margin: 0 0 12px;
  color: #3f80ff;
  font-size: 0.84rem;
}

.assessment-benefit p,
.assessment-card p,
.assessment-next small {
  margin: 0;
  color: rgba(216, 225, 238, 0.74);
  font-size: 0.95rem;
  line-height: 1.58;
}

.assessment-card {
  border: 1px solid rgba(126, 157, 197, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 27, 45, 0.86), rgba(7, 17, 31, 0.76)),
    rgba(255, 255, 255, 0.025);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.assessment-trust {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 28px;
}

.assessment-trust svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
}

.assessment-next {
  padding: 30px 32px;
}

.assessment-next ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.assessment-next li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.assessment-next li + li {
  border-left: 1px solid rgba(126, 157, 197, 0.18);
  margin-left: 26px;
  padding-left: 26px;
}

.assessment-next li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #3f80ff;
  border-radius: 50%;
  color: #ffffff;
  background: #07111f;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
  box-shadow: 0 0 0 4px rgba(63, 128, 255, 0.06);
}

.assessment-next p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.assessment-next strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.assessment-next small {
  color: rgba(216, 225, 238, 0.66);
  font-size: 0.86rem;
  line-height: 1.4;
}

.assessment-panel {
  min-width: 0;
  border: 1px solid rgba(126, 157, 197, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 2%, rgba(63, 128, 255, 0.08), transparent 18rem),
    linear-gradient(145deg, rgba(15, 27, 44, 0.88), rgba(7, 16, 28, 0.94));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.assessment-form {
  display: grid;
  gap: 30px;
  padding: 46px 52px 34px;
}

.assessment-form-section {
  display: grid;
  gap: 28px;
}

.assessment-section-label {
  margin: 0;
  color: #4f8cff;
  font-size: 0.82rem;
}

.assessment-field-grid {
  display: grid;
  gap: 28px;
}

.assessment-field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assessment-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.assessment-field,
.assessment-fieldset {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.assessment-field label,
.assessment-fieldset legend {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.28;
}

.assessment-field label span,
.assessment-fieldset legend span {
  color: #ff8d6c;
}

.assessment-helper {
  margin: -3px 0 4px;
  color: rgba(216, 225, 238, 0.68);
  font-size: 0.88rem;
  line-height: 1.35;
}

.assessment-field input,
.assessment-field textarea {
  width: 100%;
  border: 1px solid rgba(126, 157, 197, 0.25);
  border-radius: 8px;
  background: rgba(5, 13, 24, 0.56);
  color: #ffffff;
  font: inherit;
  font-size: 0.94rem;
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.assessment-field input {
  height: 54px;
  padding: 0 18px;
}

.assessment-field textarea {
  min-height: 140px;
  resize: vertical;
  padding: 16px 18px;
}

.assessment-field input::placeholder,
.assessment-field textarea::placeholder {
  color: rgba(216, 225, 238, 0.55);
}

.assessment-field input:focus,
.assessment-field textarea:focus {
  border-color: rgba(63, 128, 255, 0.9);
  background: rgba(5, 13, 24, 0.76);
  box-shadow: 0 0 0 3px rgba(63, 128, 255, 0.16);
}

.assessment-field input:user-invalid,
.assessment-field textarea:user-invalid {
  border-color: #ff8d6c;
  box-shadow: 0 0 0 3px rgba(255, 141, 108, 0.12);
}

.assessment-divider {
  width: 100%;
  height: 1px;
  background: rgba(126, 157, 197, 0.22);
}

.assessment-radio-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.assessment-radio-cards label,
.assessment-radio-list label {
  cursor: pointer;
}

.assessment-radio-cards label {
  min-height: 146px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(126, 157, 197, 0.22);
  border-radius: 8px;
  padding: 20px 18px;
  background: rgba(5, 13, 24, 0.32);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.assessment-radio-cards label:has(input:checked),
.assessment-radio-list label:has(input:checked) {
  border-color: rgba(63, 128, 255, 0.92);
  background: rgba(63, 128, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(63, 128, 255, 0.18);
}

.assessment-radio-cards label:has(input:focus-visible),
.assessment-radio-list label:has(input:focus-visible) {
  outline: 2px solid rgba(63, 128, 255, 0.42);
  outline-offset: 3px;
}

.assessment-radio-cards input,
.assessment-radio-list input {
  appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid rgba(171, 190, 216, 0.58);
  border-radius: 50%;
  background: transparent;
  transform: translateY(2px);
}

.assessment-radio-cards input:checked,
.assessment-radio-list input:checked {
  border-color: #3f80ff;
  box-shadow: inset 0 0 0 5px #07111f;
  background: #3f80ff;
}

.assessment-radio-cards strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.assessment-radio-cards small {
  color: rgba(216, 225, 238, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

.assessment-radio-list {
  overflow: hidden;
  display: grid;
  border: 1px solid rgba(126, 157, 197, 0.22);
  border-radius: 8px;
  background: rgba(5, 13, 24, 0.25);
}

.assessment-radio-list label {
  min-height: 40px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(126, 157, 197, 0.16);
  padding: 9px 16px;
  color: rgba(216, 225, 238, 0.82);
  font-size: 0.92rem;
}

.assessment-radio-list label:last-child {
  border-bottom: 0;
}

.assessment-radio-list.bare {
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.assessment-radio-list.bare label {
  min-height: 0;
  border: 0;
  padding: 0;
}

.assessment-fieldset.compact {
  align-content: start;
}

.assessment-fieldset.split {
  border-left: 1px solid rgba(126, 157, 197, 0.2);
  padding-left: 34px;
}

.assessment-submit-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 0;
  border: 1px solid rgba(63, 128, 255, 0.28);
  border-radius: 8px;
  padding: 18px 24px;
  background:
    radial-gradient(circle at 12% 50%, rgba(63, 128, 255, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(7, 23, 51, 0.98), rgba(7, 18, 33, 0.92));
}

.assessment-submit-copy {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.assessment-submit-mark {
  color: #3f80ff;
}

.assessment-submit-copy p,
.assessment-submit-action {
  margin: 0;
  display: grid;
  gap: 7px;
}

.assessment-submit-copy strong {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 850;
}

.assessment-submit-copy small,
.assessment-submit-action small {
  color: rgba(216, 225, 238, 0.68);
  font-size: 0.78rem;
}

.assessment-submit {
  min-width: 210px;
  min-height: 54px;
  border: 0;
  border-radius: 7px;
  padding: 0 28px;
  background: linear-gradient(180deg, #1d74ff, #0b63ff);
  color: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(11, 99, 255, 0.28);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.assessment-submit:hover {
  transform: translateY(-1px);
}

.assessment-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.assessment-wizard {
  display: grid;
  gap: 36px;
}

.assessment-wizard-top {
  display: grid;
  grid-template-columns: auto minmax(180px, 0.42fr);
  gap: 28px;
  align-items: end;
  border-bottom: 1px solid rgba(126, 157, 197, 0.2);
  padding-bottom: 28px;
}

.assessment-progress-step {
  margin: 8px 0 0;
  color: #d8e1ee;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.04rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.assessment-progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(126, 157, 197, 0.18);
}

.assessment-progress-track span {
  display: block;
  width: 8.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3f80ff, #53d989);
  box-shadow: 0 0 18px rgba(63, 128, 255, 0.36);
  transition: width 220ms ease;
}

.assessment-step-list {
  min-height: 390px;
}

.assessment-step {
  min-width: 0;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
}

.assessment-step[hidden] {
  display: none;
}

.assessment-step-kicker {
  order: -1;
  margin: 0;
  color: #4f8cff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.assessment-question-label {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
}

.assessment-question-label span {
  color: #ff8d6c;
}

.assessment-step .assessment-field {
  gap: 16px;
}

.assessment-step .assessment-helper {
  margin: -10px 0 0;
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.assessment-choice-grid,
.assessment-choice-list {
  display: grid;
  gap: 16px;
  margin-top: 2px;
}

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

.assessment-choice-list {
  gap: 12px;
}

.assessment-choice-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(126, 157, 197, 0.24);
  border-radius: 10px;
  padding: 24px 26px;
  background: rgba(5, 13, 24, 0.34);
  color: rgba(216, 225, 238, 0.86);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.assessment-choice-card.compact {
  min-height: 64px;
  align-items: center;
  padding: 18px 20px;
}

.assessment-choice-card:hover {
  border-color: rgba(126, 157, 197, 0.42);
  background: rgba(5, 13, 24, 0.48);
}

.assessment-choice-card:has(input:checked) {
  border-color: rgba(63, 128, 255, 0.95);
  background: rgba(63, 128, 255, 0.11);
  box-shadow:
    inset 0 0 0 1px rgba(63, 128, 255, 0.2),
    0 18px 38px rgba(3, 12, 26, 0.2);
}

.assessment-choice-card:has(input:focus-visible) {
  outline: 2px solid rgba(63, 128, 255, 0.46);
  outline-offset: 3px;
}

.assessment-choice-card input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid rgba(171, 190, 216, 0.62);
  border-radius: 50%;
  background: transparent;
  transform: translateY(2px);
}

.assessment-choice-card.compact input {
  transform: none;
}

.assessment-choice-card input:checked {
  border-color: #3f80ff;
  box-shadow: inset 0 0 0 5px #07111f;
  background: #3f80ff;
}

.assessment-choice-card strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
}

.assessment-choice-card small {
  display: block;
  color: rgba(216, 225, 238, 0.74);
  font-size: 0.92rem;
  line-height: 1.55;
}

.assessment-choice-card.compact span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.4;
}

.assessment-step-error {
  min-height: 22px;
  margin: -4px 0 0;
  color: #ff9f8a;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.45;
}

.assessment-step[data-invalid="true"] .assessment-field input,
.assessment-step[data-invalid="true"] .assessment-field textarea,
.assessment-step[data-invalid="true"] .assessment-choice-grid,
.assessment-step[data-invalid="true"] .assessment-choice-list {
  border-color: #ff8d6c;
}

.assessment-step[data-invalid="true"] .assessment-field input,
.assessment-step[data-invalid="true"] .assessment-field textarea {
  box-shadow: 0 0 0 3px rgba(255, 141, 108, 0.12);
}

.assessment-step[data-invalid="true"] .assessment-choice-card {
  border-color: rgba(255, 141, 108, 0.42);
}

.assessment-wizard-actions {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(126, 157, 197, 0.2);
  padding-top: 26px;
}

.assessment-wizard-forward {
  display: grid;
  justify-items: end;
  gap: 9px;
  margin-left: auto;
}

.assessment-wizard-forward small {
  color: rgba(216, 225, 238, 0.68);
  font-size: 0.78rem;
}

.assessment-back,
.assessment-next-button {
  min-width: 132px;
  min-height: 52px;
  border-radius: 7px;
  padding: 0 24px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.assessment-back {
  border: 1px solid rgba(126, 157, 197, 0.28);
  background: rgba(5, 13, 24, 0.35);
  color: rgba(216, 225, 238, 0.88);
}

.assessment-next-button {
  border: 0;
  background: linear-gradient(180deg, #1d74ff, #0b63ff);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(11, 99, 255, 0.24);
}

.assessment-back:hover,
.assessment-next-button:hover {
  transform: translateY(-1px);
}

.assessment-form-message {
  min-height: 24px;
  margin: -8px 0 0;
  color: rgba(216, 225, 238, 0.8);
  font-size: 0.9rem;
  line-height: 1.45;
}

.assessment-form-message[data-state="success"] {
  color: #53d989;
}

.assessment-form-message[data-state="error"] {
  color: #ff9f8a;
}

.assessment-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.assessment-footer {
  width: min(100% - 56px, 1440px);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(122, 152, 191, 0.2);
  color: rgba(216, 225, 238, 0.62);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
}

.assessment-footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 160ms ease;
}

.assessment-footer a:hover {
  color: #3f80ff;
}

.system-diagram {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: 50px;
}

.process-route-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.process-route-layer .process-route {
  fill: none;
  stroke: rgba(207, 225, 244, 0.78);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.process-route-layer .process-route.exception-route {
  stroke: rgba(171, 205, 235, 0.64);
  stroke-dasharray: 4 5;
}

.process-route-layer .process-pulse {
  fill: #76aaff;
  filter: drop-shadow(0 0 5px rgba(118, 170, 255, 0.52));
}

.process-route-layer .route-label {
  fill: #53d989;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.process-route-layer .route-label.no {
  fill: #f07582;
}

.process-status-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(193, 212, 232, 0.18);
  border-radius: 5px;
  padding: 8px 12px;
  background: rgba(7, 22, 36, 0.42);
  color: #c9d8e8;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.process-status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4be294;
  box-shadow: 0 0 0 4px rgba(20, 184, 107, 0.12);
}

.process-status-badge strong {
  color: #d7e2ed;
}

.process-header {
  position: relative;
  z-index: 2;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(193, 212, 232, 0.18);
  color: #c9d8e8;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.process-header span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.process-header strong {
  color: #43d98b;
}

.process-stage-labels {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--process-gap);
  padding: 22px var(--process-x-pad) 18px;
  color: #dce7f3;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.process-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  min-width: 0;
  align-items: center;
  column-gap: var(--process-gap);
  padding: 0 var(--process-x-pad);
}

.process-node {
  min-width: 0;
  min-height: 122px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(193, 212, 232, 0.32);
  border-radius: 6px;
  padding: 12px;
  background: rgba(7, 22, 36, 0.56);
  text-align: center;
}

.node-mini-icon {
  width: 28px;
  height: 28px;
  color: #76aaff;
}

.node-mini-icon.green {
  color: #48d494;
}

.node-mini-icon.blue {
  color: #3d8cff;
}

.process-node strong {
  color: #dce7f3;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.process-node > span:not(.node-mini-icon) {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.36;
  overflow-wrap: anywhere;
}

.process-node small {
  color: #4be294;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 850;
  text-transform: uppercase;
}

.diamond-node {
  width: 88px;
  min-height: 88px;
  justify-self: center;
  transform: rotate(45deg);
  padding: 10px;
}

.diamond-node strong,
.diamond-node small {
  transform: rotate(-45deg);
}

.flow-arrow {
  display: none;
  width: 100%;
  height: 1px;
  position: relative;
  background: transparent;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  transform: rotate(45deg);
}

.exception-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(96px, 1fr));
  align-items: center;
  column-gap: var(--process-gap);
  padding: 48px var(--process-x-pad) 28px;
}

.decision-yes,
.decision-no {
  display: none;
}

.exception-line,
.return-line {
  height: 44px;
  border-bottom: 1px dashed transparent;
}

.exception-line {
  border-left: 1px dashed transparent;
  border-bottom-left-radius: 8px;
}

.return-line {
  border-right: 1px dashed transparent;
  border-bottom-right-radius: 8px;
}

.exception-node {
  grid-column: 3;
  justify-self: center;
  width: 180px;
  min-height: 88px;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(242, 160, 0, 0.45);
  border-radius: 6px;
  padding: 12px;
  background: rgba(7, 22, 36, 0.76);
}

.warning-icon {
  width: 23px;
  height: 23px;
  color: var(--amber);
}

.exception-node strong,
.exception-node small {
  grid-column: 2;
}

.exception-node strong {
  align-self: end;
  font-size: 0.78rem;
}

.exception-node small {
  align-self: start;
  color: #d9e5f2;
  font-size: 0.72rem;
  line-height: 1.35;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.outcome-card {
  min-height: 146px;
  padding: 22px 18px;
}

.outcome-icon,
.step-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
}

.movement-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
}

.step-card {
  min-height: 162px;
  position: relative;
  padding: 24px 22px;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.76;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.area-item {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 800;
}

.area-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.area-item svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--muted-strong);
}

.cta-section {
  padding-bottom: 42px;
}

.cta-panel {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: 1.1fr 0.86fr auto;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 46px 32px 112px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.cta-panel .eyebrow {
  margin-bottom: 10px;
}

.cta-panel h2 {
  margin: 0;
  max-width: 430px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.06;
}

.cta-panel p:not(.eyebrow) {
  max-width: 420px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.58;
}

.dot-field {
  position: absolute;
  width: 70px;
  height: 78px;
  background-image: radial-gradient(rgba(7, 26, 51, 0.18) 1px, transparent 1px);
  background-size: 10px 10px;
}

.dot-field.left {
  top: 30px;
  left: 30px;
}

.dot-field.right {
  right: 30px;
  bottom: 30px;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.footer-brand .brand {
  font-size: 1.35rem;
}

.footer-brand p {
  max-width: 270px;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-column {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.footer-column h2,
.footer-status span {
  margin: 0 0 5px;
  color: var(--ink);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-column a:hover {
  color: var(--blue);
}

.footer-status {
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.72);
}

.footer-status strong {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-items: center;
  gap: 12px;
  color: #078747;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-status small {
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
}

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

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

@media (min-width: 1121px) {
  .assessment-page {
    height: 100svh;
    overflow: hidden;
  }

  .assessment-header {
    min-height: 72px;
  }

  .assessment-nav-cta {
    min-height: 42px;
  }

  .assessment-main {
    height: calc(100svh - 72px);
    padding: 24px 0;
  }

  .assessment-shell {
    height: 100%;
    grid-template-columns: minmax(300px, 0.31fr) minmax(0, 0.69fr);
    gap: clamp(34px, 4rem, 58px);
    align-items: stretch;
  }

  .assessment-aside {
    position: static;
    height: 100%;
    gap: 18px;
    align-content: start;
    padding: 18px 0 0;
    overflow: hidden;
  }

  .assessment-eyebrow {
    margin-bottom: 20px;
    font-size: 0.78rem;
  }

  .assessment-intro h1 {
    font-size: 3.18rem;
    line-height: 1.01;
  }

  .assessment-rule {
    margin: 22px 0 18px;
  }

  .assessment-intro p:not(.assessment-eyebrow) {
    max-width: 300px;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .assessment-benefits {
    gap: 16px;
    margin-top: 2px;
  }

  .assessment-benefit {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .assessment-icon {
    width: 50px;
    height: 50px;
  }

  .assessment-icon svg {
    width: 24px;
    height: 24px;
  }

  .assessment-benefit h2,
  .assessment-card h2 {
    margin-bottom: 8px;
    font-size: 0.74rem;
  }

  .assessment-benefit p,
  .assessment-card p,
  .assessment-next small {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .assessment-trust {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 20px;
  }

  .assessment-trust svg {
    width: 18px;
    height: 18px;
  }

  .assessment-panel {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .assessment-form {
    height: 100%;
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    gap: 14px;
    padding: 26px 42px 22px;
  }

  .assessment-wizard {
    min-height: 0;
    gap: 18px;
  }

  .assessment-wizard-top {
    gap: 22px;
    padding-bottom: 16px;
  }

  .assessment-progress-step {
    margin-top: 6px;
    font-size: 0.96rem;
  }

  .assessment-step-list {
    min-height: 244px;
  }

  .assessment-step {
    gap: 16px;
  }

  .assessment-step-kicker {
    font-size: 0.72rem;
  }

  .assessment-question-label {
    font-size: 1.28rem;
  }

  .assessment-step .assessment-helper {
    margin-top: -7px;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .assessment-field input {
    height: 48px;
    padding: 0 16px;
  }

  .assessment-field textarea {
    min-height: 104px;
    padding: 14px 16px;
  }

  .assessment-choice-grid,
  .assessment-choice-list {
    gap: 10px;
  }

  .assessment-choice-card {
    min-height: 104px;
    gap: 14px;
    padding: 17px 18px;
  }

  .assessment-choice-card.compact {
    min-height: 52px;
    padding: 13px 16px;
  }

  .assessment-choice-card strong {
    margin-bottom: 6px;
    font-size: 0.92rem;
  }

  .assessment-choice-card small,
  .assessment-choice-card.compact span {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .assessment-step-error {
    min-height: 18px;
    font-size: 0.82rem;
  }

  .assessment-wizard-actions {
    padding-top: 16px;
  }

  .assessment-back,
  .assessment-next-button,
  .assessment-submit {
    min-height: 46px;
  }

  .assessment-submit {
    min-width: 160px;
  }

  .assessment-submit-bar {
    padding: 13px 18px;
  }

  .assessment-submit-copy {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
  }

  .assessment-submit-mark svg {
    width: 24px;
    height: 24px;
  }

  .assessment-submit-copy strong {
    font-size: 0.78rem;
  }

  .assessment-submit-copy small {
    font-size: 0.72rem;
  }

  .assessment-next {
    padding: 18px 22px;
  }

  .assessment-next ol {
    margin-top: 16px;
  }

  .assessment-next li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
  }

  .assessment-next li + li {
    margin-left: 18px;
    padding-left: 18px;
  }

  .assessment-next li > span {
    width: 28px;
    height: 28px;
  }

  .assessment-next strong {
    font-size: 0.78rem;
  }

  .assessment-next small {
    font-size: 0.76rem;
  }

  .assessment-form-message {
    min-height: 18px;
    margin: 0;
    font-size: 0.82rem;
  }

  .assessment-footer {
    display: none;
  }
}

@media (min-width: 1121px) and (max-height: 860px) {
  .assessment-page {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .assessment-main {
    height: auto;
    min-height: calc(100svh - 72px);
  }

  .assessment-shell {
    height: auto;
    align-items: start;
  }

  .assessment-aside {
    position: sticky;
    top: 24px;
    height: auto;
    overflow: visible;
  }

  .assessment-panel,
  .assessment-form {
    height: auto;
  }

  .assessment-panel {
    overflow: visible;
  }

  .assessment-form {
    grid-template-rows: auto;
  }
}

@media (max-width: 1120px) {
  .hero,
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .assessment-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .assessment-aside {
    position: static;
    padding-top: 10px;
  }

  .assessment-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .assessment-benefit {
    grid-template-columns: 1fr;
  }

  .assessment-panel {
    width: 100%;
  }

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

  .process-map {
    --process-x-pad: 28px;
    --process-gap: 24px;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  }

  .hero-visual {
    min-height: 390px;
  }

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

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

  .step-card:not(:last-child)::after {
    display: none;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding-right: 46px;
  }

  .flow-cta {
    grid-template-columns: 1fr;
  }

  .flow-dashboard {
    grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
    gap: 26px;
  }

  .flow-controls {
    padding-right: 22px;
  }

  .flow-cta {
    padding-right: 42px;
  }

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

@media (max-width: 760px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .home-main {
    display: flex;
    flex-direction: column;
  }

  .home-main > * {
    order: 20;
  }

  .home-main .hero {
    display: contents;
  }

  .home-main .hero-copy,
  .home-main .hero-visual {
    width: min(100% - 32px, var(--max));
    margin-right: auto;
    margin-left: auto;
  }

  .home-main .hero-copy {
    order: 1;
    padding: 30px 0 18px;
  }

  .home-main .connect-section {
    order: 2;
    margin-top: 0;
    padding: 0 0 18px;
    border-top: 0;
    border-bottom: 0;
  }

  .home-main .hero-visual {
    order: 3;
  }

  .home-main .service-section {
    order: 4;
  }

  .assessment-header,
  .assessment-main,
  .assessment-footer {
    width: min(100% - 32px, 1440px);
  }

  .assessment-header {
    z-index: 20;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .assessment-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .assessment-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 30;
    display: none;
    width: 100%;
    border: 1px solid rgba(126, 157, 197, 0.22);
    border-radius: 10px;
    box-sizing: border-box;
    padding: 16px 16px 28px;
    background: #050d18;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
    font-size: 0.78rem;
  }

  .assessment-header.is-menu-open .assessment-nav {
    display: grid;
    gap: 12px;
  }

  .assessment-header.is-menu-open {
    margin-bottom: 350px;
  }

  .assessment-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(126, 157, 197, 0.14);
  }

  .assessment-nav a:last-child {
    border-bottom: 0;
  }

  .assessment-nav-cta {
    min-height: 40px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 0 14px;
  }

  .assessment-main {
    padding: 14px 0 18px;
  }

  .assessment-shell {
    gap: 18px;
  }

  .assessment-aside {
    gap: 14px;
    padding-top: 0;
  }

  .assessment-eyebrow {
    margin-bottom: 14px;
    font-size: 0.72rem;
  }

  .assessment-intro h1 {
    font-size: 2.54rem;
    line-height: 1.02;
  }

  .assessment-rule {
    width: 58px;
    margin: 18px 0 14px;
  }

  .assessment-intro p:not(.assessment-eyebrow) {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .assessment-benefits {
    overflow: hidden;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 2px;
    border: 1px solid rgba(126, 157, 197, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.024);
  }

  .assessment-benefit {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 9px;
    text-align: center;
  }

  .assessment-benefit + .assessment-benefit {
    border-left: 1px solid rgba(126, 157, 197, 0.14);
  }

  .assessment-icon {
    width: 34px;
    height: 34px;
    justify-self: center;
  }

  .assessment-icon svg {
    width: 18px;
    height: 18px;
  }

  .assessment-benefit h2 {
    margin-bottom: 5px;
    font-size: 0.62rem;
  }

  .assessment-benefit p {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .assessment-aside > .assessment-trust {
    display: none;
  }

  .assessment-trust,
  .assessment-next {
    padding: 16px;
  }

  .assessment-next ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .assessment-next li {
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
    text-align: center;
  }

  .assessment-next li + li {
    border-top: 0;
    border-left: 1px solid rgba(126, 157, 197, 0.16);
    margin-left: 0;
    padding-top: 0;
    padding-left: 8px;
  }

  .assessment-next li > span {
    width: 28px;
    height: 28px;
  }

  .assessment-next strong {
    font-size: 0.68rem;
  }

  .assessment-next small {
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .assessment-form {
    gap: 14px;
    padding: 18px 16px 16px;
  }

  .assessment-wizard {
    gap: 14px;
  }

  .assessment-wizard-top {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 14px;
  }

  .assessment-step-list {
    min-height: 0;
  }

  .assessment-question-label {
    font-size: 1.14rem;
  }

  .assessment-choice-grid.two-by-two {
    grid-template-columns: 1fr;
  }

  .assessment-choice-card {
    min-height: 0;
    padding: 16px;
  }

  .assessment-choice-card.compact {
    min-height: 54px;
    padding: 14px;
  }

  .assessment-wizard-actions {
    gap: 10px;
    border-top: 0;
    padding-top: 4px;
  }

  .assessment-field-grid.three,
  .assessment-field-grid.two,
  .assessment-radio-cards {
    grid-template-columns: 1fr;
  }

  .assessment-field-grid {
    gap: 18px;
  }

  .assessment-radio-cards label {
    min-height: 0;
  }

  .assessment-fieldset.split {
    border-top: 1px solid rgba(126, 157, 197, 0.2);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .assessment-submit-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .assessment-wizard-forward,
  .assessment-submit,
  .assessment-next-button {
    width: 100%;
  }

  .assessment-back,
  .assessment-next-button {
    min-width: 0;
  }

  .assessment-footer {
    min-height: 92px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .site-header {
    min-height: 86px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.84rem;
  }

  .nav-links .nav-cta {
    flex: 1 0 100%;
    min-height: 46px;
    margin-top: 2px;
  }

  .hero {
    gap: 26px;
    padding: 30px 0 34px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    line-height: 1.35;
  }

  .hero .bracketed {
    display: inline-block;
    padding: 0 15px;
  }

  .hero .bracketed::before {
    left: 0;
  }

  .hero .bracketed::after {
    content: "";
    position: absolute;
    top: -4px;
    right: 0;
    width: 7px;
    height: 21px;
    border-top: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
  }

  .hero h1 {
    max-width: 390px;
    margin: 0 auto;
    font-size: clamp(3rem, 16vw, 4rem);
    line-height: 0.96;
  }

  .hero-text {
    max-width: 500px;
    margin: 20px auto 0;
    font-size: clamp(1rem, 4.2vw, 1.12rem);
    line-height: 1.55;
  }

  .cta-row {
    width: 100%;
    max-width: 430px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }

  .hero .button {
    min-height: 58px;
  }

  .status-line {
    justify-content: center;
    margin-top: 20px;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .button {
    width: 100%;
  }

  .flow-utility-row {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }

  .flow-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .flow-dashboard {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 0 34px;
  }

  .flow-controls {
    position: static;
    top: auto;
    gap: 14px;
    overflow: hidden;
    border-right: 0;
    padding: 0;
  }

  .flow-index {
    gap: 10px;
  }

  .flow-index-title {
    font-size: 0.78rem;
  }

  .flow-index-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .flow-index-list::before {
    display: none;
  }

  .flow-system-state {
    width: max-content;
    padding: 8px 10px;
  }

  .flow-nav-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 210px;
    grid-template-columns: 9px 24px max-content;
    gap: 10px;
    min-height: 52px;
    padding: 11px 13px;
    font-size: 0.82rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .flow-nav-point {
    position: static;
    top: auto;
    left: auto;
    transform: none;
  }

  .flow-rail-note {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 14px;
  }

  .flow-rail-note p {
    font-size: 0.82rem;
  }

  .flow-hero {
    padding: 0;
  }

  .flow-card {
    scroll-margin-top: 16px;
  }

  .flow-card-header {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 20px;
  }

  .flow-card-header p {
    justify-self: start;
  }

  .flow-frame {
    padding: 8px;
    overflow-x: auto;
  }

  .flow-frame img {
    min-width: 640px;
    border-radius: 5px;
  }

  .support-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 620px;
    margin-top: 18px;
  }

  .support-item {
    min-height: 70px;
    justify-content: center;
    flex-direction: column;
    border-right: 0;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 11px 8px;
    background: var(--surface);
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
  }

  .support-icon {
    width: 24px;
    height: 24px;
  }

  .hero-visual {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-radius: 14px;
    padding: 58px 12px 12px;
    box-shadow: 0 12px 28px rgba(18, 44, 74, 0.05);
  }

  .visual-tag {
    top: 20px;
    left: 16px;
    transform: none;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #52667e;
    font-size: 0.72rem;
  }

  .map-column {
    position: static;
    display: contents;
    width: auto;
  }

  .input-column {
    left: auto;
  }

  .output-column {
    right: auto;
  }

  .map-node {
    min-height: 72px;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border-color: #cfe0f1;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
  }

  .map-node strong {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .map-node small {
    font-size: 0.6rem;
  }

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

  .orchestrator-card {
    position: absolute;
    top: 17px;
    left: auto;
    right: auto;
    right: 12px;
    isolation: auto;
    width: auto;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transform: none;
    border: 0;
    border-radius: 999px;
    padding: 0 10px;
    background: rgba(20, 184, 107, 0.08);
    color: #078747;
    box-shadow: none;
    animation: none;
  }

  .orchestrator-card::before,
  .orchestrator-card::after {
    display: none;
  }

  .orchestrator-card svg {
    display: none;
  }

  .orchestrator-card strong {
    color: #078747;
    font-size: 0.62rem;
    text-transform: none;
  }

  .orchestrator-card strong::after {
    content: ":";
  }

  .orchestrator-card span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #078747;
    font-size: 0.62rem;
    text-transform: none;
  }

  .orchestrator-card span::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
  }

  .route-layer {
    display: none;
  }

  .map-legend {
    display: none;
  }

  .service-grid,
  .outcome-grid,
  .movement-grid,
  .area-grid,
  .metrics-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-card div {
    border-right: 0;
    border-bottom: 1px solid rgba(193, 212, 232, 0.18);
  }

  .metrics-card div:last-child {
    border-bottom: 0;
  }

  .process-map {
    --process-x-pad: 16px;
    --process-gap: 8px;
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
    border-color: #cfe0f1;
    border-radius: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.96)),
      var(--surface);
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(18, 44, 74, 0.05);
  }

  .process-map::before {
    background-image: radial-gradient(rgba(7, 26, 51, 0.12) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.42;
  }

  .system-visual-copy {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    display: grid;
    align-items: start;
    gap: 6px 12px;
    border-right: 0;
    border-bottom: 0;
    padding: 20px 20px 12px;
  }

  .system-visual-copy .eyebrow {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--blue);
    font-size: 0.72rem;
  }

  .system-visual-copy h2,
  .system-visual-copy p:not(.eyebrow) {
    max-width: none;
  }

  .system-visual-copy h2 {
    color: var(--ink);
    font-size: 1.22rem;
    line-height: 1.15;
  }

  .system-visual-copy p:not(.eyebrow) {
    display: none;
  }

  .system-code {
    display: none;
  }

  .system-flow-link {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    min-height: 0;
    gap: 8px;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--blue);
    font-family: inherit;
    font-size: 0.88rem;
    text-transform: none;
  }

  .system-flow-link span {
    font-size: 0;
  }

  .system-flow-link span::after {
    content: "View all flows";
    font-size: 0.88rem;
  }

  .system-flow-link svg {
    width: 16px;
    height: 16px;
  }

  .system-diagram {
    overflow: hidden;
    padding: 0 14px 14px;
  }

  .process-status-badge {
    display: none;
  }

  .process-header {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .process-stage-labels {
    display: none;
  }

  .process-flow {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: stretch;
    min-width: 0;
    min-height: 202px;
    padding: 8px 0 14px;
    isolation: isolate;
  }

  .process-route-layer {
    display: none;
  }

  .flow-arrow {
    display: none;
  }

  .diamond-node {
    transform: none;
    width: 100%;
  }

  .diamond-node strong,
  .diamond-node small {
    transform: none;
  }

  .exception-row {
    display: block;
    min-width: 0;
    width: 100%;
    padding: 0 0 2px;
  }

  .exception-line,
  .return-line {
    display: none;
  }

  .exception-node {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    min-height: 72px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px 12px;
    align-items: center;
    border-style: dashed;
    border-color: rgba(151, 170, 190, 0.42);
    border-radius: 10px;
    padding: 13px 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 255, 0.78)),
      rgba(255, 255, 255, 0.64);
    color: var(--ink);
  }

  .process-node {
    grid-area: 1 / 1;
    width: 100%;
    min-height: 180px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "label"
      "title";
    place-items: center;
    align-content: center;
    gap: 9px;
    border-color: #cfe0f1;
    border-radius: 10px;
    padding: 22px 18px;
    background:
      radial-gradient(circle at 50% 20%, rgba(11, 99, 255, 0.06), transparent 38%),
      rgba(255, 255, 255, 0.9);
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(18, 44, 74, 0.055);
    opacity: 0;
    transform: translateX(16px) scale(0.98);
    animation: mobile-process-step 15s ease-in-out infinite;
    text-align: center;
    pointer-events: none;
  }

  .process-node:nth-of-type(1) {
    animation-delay: 0s;
  }

  .process-node:nth-of-type(2) {
    animation-delay: 3s;
  }

  .process-node:nth-of-type(3) {
    animation-delay: 6s;
  }

  .process-node:nth-of-type(4) {
    animation-delay: 9s;
  }

  .process-node:nth-of-type(5) {
    animation-delay: 12s;
  }

  .process-node .node-mini-icon {
    grid-area: icon;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(11, 99, 255, 0.08);
  }

  .process-node .node-mini-icon.green {
    background: rgba(20, 184, 107, 0.1);
  }

  .process-node strong {
    grid-area: label;
    color: var(--ink);
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .process-node > span:not(.node-mini-icon) {
    grid-area: title;
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 820;
    line-height: 1.2;
  }

  .warning-icon {
    grid-row: 1 / span 2;
    align-self: center;
    width: 30px;
    height: 30px;
    color: var(--amber);
  }

  .exception-node strong {
    color: var(--ink);
    font-size: 0;
    line-height: 1.15;
  }

  .exception-node strong::after {
    content: "Exception Handling";
    font-size: 0.88rem;
  }

  .exception-node small {
    color: #43556b;
    font-size: 0;
    line-height: 1.35;
  }

  .exception-node small::after {
    content: "Issues routed, alerts sent, resolution tracked.";
    font-size: 0.78rem;
  }

  .service-card {
    min-height: 106px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas:
      "icon title label"
      "icon copy label";
    align-items: center;
    gap: 5px 14px;
    padding: 16px 14px;
  }

  .service-card .card-icon {
    position: static;
    grid-area: icon;
    width: 34px;
    height: 34px;
    justify-self: center;
  }

  .service-card h2 {
    grid-area: title;
    font-size: 1rem;
  }

  .service-card p {
    grid-area: copy;
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .service-card .system-label {
    position: static;
    grid-area: label;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    color: var(--muted);
  }

  .service-card .system-label::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
  }

  .cta-panel {
    padding: 32px 24px;
  }

  .flow-cta {
    gap: 22px;
    padding: 26px 22px;
  }

  .dot-field {
    display: none;
  }

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

@media (max-width: 768px) {
  .outcomes-section,
  .movement-section,
  .areas-section {
    padding: 28px 0;
  }

  .movement-section {
    margin-top: 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
  }

  .outcomes-section .section-heading,
  .movement-section .section-heading,
  .areas-section .section-heading {
    align-items: center;
    gap: 12px;
  }

  .outcomes-section .section-heading::after,
  .movement-section .section-heading::after,
  .areas-section .section-heading::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--line);
  }

  .outcomes-section .section-heading .eyebrow,
  .movement-section .section-heading .eyebrow,
  .areas-section .section-heading .eyebrow {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .mobile-section-intro {
    display: block;
    margin: 12px 0 20px;
  }

  .mobile-section-intro h2 {
    max-width: 560px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.9rem, 8.4vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .mobile-section-intro p {
    max-width: 520px;
    margin: 12px 0 0;
    color: var(--muted-strong);
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .outcomes-section .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .outcomes-section .outcome-card {
    min-height: 164px;
    padding: 12px 11px;
  }

  .outcomes-section .outcome-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
  }

  .outcomes-section .outcome-card h2 {
    font-size: 0.84rem;
    line-height: 1.15;
  }

  .outcomes-section .outcome-card p {
    margin-top: 6px;
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .movement-section .movement-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    overflow-x: visible;
    overflow-y: visible;
    counter-reset: movement-step;
    padding: 14px 2px 8px;
  }

  .movement-section .step-card {
    min-width: 0;
    min-height: 138px;
    padding: 24px 6px 10px;
    border-color: #cdddec;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.96)),
      var(--surface);
    box-shadow:
      0 12px 28px rgba(18, 44, 74, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.84);
    text-align: center;
  }

  .movement-section .step-card::before {
    counter-increment: movement-step;
    content: counter(movement-step);
    position: absolute;
    top: -10px;
    left: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #1975ff, var(--blue));
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 850;
    box-shadow:
      0 0 0 5px rgba(11, 99, 255, 0.08),
      0 7px 14px rgba(11, 99, 255, 0.22);
  }

  .movement-section .step-card:nth-child(5)::before {
    background: linear-gradient(180deg, #1780ff, #14b86b);
  }

  .movement-section .step-card:not(:last-child)::after {
    display: block;
    right: -10px;
    width: 8px;
    height: 8px;
    border-top-width: 1.5px;
    border-right-width: 1.5px;
    opacity: 0.62;
    transform: translateY(-50%) rotate(45deg);
  }

  .movement-section .step-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0 auto 9px;
    border-radius: 12px;
    background: rgba(11, 99, 255, 0.075);
  }

  .movement-section .step-icon.green {
    background: rgba(20, 184, 107, 0.09);
  }

  .movement-section .improve-icon {
    color: var(--green);
    background:
      linear-gradient(180deg, rgba(20, 184, 107, 0.14), rgba(11, 99, 255, 0.06)),
      rgba(255, 255, 255, 0.72);
  }

  .movement-section .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .movement-section .step-card h2 {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .movement-section .step-card p {
    margin-top: 8px;
    font-size: 0;
    line-height: 1.28;
  }

  .movement-section .step-card p::after {
    content: attr(data-mobile-copy);
    color: var(--muted-strong);
    font-size: 0.54rem;
  }

  .areas-section .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .areas-section .area-item {
    min-height: 150px;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 9px;
    padding: 15px 12px;
    text-align: left;
  }

  .areas-section .area-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 99, 255, 0.1);
    color: var(--blue);
  }

  .areas-section .area-item:nth-child(2) .area-icon,
  .areas-section .area-item:nth-child(5) .area-icon {
    background: rgba(20, 184, 107, 0.13);
    color: var(--green);
  }

  .areas-section .area-item:nth-child(6) .area-icon {
    background: rgba(242, 160, 0, 0.14);
    color: var(--amber);
  }

  .areas-section .area-icon svg {
    width: 22px;
    height: 22px;
    flex: none;
  }

  .areas-section .area-title {
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .areas-section .area-copy {
    display: block;
    color: var(--muted-strong);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.34;
  }

  .areas-trust-card {
    min-height: 88px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    border: 1px solid rgba(11, 99, 255, 0.18);
    border-radius: var(--radius);
    padding: 16px 18px;
    background:
      radial-gradient(circle at 9% 50%, rgba(11, 99, 255, 0.11), transparent 27%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.96));
    box-shadow:
      0 14px 32px rgba(18, 44, 74, 0.065),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .areas-trust-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(11, 99, 255, 0.1), rgba(20, 184, 107, 0.1)),
      #f7fbff;
    color: var(--blue);
    box-shadow: inset 0 0 0 1px rgba(11, 99, 255, 0.12);
  }

  .areas-trust-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .areas-trust-card strong,
  .areas-trust-card small {
    display: block;
  }

  .areas-trust-card strong {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.2;
  }

  .areas-trust-card .trust-word-blue {
    color: var(--blue);
  }

  .areas-trust-card .trust-word-green {
    color: #078747;
  }

  .areas-trust-card small {
    margin-top: 5px;
    color: #3e5168;
    font-size: 0.84rem;
    line-height: 1.35;
  }
}

@media (max-width: 360px) {
  .movement-section .movement-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .movement-section .movement-grid::-webkit-scrollbar {
    display: none;
  }

  .movement-section .step-card {
    flex: 0 0 70px;
    scroll-snap-align: start;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: clamp(3rem, 15.8vw, 3.9rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .status-line {
    gap: 7px;
    font-size: 0.68rem;
  }

  .support-row {
    gap: 8px;
  }

  .support-item {
    min-height: 68px;
    padding: 10px 6px;
    font-size: 0.74rem;
  }

  .assessment-intro h1 {
    font-size: 2.32rem;
  }

  .assessment-brand {
    font-size: 1.18rem;
  }

  .assessment-trust {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .assessment-radio-list label {
    align-items: start;
    padding: 10px 12px;
  }

  .assessment-form {
    padding: 16px 14px 14px;
  }

  .assessment-question-label {
    font-size: 1.06rem;
  }

  .assessment-wizard-actions {
    flex-direction: column-reverse;
  }

  .assessment-back,
  .assessment-next-button,
  .assessment-submit {
    width: 100%;
  }

  .assessment-submit-copy {
    grid-template-columns: 1fr;
  }

  .assessment-benefit {
    padding: 10px 7px;
  }

  .assessment-benefit p {
    font-size: 0.62rem;
  }

  .assessment-next {
    padding: 14px 12px;
  }

  .assessment-next li + li {
    padding-left: 6px;
  }

  .flow-index {
    margin-right: -16px;
  }

  .flow-nav-item {
    min-width: 190px;
    font-size: 0.76rem;
  }

  .flow-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.3rem);
  }

  .flow-card-header h2 {
    font-size: 1.35rem;
  }

  .hero-visual {
    gap: 8px;
    padding: 56px 10px 10px;
  }

  .map-column {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .output-column {
    top: auto;
    left: auto;
    right: auto;
  }

  .orchestrator-card {
    top: 15px;
    right: 10px;
    width: auto;
    height: 26px;
    padding: 0 9px;
  }

  .orchestrator-card strong,
  .orchestrator-card span {
    font-size: 0.58rem;
  }

  .map-legend {
    display: none;
  }

  .process-node {
    width: 100%;
    min-height: 180px;
    padding: 22px 18px;
  }

  .process-node > span:not(.node-mini-icon) {
    font-size: 1.12rem;
  }

  .service-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 5px 11px;
    padding: 14px 12px;
  }

  .service-card .card-icon {
    width: 30px;
    height: 30px;
  }

  .service-card p {
    font-size: 0.8rem;
  }

  .service-card .system-label {
    gap: 8px;
    font-size: 0.58rem;
  }
}

@media (max-width: 300px) {
  .map-column {
    grid-template-columns: 1fr;
  }
}

@keyframes mobile-process-step {
  0%,
  15% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  20%,
  100% {
    opacity: 0;
    transform: translateX(-16px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-layer .flow-pulse,
  .process-route-layer .process-pulse {
    display: none;
  }

  .orchestrator-card {
    animation: none;
  }

  @media (max-width: 760px) {
    .process-node {
      display: none;
      animation: none;
      opacity: 1;
      transform: none;
    }

    .process-node:nth-of-type(1) {
      display: grid;
    }
  }
}

/* Revenue-focused homepage revision */
.revenue-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
}

.revenue-hero h1 {
  max-width: 650px;
  font-size: clamp(3rem, 5.9vw, 5.35rem);
  line-height: 0.97;
}

.microline {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.diagnostic-panel {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(11, 99, 255, 0.18);
  border-radius: 10px;
  background: linear-gradient(180deg, #0b1e34, #071624);
  box-shadow: 0 24px 60px rgba(7, 22, 36, 0.16);
  color: #ffffff;
  overflow: hidden;
}

.diagnostic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.42;
}

.diagnostic-inner {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.diagnostic-top,
.lead-process-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(20, 184, 107, 0.34);
  border-radius: 999px;
  background: rgba(20, 184, 107, 0.1);
  padding: 8px 12px;
  color: #bff6da;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill i,
.lead-process-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20, 184, 107, 0.12);
}

.visual-code,
.tag {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-code {
  color: #8ba9ca;
  font-size: 0.76rem;
}

.leak-panel {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.leak-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(139, 169, 202, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 16px;
}

.leak-row strong {
  display: block;
  color: #ffffff;
  line-height: 1.2;
}

.leak-row span {
  color: #9fb7d1;
  font-size: 0.85rem;
}

.tag {
  display: inline-flex;
  justify-content: center;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.72rem;
}

.tag.warn {
  background: rgba(242, 160, 0, 0.14);
  color: #ffd88a;
}

.tag.good {
  background: rgba(20, 184, 107, 0.12);
  color: #bff6da;
}

.metric {
  color: #ffffff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.diagnostic-flow {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid rgba(11, 99, 255, 0.28);
  border-radius: 8px;
  background: rgba(11, 99, 255, 0.08);
}

.diagnostic-flow h2 {
  margin: 0 0 18px;
  color: #d9e9ff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.flow-step {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.flow-step small {
  color: #89a8ca;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
}

.flow-step b {
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.split-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
}

.split-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.65;
}

.fit-section {
  padding: 40px 0 58px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 28px;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  color: var(--muted-strong);
  box-shadow: 0 10px 26px rgba(18, 44, 74, 0.045);
}

.fit-check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.fit-summary {
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  padding: 28px;
  box-shadow: var(--shadow);
}

.fit-summary h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.15;
}

.fit-summary p {
  margin: 14px 0 20px;
  color: var(--muted-strong);
  line-height: 1.6;
}

.revenue-leaks-section,
.lead-system-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.leak-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.leak-flow-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.leak-flow-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border: 1px solid #e3edf8;
  border-radius: 6px;
  background: #f8fbff;
}

.leak-flow-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.15;
}

.leak-meta {
  display: grid;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.leak-meta p {
  margin: 0;
}

.leak-meta span {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.inline-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.93rem;
}

.offer-section,
.revision-outcomes,
.revenue-movement-section,
.system-expansion-section {
  padding: 76px 0;
}

.offer-band {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 46px 0;
}

.offer-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.04;
}

.offer-copy p {
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.65;
}

.offer-details {
  border-radius: 10px;
  background: var(--carbon);
  color: #ffffff;
  padding: 30px;
  box-shadow: 0 22px 50px rgba(7, 22, 36, 0.16);
}

.offer-details h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.offer-details p {
  color: #c5d5e7;
  line-height: 1.62;
}

.offer-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.offer-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e7f1fc;
}

.offer-list i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
}

.lead-system-map {
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: 34px;
  align-items: center;
}

.lead-system-map aside h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.05;
}

.lead-system-map aside p {
  color: var(--muted-strong);
  line-height: 1.65;
}

.lead-process-card {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #ffffff;
  padding: 26px;
  box-shadow: var(--shadow);
}

.lead-process-status {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-process-status strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
}

.lead-process-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.lead-node {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
}

.lead-node strong {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lead-node span {
  display: block;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
}

.revision-outcomes .outcome-card h2 {
  font-size: 1.18rem;
}

.revenue-movement-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.movement-step {
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(18, 44, 74, 0.05);
}

.movement-step strong {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
}

.movement-step p {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.52;
}

.expansion-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.expansion-pill {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
}

.revenue-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.revenue-cta-panel p:not(.eyebrow) {
  max-width: 720px;
}

@media (max-width: 1120px) {
  .revenue-hero,
  .split-heading,
  .fit-grid,
  .offer-band,
  .lead-system-map,
  .revenue-cta-panel {
    grid-template-columns: 1fr;
  }

  .diagnostic-panel {
    min-height: auto;
  }

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

  .lead-process-nodes,
  .revenue-movement-grid,
  .expansion-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-main .revenue-hero {
    width: min(100% - 32px, var(--max));
    display: grid;
    grid-template-columns: 1fr;
    margin-right: auto;
    margin-left: auto;
  }

  .home-main .revenue-hero .hero-copy,
  .home-main .revenue-hero .diagnostic-panel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    order: initial;
  }

  .revenue-hero {
    padding-top: 30px;
  }

  .revenue-hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .diagnostic-inner {
    padding: 18px;
  }

  .diagnostic-top,
  .lead-process-status,
  .leak-row {
    align-items: flex-start;
  }

  .diagnostic-top,
  .lead-process-status {
    flex-direction: column;
  }

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

  .flow-steps,
  .fit-list,
  .leak-flow-grid,
  .lead-process-nodes,
  .outcome-grid,
  .revenue-movement-grid,
  .expansion-list {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 18px;
  }

  .split-heading h2,
  .offer-copy h2,
  .lead-system-map aside h2,
  .cta-panel h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .revenue-cta-panel .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .diagnostic-flow {
    padding: 16px;
  }

  .flow-step,
  .lead-node {
    min-height: 88px;
  }
}

/* ============================================================
   Premium motion layer
   Scroll reveals, sticky nav elevation, ambient hero light,
   and micro-interactions. Additive only — no copy changes.
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 250, 255, 0.7);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition:
    background-color 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(18, 44, 74, 0.08);
}

/* Accent text: gradient sweep on the hero's key phrase */
.accent-text {
  position: relative;
  background: linear-gradient(100deg, var(--blue) 10%, #4f9dff 35%, var(--amber) 60%, var(--blue) 85%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: accent-sweep 7s ease-in-out infinite;
}

@keyframes accent-sweep {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Ambient hero light */
.revenue-hero {
  position: relative;
  isolation: isolate;
}

.revenue-hero::before,
.revenue-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  pointer-events: none;
  animation: aurora-float 16s ease-in-out infinite;
}

.revenue-hero::before {
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(11, 99, 255, 0.22), transparent 70%);
}

.revenue-hero::after {
  top: 40%;
  right: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(20, 184, 107, 0.14), transparent 70%);
  animation-delay: -8s;
  animation-direction: reverse;
}

@keyframes aurora-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -24px) scale(1.08);
  }
}

/* Hero on-load stagger (runs immediately, no scroll trigger needed) */
.hero-copy > *,
.diagnostic-inner > * {
  animation: hero-rise 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy > .eyebrow {
  animation-delay: 40ms;
}

.hero-copy > h1 {
  animation-delay: 120ms;
}

.hero-copy > .hero-text {
  animation-delay: 220ms;
}

.hero-copy > .cta-row {
  animation-delay: 300ms;
}

.hero-copy > .microline {
  animation-delay: 380ms;
}

.diagnostic-panel {
  animation: hero-rise 820ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both;
}

.diagnostic-inner > .diagnostic-top {
  animation-delay: 260ms;
}

.diagnostic-inner > .leak-panel {
  animation-delay: 340ms;
}

.diagnostic-inner > .diagnostic-flow {
  animation-delay: 460ms;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Status pill + system dots: breathing glow */
.status-pill,
.lead-process-status strong,
.footer-status strong {
  position: relative;
}

.status-pill i,
.lead-process-status i,
.footer-status i,
.status-dot {
  animation: dot-breathe 2.6s ease-in-out infinite;
}

@keyframes dot-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(20, 184, 107, 0.12);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(20, 184, 107, 0.2);
  }
}

/* Diagnostic panel: slow scanning sweep to read as "live" */
.diagnostic-panel {
  isolation: isolate;
}

.diagnostic-panel::after {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  z-index: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(120, 170, 255, 0.09), transparent);
  animation: panel-scan 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes panel-scan {
  0% {
    transform: translateY(-20%);
  }

  100% {
    transform: translateY(220%);
  }
}

/* Live blinking cursor on monospace system codes */
.system-code::after,
.visual-code::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 11px;
  margin-left: 6px;
  background: currentColor;
  vertical-align: -1px;
  animation: cursor-blink 1.1s steps(2, start) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

/* Flow-step pipeline: sequential highlight to imply automation running */
.flow-steps {
  position: relative;
}

.flow-step {
  position: relative;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    transform 300ms ease;
  animation: step-pulse 6s ease-in-out infinite;
}

.flow-step:nth-child(1) {
  animation-delay: 0s;
}

.flow-step:nth-child(2) {
  animation-delay: 0.9s;
}

.flow-step:nth-child(3) {
  animation-delay: 1.8s;
}

.flow-step:nth-child(4) {
  animation-delay: 2.7s;
}

.flow-step:nth-child(5) {
  animation-delay: 3.6s;
}

@keyframes step-pulse {
  0%,
  84%,
  100% {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(0);
  }

  8% {
    border-color: rgba(20, 184, 107, 0.55);
    background: rgba(20, 184, 107, 0.09);
    transform: translateY(-2px);
  }
}

/* Leak panel: resolved row reads as live/healthy */
.leak-row {
  transition:
    transform 260ms ease,
    border-color 260ms ease;
}

.leak-row:has(.tag.good) {
  animation: leak-resolved-glow 3.4s ease-in-out infinite;
}

@keyframes leak-resolved-glow {
  0%,
  100% {
    box-shadow: none;
  }

  50% {
    box-shadow: 0 0 0 1px rgba(20, 184, 107, 0.22), 0 8px 26px rgba(20, 184, 107, 0.1);
  }
}

/* Scroll reveal system */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fit-list > [data-reveal]:nth-child(1),
.leak-flow-grid > [data-reveal]:nth-child(1),
.outcome-grid > [data-reveal]:nth-child(1),
.revenue-movement-grid > [data-reveal]:nth-child(1),
.expansion-list > [data-reveal]:nth-child(1) {
  --reveal-delay: 0ms;
}

.fit-list > [data-reveal]:nth-child(2),
.leak-flow-grid > [data-reveal]:nth-child(2),
.outcome-grid > [data-reveal]:nth-child(2),
.revenue-movement-grid > [data-reveal]:nth-child(2),
.expansion-list > [data-reveal]:nth-child(2) {
  --reveal-delay: 80ms;
}

.fit-list > [data-reveal]:nth-child(3),
.leak-flow-grid > [data-reveal]:nth-child(3),
.outcome-grid > [data-reveal]:nth-child(3),
.revenue-movement-grid > [data-reveal]:nth-child(3),
.expansion-list > [data-reveal]:nth-child(3) {
  --reveal-delay: 160ms;
}

.fit-list > [data-reveal]:nth-child(4),
.leak-flow-grid > [data-reveal]:nth-child(4),
.outcome-grid > [data-reveal]:nth-child(4),
.revenue-movement-grid > [data-reveal]:nth-child(4),
.expansion-list > [data-reveal]:nth-child(4) {
  --reveal-delay: 240ms;
}

.fit-list > [data-reveal]:nth-child(5),
.leak-flow-grid > [data-reveal]:nth-child(5),
.outcome-grid > [data-reveal]:nth-child(5),
.revenue-movement-grid > [data-reveal]:nth-child(5),
.expansion-list > [data-reveal]:nth-child(5) {
  --reveal-delay: 320ms;
}

.outcome-grid > [data-reveal]:nth-child(6),
.expansion-list > [data-reveal]:nth-child(6) {
  --reveal-delay: 400ms;
}

.expansion-list > [data-reveal]:nth-child(7) {
  --reveal-delay: 480ms;
}

/* Card hover polish: lift, glow, and a growing accent bar */
.leak-flow-card,
.outcome-card,
.movement-step,
.fit-item,
.expansion-pill,
.offer-details,
.lead-process-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.leak-flow-card::before,
.outcome-card::before,
.fit-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.leak-flow-card:hover,
.outcome-card:hover,
.fit-item:hover {
  border-color: rgba(11, 99, 255, 0.3);
  box-shadow: 0 22px 44px rgba(18, 44, 74, 0.1);
  transform: translateY(-5px);
}

.leak-flow-card:hover::before,
.outcome-card:hover::before,
.fit-item:hover::before {
  transform: scaleX(1);
}

.movement-step:hover {
  border-top-color: var(--green);
  box-shadow: 0 22px 44px rgba(18, 44, 74, 0.12);
  transform: translateY(-5px);
}

.expansion-pill:hover {
  border-color: rgba(11, 99, 255, 0.4);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(18, 44, 74, 0.08);
  transform: translateY(-3px);
}

.offer-details:hover {
  box-shadow: 0 30px 64px rgba(7, 22, 36, 0.24);
  transform: translateY(-4px);
}

.lead-process-card:hover {
  border-color: rgba(11, 99, 255, 0.32);
  box-shadow: 0 26px 54px rgba(18, 44, 74, 0.12);
  transform: translateY(-4px);
}

.lead-node,
.leak-flow-card img {
  transition:
    border-color 260ms ease,
    transform 260ms ease;
}

.leak-flow-card:hover img {
  transform: scale(1.015);
}

/* Button premium: shine sweep + refined lift */
.button {
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.button-primary::before {
  animation: button-shine 4.2s ease-in-out infinite;
}

@keyframes button-shine {
  0% {
    left: -60%;
  }

  30%,
  100% {
    left: 140%;
  }
}

.button-primary {
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(11, 99, 255, 0.28);
  transform: translateY(-2px) scale(1.015);
}

.button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 44, 74, 0.08);
}

.inline-link {
  position: relative;
  display: inline-block;
}

.inline-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.inline-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links .nav-cta {
  transition:
    transform 220ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
}

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

  .accent-text,
  .revenue-hero::before,
  .revenue-hero::after,
  .hero-copy > *,
  .diagnostic-inner > *,
  .diagnostic-panel,
  .status-pill i,
  .lead-process-status i,
  .footer-status i,
  .status-dot,
  .diagnostic-panel::after,
  .system-code::after,
  .visual-code::after,
  .flow-step,
  .leak-row:has(.tag.good),
  .button-primary::before {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .leak-flow-card,
  .outcome-card,
  .movement-step,
  .fit-item,
  .expansion-pill,
  .offer-details,
  .lead-process-card,
  .button,
  .button-primary,
  .nav-links .nav-cta {
    transition: none;
  }
}

@media (max-width: 760px) {
  .revenue-hero::before,
  .revenue-hero::after {
    display: none;
  }
}

/* ============================================================
   Redesign v2
   1. Compact hero that fits one desktop viewport
   2. Premium nav bar
   3. Workflow pipeline strip
   4. "This is for you if" signal rows + dark summary
   5. Tabbed revenue-leak viewer (one leak at a time)
   6. Expansion path map
   ============================================================ */

/* --- 2. Premium nav --- */
.site-header {
  width: 100%;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  padding: 7px;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(11, 99, 255, 0.14);
}

.nav-links {
  gap: clamp(20px, 3.4vw, 40px);
  font-size: 0.92rem;
}

.nav-links a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
  color: var(--muted-strong);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links .nav-cta {
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 20px;
  background: linear-gradient(180deg, #1d74ff, var(--blue));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 99, 255, 0.22);
}

.nav-links .nav-cta:hover {
  background: linear-gradient(180deg, #2a7dff, var(--blue-dark));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 99, 255, 0.3);
}

/* --- 1. Compact one-viewport hero --- */
.revenue-hero {
  min-height: calc(100svh - 74px);
  align-items: center;
  align-content: center;
  padding: 16px 0 44px;
  gap: clamp(32px, 4.5vw, 60px);
}

.revenue-hero h1 {
  max-width: 540px;
  font-size: clamp(2.3rem, 3.35vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.revenue-hero .eyebrow {
  margin-bottom: 14px;
}

.revenue-hero .hero-text {
  max-width: 490px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.revenue-hero .cta-row {
  margin-top: 22px;
}

.revenue-hero .button {
  min-height: 50px;
}

.revenue-hero .microline {
  margin-top: 14px;
}

.diagnostic-panel {
  min-height: 0;
}

.diagnostic-inner {
  padding: 22px;
}

.leak-panel {
  margin-top: 20px;
  gap: 12px;
}

.leak-row {
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px 14px;
}

.diagnostic-flow {
  margin-top: 18px;
  padding: 16px 16px 18px;
}

.diagnostic-flow h2 {
  margin-bottom: 14px;
}

/* --- 3. Workflow pipeline strip --- */
.flow-steps {
  counter-reset: fstep;
  gap: 18px;
}

.flow-step {
  counter-increment: fstep;
  position: relative;
  min-width: 0;
  min-height: 88px;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 8px;
  padding: 12px 12px 13px;
  background: rgba(255, 255, 255, 0.04);
}

.flow-step small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.64rem;
}

.flow-step::before {
  content: "0" counter(fstep);
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: rgba(137, 168, 202, 0.42);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 850;
}

.flow-step small::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.flow-step[data-type="trigger"] small,
.flow-step[data-type="output"] small {
  color: #6fdca6;
}

.flow-step[data-type="validate"] small,
.flow-step[data-type="action"] small {
  color: #76aaff;
}

.flow-step[data-type="decision"] small {
  color: #ffd88a;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(118, 170, 255, 0.66);
  border-right: 2px solid rgba(118, 170, 255, 0.66);
  transform: translateY(-50%) rotate(45deg);
}

@keyframes step-pulse {
  0%,
  84%,
  100% {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(0);
  }

  8% {
    border-color: rgba(20, 184, 107, 0.55);
    background: rgba(20, 184, 107, 0.09);
    transform: translateY(-2px);
  }
}

/* --- 4. "This is for you if" diagnostic console --- */
.fit-section {
  padding: 46px 0 64px;
}

.fit-console {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 60px);
  border: 1px solid rgba(11, 99, 255, 0.22);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(165deg, #0b1e34, #071624);
  color: #ffffff;
  box-shadow: 0 26px 60px rgba(7, 22, 36, 0.22);
}

.fit-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  pointer-events: none;
}

.fit-console-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fit-console .eyebrow {
  color: #71a9ff;
}

.fit-console h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 2.9vw, 2.8rem);
  line-height: 1.06;
}

.fit-console-sub {
  margin: 16px 0 0;
  color: #c5d5e7;
  font-size: 1.02rem;
  line-height: 1.62;
}

.fit-console-cta {
  margin-top: auto;
  border-top: 1px solid rgba(139, 169, 202, 0.2);
  padding-top: 24px;
}

.fit-console-cta h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1.2;
}

.fit-console-cta p {
  margin: 10px 0 18px;
  color: #9fb7d1;
  font-size: 0.95rem;
  line-height: 1.55;
}

.fit-signals {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: center;
}

.fit-signal {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(139, 169, 202, 0.22);
  border-radius: 9px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    border-color 260ms ease,
    background-color 260ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fit-signal:hover {
  border-color: rgba(11, 99, 255, 0.55);
  background: rgba(11, 99, 255, 0.08);
  transform: translateX(5px);
}

.fit-signal-idx {
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 7px 9px;
  background: rgba(242, 160, 0, 0.14);
  color: #ffd88a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 850;
}

.fit-signal-text {
  color: #e7f1fc;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.4;
}

.fit-signal .fit-check {
  margin-left: auto;
  background: rgba(20, 184, 107, 0.14);
  color: #6fdca6;
}

.fit-signals > [data-reveal]:nth-child(1) {
  --reveal-delay: 0ms;
}

.fit-signals > [data-reveal]:nth-child(2) {
  --reveal-delay: 80ms;
}

.fit-signals > [data-reveal]:nth-child(3) {
  --reveal-delay: 160ms;
}

.fit-signals > [data-reveal]:nth-child(4) {
  --reveal-delay: 240ms;
}

.fit-signals > [data-reveal]:nth-child(5) {
  --reveal-delay: 320ms;
}

/* --- 5. Tabbed revenue-leak viewer --- */
.revenue-leaks-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 52px 0;
}

.revenue-leaks-section .section-shell {
  width: min(var(--max), calc(100% - 48px));
}

.revenue-leaks-section .split-heading {
  margin-bottom: 20px;
}

.revenue-leaks-section .split-heading h2 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.leak-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.leak-tab {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 18px;
  background: #ffffff;
  color: var(--muted-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.leak-tab:hover {
  border-color: rgba(11, 99, 255, 0.5);
  color: var(--blue);
  transform: translateY(-1px);
}

.leak-tab.is-active {
  border-color: var(--blue);
  background: linear-gradient(180deg, #1d74ff, var(--blue));
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 99, 255, 0.26);
}

.leak-stage-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.leak-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(18, 44, 74, 0.12);
  transition:
    border-color 220ms ease,
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease;
}

.leak-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.leak-arrow:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: scale(1.08);
  box-shadow: 0 18px 36px rgba(11, 99, 255, 0.18);
}

.leak-arrow:active {
  transform: scale(0.98);
}

.leak-view {
  display: none;
}

.leak-view.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
  gap: 30px;
  align-items: center;
  animation: leak-view-in 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes leak-view-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leak-view-media {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background:
    radial-gradient(circle at 84% 8%, rgba(11, 99, 255, 0.06), transparent 40%),
    #f8fbff;
  box-shadow: var(--shadow);
}

.leak-view-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58vh, 640px);
  object-fit: contain;
  border-radius: 6px;
}

.leak-view-info h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  line-height: 1.1;
}

.leak-view-info .leak-meta {
  gap: 12px;
  font-size: 0.96rem;
}

.leak-view-info .button {
  margin-top: 22px;
}

/* --- 6. Expansion path map --- */
.system-expansion-section {
  padding: 76px 0 84px;
}

.expansion-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 99, 255, 0.22);
  border-radius: 12px;
  padding: 42px 38px 46px;
  background: linear-gradient(165deg, #0b1e34, #071624);
  box-shadow: 0 26px 60px rgba(7, 22, 36, 0.22);
}

.expansion-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  pointer-events: none;
}

.expansion-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
}

.expansion-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(20, 184, 107, 0.85),
    rgba(11, 99, 255, 0.75) 34%,
    rgba(139, 169, 202, 0.3) 78%,
    rgba(139, 169, 202, 0.14)
  );
}

.expansion-track::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 2%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fdca6;
  box-shadow: 0 0 14px rgba(111, 220, 166, 0.85);
  animation: expansion-pulse 7s linear infinite;
}

@keyframes expansion-pulse {
  0% {
    left: 2%;
    opacity: 0;
  }

  7% {
    opacity: 1;
  }

  93% {
    opacity: 1;
  }

  100% {
    left: 96%;
    opacity: 0;
  }
}

.expansion-node {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  justify-items: start;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.expansion-idx {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 169, 202, 0.42);
  border-radius: 50%;
  background: #0d2031;
  color: #cfe1f4;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 850;
  transition:
    border-color 280ms ease,
    color 280ms ease,
    box-shadow 280ms ease;
}

.expansion-node strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
  transition: color 280ms ease;
}

.expansion-node:nth-child(1) .expansion-idx {
  border-color: rgba(20, 184, 107, 0.72);
  color: #7ee2ae;
  box-shadow:
    0 0 0 5px rgba(20, 184, 107, 0.08),
    0 0 18px rgba(20, 184, 107, 0.28);
}

.expansion-node:nth-child(2) .expansion-idx {
  border-color: rgba(11, 99, 255, 0.6);
  color: #9cc2ff;
}

.expansion-node:nth-child(n + 5) .expansion-idx {
  color: rgba(207, 225, 244, 0.62);
}

.expansion-node:nth-child(n + 5) strong {
  color: rgba(255, 255, 255, 0.66);
}

.expansion-node:hover {
  transform: translateY(-4px);
}

.expansion-node:hover .expansion-idx {
  border-color: rgba(11, 99, 255, 0.85);
  color: #ffffff;
  box-shadow:
    0 0 0 5px rgba(11, 99, 255, 0.12),
    0 0 20px rgba(11, 99, 255, 0.35);
}

.expansion-node:hover strong {
  color: #ffffff;
}

/* --- Redesign v2 responsive --- */
@media (max-width: 1120px) {
  .leak-view.is-active {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .revenue-leaks-section {
    min-height: 0;
  }

  .leak-view-media img {
    max-height: none;
  }

  .leak-stage-wrap {
    grid-template-areas:
      "stage stage"
      "prev next";
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .leak-stage {
    grid-area: stage;
  }

  .leak-arrow.prev {
    grid-area: prev;
    justify-self: end;
  }

  .leak-arrow.next {
    grid-area: next;
    justify-self: start;
  }

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

  .fit-console-cta {
    margin-top: 26px;
  }

  .expansion-track {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .expansion-track::before {
    top: 22px;
    right: auto;
    bottom: 22px;
    left: 21px;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(20, 184, 107, 0.85),
      rgba(11, 99, 255, 0.75) 34%,
      rgba(139, 169, 202, 0.3) 78%,
      rgba(139, 169, 202, 0.14)
    );
  }

  .expansion-track::after {
    display: none;
  }

  .expansion-node {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 760px) {
  .revenue-hero {
    min-height: 0;
  }

  .revenue-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .site-header {
    width: 100%;
    padding: 14px 16px;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    right: calc(50% - 5px);
    bottom: -16px;
    transform: rotate(135deg);
  }

  .expansion-map {
    padding: 26px 20px 30px;
  }

  .leak-tab {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expansion-track::after {
    display: none;
  }

  .leak-view.is-active {
    animation: none;
  }

  .leak-tab,
  .leak-arrow,
  .fit-signal,
  .expansion-node,
  .expansion-idx,
  .expansion-node strong,
  .nav-links a:not(.nav-cta)::after {
    transition: none;
  }
}

/* ============================================================
   Redesign v3 — Outcomes perimeter + Revenue-leak console
   (scoped to .outcomes and .leaks; replaces the old
   .revision-outcomes and .revenue-leaks-section designs)
   ============================================================ */
.outcomes,
.leaks {
  --ink-0: #050b18;
  --ink-1: #0a1428;
  --line: rgba(140, 170, 255, 0.13);
  --line-strong: rgba(140, 170, 255, 0.24);
  --blue: #2563eb;
  --blue-bright: #4f7dff;
  --cyan: #38bdf8;
  --green: #34d399;
  --purple: #a78bfa;
  --amber: #fbbf24;
  --orange: #fb923c;
  --paper: #f5f7fc;
  --ink-text: #0b1524;
  --muted-l: #8fa3c8;
  --muted-d: #5b6b85;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
}

.outcomes .wrap,
.leaks .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .outcomes .wrap,
  .leaks .wrap {
    padding: 0 18px;
  }
}

.outcomes h2,
.outcomes h3,
.outcomes p,
.outcomes ul,
.leaks h2,
.leaks h3,
.leaks p,
.leaks ul,
.leaks dl,
.leaks dd {
  margin: 0;
  padding: 0;
}

.outcomes ul,
.leaks ul {
  list-style: none;
}

.outcomes .eyebrow,
.leaks .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.outcomes .eyebrow .dot,
.leaks .eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex: none;
}

.outcomes .eyebrow .dot::after,
.leaks .eyebrow .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  opacity: 0.5;
  animation: eyebrow-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes eyebrow-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }

  80%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* ---------- SECTION: OUTCOMES · security perimeter ---------- */
.outcomes {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(37, 99, 235, 0.05), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #ffffff 45%, var(--paper) 100%);
  color: var(--ink-text);
  padding: 56px 0;
  overflow: hidden;
  isolation: isolate;
}

.outcomes::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(11, 21, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 36, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 520px at 85% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 85% 0%, #000 20%, transparent 75%);
}

.radar {
  position: absolute;
  top: -90px;
  right: -110px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 43px, rgba(140, 170, 255, 0.08) 43px 44px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.22), rgba(56, 189, 248, 0.05) 60deg, transparent 90deg);
  animation: radar-sweep 8s linear infinite;
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

.shield-mark {
  position: absolute;
  left: -130px;
  bottom: -110px;
  width: 460px;
  height: 460px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.shield-mark svg {
  width: 100%;
  height: 100%;
  stroke: #7ea5ff;
  fill: none;
  stroke-width: 0.6;
}

.outcomes .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.outcomes-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .outcomes-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.outcomes .eyebrow {
  color: var(--blue);
  font-size: 11px;
}

.outcomes h2 {
  margin-top: 14px;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.03;
  letter-spacing: -0.033em;
  font-weight: 800;
  color: var(--ink-text);
}

.outcomes h2 em {
  font-style: normal;
  background: linear-gradient(92deg, #1d4ed8 0%, var(--blue) 45%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.outcomes-sub {
  color: var(--muted-d);
  font-size: 15px;
  line-height: 1.6;
  max-width: 46ch;
}

.outcomes-sub strong {
  color: var(--ink-text);
  font-weight: 600;
}

.head-meta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-d);
  border: 1px solid rgba(11, 21, 36, 0.08);
  border-radius: 99px;
  padding: 7px 14px;
  background: #ffffff;
  box-shadow:
    0 10px 30px -18px rgba(11, 21, 36, 0.25),
    inset 0 1px 0 #fff;
}

.head-meta b {
  color: #059669;
  font-weight: 600;
}

.head-meta .sep {
  width: 1px;
  height: 11px;
  background: rgba(11, 21, 36, 0.12);
}

.perimeter {
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(rgba(140, 170, 255, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(140, 170, 255, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(900px 480px at 88% -12%, rgba(37, 99, 235, 0.28), transparent 60%),
    linear-gradient(165deg, #0b1e34, #071624);
  padding: 24px 22px 16px;
  box-shadow:
    0 30px 70px -28px rgba(7, 22, 36, 0.5),
    0 0 0 6px rgba(37, 99, 235, 0.04);
}

.per-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.pc {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.pc::before,
.pc::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

.pc::before {
  width: 100%;
  height: 2px;
}

.pc::after {
  width: 2px;
  height: 100%;
}

.pc.tl {
  top: -2px;
  left: -2px;
}

.pc.tr {
  top: -2px;
  right: -2px;
  transform: scaleX(-1);
}

.pc.bl {
  bottom: -2px;
  left: -2px;
  transform: scaleY(-1);
}

.pc.br {
  bottom: -2px;
  right: -2px;
  transform: scale(-1);
}

.per-label {
  position: absolute;
  top: 0;
  left: 34px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #9be3ff;
  background: linear-gradient(180deg, #081428, #0a1830);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 99px;
  padding: 6px 14px;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.15);
}

.per-label svg {
  width: 12px;
  height: 12px;
  stroke: #9be3ff;
  flex: none;
}

.per-label .led,
.mod-tag .led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
  flex: none;
  animation: led-blink 2.4s ease-in-out infinite;
}

@keyframes led-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@media (max-width: 640px) {
  .per-label {
    left: 16px;
    letter-spacing: 0.1em;
    padding: 5px 11px;
  }
}

.per-scan {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.65), transparent);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8));
  animation: per-scan-move 7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
  opacity: 0;
}

@keyframes per-scan-move {
  0% {
    top: 2%;
    opacity: 0;
  }

  6% {
    opacity: 0.9;
  }

  46% {
    top: 96%;
    opacity: 0.9;
  }

  52%,
  100% {
    top: 96%;
    opacity: 0;
  }
}

.per-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(140, 170, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #5e739e;
}

.per-foot .ok {
  color: var(--green);
}

.per-foot .spacer {
  flex: 1;
}

.per-foot .enc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.per-foot .enc svg {
  width: 10px;
  height: 10px;
  stroke: #5e739e;
  fill: none;
}

.bento {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
}

.module.featured {
  grid-column: span 2;
}

.module.wide {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes {
    min-height: 0;
    padding: 88px 0;
  }
}

.module {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(19, 35, 74, 0.55), rgba(10, 20, 40, 0.72));
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s,
    box-shadow 0.45s;
}

.module::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 165, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.module::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(380px 240px at var(--mx, 50%) var(--my, 0%), rgba(79, 125, 255, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
}

.module:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow:
    0 20px 50px -22px rgba(3, 10, 28, 0.9),
    0 0 0 1px rgba(79, 125, 255, 0.1);
}

.module:hover::before,
.module:hover::after {
  opacity: 1;
}

.module .tick {
  position: absolute;
  width: 9px;
  height: 9px;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.module .tick::before,
.module .tick::after {
  content: "";
  position: absolute;
  background: rgba(56, 189, 248, 0.85);
}

.module .tick::before {
  width: 100%;
  height: 1.5px;
}

.module .tick::after {
  width: 1.5px;
  height: 100%;
}

.module .tick.tl {
  top: 7px;
  left: 7px;
}

.module .tick.tr {
  top: 7px;
  right: 7px;
  transform: scaleX(-1);
}

.module .tick.bl {
  bottom: 7px;
  left: 7px;
  transform: scaleY(-1);
}

.module .tick.br {
  bottom: 7px;
  right: 7px;
  transform: scale(-1);
}

.module:hover .tick {
  opacity: 1;
}

.module.featured {
  background:
    radial-gradient(520px 280px at 92% -20%, rgba(37, 99, 235, 0.3), transparent 62%),
    linear-gradient(160deg, rgba(23, 42, 90, 0.72), rgba(10, 20, 40, 0.78));
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chip-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(79, 125, 255, 0.28), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(126, 165, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(200, 220, 255, 0.25),
    0 8px 20px -10px rgba(37, 99, 235, 0.55);
}

.chip-ic svg {
  width: 17px;
  height: 17px;
  stroke: #bad0ff;
  fill: none;
}

.mod-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #8fb0ff;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(79, 125, 255, 0.28);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.mod-tag .led {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 7px rgba(52, 211, 153, 0.9);
}

.module h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #f1f5ff;
  line-height: 1.3;
}

.module.featured h3 {
  font-size: 19px;
}

.module p {
  color: var(--muted-l);
  font-size: 12.5px;
  line-height: 1.55;
  flex: 1;
}

.module.featured p {
  max-width: 56ch;
  font-size: 13px;
}

.shift {
  margin-top: 2px;
  padding-top: 11px;
  border-top: 1px dashed rgba(140, 170, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.shift .was {
  color: #7c8db0;
  text-decoration: line-through;
  text-decoration-color: rgba(248, 113, 113, 0.7);
  text-decoration-thickness: 1.5px;
}

.shift .arrow {
  color: var(--cyan);
}

.shift .now {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.shift .now::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(52, 211, 153, 0.9);
}

.feed {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(5, 11, 24, 0.65);
  font-family: var(--font-mono);
  font-size: 10px;
  overflow: hidden;
}

.feed-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-bottom: 1px solid var(--line);
  color: #7c8db0;
  letter-spacing: 0.1em;
  font-size: 8.5px;
}

.feed-bar .lights {
  display: flex;
  gap: 4px;
}

.feed-bar .lights i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22345c;
  display: block;
}

.feed-bar .lights i:first-child {
  background: rgba(248, 113, 113, 0.7);
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 11px;
  color: #a9bbdd;
  border-bottom: 1px solid rgba(140, 170, 255, 0.07);
}

.feed-row:last-child {
  border-bottom: none;
}

.feed-row time {
  color: #5b6e96;
  flex: none;
}

.feed-row .ok {
  margin-left: auto;
  color: var(--green);
  flex: none;
}

.feed-row span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.wide-body {
  display: flex;
  gap: 18px;
  align-items: flex-end;
}

.wide-body p {
  min-width: 0;
}

.loadviz {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.loadviz .bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
}

.loadviz .bars i {
  width: 8px;
  border-radius: 2.5px 2.5px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(52, 211, 153, 0.2));
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.25);
  animation: bar-pulse 3.2s ease-in-out infinite;
}

.loadviz .bars i:nth-child(1) { height: 22%; animation-delay: 0s; }
.loadviz .bars i:nth-child(2) { height: 30%; animation-delay: 0.2s; }
.loadviz .bars i:nth-child(3) { height: 26%; animation-delay: 0.4s; }
.loadviz .bars i:nth-child(4) { height: 42%; animation-delay: 0.6s; }
.loadviz .bars i:nth-child(5) { height: 50%; animation-delay: 0.8s; }
.loadviz .bars i:nth-child(6) { height: 46%; animation-delay: 1s; }
.loadviz .bars i:nth-child(7) { height: 62%; animation-delay: 1.2s; }
.loadviz .bars i:nth-child(8) { height: 74%; animation-delay: 1.4s; }
.loadviz .bars i:nth-child(9) { height: 70%; animation-delay: 1.6s; }
.loadviz .bars i:nth-child(10) { height: 88%; animation-delay: 1.8s; }
.loadviz .bars i:nth-child(11) { height: 100%; animation-delay: 2s; }

.reveal-delay-80 {
  --reveal-delay: 80ms;
}

.reveal-delay-120 {
  --reveal-delay: 120ms;
}

[data-progress-bar][data-step="1"] { width: 8.3333%; }
[data-progress-bar][data-step="2"] { width: 16.6667%; }
[data-progress-bar][data-step="3"] { width: 25%; }
[data-progress-bar][data-step="4"] { width: 33.3333%; }
[data-progress-bar][data-step="5"] { width: 41.6667%; }
[data-progress-bar][data-step="6"] { width: 50%; }
[data-progress-bar][data-step="7"] { width: 58.3333%; }
[data-progress-bar][data-step="8"] { width: 66.6667%; }
[data-progress-bar][data-step="9"] { width: 75%; }
[data-progress-bar][data-step="10"] { width: 83.3333%; }
[data-progress-bar][data-step="11"] { width: 91.6667%; }
[data-progress-bar][data-step="12"] { width: 100%; }

@keyframes bar-pulse {
  0%,
  100% {
    opacity: 0.75;
  }

  50% {
    opacity: 1;
  }
}

.loadviz small {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #5e739e;
}

@media (min-width: 1101px) and (max-height: 840px) {
  .outcomes {
    padding: 40px 0;
  }

  .outcomes h2 {
    font-size: clamp(28px, 3vw, 40px);
  }

  .outcomes-sub {
    font-size: 13.5px;
    max-width: 44ch;
  }

  .outcomes-head {
    margin-bottom: 20px;
    gap: 36px;
  }

  .module {
    padding: 14px 15px 11px;
    gap: 8px;
  }

  .module h3 {
    font-size: 14.5px;
  }

  .module.featured h3 {
    font-size: 17px;
  }

  .module p {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .module.featured p {
    font-size: 12px;
  }

  .chip-ic {
    width: 33px;
    height: 33px;
  }

  .chip-ic svg {
    width: 15px;
    height: 15px;
  }

  .feed-row,
  .feed-bar {
    padding: 5px 10px;
  }

  .shift {
    font-size: 9px;
    padding-top: 8px;
  }

  .perimeter {
    padding: 20px 18px 12px;
  }

  .per-foot {
    margin-top: 10px;
    padding-top: 9px;
  }

  .bento {
    gap: 11px;
  }

  .loadviz .bars {
    height: 36px;
  }
}

/* ---------- SECTION: REVENUE LEAKS console ---------- */
.leaks {
  position: relative;
  padding: 120px 0 132px;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 22%, var(--paper) 100%);
  overflow: hidden;
}

.leaks::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 21, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 36, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 520px at 15% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 15% 0%, #000 20%, transparent 75%);
}

.leaks .wrap {
  position: relative;
}

.leaks .eyebrow {
  color: var(--blue);
}

.leaks-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}

@media (max-width: 900px) {
  .leaks-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.leaks h2 {
  margin-top: 22px;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink-text);
}

.leaks h2 em {
  font-style: normal;
  color: var(--blue);
}

.leaks-sub {
  color: var(--muted-d);
  font-size: 18px;
  line-height: 1.65;
}

.leaks-sub strong {
  color: var(--ink-text);
  font-weight: 600;
}

.tabs-shell {
  position: relative;
  margin: 48px 0 40px;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid rgba(11, 21, 36, 0.08);
  box-shadow:
    0 10px 30px -18px rgba(11, 21, 36, 0.25),
    inset 0 1px 0 #fff;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  white-space: nowrap;
  scroll-snap-align: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-d);
  padding: 11px 18px;
  border-radius: 99px;
  transition:
    color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab .n {
  font-size: 10px;
  color: #a9b4c8;
  transition: color 0.25s;
}

.tab:hover {
  color: var(--ink-text);
  background: rgba(37, 99, 235, 0.06);
}

.tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(160deg, #3b72f6, var(--blue));
  box-shadow:
    0 10px 24px -8px rgba(37, 99, 235, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tab[aria-selected="true"] .n {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1080px) {
  .tabs-shell.scrollable .tabs {
    mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 36px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 36px), transparent);
  }

  .tabs-shell.scrollable::after {
    content: "›";
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--blue);
    opacity: 0.7;
    pointer-events: none;
  }

  .tab {
    padding: 11px 15px;
    font-size: 11px;
  }
}

.leak-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.88fr);
  gap: 52px;
  align-items: start;
}

@media (max-width: 1020px) {
  .leak-desk {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.console-frame {
  --acc: #4f7dff;
  position: relative;
  border-radius: 24px;
  padding: 13px;
  background: linear-gradient(160deg, #101f3d, #070f22);
  border: 1px solid rgba(140, 170, 255, 0.18);
  box-shadow:
    0 40px 90px -30px rgba(7, 16, 35, 0.55),
    0 0 0 6px rgba(37, 99, 235, 0.05),
    inset 0 1px 0 rgba(200, 220, 255, 0.12);
}

.console-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  z-index: -1;
  background: conic-gradient(
    from 210deg at 50% 50%,
    transparent 0deg,
    color-mix(in srgb, var(--acc) 50%, transparent) 55deg,
    color-mix(in srgb, var(--acc) 35%, transparent) 95deg,
    transparent 155deg,
    transparent 360deg
  );
  filter: blur(14px);
  opacity: 0.6;
  transition: background 0.5s;
}

.console {
  border-radius: 14px;
  overflow: hidden;
  background: #060d1c;
  color: #dce6fa;
  border: 1px solid rgba(140, 170, 255, 0.12);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(140, 170, 255, 0.12);
  background: rgba(14, 27, 54, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #7c8db0;
}

.console-top .lights {
  display: flex;
  gap: 6px;
  flex: none;
}

.console-top .lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.console-top .lights i:nth-child(1) {
  background: #f87171;
}

.console-top .lights i:nth-child(2) {
  background: #fbbf24;
}

.console-top .lights i:nth-child(3) {
  background: #34d399;
}

.console-top .ct-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-top .sys {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in srgb, var(--acc) 80%, #fff);
}

.console-top .sys::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

@media (max-width: 480px) {
  .console-top .ct-label {
    display: none;
  }
}

.console-body {
  padding: 22px 22px 20px;
  position: relative;
}

@media (max-width: 480px) {
  .console-body {
    padding: 18px 14px 16px;
  }
}

.console-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.console-body > * {
  position: relative;
}

.c-head {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f1f5ff;
  margin: 0;
}

.c-head em {
  font-style: normal;
  color: var(--acc);
}

.po-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 18px;
}

@media (max-width: 560px) {
  .po-strip {
    grid-template-columns: 1fr;
  }
}

.po {
  border-radius: 10px;
  padding: 8px 12px 9px;
  font-size: 12px;
  line-height: 1.45;
}

.po b {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-bottom: 2px;
}

.po.bad {
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.07);
  color: #f3b9b9;
}

.po.bad b {
  color: #f87171;
}

.po.good {
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.07);
  color: #b9ebd8;
}

.po.good b {
  color: var(--green);
}

.fnode {
  --nacc: var(--acc);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--nacc) 38%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--nacc) 13%, rgba(10, 20, 40, 0.55)), rgba(6, 13, 28, 0.8));
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 0 18px -8px color-mix(in srgb, var(--nacc) 40%, transparent);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.fnode:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--nacc) 68%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--nacc) 20%, rgba(10, 20, 40, 0.55)), rgba(6, 13, 28, 0.8));
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--nacc) 62%, transparent);
}

.ainode {
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.ainode:hover {
  border-color: color-mix(in srgb, var(--acc) 68%, transparent);
  box-shadow: 0 0 42px -6px color-mix(in srgb, var(--acc) 70%, transparent);
}

.fnode .fic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--nacc) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--nacc) 48%, transparent);
}

.fnode .fic svg {
  width: 15px;
  height: 15px;
  stroke: color-mix(in srgb, var(--nacc) 75%, #fff);
  fill: none;
}

.fnode b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #edf2ff;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.fnode small {
  display: block;
  font-size: 10.5px;
  color: #8298c2;
  line-height: 1.35;
  margin-top: 1px;
}

.fnode .num {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #04101f;
  background: color-mix(in srgb, var(--nacc) 85%, #fff);
}

.arr {
  font-family: var(--font-mono);
  color: #5b7bd6;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.dg-converge {
  display: grid;
  grid-template-columns: 1fr 20px 1.12fr 20px 1fr;
  gap: 10px;
  align-items: center;
}

.dg-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.ainode {
  border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  background:
    radial-gradient(160px 100px at 50% 0%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%),
    rgba(6, 13, 28, 0.85);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 0 30px -8px color-mix(in srgb, var(--acc) 55%, transparent);
}

.ainode .ai-t {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.ainode .ai-t svg {
  width: 18px;
  height: 18px;
  stroke: color-mix(in srgb, var(--acc) 75%, #fff);
  flex: none;
  fill: none;
}

.ainode .ai-t b {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #edf2ff;
}

.ainode li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #a9bbdd;
  padding: 3px 0;
}

.ainode li::before {
  content: "✓";
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
}

@media (max-width: 700px) {
  .dg-converge {
    grid-template-columns: 1fr;
  }

  .dg-converge .arr {
    transform: rotate(90deg);
  }

  .dg-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dg-col .fnode {
    flex: 1 1 45%;
  }
}

.dg-timeline {
  position: relative;
  padding-left: 6px;
}

.dg-timeline::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--acc) 55%, transparent),
    color-mix(in srgb, var(--acc) 10%, transparent)
  );
}

.tl-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  align-items: center;
  padding: 5px 0;
  position: relative;
}

.tl-item time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #7c8db0;
  text-align: right;
}

.tl-item time.night {
  color: color-mix(in srgb, var(--acc) 80%, #fff);
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 83.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #060d1c;
  border: 2px solid color-mix(in srgb, var(--acc) 75%, #fff);
  box-shadow: 0 0 10px color-mix(in srgb, var(--acc) 60%, transparent);
}

.tl-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--acc) 80%, #fff);
  border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent);
  background: color-mix(in srgb, var(--acc) 10%, transparent);
  padding: 5px 11px;
  border-radius: 99px;
}

@media (max-width: 480px) {
  .tl-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .dg-timeline::before {
    left: 70px;
  }

  .tl-item::before {
    left: 65.5px;
  }
}

.dg-conveyor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cv-row {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  gap: 8px;
  align-items: center;
}

.cv-turn {
  display: flex;
  justify-content: flex-end;
  padding-right: 14%;
}

.cv-turn.left {
  justify-content: flex-start;
  padding-left: 14%;
}

.dg-conveyor .fnode {
  flex-direction: column;
  text-align: center;
  gap: 7px;
  padding: 12px 8px;
}

.dg-conveyor .fnode small {
  display: block;
}

@media (max-width: 640px) {
  .cv-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .cv-row.back {
    flex-direction: column-reverse;
  }

  .cv-row .arr {
    transform: rotate(90deg);
  }

  .cv-turn {
    display: none;
  }

  .dg-conveyor .fnode {
    flex-direction: row;
    text-align: left;
  }
}

.dg-fan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dg-fan > .fnode {
  width: min(300px, 100%);
}

.fan-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}

.fan-row .fnode {
  flex-direction: column;
  text-align: center;
  gap: 7px;
  padding: 12px 6px;
}

.fan-bracket {
  width: 78%;
  height: 12px;
  border: 1.5px solid color-mix(in srgb, var(--acc) 40%, transparent);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.fan-bracket.flip {
  border-bottom: 1.5px solid color-mix(in srgb, var(--acc) 40%, transparent);
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.fan-bracket::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--acc) 85%, #fff);
  box-shadow: 0 0 8px color-mix(in srgb, var(--acc) 70%, transparent);
}

.fan-bracket.flip::after {
  top: auto;
  bottom: -7px;
}

@media (max-width: 640px) {
  .fan-row {
    grid-template-columns: 1fr 1fr;
  }

  .fan-bracket {
    width: 92%;
  }
}

.dg-loop {
  position: relative;
  height: 320px;
  margin: 6px 0 2px;
}

.dg-loop .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(56%, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--acc) 42%, transparent);
  animation: loop-spin 26s linear infinite;
}

@keyframes loop-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.dg-loop .core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--acc) 30%, transparent), rgba(6, 13, 28, 0.9));
  border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent);
  box-shadow: 0 0 34px -6px color-mix(in srgb, var(--acc) 65%, transparent);
}

.dg-loop .core svg {
  width: 26px;
  height: 26px;
  stroke: color-mix(in srgb, var(--acc) 80%, #fff);
  fill: none;
}

.dg-loop .fnode {
  position: absolute;
  width: min(46%, 220px);
}

.dg-loop .fnode.pos-t {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.dg-loop .fnode.pos-r {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.dg-loop .fnode.pos-b {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.dg-loop .fnode.pos-l {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.dg-loop .fnode.pos-t:hover {
  transform: translateX(-50%) translateY(-2px);
}

.dg-loop .fnode.pos-r:hover {
  transform: translate(0, calc(-50% - 2px));
}

.dg-loop .fnode.pos-b:hover {
  transform: translateX(-50%) translateY(-2px);
}

.dg-loop .fnode.pos-l:hover {
  transform: translate(0, calc(-50% - 2px));
}

@media (max-width: 480px) {
  .dg-loop {
    height: 348px;
  }

  .dg-loop .fnode {
    width: 47%;
  }

  .dg-loop .fnode b {
    font-size: 11px;
  }

  .dg-loop .fnode small {
    font-size: 9.5px;
  }

  .dg-loop .fnode .fic {
    width: 24px;
    height: 24px;
  }
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 15px 18px 17px;
  border-top: 1px solid rgba(140, 170, 255, 0.12);
  background: rgba(10, 20, 40, 0.55);
}

.cstat {
  border: 1px solid rgba(140, 170, 255, 0.14);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(6, 13, 28, 0.6);
}

.cstat b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5ff;
  font-variant-numeric: tabular-nums;
}

.cstat b.up {
  color: var(--green);
}

.cstat b.down {
  color: var(--cyan);
}

.cstat span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #6e82ac;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .console-stats {
    grid-template-columns: 1fr 1fr;
    padding: 13px 14px 15px;
  }

  .cstat:last-child {
    grid-column: span 2;
  }
}

.spec h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink-text);
}

.spec .spec-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.spec-list {
  margin: 28px 0 32px;
  border-top: 1px solid rgba(11, 21, 36, 0.1);
}

.spec-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(11, 21, 36, 0.1);
}

@media (max-width: 520px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 15px 0;
  }
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-d);
  padding-top: 3px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.spec-row dt::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue);
  margin-top: 4px;
  flex: none;
}

.spec-row dd {
  color: #33415c;
  font-size: 16px;
  line-height: 1.6;
}

.spec-row dd b {
  color: var(--ink-text);
  font-weight: 600;
}

.leaks .cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(160deg, #3b72f6, var(--blue));
  padding: 17px 30px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow:
    0 18px 40px -12px rgba(37, 99, 235, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s;
}

.leaks .cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 50px -12px rgba(37, 99, 235, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.leaks .cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s;
}

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

.cta-note {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-d);
}

.leak-desk.swap .console-frame,
.leak-desk.swap .spec {
  animation: console-swap-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes console-swap-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- mobile: one-scroll sections ---------- */
@media (max-width: 640px) {
  .outcomes {
    min-height: 100svh;
    padding: 32px 0;
  }

  .outcomes h2 {
    font-size: clamp(26px, 7.5vw, 32px);
  }

  .outcomes-sub {
    font-size: 13.5px;
  }

  .head-meta {
    display: none;
  }

  .outcomes-head {
    margin-bottom: 16px;
    gap: 14px;
  }

  .perimeter {
    padding: 20px 14px 12px;
  }

  .leaks h2 {
    margin-top: 16px;
    font-size: clamp(30px, 8.5vw, 38px);
  }

  .leaks-sub {
    font-size: 15px;
  }

  .spec h3 {
    font-size: 26px;
  }

  .spec-row dd {
    font-size: 14.5px;
  }

  .bento {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -6px;
    padding: 4px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .bento::-webkit-scrollbar {
    display: none;
  }

  .module,
  .module.featured,
  .module.wide {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }

  .per-foot {
    gap: 12px;
    font-size: 8px;
  }

  .leaks {
    padding: 48px 0 60px;
  }

  .tabs-shell {
    margin: 26px 0 22px;
  }

  .spec-list {
    margin: 20px 0 24px;
  }

  .leaks .cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot::after,
  .radar::before,
  .per-scan,
  .per-label .led,
  .mod-tag .led,
  .loadviz .bars i,
  .dg-loop .ring {
    animation: none;
  }

  .per-scan {
    display: none;
  }

  .module,
  .tab,
  .leaks .cta,
  .fnode,
  .ainode {
    transition: none;
  }

  .leak-desk.swap .console-frame,
  .leak-desk.swap .spec {
    animation: none;
  }
}

/* ============================================================
   Mobile one-scroll pass v2 — compress every section toward a
   single viewport; long vertical stacks become swipe rails
   ============================================================ */
@media (max-width: 640px) {
  /* hero: tighter copy + diagnostic, workflow strip becomes a swipe rail */
  .home-main .revenue-hero {
    padding-top: 16px;
    padding-bottom: 34px;
    gap: 22px;
  }

  .revenue-hero .hero-text {
    margin-top: 14px;
    font-size: 0.98rem;
  }

  .revenue-hero .cta-row {
    margin-top: 16px;
    gap: 10px;
  }

  .diagnostic-inner {
    padding: 16px;
  }

  .leak-panel {
    margin-top: 16px;
    gap: 10px;
  }

  .leak-row {
    padding: 10px 12px;
    gap: 8px;
  }

  .diagnostic-flow {
    margin-top: 14px;
    padding: 12px 12px 14px;
  }

  .flow-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .flow-steps::-webkit-scrollbar {
    display: none;
  }

  .flow-step {
    flex: 0 0 68%;
    scroll-snap-align: center;
    min-height: 84px;
  }

  .flow-step:not(:last-child)::after {
    top: 50%;
    right: -13px;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }

  /* fit console: tighter signal rows */
  .fit-console {
    padding: 22px 16px;
    gap: 22px;
  }

  .fit-signal {
    padding: 12px 14px;
    gap: 10px;
  }

  .fit-signal-text {
    font-size: 0.9rem;
  }

  .fit-console-cta {
    padding-top: 18px;
  }

  /* leaks console: tighter diagram + spec */
  .console-body {
    padding: 16px 12px 14px;
  }

  .c-head {
    font-size: 17px;
  }

  .po {
    padding: 7px 10px 8px;
    font-size: 11px;
  }

  .po-strip {
    margin: 12px 0 14px;
  }

  .fnode {
    padding: 8px 10px;
    gap: 8px;
  }

  .fnode b {
    font-size: 11.5px;
  }

  .fnode small {
    font-size: 9.5px;
    line-height: 1.3;
  }

  .console-stats {
    padding: 11px 12px 13px;
    gap: 8px;
  }

  .cstat {
    padding: 9px 11px;
  }

  .cstat b {
    font-size: 16px;
  }

  .spec-row {
    padding: 12px 0;
  }

  /* offer: tighter band + card */
  .offer-section {
    padding: 48px 0;
  }

  .offer-band {
    padding: 26px 0;
    gap: 22px;
  }

  .offer-details {
    padding: 22px 18px;
  }

  .offer-details h3 {
    font-size: 1.6rem;
  }

  .offer-list {
    gap: 8px;
    margin: 16px 0 18px;
  }

  /* lead system: nodes become a swipe rail */
  .lead-system-section {
    padding: 48px 0;
  }

  .lead-system-map {
    gap: 22px;
  }

  .lead-process-card {
    padding: 18px;
  }

  .lead-process-nodes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lead-process-nodes::-webkit-scrollbar {
    display: none;
  }

  .lead-node {
    flex: 0 0 62%;
    scroll-snap-align: center;
    min-height: 104px;
  }

  .lead-node span {
    margin-top: 14px;
  }

  /* process: steps become a swipe rail */
  .revenue-movement-section {
    padding: 48px 0;
  }

  .revenue-movement-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .revenue-movement-grid::-webkit-scrollbar {
    display: none;
  }

  .movement-step {
    flex: 0 0 70%;
    scroll-snap-align: center;
  }

  /* expansion + cta: tighter padding */
  .system-expansion-section {
    padding: 48px 0 56px;
  }

  .expansion-map {
    padding: 22px 16px 26px;
  }

  .expansion-track {
    gap: 16px;
  }

  .cta-section {
    padding-bottom: 34px;
  }
}

/* ============================================================
   Hero pipeline live-run simulation
   ============================================================ */
.df-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.diagnostic-flow .df-head h2 {
  margin: 0;
}

.df-run {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  border: 1px solid rgba(20, 184, 107, 0.32);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(20, 184, 107, 0.08);
  color: #7ee2ae;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.df-run i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(20, 184, 107, 0.9);
  animation: df-run-blink 1.6s ease-in-out infinite;
}

@keyframes df-run-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.diagnostic-flow .flow-step {
  animation: none;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.flow-step .fs-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #04180d;
  font-size: 9px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-step.is-active {
  border-color: rgba(118, 170, 255, 0.78);
  background: rgba(11, 99, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(11, 99, 255, 0.55);
}

.flow-step.is-done {
  border-color: rgba(20, 184, 107, 0.45);
  background: rgba(20, 184, 107, 0.06);
}

.flow-step.is-done .fs-check {
  opacity: 1;
  transform: scale(1);
}

.flow-step.is-done:not(:last-child)::after {
  border-color: rgba(111, 220, 166, 0.85);
}

.df-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}

.df-track {
  display: block;
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.df-progress {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 0 12px rgba(20, 184, 107, 0.55);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-status {
  flex: none;
  color: #89a8ca;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  min-width: 150px;
  text-align: right;
}

/* leak-row polish: state-tinted metrics + hover */
.leak-row {
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.leak-row:hover {
  border-color: rgba(139, 169, 202, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(4px);
}

.leak-row:has(.tag.warn) .metric {
  color: #ffd88a;
}

.leak-row:has(.tag.good) .metric {
  color: #7ee2ae;
}

@media (max-width: 640px) {
  .df-status {
    min-width: 0;
    font-size: 0.55rem;
  }

  .df-run {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .df-run i {
    animation: none;
  }

  .diagnostic-flow .flow-step,
  .flow-step .fs-check,
  .df-progress,
  .leak-row {
    transition: none;
  }
}

/* ============================================================
   Site-wide depth grid + unified chart color system
   (blue = active flow, green = success/live)
   ============================================================ */
body {
  background:
    linear-gradient(rgba(11, 21, 36, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(11, 21, 36, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px, #f9fbfe 100%),
    var(--bg);
}

.lead-system-section {
  background:
    linear-gradient(rgba(11, 21, 36, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(11, 21, 36, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    #ffffff;
}

/* hero pipeline: one blue accent for every stage dot */
.flow-step[data-type="trigger"] small,
.flow-step[data-type="output"] small,
.flow-step[data-type="validate"] small,
.flow-step[data-type="action"] small,
.flow-step[data-type="decision"] small {
  color: #76aaff;
}

/* ============================================================
   Chart idle animations — a signal sweeping through each diagram
   ============================================================ */
.console-body .fnode {
  animation: fnode-live 7s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

@keyframes fnode-live {
  0%,
  9%,
  100% {
    border-color: color-mix(in srgb, var(--nacc) 38%, transparent);
    box-shadow: 0 0 18px -8px color-mix(in srgb, var(--nacc) 40%, transparent);
  }

  3.5% {
    border-color: color-mix(in srgb, var(--nacc) 80%, transparent);
    box-shadow: 0 0 30px -4px color-mix(in srgb, var(--nacc) 70%, transparent);
  }
}

.console-body .arr {
  animation: arr-live 7s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

@keyframes arr-live {
  0%,
  9%,
  100% {
    color: #5b7bd6;
    text-shadow: none;
  }

  3.5% {
    color: color-mix(in srgb, var(--acc) 85%, #fff);
    text-shadow: 0 0 12px color-mix(in srgb, var(--acc) 80%, transparent);
  }
}

.ainode li {
  animation: ai-check-live 7s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

@keyframes ai-check-live {
  0%,
  9%,
  100% {
    color: #a9bbdd;
  }

  3.5% {
    color: #ffffff;
  }
}

.tl-item::before {
  animation: tl-dot-live 7s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

@keyframes tl-dot-live {
  0%,
  9%,
  100% {
    box-shadow: 0 0 10px color-mix(in srgb, var(--acc) 60%, transparent);
  }

  3.5% {
    box-shadow:
      0 0 0 5px color-mix(in srgb, var(--acc) 22%, transparent),
      0 0 16px color-mix(in srgb, var(--acc) 90%, transparent);
  }
}

.fan-bracket::after {
  animation: bracket-dot-live 7s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

@keyframes bracket-dot-live {
  0%,
  9%,
  100% {
    box-shadow: 0 0 8px color-mix(in srgb, var(--acc) 70%, transparent);
  }

  3.5% {
    box-shadow:
      0 0 0 5px color-mix(in srgb, var(--acc) 24%, transparent),
      0 0 14px color-mix(in srgb, var(--acc) 95%, transparent);
  }
}

.dg-loop .core {
  animation: loop-core-live 4.5s ease-in-out infinite;
}

@keyframes loop-core-live {
  0%,
  100% {
    box-shadow: 0 0 34px -6px color-mix(in srgb, var(--acc) 65%, transparent);
  }

  50% {
    box-shadow:
      0 0 0 8px color-mix(in srgb, var(--acc) 10%, transparent),
      0 0 44px -4px color-mix(in srgb, var(--acc) 85%, transparent);
  }
}

/* lead-system pipeline: sequential live pulse */
.lead-process-nodes .lead-node {
  animation: lead-node-live 7s ease-in-out infinite;
}

.lead-process-nodes .lead-node:nth-child(1) {
  animation-delay: 0.3s;
}

.lead-process-nodes .lead-node:nth-child(2) {
  animation-delay: 1.5s;
}

.lead-process-nodes .lead-node:nth-child(3) {
  animation-delay: 2.7s;
}

.lead-process-nodes .lead-node:nth-child(4) {
  animation-delay: 3.9s;
}

.lead-process-nodes .lead-node:nth-child(5) {
  animation-delay: 5.1s;
}

@keyframes lead-node-live {
  0%,
  22%,
  100% {
    border-color: var(--line);
    background: #fbfdff;
    box-shadow: none;
  }

  8% {
    border-color: rgba(11, 99, 255, 0.55);
    background: #f2f8ff;
    box-shadow: 0 12px 28px -14px rgba(11, 99, 255, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .console-body .fnode,
  .console-body .arr,
  .ainode li,
  .tl-item::before,
  .fan-bracket::after,
  .dg-loop .core,
  .lead-process-nodes .lead-node {
    animation: none;
  }
}

/* ============================================================
   Fit-console v2 — live symptom scan
   ============================================================ */
.fit-console {
  overflow: visible;
}

.fit-console::before {
  border-radius: inherit;
}

.fit-console-copy {
  padding-right: clamp(8px, 2vw, 26px);
}

@media (min-width: 1121px) {
  .fit-console-copy {
    border-right: 1px solid rgba(139, 169, 202, 0.14);
  }
}

.fit-scan-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  border: 1px solid rgba(139, 169, 202, 0.24);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #9fb7d1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  transition: border-color 0.4s ease, color 0.4s ease;
}

.fit-scan-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ba9ca;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.fit-console.is-scanning .fit-scan-status {
  border-color: rgba(242, 160, 0, 0.4);
  color: #ffd88a;
}

.fit-console.is-scanning .fit-scan-status i {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(242, 160, 0, 0.8);
  animation: df-run-blink 1.1s ease-in-out infinite;
}

.fit-console.scan-complete .fit-scan-status {
  border-color: rgba(20, 184, 107, 0.4);
  color: #7ee2ae;
}

.fit-console.scan-complete .fit-scan-status i {
  background: var(--green);
  box-shadow: 0 0 10px rgba(20, 184, 107, 0.85);
  animation: none;
}

.fit-signals-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.fit-signals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(139, 169, 202, 0.2);
  padding-bottom: 10px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8ba9ca;
}

.fit-signals-head b {
  color: #ffd88a;
  font-weight: 850;
  transition: color 0.4s ease;
}

.fit-console.scan-complete .fit-signals-head b {
  color: #7ee2ae;
}

.fit-signal {
  opacity: 0.45;
  filter: saturate(0.55);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease,
    border-color 0.4s ease,
    background-color 0.4s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fit-signal.is-detected {
  opacity: 1;
  filter: none;
  border-color: rgba(242, 160, 0, 0.34);
  background: rgba(242, 160, 0, 0.05);
}

.fit-signal.is-detected .fit-signal-text {
  color: #ffffff;
}

.fit-signal.is-detected:hover {
  border-color: rgba(242, 160, 0, 0.6);
  background: rgba(242, 160, 0, 0.09);
}

.fit-impact {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  margin-left: auto;
  flex: none;
}

.fit-impact i {
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.fit-impact i:nth-child(1) {
  height: 7px;
}

.fit-impact i:nth-child(2) {
  height: 10px;
}

.fit-impact i:nth-child(3) {
  height: 13px;
}

.fit-signal.is-detected[data-impact="2"] .fit-impact i:nth-child(-n + 2),
.fit-signal.is-detected[data-impact="3"] .fit-impact i:nth-child(-n + 3) {
  background: linear-gradient(180deg, #ffd88a, var(--amber));
  box-shadow: 0 0 8px rgba(242, 160, 0, 0.55);
}

.fit-signal.is-detected .fit-impact i:nth-child(1) {
  transition-delay: 0.1s;
}

.fit-signal.is-detected .fit-impact i:nth-child(2) {
  transition-delay: 0.22s;
}

.fit-signal.is-detected .fit-impact i:nth-child(3) {
  transition-delay: 0.34s;
}

.fit-state {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 169, 202, 0.25);
  border-radius: 50%;
  color: transparent;
  font-size: 0.72rem;
  font-weight: 900;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fit-signal.is-detected .fit-state {
  border-color: rgba(242, 160, 0, 0.55);
  background: rgba(242, 160, 0, 0.14);
  color: #ffd88a;
  transform: scale(1.06);
}

.fit-signal.is-detected .fit-state::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 160, 0, 0.65);
  animation: fit-state-ping 1s cubic-bezier(0, 0, 0.2, 1) 1;
  opacity: 0;
}

@keyframes fit-state-ping {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.fit-scanline {
  position: absolute;
  left: -4px;
  right: -4px;
  top: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(11, 99, 255, 0.85), transparent);
  filter: drop-shadow(0 0 8px rgba(11, 99, 255, 0.8));
  opacity: 0;
  pointer-events: none;
  transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.fit-scanline.is-on {
  opacity: 1;
}

.fit-console-cta.is-armed .button {
  animation: fit-cta-armed 2.6s ease-in-out infinite;
}

@keyframes fit-cta-armed {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(11, 99, 255, 0.18);
  }

  50% {
    box-shadow:
      0 12px 32px rgba(11, 99, 255, 0.32),
      0 0 0 6px rgba(11, 99, 255, 0.09);
  }
}

@media (max-width: 640px) {
  .fit-console-copy {
    padding-right: 0;
  }

  .fit-signals-head {
    letter-spacing: 0.1em;
  }

  .fit-impact {
    margin-left: 6px;
  }

  .fit-signal .fit-state {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fit-signal,
  .fit-state,
  .fit-impact i,
  .fit-scan-status,
  .fit-scanline {
    transition: none;
  }

  .fit-signal.is-detected .fit-state::after,
  .fit-console-cta.is-armed .button,
  .fit-console.is-scanning .fit-scan-status i {
    animation: none;
  }
}
