/* PaystubX — Bank & Payments (educational / product-boundary page) */
.psx-bp-page {
  --bp-ink: #102033;
  --bp-muted: #5b6b7c;
  --bp-line: #d7e2ec;
  --bp-accent: #0f4c6e;
  --bp-orange: #FF4D2E;
  --bp-orange-deep: #E84327;
  --bp-orange-soft: rgba(255, 77, 46, 0.12);
  --bp-cta: #d32f0c;
  --bp-cta-hover: #b02509;
  --bp-soft: #eef5f8;
  --bp-card: #fff;
  --bp-danger: #b91c1c;
  --bp-danger-soft: #fef2f2;
  --bp-ok: #047857;
  --bp-ok-soft: #ecfdf5;
  --bp-display: "Outfit", "Inter", "Segoe UI", sans-serif;
  --bp-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--bp-ink);
  font-family: var(--bp-body);
}

.psx-bp-page--public {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(255, 77, 46, 0.14), transparent 55%),
    radial-gradient(700px 380px at 92% 0%, rgba(15, 76, 110, 0.1), transparent 50%),
    linear-gradient(180deg, #fff8f6 0%, #ffffff 38%, #ffffff 100%);
  padding: 0 0 64px;
}

.psx-bp-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.psx-bp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.25fr);
  gap: clamp(22px, 3.5vw, 40px);
  align-items: center;
  padding: 36px 0 40px;
}

.psx-bp-disclaimer--inline {
  max-width: none;
  margin: 8px 0 18px;
}

.psx-bp-hero--empty {
  display: block;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.psx-bp-hero__copy {
  min-width: 0;
}

.psx-bp-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 46, 0.28);
  background: var(--bp-orange-soft);
  color: var(--bp-orange-deep);
  font-family: var(--bp-display);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.psx-bp-hero h1 {
  margin: 0 0 16px;
  font-family: var(--bp-display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: none;
  color: var(--bp-ink);
}

.psx-bp-hero__lead,
.psx-bp-hero__accent {
  display: block;
}

.psx-bp-hero__accent {
  color: var(--bp-orange);
  margin-top: 0.12em;
}

.psx-bp-lead {
  margin: 0 0 12px;
  color: var(--bp-muted);
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 54ch;
}

.psx-bp-reassure {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bp-orange-deep);
}

.psx-bp-disclaimer {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 77, 46, 0.2);
  background: linear-gradient(180deg, #fff, #fff5f2);
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 54ch;
}

/* —— Hero right: PaystubX Flow Presentation —— */
.psx-bp-flow-pres {
  --psx-flow-blue: #3057bb;
  --psx-flow-red: #e52329;
  --psx-flow-bg: #1e293b;
  --psx-flow-border: #334155;
  --psx-flow-muted: #94a3b8;
  --psx-flow-warn: #c88700;
  --psx-flow-card-h: 248px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  container-type: inline-size;
  container-name: psx-flow;
}

.psx-bp-flow-pres__inner {
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  background: var(--psx-flow-bg);
  border-radius: 20px;
  padding: 36px 28px 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
  border: 1px solid var(--psx-flow-border);
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.psx-bp-flow-pres__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, 140px) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.psx-bp-flow-pres__doc {
  min-width: 0;
  width: 100%;
  min-height: var(--psx-flow-card-h);
  padding: 24px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.28),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.psx-bp-flow-pres__logo {
  font-family: var(--bp-display);
  font-size: clamp(1.55rem, 7cqi, 2.25rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.psx-bp-flow-pres__logo-text {
  color: var(--psx-flow-blue);
}

.psx-bp-flow-pres__logo-x {
  color: var(--psx-flow-red);
  text-shadow: 0 0 12px rgba(229, 35, 41, 0.28);
}

.psx-bp-flow-pres__title {
  display: block;
  width: 100%;
  font-size: clamp(0.95rem, 3.4cqi, 1.15rem);
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
  line-height: 1.25;
}

.psx-bp-flow-pres__sub {
  display: block;
  width: 100%;
  max-width: 15rem;
  font-size: clamp(0.74rem, 2.5cqi, 0.86rem);
  color: #64748b;
  margin-top: 6px;
  line-height: 1.4;
}

.psx-bp-flow-pres__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin-top: 16px;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 1px solid #86efac;
  background: #dcfce7;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
}

.psx-bp-flow-pres__connector {
  width: 100%;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: center;
  box-sizing: border-box;
}

.psx-bp-flow-pres__conn-label {
  color: var(--psx-flow-muted);
  font-size: clamp(0.58rem, 2cqi, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  transition: color 0.25s ease;
}

.psx-bp-flow-pres__connector.is-running .psx-bp-flow-pres__conn-label {
  color: var(--psx-flow-blue);
}

.psx-bp-flow-pres__connector.is-failed .psx-bp-flow-pres__conn-label {
  color: var(--psx-flow-warn);
}

.psx-bp-flow-pres__line {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.psx-bp-flow-pres__pulse {
  position: absolute;
  top: 0;
  left: -28px;
  width: 28px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--psx-flow-blue), transparent);
  opacity: 0.85;
  animation: psxBpFlowForward 4.5s infinite linear;
  pointer-events: none;
}

.psx-bp-flow-pres__connector.is-running .psx-bp-flow-pres__pulse {
  width: 42%;
  left: -42%;
  opacity: 1;
  animation: psxBpFlowBurst 1.5s linear forwards;
}

.psx-bp-flow-pres__connector.is-failed .psx-bp-flow-pres__pulse {
  animation: none;
  opacity: 0;
}

@keyframes psxBpFlowForward {
  0% { left: -28px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes psxBpFlowBurst {
  0% { left: -42%; opacity: 1; }
  80% { left: 70%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes psxBpFlowDown {
  0% { top: -28px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes psxBpFlowBurstDown {
  0% { top: -42%; opacity: 1; }
  80% { top: 70%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes psxBpBankConnecting {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

.psx-bp-flow-pres__bank {
  min-width: 0;
  width: 100%;
  min-height: var(--psx-flow-card-h);
  padding: 22px 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed var(--psx-flow-border);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.psx-bp-flow-pres__bank:hover,
.psx-bp-flow-pres__bank:focus-visible {
  border-color: rgba(148, 163, 184, 0.75);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.psx-bp-flow-pres__bank.is-connecting .psx-bp-flow-pres__bank-icon-wrap {
  animation: psxBpBankConnecting 0.5s infinite alternate ease-in-out;
}

.psx-bp-flow-pres__bank.is-failed {
  border-color: #e1a51d;
  background: rgba(232, 165, 29, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.psx-bp-flow-pres__bank-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.psx-bp-flow-pres__bank-icon {
  width: 42px;
  height: 42px;
  color: #cbd5e1;
  display: block;
}

.psx-bp-flow-pres__bank-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.psx-bp-flow-pres__bank-x {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--psx-flow-red);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(229, 35, 41, 0.4);
  opacity: 0;
  transform: scale(0.2) rotate(-25deg);
  transition: all 0.35s cubic-bezier(0.17, 0.88, 0.27, 1.25);
  pointer-events: none;
}

.psx-bp-flow-pres__bank-x.is-show {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.psx-bp-flow-pres__bank .psx-bp-flow-pres__title {
  color: #ffffff;
  margin-top: 0;
  font-size: clamp(0.9rem, 3.1cqi, 1.08rem);
}

.psx-bp-flow-pres__bank .psx-bp-flow-pres__sub {
  color: var(--psx-flow-muted);
  font-size: clamp(0.72rem, 2.4cqi, 0.84rem);
  max-width: 13rem;
}

@container psx-flow (max-width: 420px) {
  .psx-bp-flow-pres__inner {
    min-height: 0;
    padding: 24px 14px 20px;
  }

  .psx-bp-flow-pres__row {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    gap: 10px;
  }

  .psx-bp-flow-pres__doc,
  .psx-bp-flow-pres__bank {
    min-height: 200px;
    padding: 16px 10px;
  }

  .psx-bp-flow-pres__bank-icon-wrap {
    width: 60px;
    height: 60px;
  }

  .psx-bp-flow-pres__bank-icon {
    width: 32px;
    height: 32px;
  }
}

/* Flow alert modal */
.psx-bp-flow-alert {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10050;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.psx-bp-flow-alert.is-show {
  opacity: 1;
  visibility: visible;
}

.psx-bp-flow-alert__box {
  background: #ffffff;
  color: #1e293b;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 620px;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.3s ease;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.psx-bp-flow-alert.is-show .psx-bp-flow-alert__box {
  transform: scale(1);
}

.psx-bp-flow-alert__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f1f5f9;
  padding: 18px 14px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  min-width: 88px;
  flex-shrink: 0;
}

.psx-bp-flow-alert__bank-icon {
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  font-size: 1.7rem;
  line-height: 1;
}

.psx-bp-flow-alert__x {
  background: #a81c1c;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(168, 28, 28, 0.3);
  line-height: 1;
}

.psx-bp-flow-alert__content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.psx-bp-flow-alert__title {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 800;
  color: #991b1b;
  line-height: 1.25;
}

.psx-bp-flow-alert__text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

.psx-bp-flow-alert__ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 16px;
}

.psx-bp-flow-alert__ok h4 {
  margin: 0 0 6px;
  color: #166534;
  font-weight: 700;
  font-size: 0.95rem;
}

.psx-bp-flow-alert__ok p {
  margin: 0;
  color: #15803d;
  font-size: 0.88rem;
  line-height: 1.45;
}

.psx-bp-flow-alert__close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #94a3b8;
  background: none;
  border: 0;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}

.psx-bp-flow-alert__close:hover,
.psx-bp-flow-alert__close:focus-visible {
  color: #0f172a;
  outline: none;
}

.psx-bp-section {
  padding: 32px 0;
  border-top: 1px solid var(--bp-line);
}

.psx-bp-section__head {
  max-width: 720px;
  margin: 0 0 22px;
}

.psx-bp-section__head h2 {
  margin: 0 0 8px;
  font-family: var(--bp-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.psx-bp-section__head p {
  margin: 0;
  color: var(--bp-muted);
  line-height: 1.65;
}

/* —— No-Bank stage (faithful port of provided HTML; PaystubX blue/red; no black bg) —— */
.psx-nb-stage {
  --psx-blue: #1A4FA2;
  --psx-blue-deep: #143d82;
  --psx-red: #ED1C24;
  --paper: #F3EFE2;
  --paper-dim: #E7E1CE;
  --ink-text: #1C2A22;
  width: 100%;
  margin: 12px 0 16px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  min-height: 520px;
  box-shadow: 0 40px 80px -30px rgba(26, 79, 162, 0.22);
  border: 1px solid rgba(26, 79, 162, 0.12);
  background: transparent;
  position: relative;
  font-family: "IBM Plex Sans", "Inter", "Segoe UI", sans-serif;
}

.psx-nb-identity {
  flex: 1 1 44%;
  background:
    radial-gradient(circle at 22% 18%, rgba(26, 79, 162, 0.12), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(237, 28, 36, 0.08), transparent 50%),
    #fff;
  position: relative;
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(26, 79, 162, 0.12);
  overflow: hidden;
}

.psx-nb-ledger-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 37px,
    rgba(26, 79, 162, 0.045) 38px
  );
  pointer-events: none;
}

.psx-nb-eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--psx-blue);
  margin: 0 0 22px;
  opacity: 0;
  animation: psxNbRise 0.6s ease-out 0.15s forwards;
  position: relative;
  z-index: 1;
}

.psx-nb-wordmark {
  display: flex;
  align-items: center;
  font-family: "Fraunces", "Outfit", Georgia, serif;
  font-weight: 560;
  font-size: clamp(42px, 6vw, 64px);
  color: var(--psx-blue);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  opacity: 0;
  animation: psxNbRise 0.7s ease-out 0.3s forwards;
  position: relative;
  z-index: 1;
}

.psx-nb-x-stamp {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.05em;
  height: 1.05em;
  margin-left: 0.04em;
  color: #fff;
  background: var(--psx-red);
  border-radius: 10px;
  transform: scale(0) rotate(-18deg);
  animation: psxNbStamp 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) 0.95s forwards;
  box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.45);
}

.psx-nb-x-stamp::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1.5px solid var(--psx-red);
  border-radius: 16px;
  opacity: 0;
  animation: psxNbRing 0.7s ease-out 1.25s forwards;
}

.psx-nb-tagline {
  font-family: "IBM Plex Sans", "Inter", sans-serif;
  font-size: 15.5px;
  color: #526072;
  max-width: 360px;
  line-height: 1.55;
  margin: 22px 0 30px;
  opacity: 0;
  animation: psxNbRise 0.6s ease-out 0.5s forwards;
  position: relative;
  z-index: 1;
}

.psx-nb-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: psxNbRise 0.6s ease-out 0.65s forwards;
  position: relative;
  z-index: 1;
}

.psx-nb-badge {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 79, 162, 0.18);
  color: #334155;
  background: rgba(26, 79, 162, 0.04);
}

.psx-nb-badge--strike {
  position: relative;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.psx-nb-badge--strike:hover,
.psx-nb-badge--strike:focus-visible {
  border-color: var(--psx-red);
  color: var(--psx-red);
  background: rgba(237, 28, 36, 0.06);
  outline: none;
}

.psx-nb-bank-icon {
  margin-right: 6px;
}

.psx-nb-cross {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0) translateY(-50%);
  transform-origin: left;
  animation: psxNbStrike 0.5s ease-out 1.9s forwards;
}

.psx-nb-presentation {
  flex: 1 1 56%;
  background: var(--paper);
  padding: 56px 48px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-width: 0;
}

/* Right: PaystubX boundary card (replaces presentation) */
.psx-nb-boundary {
  flex: 1 1 56%;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  min-height: 100%;
}

.psx-nb-boundary__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #1a1a1a, #3a140f 55%, #d32f0c);
  color: #ffe8e2;
  font-size: 0.85rem;
  font-weight: 650;
  font-family: "Outfit", "Inter", sans-serif;
}

.psx-nb-boundary__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
}

.psx-nb-boundary__split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  padding: 28px 24px 20px;
  flex: 1 1 auto;
  align-items: start;
}

.psx-nb-boundary__lane {
  padding: 4px 10px;
  min-width: 0;
}

.psx-nb-boundary__lane-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  font-family: "Outfit", "Inter", sans-serif;
}

.psx-nb-boundary__lane--docs .psx-nb-boundary__lane-label {
  color: #047857;
}

.psx-nb-boundary__lane--bank .psx-nb-boundary__lane-label {
  color: #c2410c;
}

.psx-nb-boundary__lane ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.psx-nb-boundary__lane li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.45;
}

.psx-nb-boundary__lane--docs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #047857;
  font-weight: 800;
}

.psx-nb-boundary__lane--bank li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: #FF4D2E;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}

.psx-nb-boundary__chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
  font-family: "Outfit", "Inter", sans-serif;
}

.psx-nb-boundary__chip--ok {
  background: #ecfdf5;
  color: #047857;
}

.psx-nb-boundary__chip--out {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.psx-nb-boundary__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 6px 0;
}

.psx-nb-boundary__x {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FF4D2E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 77, 46, 0.4);
  line-height: 1;
}

.psx-nb-boundary__foot {
  margin: 0;
  padding: 14px 20px 18px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

.psx-nb-stage .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.psx-nb-presentation h3 {
  font-family: "Fraunces", "Outfit", Georgia, serif;
  font-weight: 560;
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--ink-text);
  margin: 0 0 14px;
  line-height: 1.2;
}

.psx-nb-lead {
  font-size: 15px;
  color: #4b5a50;
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 440px;
}

.psx-nb-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.psx-nb-node {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 9px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--paper-dim);
  color: var(--ink-text);
  white-space: nowrap;
}

.psx-nb-node--strong {
  background: var(--psx-blue);
  color: #fff;
  border-color: var(--psx-blue);
}

.psx-nb-arrow {
  flex: 0 0 auto;
  color: #9fae9f;
  font-size: 14px;
}

.psx-nb-node--void {
  color: #b4463e;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  background: #fbefec;
  border-color: #ebd3cf;
}

.psx-nb-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.psx-nb-cta {
  font-family: "IBM Plex Sans", "Inter", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  background: var(--psx-blue);
  border: none;
  padding: 14px 22px;
  border-radius: 11px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px -12px rgba(26, 79, 162, 0.7);
}

.psx-nb-cta:hover {
  background: var(--psx-blue-deep);
  transform: translateY(-1px);
}

.psx-nb-cta:active {
  transform: translateY(0);
}

.psx-nb-cta:focus-visible {
  outline: 2px solid var(--psx-red);
  outline-offset: 3px;
}

.psx-nb-hint {
  font-size: 12.5px;
  color: #8a9a8e;
}

.psx-nb-toast {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 34px;
  background: #10233f;
  color: #f8fafc;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s ease;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.psx-nb-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.psx-nb-toast-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5fbf8f;
  margin-top: 5px;
  box-shadow: 0 0 0 4px rgba(95, 191, 143, 0.18);
}

.psx-nb-toast-msg strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.psx-nb-toast-msg span {
  font-size: 12.5px;
  color: #b9c9be;
  line-height: 1.5;
}

.psx-nb-toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #87968c;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
}

.psx-nb-toast-close:hover {
  color: #fff;
}

@keyframes psxNbRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes psxNbStamp {
  0% { transform: scale(0) rotate(-18deg); }
  60% { transform: scale(1.12) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes psxNbRing {
  from { opacity: 0.7; transform: scale(0.85); }
  to { opacity: 0; transform: scale(1.25); }
}
@keyframes psxNbStrike {
  to { transform: scaleX(1) translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .psx-nb-eyebrow,
  .psx-nb-wordmark,
  .psx-nb-tagline,
  .psx-nb-badge-row,
  .psx-nb-x-stamp,
  .psx-nb-x-stamp::after,
  .psx-nb-cross {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .psx-nb-toast {
    transition: none;
  }
}

@media (max-width: 760px) {
  .psx-nb-stage {
    flex-direction: column;
    min-height: 0;
  }
  .psx-nb-identity {
    border-right: none;
    border-bottom: 1px solid rgba(26, 79, 162, 0.12);
    padding: 44px 32px;
  }
  .psx-nb-boundary__split {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px 16px;
  }
  .psx-nb-boundary__divider {
    padding: 4px 0;
  }
  .psx-nb-toast {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
  .psx-nb-wordmark {
    font-size: clamp(36px, 10vw, 48px);
  }
}

@media (max-width: 480px) {
  .psx-nb-identity {
    padding-left: 20px;
    padding-right: 20px;
  }
  .psx-nb-boundary__bar,
  .psx-nb-boundary__foot {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Workflow */
.psx-bp-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.psx-bp-flow__step {
  position: relative;
  background: var(--bp-card);
  border: 1px solid var(--bp-line);
  border-radius: 14px;
  padding: 16px 14px 14px;
  box-shadow: 0 1px 0 rgba(16, 32, 51, 0.03);
  min-height: 100%;
}

.psx-bp-flow__step--boundary {
  border-color: #fdba74;
  background: linear-gradient(180deg, #fffbeb, #fff);
}

.psx-bp-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(15, 76, 110, 0.1);
  color: var(--bp-accent);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.psx-bp-flow__step--boundary .psx-bp-flow__num {
  background: #ffedd5;
  color: #9a3412;
}

.psx-bp-flow__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 750;
}

.psx-bp-flow__text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--bp-muted);
  line-height: 1.5;
}

.psx-bp-flow__badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
  background: #ffedd5;
  color: #9a3412;
}

/* Bank boundary card */
.psx-bp-bank-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bp-card);
  border: 1px solid var(--bp-line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.06);
}

.psx-bp-bank-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  border-radius: 14px;
  background: linear-gradient(160deg, #f1f5f9, #e2e8f0);
  border: 1px dashed #94a3b8;
  padding: 20px;
}

.psx-bp-bank-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #64748b;
}

.psx-bp-bank-x {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bp-danger);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.35);
  line-height: 1;
}

.psx-bp-bank-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
}

.psx-bp-bank-card .psx-bp-not-supported {
  margin: 0 0 12px;
  color: var(--bp-danger);
  font-weight: 750;
  font-size: 1.05rem;
}

.psx-bp-bank-card p {
  margin: 0 0 12px;
  color: var(--bp-muted);
  line-height: 1.6;
}

.psx-bp-complete {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bp-ok-soft);
  border: 1px solid #a7f3d0;
}

.psx-bp-complete strong {
  display: block;
  color: var(--bp-ok);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.psx-bp-complete p {
  margin: 0;
  color: #065f46;
  font-size: 0.9rem;
}

/* How to pay steps */
.psx-bp-stages {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bp-stage;
}

.psx-bp-stages li {
  counter-increment: bp-stage;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  background: var(--bp-card);
  border: 1px solid var(--bp-line);
  border-radius: 12px;
  padding: 14px 16px;
}

.psx-bp-stages li::before {
  content: counter(bp-stage);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(15, 76, 110, 0.1);
  color: var(--bp-accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.psx-bp-stages h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 750;
}

.psx-bp-stages p {
  margin: 0;
  color: var(--bp-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Comparison */
.psx-bp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.psx-bp-compare__card {
  background: var(--bp-card);
  border: 1px solid var(--bp-line);
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 1px 0 rgba(16, 32, 51, 0.03);
}

.psx-bp-compare__card--no {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff, var(--bp-danger-soft));
}

.psx-bp-compare__card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
}

.psx-bp-compare__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.psx-bp-compare__card li {
  position: relative;
  padding: 7px 0 7px 28px;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
  border-bottom: 1px solid #f1f5f9;
}

.psx-bp-compare__card li:last-child {
  border-bottom: 0;
}

.psx-bp-compare__card--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bp-ok);
  font-weight: 800;
}

.psx-bp-compare__card--no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--bp-danger);
  font-weight: 800;
}

.psx-bp-compare-foot {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--bp-line);
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 600;
}

/* Auto payroll */
.psx-bp-auto-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.psx-bp-auto-flow li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bp-line);
  font-size: 0.85rem;
  font-weight: 650;
  color: #334155;
}

.psx-bp-auto-flow li.psx-bp-auto-arrow {
  border: 0;
  background: transparent;
  padding: 0 2px;
  color: #94a3b8;
  font-weight: 700;
}

.psx-bp-auto-external {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-weight: 700;
  font-size: 0.9rem;
}

/* FAQ */
.psx-bp-faq {
  display: grid;
  gap: 12px;
}

.psx-bp-faq details {
  background: var(--bp-card);
  border: 1px solid var(--bp-line);
  border-radius: 12px;
  padding: 14px 16px;
}

.psx-bp-faq summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--bp-ink);
  list-style: none;
}

.psx-bp-faq summary::-webkit-details-marker {
  display: none;
}

.psx-bp-faq details[open] summary {
  margin-bottom: 8px;
  color: var(--bp-orange-deep);
}

.psx-bp-faq p {
  margin: 0;
  color: var(--bp-muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.psx-bp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.psx-bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: var(--bp-display);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.psx-bp-btn--primary {
  background: var(--bp-orange);
  color: #fff;
  border-color: var(--bp-orange);
  box-shadow: 0 6px 16px rgba(255, 77, 46, 0.28);
}

.psx-bp-btn--primary:hover {
  background: var(--bp-orange-deep);
  border-color: var(--bp-orange-deep);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(232, 67, 39, 0.32);
}

.psx-bp-btn--ghost {
  background: #fff;
  color: var(--bp-ink);
  border-color: rgba(16, 32, 51, 0.18);
}

.psx-bp-btn--ghost:hover {
  background: var(--bp-orange-soft);
  color: var(--bp-orange-deep);
  border-color: rgba(255, 77, 46, 0.35);
  text-decoration: none;
}

.psx-bp-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--bp-muted);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .psx-bp-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .psx-bp-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .psx-bp-bank-card {
    grid-template-columns: 1fr;
  }

  .psx-bp-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .psx-bp-flow-pres {
    --psx-flow-card-h: 220px;
  }

  .psx-bp-flow-pres__inner {
    min-height: 0;
    padding: 28px 18px 24px;
  }

  .psx-bp-flow-pres__row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .psx-bp-flow-pres__doc,
  .psx-bp-flow-pres__bank {
    width: 100%;
    max-width: 400px;
  }

  .psx-bp-flow-pres__connector {
    position: relative;
    width: 4px;
    height: 88px;
    min-height: 88px;
    margin: 6px 0;
    gap: 0;
  }

  .psx-bp-flow-pres__line {
    width: 4px;
    height: 100%;
  }

  .psx-bp-flow-pres__pulse {
    width: 100%;
    height: 28px;
    left: 0;
    top: -28px;
    background: linear-gradient(180deg, transparent, var(--psx-flow-blue), transparent);
    animation: psxBpFlowDown 4.5s infinite linear;
  }

  .psx-bp-flow-pres__connector.is-running .psx-bp-flow-pres__pulse {
    width: 100%;
    height: 42%;
    left: 0;
    top: -42%;
    animation: psxBpFlowBurstDown 1.5s linear forwards;
  }

  .psx-bp-flow-pres__connector.is-failed .psx-bp-flow-pres__pulse {
    animation: none;
    opacity: 0;
  }

  .psx-bp-flow-pres__conn-label {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    max-width: 9rem;
    text-align: left;
  }

  .psx-bp-flow-alert__box {
    flex-direction: column;
    padding: 22px 18px 20px;
  }

  .psx-bp-flow-alert__badge {
    flex-direction: row;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .psx-bp-flow {
    grid-template-columns: 1fr;
  }

  .psx-bp-hero h1 {
    max-width: none;
  }
}
