:root {
  --accent: #aeb4b2;
  --accent-dark: #1a1d1c;
}

.brand-mark {
  width: 32px;
  height: 32px;
  overflow: visible;
  stroke-width: 1.25;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 6px rgba(210, 215, 213, .12));
  transition: transform .35s ease, filter .35s ease;
}

.brand-mark .mark-facet {
  stroke: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  transform-box: fill-box;
  transform-origin: center;
}

.brand-mark .mark-facet-top {
  fill: #f2f2ee;
}

.brand-mark .mark-facet-right {
  fill: #aeb4b2;
}

.brand-mark .mark-facet-left {
  fill: #717876;
  stroke: none;
}

.brand-mark .mark-core {
  fill: #191d1c;
  stroke: #c7ccca;
  stroke-width: .7;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  transform-box: fill-box;
  transform-origin: center;
}

.brand:hover .mark-facet-top {
  transform: translateY(-1.2px);
}

.brand:hover .mark-facet-left {
  transform: translate(-1px, .7px);
}

.brand:hover .mark-facet-right {
  transform: translate(1px, .7px);
}

.brand:hover .mark-core {
  transform: rotate(30deg) scale(.9);
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.06);
  filter: drop-shadow(0 0 9px rgba(210, 215, 213, .28));
}


/* Honeycomb field that echoes the geometric Atreon mark. */
.hero-grid {
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, .034) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .034) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, .034) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .034) 87.5%),
    linear-gradient(30deg, rgba(255, 255, 255, .034) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .034) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, .034) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .034) 87.5%),
    linear-gradient(60deg, rgba(255, 255, 255, .022) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, .022) 75%),
    linear-gradient(60deg, rgba(255, 255, 255, .022) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, .022) 75%);
  background-position: 0 0, 0 0, 38px 66px, 38px 66px, 0 0, 38px 66px;
  background-size: 76px 132px;
}

/* Quiet motion for the connected-system illustration. */
.connections path {
  animation: signal-flow 8s linear infinite;
}

.system-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 45px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 8%, rgba(214, 170, 104, .42), transparent 92%);
  box-shadow: 0 0 12px rgba(214, 170, 104, .12);
  animation: panel-scan 7s ease-in-out infinite;
}

.system-core::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(214, 170, 104, .45);
  pointer-events: none;
  animation: core-pulse 3.8s ease-out infinite;
}

.node i {
  animation: node-breathe 3s ease-in-out infinite;
}

.node:nth-of-type(even) i {
  animation-delay: 1.5s;
}

/* Small interaction details. */
.button span {
  display: inline-block;
  transition: transform .25s ease;
}

.button:hover span {
  transform: translate(3px, -2px);
}

.button-quiet:hover span {
  transform: translateY(3px);
}

.service-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6aa68, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card svg {
  transition: transform .35s ease, filter .35s ease;
}

.service-card:hover svg {
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 7px rgba(174, 180, 178, .16));
}

/* Replace the former cyan details with the stone-grey palette. */
.button-primary:hover {
  background: #c4c9c7;
  border-color: #c4c9c7;
}

.system-core {
  border-color: #656c69;
  box-shadow: 0 0 0 12px rgba(174, 180, 178, .025);
}

.live i {
  box-shadow: 0 0 0 4px rgba(174, 180, 178, .08);
}

.section-head.light .section-label {
  color: #5f6966;
}

.process-step > span {
  color: #69736f;
}

.process-step:hover h3 {
  color: #505b57;
}

@keyframes signal-flow {
  to { stroke-dashoffset: -90; }
}

@keyframes panel-scan {
  0%, 15% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: .7; }
  88%, 100% { transform: translateY(418px); opacity: 0; }
}

@keyframes core-pulse {
  0% { transform: scale(1); opacity: .55; }
  65%, 100% { transform: scale(1.28); opacity: 0; }
}

@keyframes node-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 170, 104, 0); }
  50% { background: #d6aa68; box-shadow: 0 0 0 4px rgba(214, 170, 104, .08); }
}

@media (max-width: 720px) {
  @keyframes panel-scan {
    0%, 15% { transform: translateY(0); opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: .7; }
    88%, 100% { transform: translateY(318px); opacity: 0; }
  }
}

/* Draggable preset assistant */
.chat-widget {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
}

.chat-launcher {
  width: 56px;
  height: 56px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #59615e;
  border-radius: 50%;
  color: #f3f4f1;
  background: #171b1a;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .3);
  touch-action: none;
  cursor: grab;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.chat-launcher:active {
  cursor: grabbing;
}

.chat-launcher:hover,
.chat-widget.open .chat-launcher {
  transform: translateY(-2px);
  border-color: #afb5b2;
  box-shadow: 0 15px 42px rgba(0, 0, 0, .4), 0 0 0 4px rgba(174, 180, 178, .06);
}

.chat-launcher svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.chat-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 5px;
  right: 5px;
  border: 2px solid #171b1a;
  border-radius: 50%;
  background: #c5cac7;
}

.chat-panel {
  width: min(360px, calc(100vw - 28px));
  max-height: min(580px, calc(100vh - 100px));
  position: fixed;
  right: 22px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #e9ece9;
  background: #121615;
  border: 1px solid #3b4240;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.chat-widget.open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-bottom: 1px solid #2c3230;
}

.chat-head > div {
  display: grid;
  grid-template-columns: 8px auto;
  column-gap: 9px;
  align-items: center;
}

.chat-status {
  width: 7px;
  height: 7px;
  grid-row: 1 / 3;
  border-radius: 50%;
  background: #b8bebb;
  box-shadow: 0 0 0 4px rgba(184, 190, 187, .07);
}

.chat-head p {
  margin: 0;
  font: 600 10px Manrope, sans-serif;
  letter-spacing: .14em;
}

.chat-head small {
  color: #79817e;
  font-size: 10px;
}

.chat-head button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  color: #9da4a1;
  background: transparent;
  font-size: 24px;
  font-weight: 300;
}

.chat-head button:hover {
  color: white;
}

.chat-messages {
  min-height: 125px;
  max-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding: 17px;
}

.chat-message {
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  color: #bbc1be;
  background: #1c211f;
  border: 1px solid #2e3532;
  font-size: 12px;
  line-height: 1.55;
  user-select: text;
  -webkit-user-select: text;
}

.chat-message.user {
  align-self: flex-end;
  color: #161918;
  background: #c9cecb;
  border-color: #c9cecb;
}

.chat-message.typing {
  display: flex;
  gap: 4px;
  padding: 13px;
}

.chat-message.typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8d9592;
  animation: chat-typing 1s ease-in-out infinite;
}

.chat-message.typing i:nth-child(2) { animation-delay: .12s; }
.chat-message.typing i:nth-child(3) { animation-delay: .24s; }

.chat-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0 17px 14px;
}

.chat-options button {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #3a423f;
  color: #afb6b3;
  background: transparent;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.chat-options button:last-child {
  grid-column: 1 / -1;
  text-align: center;
}

.chat-options button:hover {
  color: white;
  background: #252b29;
  border-color: #69716e;
}

.chat-note {
  margin: 0;
  padding: 10px 17px;
  color: #68706d;
  border-top: 1px solid #272d2b;
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@keyframes chat-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (max-width: 720px) {
  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-launcher {
    width: 52px;
    height: 52px;
  }

  .chat-panel {
    left: 14px !important;
    right: 14px !important;
    bottom: 80px !important;
    top: auto !important;
    width: auto;
  }
}

/* Before-and-after business systems map */
.system-map {
  overflow: hidden;
  background: #0d100f;
  border-block: 1px solid #242927;
}

.system-map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 62px;
}

.system-map-head h2 {
  font: 600 clamp(39px, 5vw, 62px)/1.08 Manrope, sans-serif;
  letter-spacing: -.045em;
  margin: 20px 0 0;
}

.system-map-head > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: #929a97;
}

.system-comparison {
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  align-items: center;
}

.map-panel {
  min-width: 0;
  border: 1px solid #303633;
  background: #111514;
}

.map-panel > header,
.map-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  padding: 0 14px;
  color: #858d8a;
  font: 500 8px Manrope, sans-serif;
  letter-spacing: .13em;
}

.map-panel > header {
  border-bottom: 1px solid #292e2c;
}

.map-panel > header i {
  color: #656d6a;
  font-style: normal;
}

.map-panel > footer {
  gap: 10px;
  border-top: 1px solid #292e2c;
  letter-spacing: .06em;
}

.map-canvas {
  height: 330px;
  position: relative;
}

.map-canvas > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-canvas > svg path {
  fill: none;
  stroke: #3c4441;
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.map-before .map-canvas > svg path {
  stroke-dasharray: 2 11;
  opacity: .65;
}

.map-after .map-canvas > svg path {
  animation: map-flow 7s linear infinite;
}

.map-item {
  width: 116px;
  position: absolute;
  z-index: 2;
  padding: 10px 11px;
  color: #bcc2c0;
  background: #171b1a;
  border: 1px solid #353c39;
}

.map-item b,
.map-item small {
  display: block;
}

.map-item b {
  font: 500 10px Manrope, sans-serif;
}

.map-item small {
  margin-top: 2px;
  color: #69716e;
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.item-site { left: 5%; top: 32px; }
.item-profile { right: 5%; top: 32px; }
.item-lead { left: 50%; top: 139px; transform: translateX(-50%); }
.item-follow { left: 5%; bottom: 27px; }
.item-report { right: 5%; bottom: 27px; }

.map-before .map-item {
  border-style: dashed;
}

.map-gap {
  width: 18px;
  height: 18px;
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #858d8a;
  background: #111514;
  border: 1px solid #414845;
  font-size: 10px;
}

.gap-one { left: 30%; top: 105px; }
.gap-two { right: 29%; top: 106px; }
.gap-three { right: 30%; bottom: 78px; }

.map-hub {
  width: 104px;
  height: 104px;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #e9ece8;
  background: #181c1b;
  border: 1px solid #6b7370;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(174, 180, 178, .025);
}

.map-hub::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid #7b8380;
  animation: map-pulse 3.5s ease-out infinite;
}

.map-hub svg {
  width: 25px;
  margin-bottom: 7px;
  fill: #aeb4b2;
}

.map-hub b {
  font: 600 10px Manrope, sans-serif;
  letter-spacing: .12em;
}

.map-hub small {
  color: #737b78;
  font-size: 6px;
  letter-spacing: .1em;
}

.map-transform {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #aeb4b2;
}

.map-transform span,
.map-transform small {
  font: 600 7px Manrope, sans-serif;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.map-transform i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #4c5451;
  border-radius: 50%;
  background: #111514;
  font-style: normal;
  font-size: 18px;
}

.map-transform small {
  color: #5f6764;
}

@keyframes map-flow {
  to { stroke-dashoffset: -100; }
}

@keyframes map-pulse {
  0% { transform: scale(1); opacity: .55; }
  75%, 100% { transform: scale(1.22); opacity: 0; }
}

/* Compact trust-building FAQ */
.faq {
  background: #f1f2ef;
  color: #121514;
  border-top: 1px solid #d2d6d2;
}

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 100px;
}

.faq-intro h2 {
  max-width: 470px;
  font: 600 clamp(38px, 4.7vw, 58px)/1.1 Manrope, sans-serif;
  letter-spacing: -.04em;
  margin: 20px 0 28px;
}

.faq-intro > p:not(.section-label) {
  max-width: 430px;
  color: #626966;
}

.faq-intro > a {
  display: inline-flex;
  gap: 18px;
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid #8f9693;
  font-size: 13px;
  font-weight: 600;
}

.faq-list {
  border-top: 1px solid #c8cdca;
}

.faq-list details {
  border-bottom: 1px solid #c8cdca;
}

.faq-list summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font: 600 17px Manrope, sans-serif;
}

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

.faq-list summary span {
  color: #727a77;
  font-size: 22px;
  font-weight: 400;
  transition: transform .25s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 620px;
  margin: -5px 40px 27px 0;
  color: #626966;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .system-comparison { grid-template-columns: 1fr; gap: 20px; }
  .map-transform { grid-template-columns: auto auto auto; justify-content: center; align-items: center; }
  .map-transform span, .map-transform small { writing-mode: initial; }
  .map-transform i { transform: rotate(90deg); }
  .faq-grid { gap: 55px; }
}

@media (max-width: 720px) {
  .system-map-head { display: block; }
  .system-map-head > p { margin-top: 24px; }
  .map-canvas { height: 300px; }
  .map-item { width: 102px; padding: 8px; }
  .map-panel > footer { flex-wrap: wrap; justify-content: flex-start; padding-block: 10px; }
  .faq-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  .map-after .map-canvas > svg path,
  .map-hub::after { animation: none; }
}

/* Clear three-stage system flow */
.flow-diagram {
  border: 1px solid #303633;
  background: #111514;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .22);
}

.flow-labels {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
  border-bottom: 1px solid #2b302e;
}

.flow-labels span {
  padding: 0 20px;
  color: #858d8a;
  font: 600 8px Manrope, sans-serif;
  letter-spacing: .14em;
  text-align: center;
}

.flow-labels i {
  color: #555d5a;
  font-style: normal;
  margin-right: 9px;
}

.flow-stage {
  min-height: 430px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
  overflow: hidden;
}

.flow-sources,
.flow-outcomes {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 30px;
}

.flow-card {
  width: 175px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-content: center;
  margin-right: auto;
  padding: 10px 12px;
  color: #c8cecb;
  background: #181c1b;
  border: 1px solid #373e3b;
  transition: transform .25s ease, border-color .25s ease;
}

.flow-card:hover {
  transform: translateX(5px);
  border-color: #747c79;
}

.flow-card > span {
  grid-row: 1 / 3;
  color: #8f9794;
  font-size: 15px;
}

.flow-card b,
.flow-card small,
.outcome-card b,
.outcome-card small {
  display: block;
}

.flow-card b,
.outcome-card b {
  font: 500 11px Manrope, sans-serif;
}

.flow-card small,
.outcome-card small {
  margin-top: 3px;
  color: #68706d;
  font-size: 8px;
  letter-spacing: .04em;
}

.flow-engine {
  height: 365px;
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
}

.engine-core {
  width: 130px;
  height: 130px;
  position: relative;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #1b201e;
  border: 1px solid #747c79;
  transform: rotate(45deg);
  box-shadow: 0 0 0 12px rgba(174, 180, 178, .025), 0 25px 50px rgba(0, 0, 0, .28);
}

.engine-core > * {
  transform: rotate(-45deg);
}

.engine-core svg {
  width: 30px;
  fill: #b9bfbc;
  margin-bottom: 8px;
}

.engine-core b {
  color: #eff1ed;
  font: 600 11px Manrope, sans-serif;
  letter-spacing: .15em;
}

.engine-core small {
  margin-top: 4px;
  color: #747c79;
  font-size: 6px;
  letter-spacing: .11em;
}

.engine-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #303735;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 205px;
  height: 205px;
}

.orbit-two {
  width: 285px;
  height: 285px;
  border-style: dashed;
  animation: engine-spin 30s linear infinite;
}

.engine-step {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  color: #9da5a2;
  background: #121615;
  border: 1px solid #353c39;
  font-size: 8px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.engine-step i {
  color: #666e6b;
  font-style: normal;
  font-size: 7px;
}

.step-capture { left: 2%; top: 44px; }
.step-route { right: 0; top: 87px; }
.step-follow { left: 0; bottom: 81px; }
.step-track { right: 4%; bottom: 41px; }

.flow-outcomes {
  align-items: flex-end;
}

.outcome-card {
  width: 205px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  padding: 10px 12px;
  background: #181c1b;
  border: 1px solid #404744;
  transition: transform .25s ease, border-color .25s ease;
}

.outcome-card:hover {
  transform: translateX(-5px);
  border-color: #747c79;
}

.outcome-card > i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #d8dcda;
  border: 1px solid #68706d;
  border-radius: 50%;
  font-style: normal;
  font-size: 9px;
}

.flow-paths {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flow-paths path {
  fill: none;
  stroke: #3b4340;
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.flow-paths circle {
  fill: #d1d5d2;
  filter: drop-shadow(0 0 4px rgba(209, 213, 210, .6));
}

.flow-caption {
  min-height: 64px;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  border-top: 1px solid #2b302e;
}

.flow-caption span {
  color: #7d8582;
  font: 600 8px Manrope, sans-serif;
  letter-spacing: .14em;
}

.flow-caption p {
  margin: 0;
  color: #a1a9a6;
  font-size: 12px;
}

@keyframes engine-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.faq-list details p {
  overflow: hidden;
  will-change: height, opacity;
}

@media (max-width: 980px) {
  .flow-labels { display: none; }
  .flow-stage { grid-template-columns: 1fr; padding: 30px 20px; }
  .flow-sources, .flow-outcomes { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
  .flow-card, .outcome-card { width: 100%; }
  .flow-engine { height: 355px; }
  .flow-paths { display: none; }
  .flow-engine::before, .flow-engine::after { content: "↓"; position: absolute; left: 50%; color: #7a827f; transform: translateX(-50%); }
  .flow-engine::before { top: 5px; }
  .flow-engine::after { bottom: 5px; }
}

@media (max-width: 720px) {
  .flow-sources, .flow-outcomes { grid-template-columns: 1fr; gap: 10px; }
  .flow-card, .outcome-card { max-width: none; }
  .flow-engine { height: 390px; }
  .step-capture { left: 0; }
  .step-route { right: 0; }
  .step-follow { left: 0; }
  .step-track { right: 0; }
  .flow-caption { grid-template-columns: 1fr; gap: 5px; padding-block: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-two { animation: none; }
  .flow-paths circle { display: none; }
}

/* Simplified animated lead journey */
.system-journey {
  border: 1px solid #343a38;
  background: #111514;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .24);
}

.journey-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #2d3331;
}

.journey-head > div {
  display: grid;
  gap: 3px;
}

.journey-head span {
  color: #b7bdb9;
  font: 600 9px Manrope, sans-serif;
  letter-spacing: .13em;
}

.journey-head small {
  color: #68706d;
  font-size: 10px;
}

.journey-head button {
  padding: 8px 11px;
  color: #9ea5a2;
  background: transparent;
  border: 1px solid #3d4542;
  font-size: 10px;
  letter-spacing: .05em;
}

.journey-head button:hover {
  color: white;
  border-color: #747c79;
}

.journey-head button i {
  display: inline-block;
  margin-right: 5px;
  font-style: normal;
}

.system-journey.running .journey-head button i {
  animation: replay-turn .6s ease;
}

.journey-body {
  min-height: 390px;
  display: grid;
  grid-template-columns: 150px 46px minmax(450px, 1fr) 46px 190px;
  align-items: center;
  padding: 34px 26px;
}

.journey-sources,
.journey-result {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journey-sources > p,
.journey-result > p {
  margin: 0 0 15px;
  color: #737b78;
  font: 600 8px Manrope, sans-serif;
  letter-spacing: .14em;
}

.journey-sources > div {
  display: grid;
  gap: 8px;
}

.journey-sources span {
  padding: 11px 12px;
  color: #bac0bd;
  background: #191d1c;
  border: 1px solid #373e3b;
  font-size: 11px;
}

.journey-sources span::before {
  content: "+";
  color: #6f7774;
  margin-right: 8px;
}

.journey-entry,
.journey-exit {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  color: #68706d;
}

.journey-entry b,
.journey-exit b {
  font-size: 19px;
  font-weight: 400;
}

.journey-entry i {
  width: 4px;
  height: 4px;
  position: absolute;
  left: 3px;
  top: 50%;
  border-radius: 50%;
  background: #d1d5d2;
  opacity: 0;
}

.system-journey.running .journey-entry i {
  animation: entry-packet 2.2s ease-in-out forwards;
}

.system-journey.running .journey-entry i:nth-child(2) { animation-delay: .3s; }
.system-journey.running .journey-entry i:nth-child(3) { animation-delay: .6s; }

.journey-managed {
  min-width: 0;
  padding: 22px 28px 30px;
  background: #171b1a;
  border: 1px solid #3b423f;
}

.journey-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  margin-bottom: 38px;
  text-align: left;
}

.journey-brand svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
}

.journey-brand .facet-top { fill: #f2f2ee; }
.journey-brand .facet-right { fill: #aeb4b2; }
.journey-brand .facet-left { fill: #717876; }

.journey-brand b,
.journey-brand small {
  display: block;
}

.journey-brand b {
  color: #e6e9e5;
  font: 600 10px Manrope, sans-serif;
  letter-spacing: .12em;
}

.journey-brand small {
  margin-top: 3px;
  color: #707875;
  font-size: 8px;
}

.journey-track {
  height: 2px;
  position: relative;
  margin: 0 10%;
  background: #363d3a;
}

.journey-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #cbd0cd;
  box-shadow: 0 0 8px rgba(203, 208, 205, .35);
}

.system-journey.running .journey-fill {
  animation: journey-fill 4.8s .8s cubic-bezier(.2,.7,.2,1) forwards;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -7px;
}

.journey-step {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.journey-step > i {
  order: 2;
  margin-top: 8px;
  color: #606865;
  font-style: normal;
  font-size: 7px;
}

.step-dot {
  order: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #171b1a;
  border: 2px solid #555d5a;
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.journey-step b {
  order: 3;
  margin-top: 4px;
  color: #979f9c;
  font: 500 10px Manrope, sans-serif;
  transition: color .3s;
}

.journey-step small {
  order: 4;
  margin-top: 3px;
  color: #5f6764;
  font-size: 7px;
}

.system-journey.running .journey-step .step-dot {
  animation: step-arrive .55s ease forwards;
}

.system-journey.running .journey-step b {
  animation: step-label .55s ease forwards;
}

.system-journey.running .journey-step:nth-child(1) .step-dot,
.system-journey.running .journey-step:nth-child(1) b { animation-delay: 1.2s; }
.system-journey.running .journey-step:nth-child(2) .step-dot,
.system-journey.running .journey-step:nth-child(2) b { animation-delay: 2.25s; }
.system-journey.running .journey-step:nth-child(3) .step-dot,
.system-journey.running .journey-step:nth-child(3) b { animation-delay: 3.35s; }
.system-journey.running .journey-step:nth-child(4) .step-dot,
.system-journey.running .journey-step:nth-child(4) b { animation-delay: 4.45s; }

.journey-result {
  padding: 22px 18px;
  background: #1a1f1d;
  border: 1px solid #444c49;
  opacity: .4;
  transform: translateX(-6px);
}

.system-journey.running .journey-result {
  animation: result-arrive .7s 5.1s ease forwards;
}

.journey-result strong {
  color: #e2e5e1;
  font: 600 17px/1.35 Manrope, sans-serif;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

.journey-result > span {
  color: #959d9a;
  font-size: 9px;
  margin-top: 5px;
}

.journey-footer {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #68706d;
  border-top: 1px solid #2d3331;
  font: 600 8px Manrope, sans-serif;
  letter-spacing: .14em;
}

.journey-footer i {
  color: #424946;
  font-style: normal;
}

@keyframes replay-turn { to { transform: rotate(360deg); } }
@keyframes entry-packet { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }
@keyframes journey-fill { from { width: 0; } to { width: 100%; } }
@keyframes step-arrive { 0% { background: #171b1a; } 55% { transform: scale(1.45); box-shadow: 0 0 0 6px rgba(203,208,205,.08); } 100% { background: #d2d6d3; border-color: #d2d6d3; } }
@keyframes step-label { to { color: #eef0ed; } }
@keyframes result-arrive { to { opacity: 1; transform: none; box-shadow: 0 12px 30px rgba(0,0,0,.2); } }

@media (max-width: 1100px) {
  .journey-body { grid-template-columns: 125px 34px minmax(420px, 1fr) 34px 170px; padding-inline: 18px; }
}

@media (max-width: 900px) {
  .journey-body { grid-template-columns: 1fr; gap: 22px; }
  .journey-sources > div { grid-template-columns: repeat(3, 1fr); }
  .journey-entry, .journey-exit { height: 24px; }
  .journey-entry b, .journey-exit b { transform: rotate(90deg); }
  .journey-entry i { display: none; }
  .journey-result { align-items: center; text-align: center; }
}

@media (max-width: 600px) {
  .journey-head { align-items: flex-start; gap: 15px; padding-block: 14px; }
  .journey-head button { flex: 0 0 auto; }
  .journey-sources > div { grid-template-columns: 1fr; }
  .journey-managed { padding-inline: 12px; }
  .journey-brand { margin-bottom: 32px; }
  .journey-step small { display: none; }
  .journey-step b { font-size: 8px; }
  .journey-footer { gap: 8px; letter-spacing: .08em; }
}

.journey-services {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  border-top: 1px solid #2d3331;
  background: #0f1312;
}

.journey-services p {
  margin: 0;
  color: #6f7774;
  font: 600 8px Manrope, sans-serif;
  letter-spacing: .13em;
}

.journey-services > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.journey-services span {
  padding: 5px 8px;
  color: #858d8a;
  border: 1px solid #303634;
  font-size: 8px;
  letter-spacing: .03em;
  opacity: .45;
}

.system-journey.running .journey-services span {
  animation: service-wake .5s ease forwards;
}

.system-journey.running .journey-services span:nth-child(1) { animation-delay: .9s; }
.system-journey.running .journey-services span:nth-child(2) { animation-delay: 1.2s; }
.system-journey.running .journey-services span:nth-child(3) { animation-delay: 1.5s; }
.system-journey.running .journey-services span:nth-child(4) { animation-delay: 1.8s; }
.system-journey.running .journey-services span:nth-child(5) { animation-delay: 2.1s; }
.system-journey.running .journey-services span:nth-child(6) { animation-delay: 2.4s; }
.system-journey.running .journey-services span:nth-child(7) { animation-delay: 2.7s; }
.system-journey.running .journey-services span:nth-child(8) { animation-delay: 3s; }
.system-journey.running .journey-services span:nth-child(9) { animation-delay: 3.3s; }

.system-journey.running .journey-sources span {
  animation: source-signal .65s ease both;
}

.system-journey.running .journey-sources span:nth-child(1) { animation-delay: .15s; }
.system-journey.running .journey-sources span:nth-child(2) { animation-delay: .35s; }
.system-journey.running .journey-sources span:nth-child(3) { animation-delay: .55s; }

.system-journey.running .journey-brand svg {
  animation: brand-lock 1s .75s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes source-signal {
  0% { transform: translateX(-8px); opacity: .35; }
  55% { border-color: #929a97; }
  100% { transform: none; opacity: 1; }
}

@keyframes brand-lock {
  0% { transform: scale(.65) rotate(-18deg); opacity: .25; }
  65% { transform: scale(1.12) rotate(4deg); }
  100% { transform: none; opacity: 1; }
}

@keyframes service-wake {
  0% { opacity: .35; transform: translateY(3px); }
  55% { color: #e2e5e1; border-color: #767e7b; }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .journey-services { grid-template-columns: 1fr; }
}

/* Featured custom software capability */
.custom-software-callout {
  min-height: 230px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 42px;
  margin-top: 38px;
  padding: 34px 38px;
  position: relative;
  overflow: hidden;
  background: #171b1a;
  border: 1px solid #343b38;
}

.custom-software-callout::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -100px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(174, 180, 178, .07);
  transform: rotate(45deg);
  pointer-events: none;
}

.software-mark {
  width: 130px;
  height: 130px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid #414946;
  background: #121615;
}

.software-mark::before,
.software-mark::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #252b29;
}

.software-mark::after {
  inset: 27px;
  transform: rotate(45deg);
}

.software-mark span {
  position: relative;
  z-index: 2;
  color: #d9ddda;
  font: 500 18px Manrope, sans-serif;
  letter-spacing: .05em;
}

.software-mark i {
  width: 4px;
  height: 4px;
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: #9da5a2;
  animation: software-node 3.2s ease-in-out infinite;
}

.software-mark i:nth-child(2) { left: 14px; top: 14px; }
.software-mark i:nth-child(3) { right: 14px; top: 14px; animation-delay: 1s; }
.software-mark i:nth-child(4) { right: 14px; bottom: 14px; animation-delay: 2s; }

.custom-software-callout h3 {
  margin: 10px 0 12px;
  font: 600 clamp(27px, 3vw, 39px)/1.15 Manrope, sans-serif;
  letter-spacing: -.035em;
}

.custom-software-callout > div:nth-child(2) > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #909996;
  font-size: 14px;
  line-height: 1.7;
}

.custom-software-callout > .button {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

@keyframes software-node {
  0%, 100% { opacity: .3; box-shadow: 0 0 0 0 rgba(174,180,178,0); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(174,180,178,.08); }
}

@media (max-width: 980px) {
  .custom-software-callout { grid-template-columns: 130px 1fr; }
  .custom-software-callout > .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 650px) {
  .custom-software-callout { grid-template-columns: 1fr; padding: 25px 22px; }
  .software-mark { width: 90px; height: 90px; }
  .custom-software-callout > .button { grid-column: 1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .software-mark i { animation: none; }
}

.footer-links a[href="#contact"] {
  display: none;
}

/* Final phone usability pass */
.menu-toggle:focus-visible,
.chat-launcher:focus-visible,
.chat-head button:focus-visible {
  outline: 1px solid #aeb4b2;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .site-nav {
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .hero-actions .button,
  .plans-button,
  .form-submit {
    min-height: 54px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .chat-launcher {
    width: 44px;
    height: 46px;
    border-radius: 10px 0 0 10px;
    opacity: .94;
  }

  .chat-launcher svg {
    width: 23px;
  }

  .chat-dot {
    width: 7px;
    height: 7px;
    top: 4px;
    right: 4px;
  }

  .chat-label {
    display: none;
  }

  .chat-panel {
    max-height: calc(100vh - 100px);
    bottom: calc(66px + env(safe-area-inset-bottom)) !important;
  }

  .faq-list summary {
    min-height: 72px;
    padding-block: 13px;
    font-size: 16px;
  }

  .footer-grid {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 390px) {
  .brand {
    gap: 8px;
    font-size: 12px;
    letter-spacing: .1em;
  }

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

  .hero h1 {
    font-size: clamp(39px, 12.5vw, 48px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .section-head h2,
  .audience h2,
  .case-title h2,
  .about-copy h2,
  .contact-intro h2,
  .plans-intro h2,
  .faq-intro h2,
  .system-map-head h2 {
    font-size: 36px;
  }

  .contact-form {
    padding-inline: 17px;
  }

  .journey-footer {
    flex-wrap: wrap;
    padding-block: 12px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .chat-message.typing i { animation: none; }
}

/* Atri stays docked to the edge instead of floating over page content. */
.chat-widget {
  right: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.chat-launcher {
  width: 58px;
  height: 58px;
  border-right: 0;
  border-radius: 13px 0 0 13px;
}

.chat-launcher svg {
  width: 29px;
  stroke-width: 1.15;
}

.chat-label {
  position: absolute;
  right: calc(100% + 9px);
  top: 50%;
  width: max-content;
  padding: 7px 9px;
  color: #cdd1cf;
  background: #171b1a;
  border: 1px solid #3c4441;
  font: 600 9px Manrope, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}

.chat-launcher:hover .chat-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.chat-panel {
  right: 70px;
  bottom: 24px;
  transform-origin: center right;
}

.chat-head .chat-identity {
  display: grid;
  grid-template-columns: 38px auto;
  column-gap: 10px;
  align-items: center;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  grid-row: 1 / 3;
  position: relative;
  display: grid;
  place-items: center;
  background: #1e2321;
  border: 1px solid #414845;
}

.chat-avatar svg {
  width: 25px;
  fill: none;
  stroke: #cbd0cd;
  stroke-width: 1;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.chat-avatar i {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 8px;
  height: 8px;
  border: 2px solid #121615;
  border-radius: 50%;
  background: #b8bebb;
}

.chat-identity p,
.chat-identity small {
  grid-column: 2;
}

@media (max-width: 720px) {
  .chat-widget {
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .chat-panel {
    left: 14px !important;
    right: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .connections path,
  .system-panel::after,
  .system-core::after,
  .node i {
    animation: none;
  }
}

/* Keep the page from presenting an insertion caret outside actual form fields. */
body,
main,
section,
article,
p,
h1,
h2,
h3,
span,
div {
  cursor: default;
  caret-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

a,
button,
select,
label[for] {
  cursor: pointer;
}

input,
textarea {
  cursor: text;
  caret-color: auto;
  user-select: text;
  -webkit-user-select: text;
}

select,
option {
  caret-color: auto;
  user-select: text;
  -webkit-user-select: text;
}

/* Custom plans */
.plans {
  background: #eceeeb;
  color: #111416;
  border-top: 1px solid #d1d5d2;
}

.plans .section-label {
  color: #596360;
}

.plans-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 64px;
}

.plans-intro h2 {
  font: 600 clamp(40px, 5vw, 64px)/1.08 Manrope, sans-serif;
  letter-spacing: -.045em;
  margin: 20px 0 0;
}

.plans-lead p {
  color: #515856;
  font-size: 17px;
  margin: 0 0 22px;
}

.plans-lead span {
  color: #747c79;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid #c9ceca;
  border-top: 1px solid #c9ceca;
}

.plan-card {
  min-height: 470px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f3f4f1;
  border-right: 1px solid #c9ceca;
  border-bottom: 1px solid #c9ceca;
  transition: transform .3s ease, box-shadow .3s ease;
}

.plan-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(16, 20, 18, .1);
}

.plan-featured {
  background: #171b1a;
  color: #f2f3ef;
}

.plan-index {
  position: absolute;
  right: 30px;
  top: 31px;
  color: #858d8a;
  font: 500 9px Manrope, sans-serif;
  letter-spacing: .13em;
}

.plan-type {
  color: #68716e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  margin: 0 0 40px;
}

.plan-featured .plan-type {
  color: #aeb4b2;
}

.plan-card h3 {
  font: 600 25px/1.2 Manrope, sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 14px;
}

.plan-card > p:not(.plan-type) {
  color: #626967;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.plan-featured > p:not(.plan-type) {
  color: #9fa6a4;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  border-top: 1px solid #d4d8d5;
}

.plan-featured ul {
  border-color: #303634;
}

.plan-card li {
  padding: 9px 0;
  color: #515957;
  font-size: 13px;
  border-bottom: 1px solid #d4d8d5;
}

.plan-card li::before {
  content: "+";
  margin-right: 10px;
  color: #8c9491;
}

.plan-featured li {
  color: #c4c9c7;
  border-color: #303634;
}

.plan-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.plan-bottom strong {
  font: 600 13px Manrope, sans-serif;
}

.plan-bottom a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #bcc2be;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.plan-bottom a:hover {
  background: #111416;
  color: white;
  transform: translate(2px, -2px);
}

.plan-featured .plan-bottom a {
  border-color: #59615e;
}

.plan-featured .plan-bottom a:hover {
  background: #eef0ec;
  color: #111416;
}

.plans-note {
  display: grid;
  grid-template-columns: .6fr 1.4fr auto;
  gap: 35px;
  align-items: center;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #c9ceca;
}

.plans-note p {
  margin: 0;
  font: 600 17px Manrope, sans-serif;
}

.plans-note > span {
  color: #626a67;
  font-size: 13px;
}

.plans-button {
  border-color: #7d8582;
}

.plans-button:hover {
  color: white;
  background: #171b1a;
}

@media (max-width: 980px) {
  .plans-intro { gap: 50px; }
  .plan-card { padding: 26px; }
}

@media (max-width: 720px) {
  .plans-intro,
  .plans-note {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .plan-card {
    min-height: 440px;
  }

  .plans-button {
    width: 100%;
  }
}
