:root {
  --primary: #59b9d2;
  --secondary: #63666d;
  --secondary-dark: #212052;
  --secondary-purple: #7852a1;
  --tertiary-blue: #2a4a82;
  --tertiary-grey: #bebbb5;
  --tertiary-orange: #d27824;
  --black: #111111;
  --light-grey: #f2f2f2;
}

.hero-grid-autobuild {
  display: grid;
  align-items: center;
  position: relative;
  z-index: 1;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
}
.hero-grid-autobuild h1 span{
  color: #59b9d2;
  /* background: linear-gradient(100deg, #59b9d2, #59b9d2); */
}
.hero-grid-autobuild .microproof {
    font-size: 12px;
    color: #fff;
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
    margin-top: 34px;
}
.hero-visual-autobuild {
  border: 1px solid #4d5c8a;
  border-radius: 22px;
  box-shadow: 0 18px 48px #11122a26;
  background: linear-gradient(145deg, rgb(48, 50, 96), rgb(39, 40, 79));
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff20;
  padding-bottom: 15px;
  margin-bottom: 16px;
  font-size: 14px;
  gap: 12px;
}
.system-map {
  height: 290px;
  position: relative;
  isolation: isolate;
}
.system-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.feature {
    display: flex;
    gap: 11px;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #263b4c;
}
.feature i{
  font-size: 16px;
  font-style: normal;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #d9f2f7;
    color: var(--primary);
    flex-shrink: 0;
}
.map-node {
  position: absolute;
  width: 31%;
  padding: 12px 10px;
  border: 1px solid #ffffff19;
  border-radius: 8px;
  /* background: linear-gradient(145deg, #102f4d, #081c32); */
  background: #333560;
  box-shadow: 0 8px 24px #0003;
}

.map-node i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 5px;
}
.mn1 {
  top: 7%;
  left: 0;
}
.mn2 {
  top: 7%;
  right: 0;
}
.mn3 {
  bottom: 7%;
  left: 0;
}
.mn4 {
  bottom: 7%;
  right: 0;
}

.ai-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border: 1px solid #ffffff19;
  border-radius: 23px;
  background: radial-gradient(
    ellipse at center,
    #10314d 0%,
    #292d59 42%,
    #333560 100%
  );
  display: grid;
  place-items: center;
  /* color: #e5fbff; */
  font-size: 1.65rem;
  font-weight: 800;
  box-shadow:
    0 0 0 8px #5ab9d210,
    0 0 38px #5ab9d238;
}
.map-node strong {
  display: block;
  color: #f2fbff;
  font-size: 11px;
  line-height: 1.3;
}

.map-node small {
  display: block;
  /* color: #a7c0d2; */
  font-size: 11px;
  line-height: 1.5;
  margin-top: 5px;
}

.flowline {
  stroke: #5ab9d2;
  stroke-width: 2;
  stroke-dasharray: 6 9;
  fill: none;
  animation: flow 2.5s linear infinite;
}
.flowline.alt {
  animation-delay: -1.2s;
  stroke: #64d6c4;
}

@keyframes flow {
  100% {
    stroke-dashoffset: -60;
  }
}
.visual-foot {
  border-top: 1px solid #ffffff18;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08;
}
.workflow-panel {
  border: 1px solid #1e5878;
  border-radius: 14px;
  background: linear-gradient(145deg, rgb(48, 50, 96), rgb(39, 40, 79));
  overflow: hidden;
  box-shadow: 0 22px 55px #0003;
}
.workflow-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  border-bottom: 1px solid #ffffff18;
  color: #bdebf5;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  padding: 30px 24px 26px;
  position: relative;
}
.workflow-output {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(145deg, rgb(48, 50, 96), rgb(39, 40, 79));
  border-top: 1px solid #247da055;
  color: #bfd1df;
  /* font-size: 0.82rem; */
  text-align: center;
}
.workflow-output strong {
  color: var(--primary);
}
.workflow-panel-head span {
  font-size: 12px;
  color: #9db6d1;
  letter-spacing: 0;
  font-weight: 400;
}
.workflow-steps:before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 54px;
  height: 2px;
  background: linear-gradient(90deg, #1679a7, #5ab9d2, #1679a7);
  opacity: 0.75;
}
.workflow-steps:after {
  content: "";
  position: absolute;
  left: 9%;
  top: 51px;
  width: 42px;
  height: 7px;
  border-radius: 20px;
  background: #8af5ff;
  box-shadow: 0 0 16px #5ab9d2;
  animation: signal 5s linear infinite;
}
@keyframes signal {
  0% {
    left: 9%;
    opacity: 0.2;
  }
  10% {
    opacity: 1;
  }
  100% {
    left: 88%;
    opacity: 0.2;
  }
}
.w-step {
  z-index: 1;
  border: 1px solid #236184;
  background: linear-gradient(160deg, #30345f, #252951);
  border-radius: 10px;
  padding: 19px 16px 21px;
  min-height: 200px;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.w-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.w-step .workflow-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--secondary-dark);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px #5ab9d212;
}
.w-step h3 {
  font-size: 18px;
  margin: 0 0 7px;
  color: #fff;
  font-weight: 700;
}
.w-step p {
  font-size: 15px;
  color: #bfd1df;
  margin: 0;
}
.bfs-difference .diff-topline {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 36px;
  margin: 0 0 18px;
  padding: 0 14px;
  border: 1px solid #d5edf2;
  border-radius: 7px;
  background: #e5f5f8;
  color: var(--primary);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
}
.bfs-difference .diff-topline:before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--primary);
}
.bfs-difference .diff-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 54px;
  align-items: center;
  margin: 0 0 24px;
  padding-bottom: 38px;
}
.bfs-difference .diff-intro h2 {
  max-width: 690px;
  margin: 0;
  color: #23275c;
  font-size: 45px;
  line-height: 1.2;
  letter-spacing: -0.052em;
  font-weight: 700;
}
.bfs-difference .diff-intro h2 em {
  font-style: normal;
  color: var(--primary);
}
.bfs-difference .diff-domains {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  color: #23275c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.2;
}
.bfs-difference .diff-domains span:first-child {
  padding-left: 0;
  border-left: 0;
}
.bfs-difference .diff-domains span {
  padding: 0 13px;
  border-left: 1px solid #d3e0e6;
}
.bfs-difference .diff-intro p {
  max-width: 560px;
  padding-left: 20px;
  border-left: 2px solid #5ab9d2;
  font-size: 15px;
  line-height: 1.65;
}
.bfs-difference .diff-story {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce7ec;
  box-shadow: 0 16px 38px rgba(22, 48, 72, 0.055);
}
.bfs-difference .diff-origin {
  padding: 27px 30px;
  background: #edf2f4;
}
.bfs-difference .diff-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #748696;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.bfs-difference .diff-label:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.bfs-difference .diff-story h3 {
  margin: 0 0 10px;
  color: #23275c;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.bfs-difference .diff-story p {
  margin: 0;
  /* color: #647487; */
  font-size: 13px;
  line-height: 1.7;
}
.bfs-difference .diff-destination {
  position: relative;
  padding: 27px 32px 25px;
  background: #23275c;
  color: #fff;
}
.bfs-difference .diff-destination:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #5ab9d2;
}
.bfs-difference .diff-destination .diff-label {
  color: #7bd6e5;
}
.bfs-difference .diff-destination h3 {
  color: #fff;
  font-size: 24px;
}
.bfs-difference .diff-destination > p {
  max-width: 690px;
  color: #d5e1ed;
  font-size: 14px;
}
.bfs-difference .diff-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 17px;
}
.bfs-difference .diff-point {
  position: relative;
  padding: 12px 0 0 17px;
  margin-top: 11px;
  border-top: 1px solid #ffffff24;
  color: #cbd9e8;
  font-size: 12px;
  line-height: 1.55;
}
.bfs-difference .diff-point:before {
  content: "↗";
  position: absolute;
  left: 0;
  top: 12px;
  color: #72d6e5;
  font-weight: 800;
}
.bfs-difference .diff-point b {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 12px;
}
.bfs-difference .diff-modernisation,
.bfs-difference .diff-bridge {
  width: 100%;
}
.bfs-difference .diff-modernisation {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding: 17px 21px;
  background: #e8f3f6;
  border-left: 3px solid #5ab9d2;
}
.bfs-difference .diff-modernisation .mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d3edf2;
  color: #118ca5;
  font-size: 19px;
}
.bfs-difference .diff-modernisation b {
  display: block;
  margin-bottom: 3px;
  color: #23275c;
  font-size: 14px;
}
.bfs-difference .diff-modernisation p {
  margin: 0;
  color: #5f7180;
  font-size: 12px;
  line-height: 1.55;
}
.bfs-difference .diff-modernisation small {
  color: #168da7;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 800;
  white-space: nowrap;
}
.bfs-difference .diff-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 21px;
}
.bfs-difference .diff-bridge strong {
  max-width: 760px;
  color: #23275c;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.bfs-difference .diff-bridge span {
  color: #168da7;
  font-size: 9px;
  letter-spacing: 0.13em;
  font-weight: 800;
  white-space: nowrap;
}

.outcome_autobuild {
  border: 1px solid #dce8ec;
  border-radius: 10px;
  padding: 21px;
  background: white;
  border-top: 3px solid var(--primary);
}
.outcome_autobuild small {
  font-size: 12px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.outcome_autobuild h3 {
  font-size: 18px;
  line-height: 1.35;
  color: var(--black);
  margin: 12px 0 7px;
  font-weight: 700;
}
.outcome_autobuild p {
  /* font-size: .82rem; */
  /* color: #687d8e; */
  /* line-height: 1.7; */
  margin: 0;
}
.outcome_autobuild .measure {
  display: block;
  border-top: 1px solid #e7eef2;
  margin-top: 14px;
  padding-top: 12px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 800;
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.control-card {
  padding: 24px;
  border: 1px solid #ffffff25;
  border-radius: 10px;
  background: #ffffff08;
}
.control-card .c-icon {
  color: var(--primary);
  font-size: 25px;
  margin-bottom: 12px;
}
.control-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.control-card p {
  margin: 0;
  color: #c0d0dd;
  /* font-size: .85rem; */
}
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.deliverable {
  display: flex;
  gap: 12px;
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.deliverable .num {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  min-width: 24px;
}
.deliverable strong {
  display: block;
  font-size: 16px;
  color: #23275c;
  line-height: 1.35;
  font-weight: 700;
}
.deliverable span {
  display: block;
  font-size: 15px;
  /* color: var(--muted); */
  margin-top: 5px;
}
@media (max-width: 900px) {
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
      .bfs-difference .diff-intro {
        grid-template-columns: 1fr;
        gap: 17px;
    }
    .bfs-difference .diff-story {
        grid-template-columns: 1fr;
    }
    .bfs-difference .diff-modernisation {
        grid-template-columns: 38px 1fr;
    } 
    .bfs-difference .diff-modernisation small {
        grid-column: 2;
    }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }
  .hero-grid-autobuild {
    gap: 35px;
  }
  .hero-grid-autobuild,
  .answer-grid,
  .cta-layout {
    grid-template-columns: 1fr;
  }
  .visual-head {
    font-size: 12px;
    gap: 10px;
  }
  .map-node strong {
    font-weight: 600;
  }
  .map-node small {
    font-size: 8px;
    font-weight: 500;
  }
  .workflow-panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .workflow-steps::before,
  .workflow-steps::after {
    display: none;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .workflow-output {
    align-items: flex-start;
    flex-direction: column;
  }
      .bfs-difference .diff-modernisation {
        padding: 14px;
        gap: 10px;
    }
    .bfs-difference .diff-bridge {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .feature-grid, .cards, .control-grid, .deliverable-grid, .outcome-grid {
        grid-template-columns: 1fr;
    }
}
