.hiw-flow {
  padding: 104px 0 96px;
  background: #fff;
}

.hiw-flow h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  color: #1d303c;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.08;
}

.hiw-flow-lede {
  max-width: 720px;
  margin: 0 0 38px;
  color: #60717b;
  font-size: 17px;
  line-height: 1.65;
}

/* ---------- automated payment walkthrough ---------- */

.hiw-simulator {
  --sim-accent: #1c8bc5;
  position: relative;
  padding: 22px;
  border-radius: 32px;
  background: #eaf2f6;
  overflow: hidden;
  isolation: isolate;
}

.hiw-simulator[data-route="ach"] { --sim-accent: #16845b; }
.hiw-simulator[data-route="pos"] { --sim-accent: #6f67c8; }

.hiw-simulator::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(28, 139, 197, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 139, 197, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 95%);
}

.hiw-simulator-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.hiw-simulator-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
}

.hiw-simulator-tabs button {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #60727c;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.hiw-simulator-tabs button:hover,
.hiw-simulator-tabs button:focus-visible {
  color: #20343f;
}

.hiw-simulator-tabs button:focus-visible {
  outline: 2px solid var(--sim-accent);
  outline-offset: 2px;
}

.hiw-simulator-tabs button.is-active {
  background: #fff;
  color: var(--sim-accent);
}

.hiw-simulation-window {
  position: relative;
  min-height: 570px;
  border-radius: 26px;
  background: #f7f9fb;
  overflow: hidden;
  pointer-events: none;
}

.hiw-window-bar {
  position: relative;
  z-index: 30;
  display: flex;
  height: 52px;
  padding: 0 18px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #cbd8de;
  background: #dfe8ed;
}

.hiw-window-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c6d2d8;
}

.hiw-window-bar > span:nth-of-type(1) { background: #ff5f57; }
.hiw-window-bar > span:nth-of-type(2) { background: #febc2e; }
.hiw-window-bar > span:nth-of-type(3) { background: #28c840; }

.hiw-window-bar strong {
  margin-left: 10px;
  color: #435761;
  font-size: 16px;
}

.hiw-window-bar em {
  margin-left: auto;
  color: #7c8b93;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.hiw-acumatica-screen,
.hiw-transfer-screen {
  position: absolute;
  inset: 52px 0 0;
}

.hiw-acumatica-screen {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  background: #f7f9fb;
  transition: opacity 380ms ease, filter 380ms ease, transform 380ms ease;
}

.hiw-sim-sidebar {
  display: flex;
  padding: 22px 14px;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  background: #087fbc;
}

.hiw-sim-sidebar img {
  width: 58px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.hiw-sim-sidebar i {
  width: 30px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .42);
}

.hiw-sim-sidebar i:first-of-type {
  width: 38px;
  background: #fff;
}

.hiw-sim-workspace {
  position: relative;
  min-width: 0;
  padding: 26px 30px 24px;
  overflow: hidden;
}

.hiw-sim-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
}

.hiw-sim-heading div span,
.hiw-sim-heading div strong {
  display: block;
}

.hiw-sim-heading div span {
  margin-bottom: 4px;
  color: #72828b;
  font-size: 16px;
}

.hiw-sim-heading div strong {
  color: #20343f;
  font-size: 21px;
}

.hiw-sim-document-status {
  padding: 8px 13px;
  border-radius: 999px;
  background: #edf2f5;
  color: #62737d;
  font-size: 16px;
  font-weight: 800;
  transition: color 220ms ease, background 220ms ease;
}

.hiw-simulation-window.is-created .hiw-sim-document-status {
  background: #fff4d9;
  color: #8f6511;
}

.hiw-simulation-window.is-paid .hiw-sim-document-status {
  background: #e6f7ef;
  color: #14724f;
}

.hiw-sim-commandbar {
  display: flex;
  min-height: 48px;
  padding: 7px;
  align-items: center;
  gap: 10px;
  border-radius: 13px;
  background: #fff;
}

.hiw-sim-commandbar button {
  display: inline-flex;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  background: #e8f5fb;
  color: #146f9e;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}

.hiw-sim-commandbar button i {
  position: relative;
  width: 13px;
  height: 13px;
}

.hiw-sim-commandbar button i::before,
.hiw-sim-commandbar button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.hiw-sim-commandbar button i::after { transform: translate(-50%, -50%) rotate(90deg); }

.hiw-sim-commandbar > span {
  width: 31px;
  height: 8px;
  border-radius: 6px;
  background: #dfe8ec;
}

.hiw-sim-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 18px;
  opacity: .45;
  transition: opacity 300ms ease;
}

.hiw-simulation-window.is-created .hiw-sim-form { opacity: 1; }

.hiw-sim-form > label {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 70px;
  padding: 12px 14px;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #dce5e9;
  border-radius: 10px;
  background: #fff;
}

.hiw-sim-form label > span {
  margin-bottom: 5px;
  color: #73838c;
  font-size: 16px;
}

.hiw-sim-form label > b {
  color: #273b45;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hiw-sim-payment-field > i {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #71818a;
  border-bottom: 2px solid #71818a;
  transform: translateY(-70%) rotate(45deg);
}

.hiw-sim-method-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  display: block;
  padding: 13px 14px;
  border: 1px solid #d8e3e8;
  border-radius: 10px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hiw-sim-method-menu strong,
.hiw-sim-method-menu small {
  display: block;
  font-size: 16px;
}

.hiw-sim-method-menu strong { color: var(--sim-accent); }
.hiw-sim-method-menu small { margin-top: 3px; color: #6d7e87; }

.hiw-simulation-window.is-method-open .hiw-sim-method-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hiw-simulation-window.is-method-selected .hiw-sim-payment-field {
  border-color: color-mix(in srgb, var(--sim-accent) 50%, #dce5e9);
  background: color-mix(in srgb, var(--sim-accent) 6%, #fff);
}

.hiw-sim-footer {
  display: flex;
  margin-top: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hiw-sim-footer > span {
  color: #6b7c85;
  font-size: 16px;
}

.hiw-sim-footer button {
  min-height: 42px;
  padding: 0 21px;
  border: 0;
  border-radius: 9px;
  background: var(--sim-accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hiw-sim-footer button:disabled { opacity: .35; }

.hiw-sim-commandbar button.is-sim-clicked,
.hiw-sim-footer button.is-sim-clicked,
.hiw-sim-payment-field.is-sim-clicked {
  transform: scale(.97);
}

.hiw-simulation-window.is-sending .hiw-acumatica-screen,
.hiw-simulation-window.is-returning .hiw-acumatica-screen {
  opacity: .16;
  filter: blur(3px);
  transform: scale(.985);
}

.hiw-transfer-screen {
  z-index: 16;
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(260px, 2fr) minmax(130px, .8fr);
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding: 44px 48px 34px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(28, 139, 197, .04), transparent 34%, transparent 66%, rgba(28, 139, 197, .04)),
    #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.hiw-simulation-window.is-sending .hiw-transfer-screen,
.hiw-simulation-window.is-returning .hiw-transfer-screen {
  opacity: 1;
  visibility: visible;
}

.hiw-transfer-endpoint {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 150px;
  padding: 24px 18px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  background: #eef6f9;
  text-align: center;
}

.hiw-transfer-endpoint img {
  width: 112px;
  margin-bottom: 10px;
}

.hiw-transfer-endpoint span {
  color: #51656f;
  font-size: 16px;
  font-weight: 800;
}

.hiw-transfer-flight {
  position: relative;
  height: 130px;
}

.hiw-transfer-flight::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: color-mix(in srgb, var(--sim-accent) 22%, transparent);
  content: "";
}

.hiw-transfer-packet {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 0;
  display: flex;
  min-width: 142px;
  padding: 13px 16px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  outline: 2px solid color-mix(in srgb, var(--sim-accent) 28%, transparent);
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: left, opacity, transform;
}

.hiw-transfer-packet span,
.hiw-transfer-packet strong,
.hiw-transfer-packet small {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
}

.hiw-transfer-packet span { color: #5d707a; font-weight: 750; }
.hiw-transfer-packet strong { margin-top: 2px; color: #20343f; font-size: 19px; }
.hiw-transfer-packet small { margin-top: 2px; color: var(--sim-accent); font-weight: 850; }

.hiw-simulation-window.is-sending .hiw-transfer-packet {
  animation: hiw-packet-send 1.85s cubic-bezier(.42, 0, .22, 1) forwards;
}

.hiw-simulation-window.is-returning .hiw-transfer-packet {
  animation: hiw-packet-return 1.85s cubic-bezier(.42, 0, .22, 1) forwards;
}

.hiw-wind-lines {
  position: absolute;
  inset: 26px 0;
  overflow: hidden;
}

.hiw-wind-lines i {
  position: absolute;
  left: -28%;
  display: block;
  width: 24%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sim-accent) 62%, transparent), transparent);
  opacity: 0;
}

.hiw-wind-lines i:nth-child(1) { top: 10%; animation-delay: -.15s; }
.hiw-wind-lines i:nth-child(2) { top: 37%; width: 17%; animation-delay: -.65s; }
.hiw-wind-lines i:nth-child(3) { top: 64%; width: 29%; animation-delay: -1.05s; }
.hiw-wind-lines i:nth-child(4) { top: 88%; width: 20%; animation-delay: -1.45s; }

.hiw-simulation-window.is-sending .hiw-wind-lines i {
  animation-name: hiw-wind-send;
  animation-duration: 1.35s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hiw-simulation-window.is-returning .hiw-wind-lines i {
  right: -28%;
  left: auto;
  animation-name: hiw-wind-return;
  animation-duration: 1.35s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hiw-transfer-screen > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #526872;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.hiw-paid-confirmation {
  position: absolute;
  z-index: 10;
  display: flex;
  top: 50%;
  left: 50%;
  width: min(470px, calc(100% - 48px));
  padding: 24px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 20px;
  background: #ebf8f2;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 12px));
  transition: opacity 360ms ease, transform 360ms ease, visibility 360ms ease;
}

.hiw-simulation-window.is-paid .hiw-paid-confirmation {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.hiw-paid-confirmation > i {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16845b;
}

.hiw-paid-confirmation > i::before {
  position: absolute;
  top: 13px;
  left: 19px;
  width: 12px;
  height: 21px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.hiw-paid-confirmation span,
.hiw-paid-confirmation strong,
.hiw-paid-confirmation small {
  display: block;
}

.hiw-paid-confirmation span {
  color: #16845b;
  font-size: 16px;
  font-weight: 850;
}

.hiw-paid-confirmation strong {
  margin-top: 5px;
  color: #20343f;
  font-size: 21px;
  line-height: 1.2;
}

.hiw-paid-confirmation small {
  margin-top: 8px;
  color: #5d716a;
  font-size: 16px;
  line-height: 1.5;
}

.hiw-fake-cursor {
  --cursor-x: 34px;
  --cursor-y: 34px;
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #1d303c;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0);
  transition: transform 760ms cubic-bezier(.22, .76, .24, 1), opacity 180ms ease;
}

.hiw-fake-cursor i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.hiw-fake-cursor.is-visible { opacity: 1; }
.hiw-fake-cursor.is-hidden { opacity: 0; }

.hiw-click-ripple {
  --click-x: 0px;
  --click-y: 0px;
  position: absolute;
  z-index: 39;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--sim-accent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--click-x), var(--click-y), 0) translate(-50%, -50%) scale(.35);
}

.hiw-click-ripple.is-clicking { animation: hiw-click-ripple 520ms ease-out; }

.hiw-simulation-caption {
  min-height: 26px;
  margin: 16px 2px 0;
  color: #516670;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

@keyframes hiw-packet-send {
  0% { left: 0; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
  14% { opacity: 1; }
  84% { opacity: 1; }
  100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
}

@keyframes hiw-packet-return {
  0% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
  14% { opacity: 1; }
  84% { opacity: 1; }
  100% { left: 0; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
}

@keyframes hiw-wind-send {
  0% { left: -28%; opacity: 0; }
  18%, 76% { opacity: .78; }
  100% { left: 108%; opacity: 0; }
}

@keyframes hiw-wind-return {
  0% { right: -28%; opacity: 0; }
  18%, 76% { opacity: .78; }
  100% { right: 108%; opacity: 0; }
}

@keyframes hiw-click-ripple {
  0% { opacity: .8; transform: translate3d(var(--click-x), var(--click-y), 0) translate(-50%, -50%) scale(.35); }
  100% { opacity: 0; transform: translate3d(var(--click-x), var(--click-y), 0) translate(-50%, -50%) scale(1.8); }
}

/* ---------- supporting explanation ---------- */

.hiw-sequence {
  padding: 96px 0;
  background: #f7f9fa;
}

.hiw-config {
  padding: 86px 0;
  border-block: 1px solid #e0e7eb;
  background: #fff;
}

.hiw-next {
  padding: 84px 0;
  background: #f7f9fa;
}

.hiw-config h2,
.hiw-sequence h2,
.hiw-next h2 {
  margin: 8px 0 34px;
  color: #20343f;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -.032em;
  line-height: 1.12;
}

.hiw-sequence-layout {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(480px, 1.25fr);
  gap: 84px;
  align-items: start;
}

.hiw-sticky-copy > p:last-child {
  max-width: 360px;
  margin: -12px 0 0;
  color: #6b7b85;
  font-size: 16px;
  line-height: 1.6;
}

.hiw-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #d9e2e6;
  list-style: none;
}

.hiw-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #d9e2e6;
}

.hiw-steps > li > span {
  color: #1c8bc5;
  font-size: 16px;
  font-weight: 800;
}

.hiw-steps h3 {
  margin: -4px 0 6px;
  color: #223640;
  font-size: 19px;
}

.hiw-steps p {
  margin: 0;
  color: #63747e;
  font-size: 16px;
  line-height: 1.6;
}

.hiw-section-heading {
  display: flex;
  margin-bottom: 30px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.hiw-section-heading h2 { margin-bottom: 0; }

.hiw-section-heading > p {
  max-width: 420px;
  margin: 0 0 5px;
  color: #687984;
  font-size: 16px;
  line-height: 1.6;
}

.hiw-config-table { border-top: 1px solid #cfdbe1; }

.hiw-config-row {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 24px;
  padding: 22px 2px;
  align-items: center;
  border-bottom: 1px solid #d8e2e7;
}

.hiw-config-row.is-heading {
  padding-block: 12px;
  color: #6e7f88;
  font-size: 16px;
  font-weight: 800;
}

.hiw-config-row strong { color: #233741; font-size: 16px; }

.hiw-config-row code {
  width: max-content;
  padding: 5px 8px;
  border-radius: 5px;
  background: #e9f5fa;
  color: #1c8bc5;
  font-size: 16px;
  font-weight: 800;
}

.hiw-next-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
}

.hiw-next nav { border-top: 1px solid #d6e0e5; }

.hiw-next a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid #d6e0e5;
  color: #233741;
}

.hiw-next a span,
.hiw-next a small { display: block; font-size: 16px; }
.hiw-next a span { font-weight: 800; }
.hiw-next a small { margin-top: 5px; color: #6d7d86; }
.hiw-next a:hover span { color: #1c8bc5; }

.how-it-works-page .final-cta .section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.035em;
  line-height: 1.12;
}

.how-it-works-page .final-cta .section-lede { font-size: 16px; }

@media (max-width: 800px) {
  .hiw-flow { padding: 82px 0 72px; }
  .hiw-sequence-layout,
  .hiw-next-layout { grid-template-columns: 1fr; gap: 34px; }
  .hiw-section-heading { display: block; }
  .hiw-section-heading > p { margin-top: 16px; }

  .hiw-simulator-toolbar { align-items: stretch; flex-direction: column; }
  .hiw-simulator-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hiw-simulator-tabs button { padding-inline: 8px; }
  .hiw-simulation-window { min-height: 620px; }
  .hiw-transfer-screen {
    grid-template-columns: minmax(110px, .8fr) minmax(190px, 1.4fr) minmax(110px, .8fr);
    padding: 38px 24px 28px;
  }
  .hiw-transfer-endpoint { min-height: 132px; padding: 20px 14px; }
  .hiw-transfer-endpoint img { width: 94px; }
}

@media (max-width: 620px) {
  .hiw-flow,
  .hiw-config,
  .hiw-sequence,
  .hiw-next { padding: 66px 0; }

  .hiw-simulator { padding: 14px; border-radius: 26px; }
  .hiw-simulator-tabs { grid-template-columns: 1fr; border-radius: 20px; }
  .hiw-simulator-tabs button { border-radius: 16px; }
  .hiw-simulation-window { min-height: 650px; border-radius: 20px; }
  .hiw-window-bar { padding-inline: 12px; }
  .hiw-window-bar em { display: none; }
  .hiw-window-bar strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hiw-acumatica-screen { grid-template-columns: 1fr; }
  .hiw-sim-sidebar { display: none; }
  .hiw-sim-workspace { padding: 20px 16px; }
  .hiw-sim-heading { align-items: flex-start; }
  .hiw-sim-commandbar > span { display: none; }
  .hiw-sim-footer { align-items: stretch; flex-direction: column; }
  .hiw-sim-footer button { width: 100%; }
  .hiw-transfer-screen {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(128px, 1fr) auto auto;
    gap: 12px;
    padding: 22px 18px 18px;
  }
  .hiw-transfer-endpoint {
    width: 150px;
    min-height: 105px;
    padding: 14px;
    justify-self: center;
  }
  .hiw-transfer-endpoint img { width: 86px; margin-bottom: 5px; }
  .hiw-transfer-flight { width: 100%; height: 128px; }
  .hiw-transfer-flight::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: auto;
  }
  .hiw-transfer-packet { top: 0; left: 50%; }
  .hiw-simulation-window.is-sending .hiw-transfer-packet { animation-name: hiw-packet-send-mobile; }
  .hiw-simulation-window.is-returning .hiw-transfer-packet { animation-name: hiw-packet-return-mobile; }
  .hiw-wind-lines { inset: 0 28%; }
  .hiw-wind-lines i {
    top: -28%;
    left: auto;
    width: 2px;
    height: 24%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--sim-accent) 62%, transparent), transparent);
  }
  .hiw-wind-lines i:nth-child(1) { top: -28%; left: 10%; }
  .hiw-wind-lines i:nth-child(2) { top: -28%; left: 37%; width: 2px; height: 17%; }
  .hiw-wind-lines i:nth-child(3) { top: -28%; left: 64%; width: 2px; height: 29%; }
  .hiw-wind-lines i:nth-child(4) { top: -28%; left: 88%; width: 2px; height: 20%; }
  .hiw-simulation-window.is-sending .hiw-wind-lines i { animation-name: hiw-wind-send-mobile; }
  .hiw-simulation-window.is-returning .hiw-wind-lines i { right: auto; animation-name: hiw-wind-return-mobile; }
  .hiw-transfer-screen > p { font-size: 16px; }
  .hiw-paid-confirmation { width: calc(100% - 32px); padding: 22px 18px; flex-direction: column; text-align: center; }
  .hiw-paid-confirmation strong { font-size: 22px; }
  .hiw-config-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hiw-config-row > :first-child { grid-column: 1 / -1; }
  .hiw-config-row.is-heading { display: none; }
}

@keyframes hiw-packet-send-mobile {
  0% { top: 0; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
  14% { opacity: 1; }
  84% { opacity: 1; }
  100% { top: 100%; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
}

@keyframes hiw-packet-return-mobile {
  0% { top: 100%; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
  14% { opacity: 1; }
  84% { opacity: 1; }
  100% { top: 0; opacity: 0; transform: translate(-50%, -50%) scale(.86); }
}

@keyframes hiw-wind-send-mobile {
  0% { top: -28%; opacity: 0; }
  18%, 76% { opacity: .78; }
  100% { top: 108%; opacity: 0; }
}

@keyframes hiw-wind-return-mobile {
  0% { top: 108%; opacity: 0; }
  18%, 76% { opacity: .78; }
  100% { top: -28%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-transfer-packet,
  .hiw-wind-lines i,
  .hiw-click-ripple {
    animation: none;
  }

  .hiw-fake-cursor { display: none; }
}
