:root {
  color-scheme: dark;
  --bg: #050609;
  --panel: #10131a;
  --panel-2: #151923;
  --line: #252b38;
  --line-strong: #384154;
  --text: #f5f7fb;
  --muted: #9da6b8;
  --soft: #c8cfda;
  --green: #22e29b;
  --green-2: #14c884;
  --cyan: #28d7ff;
  --blue: #6a8cff;
  --red: #ff5d76;
  --yellow: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 226, 155, 0.09), transparent 32rem),
    linear-gradient(180deg, #080a0f 0%, #050609 64%, #030406 100%);
  color: var(--text);
}

body.light-route {
  color: #101318;
  background:
    radial-gradient(circle at 74% 12%, rgba(34, 226, 155, 0.22), transparent 30rem),
    linear-gradient(180deg, #fbfcf8 0%, #eef8f0 48%, #ffffff 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 226, 155, 0.45);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(34, 226, 155, 0.22), rgba(40, 215, 255, 0.08));
  color: var(--green);
  box-shadow: 0 0 32px rgba(34, 226, 155, 0.12);
}

.brand small {
  color: var(--muted);
  font-weight: 560;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a,
.ghost-btn,
.primary-btn,
.icon-btn,
.wallet-btn {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--soft);
  background: transparent;
}

.nav a:hover,
.ghost-btn:hover,
.icon-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav a {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-weight: 650;
}

.nav a:hover {
  background: transparent;
  border: 0;
  color: var(--text);
}

.wallet-btn {
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--green);
  border-color: rgba(34, 226, 155, 0.36);
  background: rgba(34, 226, 155, 0.08);
  font-weight: 760;
}

.wallet-btn:hover {
  color: #03100b;
  background: var(--green);
  border-color: var(--green);
}

.primary-btn {
  color: #04100b;
  background: linear-gradient(135deg, var(--green), #78f2ff);
  border-color: rgba(255, 255, 255, 0.12);
  font-weight: 760;
  box-shadow: 0 14px 36px rgba(34, 226, 155, 0.2);
}

.primary-btn:hover {
  filter: brightness(1.04);
}

.primary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.icon-btn {
  width: 40px;
  padding: 0;
}

.main {
  flex: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border: 1px solid rgba(34, 226, 155, 0.28);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green);
  background: rgba(34, 226, 155, 0.07);
  font-size: 13px;
  font-weight: 680;
}

.hero h1 {
  margin: 20px 0 14px;
  max-width: 760px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  max-width: 720px;
}

.trust-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 26, 0.64);
  padding: 14px;
}

.trust-item strong {
  display: block;
  font-size: 18px;
}

.trust-item span {
  color: var(--muted);
  font-size: 12px;
}

.checkout-card,
.panel,
.phone-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 26, 0.9);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.3);
}

.phone-card {
  overflow: hidden;
}

.phone-head {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.merchant-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #02100a;
  font-weight: 820;
}

.status-pill {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  background: rgba(34, 226, 155, 0.1);
  font-size: 12px;
  font-weight: 720;
}

.phone-body {
  padding: 22px;
}

.amount {
  font-size: 52px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0;
}

.amount span {
  color: var(--muted);
  font-size: 19px;
  font-weight: 650;
}

.token-row {
  margin: 22px 0;
  display: grid;
  gap: 10px;
}

.token-chip {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
}

.token-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.token-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #020906;
  font-size: 12px;
  font-weight: 850;
}

.token-icon.sol {
  background: linear-gradient(135deg, #8b5cf6, #22e29b);
}

.token-icon.usdc {
  background: #5ea4ff;
}

.token-icon.jup {
  background: linear-gradient(135deg, #ffcc66, #28d7ff);
}

.token-icon.bonk {
  background: #ff7a59;
}

.token-meta small,
.summary-line span,
.field label,
.note,
.footnote {
  color: var(--muted);
}

.token-meta strong {
  display: block;
}

.summary-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.summary-line {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
}

.summary-line strong {
  text-align: right;
}

.layout-grid {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.panel {
  padding: 22px;
  box-shadow: none;
}

.panel h2,
.panel h3 {
  margin: 0 0 14px;
  letter-spacing: 0;
}

.panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #0b0e14;
  padding: 0 12px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: rgba(34, 226, 155, 0.74);
  box-shadow: 0 0 0 3px rgba(34, 226, 155, 0.12);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-card {
  overflow: hidden;
}

.checkout-hero {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.checkout-title {
  margin: 0 0 8px;
  font-size: 24px;
}

.checkout-subtitle {
  margin: 0;
  color: var(--muted);
}

.qr-wrap {
  width: 164px;
  flex: 0 0 164px;
  padding: 10px;
  border-radius: 8px;
  background: #f7fafc;
}

.qr {
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  gap: 2px;
}

.qr i {
  aspect-ratio: 1;
  background: #07100c;
}

.qr i.off {
  background: transparent;
}

.checkout-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  padding: 22px;
}

.token-list {
  display: grid;
  gap: 10px;
}

.select-token {
  width: 100%;
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.select-token.active {
  border-color: rgba(34, 226, 155, 0.72);
  background: rgba(34, 226, 155, 0.09);
}

.select-token:hover {
  border-color: var(--line-strong);
}

.review-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 13px 0;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.step {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.dot {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  margin-top: 1px;
  flex: 0 0 18px;
}

.step.done {
  color: var(--soft);
}

.step.done .dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 226, 155, 0.12);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(390px, calc(100vw - 36px));
  border: 1px solid rgba(34, 226, 155, 0.38);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(12, 16, 20, 0.96);
  color: var(--soft);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 18px 0 26px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  font-size: 13px;
}

.light-route .topbar {
  color: #11161c;
}

.light-route .brand,
.light-route .nav a,
.light-route .ghost-btn {
  color: #151a21;
}

.light-route .nav a {
  color: #43505b;
}

.light-route .nav a:hover {
  color: #101318;
}

.light-route .wallet-btn {
  color: #087c56;
  background: rgba(34, 226, 155, 0.14);
  border-color: rgba(8, 124, 86, 0.24);
}

.light-route .wallet-btn:hover {
  color: #04100b;
  background: #22e29b;
  border-color: #22e29b;
}

.light-route .brand small,
.light-route .footer {
  color: #64707d;
}

.light-route .brand-mark {
  color: #0c8f64;
  background: #effbf5;
  border-color: rgba(12, 143, 100, 0.3);
  box-shadow: none;
}

.light-route .primary-btn {
  color: #04100b;
  background: #22e29b;
  border-color: rgba(8, 124, 86, 0.12);
  box-shadow: 0 16px 34px rgba(34, 226, 155, 0.28);
}

.light-route .primary-btn:hover {
  background: #19d590;
  border-color: rgba(8, 124, 86, 0.18);
}

.light-route .hero-actions .ghost-btn {
  color: #11161c;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.light-route .ghost-btn:hover {
  background: rgba(10, 18, 24, 0.05);
  border-color: rgba(10, 18, 24, 0.08);
}

.light-route .hero-actions .ghost-btn:hover {
  background: transparent;
  border-color: transparent;
  color: #087c56;
}

.light-route .footer {
  border-top-color: rgba(10, 18, 24, 0.12);
}

.pay-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: center;
  padding: 18px 0 74px;
}

.pay-hero-copy h1 {
  max-width: 760px;
  margin: 22px 0 16px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.pay-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: #46515d;
  font-size: 19px;
  line-height: 1.62;
}

.light-route .eyebrow {
  color: #0b8f63;
  background: rgba(34, 226, 155, 0.12);
  border-color: rgba(12, 143, 100, 0.24);
}

.pay-demo-panel {
  border: 1px solid rgba(13, 24, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 80px rgba(28, 45, 38, 0.16);
  overflow: hidden;
}

.pay-demo-top {
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(13, 24, 31, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5d6873;
  font-size: 13px;
}

.pay-demo-top span:last-child {
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #087c56;
  background: rgba(34, 226, 155, 0.14);
  font-weight: 760;
}

.pay-demo-main {
  padding: 30px;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.pay-demo-main .qr-wrap {
  width: 220px;
  flex-basis: 220px;
  box-shadow: 0 12px 34px rgba(30, 40, 52, 0.14);
}

.pay-demo-main .simple-amount {
  color: #11161c;
}

.pay-demo-main .simple-amount span,
.pay-demo-main .simple-copy {
  color: #66717d;
}

.rail-section {
  border-top: 1px solid rgba(10, 18, 24, 0.1);
  padding: 38px 0 28px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
}

.rail-kicker {
  display: block;
  margin-bottom: 12px;
  color: #0b8f63;
  font-weight: 760;
  font-size: 13px;
}

.rail-section h2 {
  margin: 0;
  color: #11161c;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rail-grid article {
  min-height: 116px;
  border-top: 2px solid #11161c;
  padding-top: 14px;
}

.rail-grid strong {
  display: block;
  color: #11161c;
  font-size: 18px;
  margin-bottom: 8px;
}

.rail-grid span {
  color: #5b6570;
  line-height: 1.48;
  font-size: 14px;
}

.compact-home {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.pay-page {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.pay-card {
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(13, 16, 22, 0.92);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.checkout-pay-card {
  margin-top: 8px;
}

.mini-pay-card {
  justify-self: end;
}

.pay-card-head {
  min-height: 72px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.pay-card-body {
  padding: 20px;
}

.qr-center {
  display: grid;
  place-items: center;
  margin: 4px 0 18px;
}

.qr-center .qr-wrap {
  width: 190px;
  flex-basis: 190px;
}

.simple-amount {
  text-align: center;
  font-size: 44px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0;
}

.simple-amount span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.simple-copy {
  max-width: 310px;
  margin: 10px auto 18px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
  font-size: 14px;
}

.token-strip,
.compact-token-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.token-strip span,
.compact-token {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 760;
  font-size: 13px;
}

.compact-token {
  padding: 0 8px;
}

.compact-token.active {
  color: var(--text);
  border-color: rgba(34, 226, 155, 0.76);
  background: rgba(34, 226, 155, 0.1);
}

.compact-token .token-icon {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.clean-summary {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  padding: 10px 12px;
}

.clean-summary div {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.clean-summary span {
  color: var(--muted);
}

.clean-summary strong {
  text-align: right;
  font-size: 13px;
}

.pay-action {
  width: 100%;
  margin-top: 16px;
}

.pay-link-btn {
  width: 100%;
  margin-top: 8px;
}

.pay-card-foot {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.docs-page {
  max-width: 1040px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 26, 0.86);
  padding: 10px;
}

.docs-sidebar a {
  min-height: 36px;
  border-radius: 7px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.docs-sidebar a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.docs-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 26, 0.9);
  padding: 30px;
}

.docs-content h1 {
  margin: 18px 0 10px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
}

.docs-content p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.docs-lede {
  max-width: 720px;
  font-size: 18px;
}

.doc-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 26px;
}

.doc-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.doc-list {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--soft);
  line-height: 1.7;
}

.code-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.api-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.api-table div {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
}

.api-table div:first-child {
  border-top: 0;
}

.api-table code {
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.api-table span {
  color: var(--muted);
  font-size: 14px;
}

.disclaimer {
  border: 1px solid rgba(34, 226, 155, 0.22);
  border-radius: 8px;
  background: rgba(34, 226, 155, 0.06);
  padding: 14px 16px;
  color: var(--soft) !important;
}

.light-route .docs-sidebar,
.light-route .docs-content {
  border-color: rgba(10, 18, 24, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 60px rgba(28, 45, 38, 0.1);
}

.light-route .docs-sidebar a {
  color: #5b6570;
}

.light-route .docs-sidebar a:hover {
  color: #101318;
  background: rgba(10, 18, 24, 0.05);
}

.light-route .docs-content h1,
.light-route .doc-section h2 {
  color: #11161c;
}

.light-route .docs-content p,
.light-route .doc-list,
.light-route .api-table span {
  color: #53606b;
}

.light-route .doc-section {
  border-top-color: rgba(10, 18, 24, 0.12);
}

.light-route .code-card,
.light-route .api-table {
  border-color: rgba(10, 18, 24, 0.12);
  background: rgba(255, 255, 255, 0.64);
}

.light-route .api-table div {
  border-top-color: rgba(10, 18, 24, 0.1);
}

.light-route .code-card,
.light-route .api-table code {
  color: #087c56;
}

.light-route .disclaimer {
  border-color: rgba(8, 124, 86, 0.18);
  background: rgba(34, 226, 155, 0.1);
  color: #34404a !important;
}

.light-route .panel,
.light-route .pay-card,
.light-route .checkout-card,
.light-route .review-panel {
  border-color: rgba(10, 18, 24, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 60px rgba(28, 45, 38, 0.1);
}

.light-route .panel h2,
.light-route .panel h3,
.light-route .pay-card strong,
.light-route .simple-amount,
.light-route .clean-summary strong,
.light-route .summary-line strong {
  color: #11161c;
}

.light-route .panel p,
.light-route .note,
.light-route .simple-copy,
.light-route .pay-card-foot,
.light-route .summary-line span,
.light-route .clean-summary span,
.light-route .field label,
.light-route .footnote {
  color: #5b6570;
}

.light-route .pay-card-head,
.light-route .pay-card-foot,
.light-route .divider {
  border-color: rgba(10, 18, 24, 0.1);
}

.light-route .clean-summary,
.light-route .summary-box,
.light-route .field input,
.light-route .field select {
  border-color: rgba(10, 18, 24, 0.12);
  background: rgba(255, 255, 255, 0.66);
  color: #11161c;
}

.light-route .compact-token,
.light-route .select-token,
.light-route .token-chip {
  border-color: rgba(10, 18, 24, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: #17202a;
}

.light-route .compact-token.active,
.light-route .select-token.active {
  border-color: rgba(8, 124, 86, 0.4);
  background: rgba(34, 226, 155, 0.14);
}

.light-route .status-pill {
  color: #087c56;
  background: rgba(34, 226, 155, 0.14);
}

.light-route .pay-page {
  min-height: calc(100vh - 180px);
}

.light-route .pay-link-btn {
  color: #34404a;
}

.light-route .pay-link-btn:hover {
  color: #087c56;
  background: rgba(34, 226, 155, 0.08);
  border-color: rgba(8, 124, 86, 0.18);
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.hide {
  display: none !important;
}

@media (max-width: 920px) {
  .hero-grid,
  .layout-grid,
  .checkout-body,
  .pay-hero,
  .rail-section,
  .docs-page {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 26px;
  }

  .phone-card {
    max-width: 460px;
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-hero {
    flex-direction: column;
  }

  .pay-demo-panel {
    max-width: 430px;
  }

  .rail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }

  .docs-sidebar a {
    width: auto;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
  }

  .nav a,
  .nav button {
    width: auto;
  }

  .nav a {
    justify-content: flex-start;
  }

  .main {
    padding-top: 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .pay-hero {
    gap: 30px;
    padding-bottom: 42px;
  }

  .pay-hero-copy h1 {
    font-size: 46px;
  }

  .pay-hero-copy p {
    font-size: 17px;
  }

  .trust-row,
  .two-col,
  .rail-grid {
    grid-template-columns: 1fr;
  }

  .checkout-hero,
  .checkout-body,
  .panel,
  .phone-body,
  .docs-content {
    padding: 16px;
  }

  .docs-content h1 {
    font-size: 40px;
  }

  .api-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .amount {
    font-size: 44px;
  }

  .qr-wrap {
    width: 144px;
    flex-basis: 144px;
  }
}
