:root {
  color-scheme: light;
  --ink: #0b1329;
  --muted: #637393;
  --line: #e6edf4;
  --accent: #00a780;
  --surface: #fff;
  --soft: #f6f8fa;
  --notice: #f0f9ff;
  --disabled: #e7ecef;
  --radius: 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button,
input {
  font: inherit;
}
a {
  color: var(--accent);
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #00b88c;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.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;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.bnb-mark {
  width: 22px;
  height: 22px;
  fill: #efaa00;
  flex-shrink: 0;
}
.site-header {
  height: 70px;
  min-height: 70px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.6px;
  text-decoration: none;
}
.brand img {
  width: 37px;
  height: 37px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.chain {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 9px 14px;
  font-size: 12px;
  white-space: nowrap;
}
.chain .icon {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  color: var(--muted);
}
.theme-controls {
  display: flex;
  gap: 5px;
}
.theme-button {
  width: 34px;
  min-height: 36px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
}
.theme-button .icon {
  width: 21px;
  height: 21px;
}
.theme-button:hover:enabled {
  background: var(--soft);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 316px minmax(0, 1fr);
  flex: 1;
  min-height: calc(100vh - 128px);
}
.brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 68px 42px 26px;
  background: radial-gradient(ellipse at 12% 25%, #05262755, transparent 48%), #041216;
  color: #f8fbfc;
}
.brand-eyebrow {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #00c69a;
  font-size: 12px;
  font-weight: 700;
}
.brand-eyebrow img {
  width: 17px;
  height: 17px;
}
.brand-panel h1 {
  font-size: 50px;
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin: 20px 0 23px;
  font-weight: 700;
}
.lead {
  color: #c4cdd5;
  font-size: 16px;
  line-height: 1.48;
  margin: 0;
}
.brand-benefits {
  list-style: none;
  display: grid;
  gap: 29px;
  padding: 0;
  margin: 45px 0 0;
}
.brand-benefits li {
  display: flex;
  gap: 14px;
  align-items: center;
}
.benefit-icon {
  width: 51px;
  height: 51px;
  background: linear-gradient(135deg, #104540, #062c2b);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-benefits strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.brand-benefits div > span {
  font-size: 13px;
  color: #c4cdd5;
}
.brand-waves {
  position: absolute;
  left: 0;
  bottom: 38px;
  width: 100%;
  height: 330px;
  z-index: -1;
}
.brand-powered {
  margin-top: auto;
  padding-top: 120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #c9d3dd;
  font-size: 13px;
}
.brand-powered i {
  height: 1px;
  flex: 1;
  background: #425057;
}
.brand-powered p {
  width: 100%;
  margin: 0;
  color: #9faeb9;
  font-size: 11px;
}
.checkout-shell {
  padding: 22px 32px 12px 22px;
  min-width: 0;
  background: #fbfcfe;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.payment-panel {
  background: var(--surface);
  border-radius: 0 0 12px 12px;
  padding: 22px 24px 26px;
  min-width: 0;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 0;
  font-weight: 700;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e7faf4;
  color: #008c6c;
  padding: 8px 12px;
  border-radius: 20px;
  white-space: nowrap;
  font-size: 11px;
}
.secure-badge .icon {
  width: 18px;
  height: 18px;
  fill: #009777;
  stroke: white;
  stroke-width: 1.6;
}
.payment-subtitle {
  font-size: 15px;
  margin-top: 3px;
}
.progress-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  margin: 0 0 39px;
  height: 60px;
}
.progress-steps li {
  position: relative;
  text-align: center;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
}
.progress-steps li:first-child {
  text-align: left;
}
.progress-steps li:last-child {
  text-align: right;
}
.progress-steps li:not(:last-child):after {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(50% + 25px);
  right: calc(-50% + 25px);
  height: 2px;
  background: #d7dee8;
}
.progress-steps li:first-child:after {
  left: 41px;
  background: linear-gradient(90deg, #00ae86 50%, #d7dee8 50%);
}
.progress-steps li:nth-child(2):after {
  right: -7px;
}
.progress-steps li > span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #eef2f6;
  border-radius: 50%;
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.progress-steps p {
  margin: 7px 0 0;
}
.progress-steps li:first-child p {
  width: 32px;
  text-align: center;
}
.progress-steps li:last-child p {
  display: block;
  transform: translateX(12px);
}
.progress-steps li[aria-current] {
  color: var(--ink);
}
.progress-steps li[aria-current] > span,
.progress-steps li[data-complete='true'] > span {
  color: #fff;
  background: linear-gradient(130deg, #00bd91, #008966);
}
.progress-steps li[data-complete='true']:after {
  background: #00ad83;
}
.payment-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 50px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 24px;
  margin: 28px 0 16px;
  min-height: 132px;
}
.amount-label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
.amount-value {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.token-icon {
  width: 55px;
  height: 55px;
  background: #e2f6ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.token-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #009877;
  padding: 4px;
  filter: brightness(1.15);
}
.payment-flow strong {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.merchant-receives {
  text-align: right;
  min-width: 0;
}
.merchant-receives strong {
  font-size: 31px;
}
.merchant-receives strong[data-pending='true'] {
  font-size: 17px;
  letter-spacing: 0;
  color: var(--muted);
}
.flow-arrow {
  color: #7c89a2;
}
.flow-arrow .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.4;
}
.payment-flow:has([data-long='true']) {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.payment-flow:has([data-long='true']) .merchant-receives {
  text-align: left;
}
.payment-flow [data-long='true'] {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.info-notice {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 11px;
  background: var(--notice);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.info-notice > .icon {
  width: 21px;
  height: 21px;
  fill: #559dcc;
  color: white;
  stroke-width: 1.6;
}
.info-notice p {
  margin: 0;
}
.details {
  margin: 12px 0 0;
}
.details > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  min-height: 59px;
  font-size: 13px;
}
.details > div:last-child {
  border-bottom: 0;
}
.details dt {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.details dt .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.details dd {
  margin: 0;
  text-align: right;
  max-width: 72%;
  overflow-wrap: anywhere;
}
.details dd.muted {
  font-size: 13px;
}
.order-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.inline-copy {
  padding: 3px;
  width: 23px;
  min-height: 28px;
  color: var(--muted);
  background: transparent;
  border: 0;
  flex-shrink: 0;
}
.inline-copy .icon {
  width: 17px;
  height: 17px;
}
.inline-copy:hover:enabled {
  background: var(--soft);
  color: var(--accent);
}
.network-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 25px;
  white-space: nowrap;
  font-size: 13px;
}
.wallet-section {
  margin-top: 20px;
}
.actions {
  display: grid;
  gap: 12px;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 12px 17px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:hover:enabled {
  background: #00896d;
}
button:disabled {
  background: var(--disabled);
  color: #8493a5;
  cursor: not-allowed;
}
.connect-button {
  min-height: 57px;
  font-size: 18px;
  background: linear-gradient(110deg, #0cb889, #00a77e 55%, #007b60);
  box-shadow: inset 0 0 0 1px #ffffff12;
}
.connect-button > .icon:last-child,
.different-wallet > .icon:last-child {
  position: absolute;
  right: 18px;
  width: 21px;
  height: 21px;
}
.connect-button,
.different-wallet {
  position: relative;
  padding-left: 42px;
  padding-right: 42px;
}
.connect-button:hover:enabled {
  background: linear-gradient(110deg, #09ab80, #007c60);
}
.secondary {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}
.secondary:hover:enabled {
  background: #eaf1f5;
}
.different-wallet {
  min-height: 57px;
  font-size: 14px;
}
.different-wallet > .icon:last-child {
  color: var(--muted);
}
.authorization {
  margin-top: 25px;
}
.state {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.state p {
  margin: 0;
}
.state a {
  display: inline-block;
  margin-top: 6px;
}
.payment-panel[data-ready='false'] .state {
  background: #fff7e8;
  color: #805416;
  border-color: #efdbb0;
}
.payment-detail-fold {
  margin-top: 15px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
.payment-detail-fold[open] > summary {
  margin-bottom: 14px;
}
.payment-detail-fold > .muted {
  font-size: 12px;
}
.invoice-details {
  margin-bottom: 18px;
}
.invoice-details > div {
  min-height: 42px;
}
.field-label {
  display: block;
  font-size: 13px;
  margin: 0 0 10px;
}
.merchant-label {
  margin-top: 16px;
}
.copy-field {
  display: flex;
  gap: 10px;
  min-width: 0;
}
input {
  min-width: 0;
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
}
.address {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}
.copy-status {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 6px 0 0;
}
.copy-status:empty {
  display: none;
}
.live-status {
  font-size: 12px;
  margin: 16px 0 4px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.live-status:before {
  content: '';
  width: 7px;
  height: 7px;
  background: #adb9c9;
  border-radius: 50%;
}
.live-status[data-state='live']:before {
  background: var(--accent);
}
.quote-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  margin: 5px 0 12px;
}
.text-button {
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  padding: 4px;
  min-height: 30px;
}
.text-button:hover:enabled {
  background: var(--soft);
}
.invoice-readiness {
  display: inline-block;
  background: #fff3d9;
  color: #8a560e;
  border-radius: 14px;
  padding: 5px 9px;
  font-size: 11px;
}
.invoice-readiness[data-ready='true'] {
  background: #e7faf4;
  color: #008967;
}
.checkout-aside {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  min-width: 0;
}
.invoice-identity {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 16px;
  min-height: 94px;
}
.invoice-clock {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9faf4;
  color: #008e6c;
  flex-shrink: 0;
}
.invoice-clock .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}
.invoice-status-copy {
  flex: 1;
  min-width: 0;
}
.invoice-status-copy strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
  line-height: 1.45;
}
.invoice-status-copy > span:not(.sr-only) {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
#invoice-status {
  text-transform: capitalize;
}
.expiry-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e6f9f3;
  color: #008462;
  border-radius: 11px;
  min-width: 115px;
  min-height: 61px;
  padding: 8px;
}
.expiry-box > span:first-child {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.expiry-box > span:last-child {
  font-size: 12px;
  font-weight: 400;
  color: #009978;
}
.expiry-box[data-terminal='true'] > span:first-child {
  font-size: 13px;
}
.share-panel {
  padding: 15px;
}
.invoice-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--soft);
  border-radius: 11px;
  padding: 10px 16px 16px;
  min-height: 284px;
}
.invoice-qr-box img {
  display: block;
  width: 210px;
  height: 210px;
  object-fit: contain;
  margin: 0 0 10px;
}
.invoice-qr-box h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.25px;
  margin: 0 0 4px;
}
.invoice-qr-box .muted {
  font-size: 13px;
  line-height: 1.5;
  max-width: 360px;
}
.qr-placeholder {
  width: 210px;
  height: 210px;
  padding: 40px;
  color: #b5c5ce;
}
.qr-placeholder svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.share-link-box {
  padding: 18px 14px 16px;
  background: var(--soft);
  border-radius: 11px;
  margin-top: 14px;
}
.icon-button {
  min-height: 45px;
  padding: 10px;
  width: 45px;
  flex-shrink: 0;
  background: var(--surface);
}
.how-section {
  padding: 18px;
  margin: 0;
}
.how-section h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
}
.payment-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 29px;
}
.payment-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 0 4px;
}
.payment-steps li:not(:last-child):after {
  content: '';
  position: absolute;
  top: 43px;
  bottom: -21px;
  left: 21px;
  width: 2px;
  background: var(--line);
}
.payment-steps li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(130deg, #00be92, #008969);
  color: white;
  flex-shrink: 0;
  font-size: 17px;
}
.payment-steps h3 {
  font-size: 14px;
  margin: 1px 0 3px;
  font-weight: 600;
}
.payment-steps p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.direct-deposit-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
}
.direct-deposit-note p {
  margin: 8px 0 0;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 58px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 40px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.mainnet-status {
  display: flex;
  align-items: center;
  gap: 9px;
}
.mainnet-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00af82;
}
.mainnet-status b {
  color: #bfcbd8;
  font-weight: 400;
  margin: 0 3px;
}
.invoice-entry {
  max-width: 760px;
  margin: 40px auto;
  padding: 32px;
}
.invoice-entry h2 {
  margin-bottom: 10px;
}
.invoice-entry label {
  display: block;
  margin: 22px 0 8px;
  font-size: 14px;
}
.invoice-entry .copy-field button {
  white-space: nowrap;
}
.invoice-entry > p:last-child {
  font-size: 13px;
  margin-top: 22px;
}
dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 20px 70px #0d183a30;
}
dialog::backdrop {
  background: #03131688;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dialog-heading h2 {
  font-size: 25px;
}
.dialog-close {
  color: var(--muted);
  background: transparent;
  padding: 0;
  font-size: 28px;
  min-height: 40px;
  width: 40px;
}
dialog p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.wallet-options {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.wallet-option {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  min-height: 64px;
}
a.wallet-option {
  align-items: center;
  border-radius: 11px;
  padding: 12px 17px;
  text-decoration: none;
  font-weight: 600;
}
a.wallet-option:hover {
  background: var(--soft);
  border-color: var(--accent);
}
.wallet-option:hover:enabled {
  background: var(--soft);
  border-color: var(--accent);
}
.wallet-option small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.wallet-help {
  padding: 15px;
  background: var(--soft);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
#wallet-dialog-status {
  color: var(--ink);
}
.wallet-install {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
}
.wallet-install-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --ink: #eff5fb;
  --muted: #a4b4cc;
  --line: #263640;
  --surface: #101f27;
  --soft: #162730;
  --notice: #152d3b;
  --disabled: #283943;
  background: #0b171e;
}
:root[data-theme='dark'] .checkout-shell {
  background: #0b171e;
}
:root[data-theme='dark'] .secure-badge,
:root[data-theme='dark'] .expiry-box,
:root[data-theme='dark'] .invoice-clock {
  background: #103c32;
  color: #63dec0;
}
:root[data-theme='dark'] .progress-steps li > span {
  background: #283943;
}
:root[data-theme='dark'] .progress-steps li[aria-current] > span {
  background: linear-gradient(130deg, #00bd91, #008966);
}
@media (min-width: 1700px) {
  .checkout-layout {
    grid-template-columns: minmax(316px, calc((100vw - 1500px) / 2 + 260px)) minmax(0, 1fr);
  }
  .checkout-shell {
    padding-right: max(32px, calc((100vw - 1500px) / 2));
  }
  .brand-panel {
    padding-left: max(42px, calc((100vw - 1500px) / 2));
  }
}
@media (max-width: 1350px) {
  .checkout-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .brand-panel {
    padding: 60px 28px 26px;
  }
  .brand-panel h1 {
    font-size: 44px;
  }
  .checkout-shell {
    padding: 20px 20px 12px 16px;
  }
  .checkout-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 16px;
  }
  .payment-panel {
    padding: 20px 18px;
  }
  .payment-flow {
    padding: 18px 14px;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  }
  .payment-flow strong,
  .merchant-receives strong {
    font-size: 26px;
  }
  .token-icon {
    width: 42px;
    height: 42px;
  }
  .amount-value {
    gap: 8px;
  }
  .flow-arrow .icon {
    width: 28px;
    height: 28px;
  }
  .panel-heading h2 {
    font-size: 24px;
  }
  .secure-badge {
    padding: 7px 9px;
    font-size: 10px;
  }
  .invoice-identity {
    gap: 10px;
    padding: 14px;
  }
  .invoice-clock {
    width: 42px;
    height: 42px;
  }
  .expiry-box {
    min-width: 85px;
  }
  .invoice-status-copy strong {
    font-size: 12px;
  }
  .network-badge {
    font-size: 11px;
    padding: 7px 9px;
  }
  .payment-steps li {
    gap: 17px;
  }
  .info-notice {
    gap: 12px;
    padding: 13px;
  }
  .details > div {
    font-size: 12px;
  }
  .details dd.muted {
    font-size: 12px;
  }
}
@media (max-width: 1000px) {
  .checkout-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .brand-panel {
    padding: 48px 24px 24px;
  }
  .brand-panel h1 {
    font-size: 40px;
  }
  .lead {
    font-size: 14px;
  }
  .benefit-icon {
    width: 42px;
    height: 42px;
  }
  .brand-benefits {
    gap: 25px;
  }
  .brand-benefits li {
    gap: 10px;
  }
  .brand-benefits div > span {
    font-size: 11px;
  }
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .checkout-aside {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
  }
  .payment-panel {
    padding: 20px 24px;
  }
  .progress-steps {
    margin-bottom: 28px;
  }
  .payment-flow strong,
  .merchant-receives strong {
    font-size: 30px;
  }
  .how-section {
    padding: 22px;
  }
  .invoice-status-copy strong {
    font-size: 14px;
  }
  .expiry-box {
    min-width: 115px;
  }
  .share-panel {
    padding: 16px;
  }
  .invoice-qr-box {
    padding-top: 16px;
  }
  .brand-powered {
    line-height: 1.6;
  }
  .brand-powered p {
    font-size: 10px;
  }
  .panel-heading h2 {
    font-size: 27px;
  }
  .secure-badge {
    font-size: 11px;
  }
  .network-badge {
    font-size: 12px;
  }
}
@media (max-width: 720px) {
  .site-header {
    height: 66px;
    min-height: 66px;
    padding: 0 18px;
    gap: 8px;
  }
  .brand {
    font-size: 21px;
    gap: 7px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .site-header nav {
    gap: 6px;
  }
  .chain {
    font-size: 10px;
    padding: 7px 9px;
    gap: 5px;
  }
  .chain .bnb-mark {
    width: 18px;
    height: 18px;
  }
  .chain .icon {
    display: none;
  }
  .theme-controls {
    gap: 0;
  }
  .theme-button {
    width: 28px;
    padding: 4px;
    min-height: 32px;
  }
  .theme-button .icon {
    width: 19px;
    height: 19px;
  }
  .theme-button[aria-pressed='true'] {
    display: none;
  }
  .checkout-layout {
    display: flex;
    flex-direction: column;
  }
  .brand-panel {
    padding: 23px 24px;
    min-height: 153px;
  }
  .brand-eyebrow {
    font-size: 10px;
  }
  .brand-eyebrow img {
    width: 14px;
    height: 14px;
  }
  .brand-panel h1 {
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -0.9px;
    margin: 12px 0 9px;
  }
  .brand-panel h1 br {
    display: none;
  }
  .brand-panel h1 br:after {
    content: ' ';
  }
  .brand-panel h1 {
    word-spacing: 1px;
  }
  .lead {
    font-size: 13px;
    max-width: 340px;
  }
  .brand-benefits,
  .brand-powered {
    display: none;
  }
  .brand-waves {
    left: auto;
    right: 0;
    bottom: -160px;
    width: 280px;
    height: 300px;
  }
  .checkout-shell {
    padding: 15px 14px 20px;
  }
  .checkout-grid {
    gap: 14px;
  }
  .payment-panel {
    padding: 20px 14px 18px;
    border-radius: 12px;
  }
  .progress-steps {
    padding: 0 7px;
    margin-bottom: 23px;
  }
  .panel-heading h2 {
    font-size: 23px;
  }
  .secure-badge {
    font-size: 9px;
    gap: 4px;
    padding: 7px 8px;
  }
  .secure-badge .icon {
    width: 15px;
    height: 15px;
  }
  .payment-subtitle {
    font-size: 13px;
    margin-top: 6px;
  }
  .payment-flow {
    margin-top: 22px;
    padding: 18px 13px;
    min-height: 115px;
    grid-template-columns: minmax(0, 1.12fr) 25px minmax(0, 1fr);
    gap: 4px;
  }
  .amount-label {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .payment-flow strong,
  .merchant-receives strong {
    font-size: 25px;
    letter-spacing: -0.7px;
  }
  .token-icon {
    width: 34px;
    height: 34px;
  }
  .token-icon img {
    width: 24px;
    height: 24px;
    padding: 3px;
  }
  .amount-value {
    gap: 7px;
  }
  .flow-arrow .icon {
    width: 25px;
    height: 25px;
  }
  .info-notice {
    padding: 12px;
    gap: 10px;
    font-size: 11px;
    line-height: 1.6;
  }
  .info-notice > .icon {
    width: 19px;
    height: 19px;
  }
  .details > div {
    font-size: 12px;
    min-height: 56px;
    gap: 8px;
  }
  .details dd.muted {
    font-size: 11px;
  }
  .details dd {
    max-width: 72%;
  }
  .order-value {
    font-size: 10px;
    gap: 5px;
  }
  .network-badge {
    font-size: 10px;
    padding: 7px 9px;
    gap: 5px;
  }
  .network-badge .bnb-mark {
    width: 18px;
    height: 18px;
  }
  .wallet-section {
    margin-top: 16px;
  }
  .connect-button {
    font-size: 16px;
  }
  .authorization {
    margin-top: 20px;
  }
  .payment-detail-fold {
    margin-top: 14px;
  }
  .checkout-aside {
    gap: 12px;
  }
  .invoice-identity {
    padding: 14px;
    gap: 11px;
  }
  .invoice-clock {
    width: 45px;
    height: 45px;
  }
  .invoice-status-copy strong {
    font-size: 13px;
  }
  .expiry-box {
    min-width: 88px;
  }
  .expiry-box > span:first-child {
    font-size: 21px;
  }
  .invoice-status-copy > span:not(.sr-only) {
    font-size: 12px;
  }
  .share-panel {
    padding: 13px;
  }
  .invoice-qr-box {
    padding: 15px 12px;
  }
  .share-link-box {
    padding: 15px 12px;
  }
  .how-section {
    padding: 20px 17px;
  }
  .payment-steps {
    gap: 25px;
  }
  .payment-steps li {
    gap: 18px;
  }
  .payment-steps h3 {
    font-size: 13px;
  }
  .payment-steps p {
    font-size: 12px;
  }
  .site-footer {
    padding: 16px 20px;
    min-height: 58px;
    font-size: 10px;
  }
  .invoice-entry {
    padding: 24px 18px;
    margin: 12px 0;
  }
  .invoice-entry .copy-field {
    flex-direction: column;
  }
  dialog {
    padding: 22px;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep the three stages evenly spaced along one uninterrupted track. */
.progress-steps {
  position: relative;
  padding: 0 18px;
  margin-right: 40px;
  margin-bottom: 36px;
  isolation: isolate;
}
.progress-steps:before {
  content: '';
  position: absolute;
  top: 15px;
  left: 34px;
  right: 34px;
  height: 2px;
  background: linear-gradient(90deg, #00ad83 20%, #d7dee8 20%);
  z-index: -1;
}
.progress-steps li {
  flex: 0 0 32px;
  text-align: center !important;
}
.progress-steps li:not(:last-child):after {
  display: none;
}
.progress-steps li > span {
  box-shadow: 0 0 0 8px var(--surface);
}
.progress-steps li p {
  width: auto !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%) !important;
  white-space: nowrap;
}
.progress-steps:has([data-payment-step='2'][aria-current]):before {
  background: linear-gradient(90deg, #00ad83 60%, #d7dee8 60%);
}
.progress-steps:has([data-payment-step='3'][aria-current]):before {
  background: #00ad83;
}
@media (min-width: 1351px) {
  .payment-panel {
    padding-right: 34px;
  }
  .payment-flow {
    margin-top: 25px;
  }
  .payment-subtitle {
    line-height: 1.4;
  }
  .payment-flow {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .details {
    margin-top: 8px;
  }
  .wallet-section {
    margin-top: 18px;
  }
}
@media (max-width: 720px) {
  .progress-steps {
    padding: 0 7px;
    margin-right: 0;
    margin-bottom: 23px;
  }
  .progress-steps:before {
    left: 23px;
    right: 23px;
  }
  .brand-panel h1 br {
    display: none;
  }
  .secondary:hover:enabled {
    background: var(--soft);
  }
}

.brand-mark {
  width: 37px;
  height: 37px;
}
.token-icon > svg {
  width: 35px;
  height: 35px;
}
@media (max-width: 720px) {
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .token-icon > svg {
    width: 27px;
    height: 27px;
  }
}

.progress-steps li {
  min-width: 0;
  width: 32px;
}
.progress-steps li p {
  width: max-content !important;
}
.invoice-qr-box img {
  margin-bottom: 0;
}
@media (min-width: 1351px) {
  .payment-panel {
    padding-bottom: 9px;
  }
  .info-notice {
    line-height: 1.55;
  }
  .wallet-section {
    margin-top: 16px;
  }
  .payment-detail-fold {
    margin-top: 7px;
  }
}

.payment-flow strong:not([data-long='true']) {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .payment-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .payment-flow .flow-arrow {
    display: none;
  }
  .payment-flow .merchant-receives {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .payment-flow .merchant-receives .amount-label {
    margin: 0;
  }
}
