:root {
  color-scheme: dark;
  --bg: #0a0e1b;
  --sidebar: #0f172a;
  --panel: #121a2e;
  --panel-2: #1a243c;
  --field: #0a0e1b;
  --line: #293857;
  --text: #f5faff;
  --muted: #94a6bf;
  --accent: #00d084;
  --accent-2: #00b875;
  --accent-text: #07111f;
  --warn: #ffb838;
  --danger: #ff6b6b;
  --shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
  --nav-bg: rgba(10, 14, 27, 0.9);
  --menu-bg: rgba(18, 26, 46, 0.98);
  --hero-gradient: linear-gradient(135deg, var(--sidebar) 0%, #0c1426 58%, var(--bg) 100%);
  --soft-panel: rgba(18, 26, 46, 0.5);
  --success-soft: rgba(0, 208, 132, 0.08);
  --backdrop: rgba(10, 14, 27, 0.68);
  --dashboard-glow: rgba(10, 14, 27, 0.8);
  --modal-backdrop: rgba(10, 14, 27, 0.72);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fb;
  --sidebar: #ffffff;
  --panel: #ffffff;
  --panel-2: #eef3f8;
  --field: #f7fafc;
  --line: #d9e2ec;
  --text: #172033;
  --muted: #66758a;
  --accent: #00a86b;
  --accent-2: #008f5f;
  --accent-text: #ffffff;
  --warn: #c98616;
  --danger: #dc4f4f;
  --shadow: 0 18px 35px rgba(21, 32, 51, 0.11);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --menu-bg: rgba(255, 255, 255, 0.98);
  --hero-gradient: linear-gradient(135deg, #f7fafc 0%, #eef6f2 52%, #e9f0f8 100%);
  --soft-panel: rgba(255, 255, 255, 0.68);
  --success-soft: rgba(0, 168, 107, 0.1);
  --backdrop: rgba(23, 32, 51, 0.34);
  --dashboard-glow: rgba(255, 255, 255, 0.78);
  --modal-backdrop: rgba(23, 32, 51, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

[dir="rtl"] body {
  font-family: Inter, Tahoma, Arial, ui-sans-serif, system-ui, sans-serif;
}

[dir="rtl"] .nav-inner,
[dir="rtl"] .app-top,
[dir="rtl"] .footer-bottom,
[dir="rtl"] .payment-layout,
[dir="rtl"] .checkout-status-grid {
  direction: rtl;
}

[dir="rtl"] input,
[dir="rtl"] textarea {
  direction: rtl;
}

[dir="rtl"] code,
[dir="rtl"] pre,
[dir="rtl"] input[type="email"],
[dir="rtl"] input[name*="Url"],
[dir="rtl"] input[name*="url"],
[dir="rtl"] input[name*="Address"],
[dir="rtl"] input[name*="address"] {
  direction: ltr;
  text-align: left;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

button {
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.brand-figma-logo {
  width: 300px;
  height: 75px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.site-nav .brand-figma-logo,
.hero-nav .brand-figma-logo {
  width: 230px;
  height: 58px;
}

.public-mobile-menu .brand-figma-logo,
.footer-brand .brand-figma-logo {
  width: 300px;
  height: 75px;
}

.sidebar .brand-figma-logo {
  width: 210px;
  height: auto;
}

.brand-name {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  flex: 0 0 40px;
}

.btn {
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary,
.btn-muted {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.form.is-submitting .btn[type="submit"] {
  opacity: 0.72;
  cursor: wait;
  position: relative;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.hero-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  background: transparent;
}

.nav-inner,
.section-inner,
.footer-inner {
  width: min(1264px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links,
.nav-actions,
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 12px;
}

.theme-toggle {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.language-select {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.language-select span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.language-select select {
  width: 154px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  padding: 0 36px 0 14px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.language-select-wide,
.language-select-wide select {
  width: 100%;
}

.language-select-compact select {
  width: 104px;
  min-height: 44px;
  padding: 0 28px 0 12px;
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.language-select select:hover,
.language-select select:focus {
  border-color: var(--accent);
  outline: none;
}

.theme-toggle-wide {
  width: 100%;
  min-height: 44px;
}

.theme-toggle-icon {
  width: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 12px;
}

.nav-links {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.public-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  place-items: center;
  gap: 4px;
  padding: 10px;
  cursor: pointer;
}

.public-mobile-controls {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.public-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.public-mobile-menu {
  position: absolute;
  top: calc(100% - 12px);
  right: 24px;
  width: min(320px, calc(100vw - 28px));
  z-index: 50;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--menu-bg);
  box-shadow: var(--shadow);
}

.public-mobile-menu-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.public-mobile-menu-head button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--field);
  color: var(--text);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-inner {
    position: relative;
    min-height: 82px;
  }

  .site-nav .brand,
  .hero-nav .brand {
    flex: 0 1 230px;
    min-width: 0;
  }

  .site-nav .brand-figma-logo,
  .hero-nav .brand-figma-logo {
    width: min(220px, 100%);
    height: auto;
  }

  .public-menu-button {
    display: grid;
  }

  .public-mobile-controls {
    display: flex;
    margin-left: auto;
  }

  .public-mobile-controls .language-select {
    order: 1;
  }

  .public-mobile-controls .theme-toggle {
    order: 2;
  }

  .public-mobile-controls .public-menu-button {
    order: 3;
  }

  .public-mobile-menu:not(.hidden) {
    display: grid;
  }
}

.public-mobile-menu a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.public-mobile-menu a:hover {
  background: var(--panel-2);
  color: var(--text);
}

.public-mobile-menu-actions {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.public-mobile-menu-actions .btn {
  width: 100%;
}

.hero {
  min-height: 940px;
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
}

.hero-media {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1264px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.52fr);
  gap: 36px;
  align-items: start;
}

.hero-copy {
  padding-top: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 208, 132, 0.28);
  background: var(--success-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 24px;
  box-shadow: 0 12px 24px rgba(0, 208, 132, 0.08);
}

.launch-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 208, 132, 0.12);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: clamp(48px, 6.2vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.42;
  margin: 16px 0 28px;
}

.hero-proof {
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 18px;
  grid-column: 1 / -1;
  width: 100%;
}

.supported-assets-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.supported-assets-inner {
  display: grid;
  gap: 10px;
}

.supported-assets-group {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  align-items: center;
  padding: 4px 0;
}

.supported-assets-group > strong {
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
}

.supported-assets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.asset-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  padding: 4px 14px 4px 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.asset-pill i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(148, 166, 191, 0.18);
  font-style: normal;
  overflow: hidden;
  flex: 0 0 30px;
}

.asset-pill img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.proof-item,
.feature,
.about-panel,
.step,
.faq-item,
.pricing-card,
.cta-panel,
.auth-card,
.app-card,
.table-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 96px;
  padding: 18px 20px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.proof-item strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 0;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-dashboard {
  width: 590px;
  max-width: 100%;
  min-height: 520px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.hero-checkout-visual {
  width: 100%;
  max-width: 100%;
  justify-self: center;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: 488px;
  overflow: hidden;
  transform: translateX(-56px);
}

.phone-device {
  width: min(430px, 100%);
  max-width: 100%;
  aspect-ratio: 9 / 18.8;
  position: relative;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(145deg, #1c2430, #05070b 58%, #283441);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.38), 0 0 0 8px rgba(255, 255, 255, 0.025);
}

:root[data-theme="light"] .phone-device {
  padding: 1px;
  background: #d9e2ec;
  border-color: transparent;
  box-shadow: 0 22px 36px rgba(21, 32, 51, 0.12);
}

.phone-device::before,
.phone-device::after {
  content: "";
  position: absolute;
  width: 4px;
  border-radius: 999px;
  background: #202a36;
  left: -5px;
}

:root[data-theme="light"] .phone-device::before,
:root[data-theme="light"] .phone-device::after {
  display: none;
}

.phone-device::before {
  top: 84px;
  height: 42px;
}

.phone-device::after {
  top: 140px;
  height: 62px;
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 72px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #05070b;
}

:root[data-theme="light"] .phone-speaker {
  background: #172033;
}

.phone-speaker::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 28px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #202a36;
}

:root[data-theme="light"] .phone-speaker::after {
  background: #526174;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: var(--field);
}

:root[data-theme="light"] .phone-screen,
:root[data-theme="light"] .checkout-preview-card {
  background: #f8fbff;
}

:root[data-theme="light"] .phone-screen {
  border-radius: 33px;
}

.checkout-preview-card {
  min-height: 100%;
  border-radius: 0;
  border: 0;
  background: var(--field);
  padding: 40px 13px 13px;
}

.checkout-preview-head,
.checkout-network-row,
.checkout-pay-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout-preview-head span,
.checkout-amount span,
.checkout-section-label,
.checkout-network-row span,
.checkout-pay-area span,
.checkout-pay-area small,
.checkout-footnote {
  color: var(--muted);
  font-size: 11px;
}

.checkout-preview-head strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
}

.checkout-status {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent) !important;
  font-weight: 900;
}

.checkout-amount {
  margin: 14px 0 13px;
  padding: 13px;
  border-radius: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.checkout-amount strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 27px;
  line-height: 1;
}

.checkout-section-label {
  margin-bottom: 9px;
  font-weight: 800;
}

.checkout-assets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.checkout-assets button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.checkout-assets button.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.checkout-assets img {
  width: 15px;
  height: 15px;
}

.checkout-network-row {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.checkout-network-row strong {
  color: var(--text);
  font-size: 12px;
}

.checkout-pay-area {
  align-items: stretch;
  padding: 10px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.checkout-pay-area strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 12px;
}

.checkout-pay-area small {
  display: block;
}

.checkout-qr {
  width: 56px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 9px;
  background:
    linear-gradient(90deg, var(--text) 10px, transparent 10px 18px, var(--text) 18px 28px, transparent 28px),
    linear-gradient(var(--text) 10px, transparent 10px 18px, var(--text) 18px 28px, transparent 28px),
    var(--bg);
  background-size: 36px 36px;
  border: 6px solid #fff;
  position: relative;
}

:root[data-theme="light"] .checkout-qr {
  background:
    linear-gradient(90deg, #172033 10px, transparent 10px 18px, #172033 18px 28px, transparent 28px),
    linear-gradient(#172033 10px, transparent 10px 18px, #172033 18px 28px, transparent 28px),
    #ffffff;
  border-color: #ffffff;
}

.checkout-qr span {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
}

.checkout-qr span:first-child { left: 8px; top: 8px; }
.checkout-qr span:nth-child(2) { right: 8px; top: 8px; }
.checkout-qr span:nth-child(3) { left: 8px; bottom: 8px; }
.checkout-qr span:nth-child(4) { right: 24px; bottom: 24px; }

.checkout-pay-button {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-weight: 900;
}

:root[data-theme="light"] .checkout-pay-button {
  color: #ffffff;
}

.checkout-footnote {
  margin-top: 9px;
  text-align: center;
  font-size: 10px;
}

.hero-dashboard-top {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--field);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  margin-bottom: 26px;
  font-weight: 800;
}

.live-pill {
  background: var(--accent);
  color: var(--bg);
  border-radius: 999px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
}

.hero-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.hero-dashboard-metrics div {
  min-height: 96px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
}

.hero-dashboard-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}

.hero-dashboard-metrics strong {
  display: block;
  color: var(--text);
  font-size: 24px;
}

.mock-chart {
  height: 162px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--field);
  display: flex;
  align-items: end;
  gap: 28px;
  padding: 24px 30px;
  margin-bottom: 22px;
}

.mock-chart span {
  width: 26px;
  border-radius: 8px;
  background: var(--panel-2);
}

.mock-chart span:nth-child(even) {
  background: var(--accent);
}

.client-flow-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--field);
  padding: 18px;
}

.client-flow-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
}

.client-flow-card div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.client-flow-card span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.client-flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.hero-rows h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.deposit-row,
.console-table div {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--dashboard-glow);
  color: var(--text);
  padding: 0 18px;
  font-size: 13px;
  margin-top: 10px;
  min-width: 0;
}

.deposit-row em,
.console-table em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.gateway-strip {
  background: var(--sidebar);
}

.gateway-strip-inner {
  display: none;
}

.section {
  padding: 68px 0;
  background: var(--bg);
}

.section-white {
  background: var(--bg);
}

.section-head {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2 {
  margin: 0;
  max-width: 680px;
  color: var(--text);
  font-size: 46px;
  line-height: 1.22;
}

.section-head p,
.muted {
  color: var(--muted);
  line-height: 1.45;
}

.section-head p {
  margin: 0;
  max-width: 600px;
  font-size: 18px;
}

.feature-grid,
.about-grid,
.steps-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-grid {
  grid-template-columns: 1.25fr 0.75fr;
}

.feature,
.about-panel,
.step,
.faq-item,
.pricing-card {
  padding: 28px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg);
  margin-bottom: 18px;
  font-weight: 900;
}

.feature h3,
.step h3,
.about-panel h3,
.faq-item h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 20px;
}

.feature p,
.step p,
.about-panel p,
.faq-item p,
.tool-list p,
.pricing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-lines {
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.about-lines span {
  display: block;
}

.about-paragraph {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-list div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.check {
  color: var(--accent);
  font-weight: 900;
}

.tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.console-preview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  color: var(--text);
  min-height: 360px;
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.console-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--panel-2);
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.console-metrics div {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.console-metrics strong {
  display: block;
  font-size: 24px;
}

.console-metrics span,
.console-table span,
.client-preview-meta span {
  color: var(--muted);
  font-size: 12px;
}

.console-table {
  display: grid;
  gap: 10px;
}

.client-preview {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.client-preview h3 {
  margin: 10px 0;
  color: var(--text);
  font-size: 32px;
}

.client-preview p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 18px;
}

.address-preview {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 800;
  padding: 0 16px;
  margin-bottom: 16px;
}

.readonly-demo {
  opacity: 0.58;
  pointer-events: none;
}

.client-preview-meta {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.client-preview-meta div {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  padding: 0 16px;
}

.client-preview-meta strong {
  color: var(--text);
  font-size: 14px;
}

.tool-list {
  display: grid;
  gap: 12px;
}

.tool-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.tool-list h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg);
  font-weight: 900;
  margin-bottom: 18px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 16px;
}

.pricing-grid-single {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  align-items: stretch;
}

.pricing-grid-plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  min-height: 274px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.pricing-grid-plans .pricing-card {
  min-height: 340px;
}

.pricing-grid-plans .pricing-card .btn {
  margin-top: auto;
}

.dashboard-plan-grid {
  grid-column: 1 / -1;
  margin-top: 0;
}

.dashboard-plan-card {
  min-height: 300px;
}

.recommended-ribbon {
  position: absolute;
  top: 18px;
  right: -38px;
  width: 150px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(36deg);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 208, 132, 0.22);
}

.recommended-plan {
  padding-top: 30px;
}

.pricing-card.featured {
  background:
    linear-gradient(135deg, rgba(0, 208, 132, 0.12), transparent 42%),
    var(--panel);
  border-color: rgba(0, 208, 132, 0.32);
}

.pricing-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

.pricing-card strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.pricing-card:not(.featured) strong {
  color: var(--accent);
  font-size: 20px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.pricing-badge {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--accent);
  background: var(--success-soft);
  border: 1px solid rgba(0, 208, 132, 0.24);
  font-size: 12px;
  font-weight: 900;
}

.price-line {
  display: grid;
  gap: 4px;
  margin: 2px 0 2px;
}

.price-line strong {
  font-size: clamp(42px, 6vw, 58px);
  color: var(--text);
}

.price-line span {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.pricing-note {
  min-height: 274px;
  display: grid;
  gap: 12px;
}

.pricing-note div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
}

.pricing-note span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
}

.pricing-note strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

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

.cta-panel {
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-panel h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 44px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 30px;
  align-items: start;
}

.contact-copy h2 {
  margin: 8px 0 12px;
  color: var(--text);
  font-size: 44px;
  line-height: 1.08;
}

.contact-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-layout {
  max-width: 980px;
}

.legal-card h1 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: 44px;
}

.legal-block {
  padding-top: 18px;
  margin-top: 18px;
}

.legal-block h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
}

.legal-block p,
.legal-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-list {
  padding-left: 20px;
}

.legal-list > li {
  margin: 8px 0;
}

.legal-list ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.legal-list ul li {
  margin: 5px 0;
}

.footer {
  background: var(--bg);
  color: var(--muted);
  padding: 42px 0;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer-about {
  max-width: 390px;
}

.footer h3,
.footer h4 {
  color: var(--text);
  margin: 0 0 12px;
}

.footer p {
  margin: 0 0 8px;
  line-height: 1.55;
}

.footer a:hover {
  color: var(--text);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand .brand-figma-logo {
  width: 300px;
  height: 75px;
}

.footer-bottom {
  width: min(1264px, calc(100% - 48px));
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alert-icon {
  color: var(--warn);
}

.auth-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 42px 20px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 208, 132, 0.14) 0 180px, transparent 182px),
    radial-gradient(circle at 86% 76%, rgba(59, 130, 246, 0.12) 0 220px, transparent 222px),
    var(--bg);
}

.auth-visual {
  color: var(--text);
  width: min(760px, 100%);
  padding: 0;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0;
}

.auth-visual-copy {
  align-self: auto;
  transform: none;
}

.auth-visual .brand {
  justify-content: center;
  transform: translateX(20%);
}

.auth-visual .brand-figma-logo {
  width: 300px;
  height: 75px;
}

.auth-visual h1 {
  max-width: 620px;
  font-size: 34px;
  line-height: 1.12;
  margin-bottom: 10px;
}

.auth-visual p {
  color: var(--muted);
  max-width: 600px;
  line-height: 1.55;
  margin: 0 auto;
}

.auth-main {
  width: min(760px, 100%);
  display: block;
  padding: 0;
}

.auth-card {
  width: 100%;
  padding: 40px;
  border-radius: 24px;
}

.social-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.social-btn {
  min-height: 42px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.social-btn:hover {
  border-color: rgba(0, 208, 132, 0.72);
  background: var(--panel-2);
  transform: translateY(-1px);
}

.social-btn-google {
  background: #ffffff;
  color: #1f2937;
  border-color: #dadce0;
}

.social-btn-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.social-btn-github {
  background: #24292f;
  color: #ffffff;
  border-color: #24292f;
}

.social-btn-github:hover {
  background: #1f2328;
  border-color: #1f2328;
}

.social-mark {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.social-mark svg {
  width: 18px;
  height: 18px;
  display: block;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2px 0 18px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.auth-card h2,
.app-card h2,
.table-card h2 {
  margin: 0 0 8px;
  color: var(--text);
}

.form {
  display: grid;
  gap: 18px;
}

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

.two-col-form .full,
.two-col-form .btn[type="submit"] {
  grid-column: 1 / -1;
}

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

.auth-submit-wide {
  grid-column: 1 / -1;
}

.auth-form-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.password-wrap {
  position: relative;
  display: block;
}

.password-wrap input {
  padding-right: 56px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  min-height: 38px;
  border-radius: 10px;
  padding: 0;
  background: var(--panel-2);
  color: var(--muted);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toggle-row {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.toggle-row span {
  display: grid;
  gap: 6px;
}

.toggle-row strong {
  color: var(--text);
}

.toggle-row small {
  color: var(--muted);
  line-height: 1.4;
}

.toggle-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.settings-divider {
  height: 1px;
  background: var(--line);
  opacity: 0.85;
  margin: 2px 0;
}

.policy-rows {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  min-width: 0;
}

.policy-rows div {
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  min-width: 0;
}

.payment-detail-panel .policy-rows div {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
}

.payment-detail-panel .policy-rows strong,
.payment-detail-panel .policy-rows a {
  width: 100%;
  text-align: left;
}

.policy-rows span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}

.policy-rows strong {
  display: block;
  flex: 1 1 auto;
  color: var(--text);
  text-align: right;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.policy-rows a {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.scope-list label,
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.scope-list input,
.checkbox-line input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.credential-list {
  display: grid;
  gap: 14px;
}

.dns-record {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
}

.dns-record span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.provider-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.instruction-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.instruction-list div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.instruction-list strong {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg);
}

.instruction-list span {
  color: var(--muted);
  line-height: 1.45;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--modal-backdrop);
  padding: 20px;
}

.modal-card {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.modal-card h2 {
  margin: 0;
}

.modal-body {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.checkbox-line {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  line-height: 1.45;
}

.checkbox-line input {
  width: auto;
  margin-top: 3px;
}

.authenticator-setup {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.authenticator-setup img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.authenticator-setup label {
  width: 100%;
}

.narrow {
  max-width: 760px;
}

.payment-hosted {
  min-height: 70vh;
}

.checkout-shell {
  min-height: 100svh;
  padding: 28px 18px;
  display: grid;
  align-items: center;
}

.checkout-inner {
  width: min(100%, 1120px);
  max-width: calc(100vw - 36px);
  margin: 0 auto;
}

.checkout-success-shell {
  position: relative;
  overflow: hidden;
  align-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 208, 132, 0.16), transparent 38%),
    var(--bg);
}

.checkout-success-inner {
  width: min(100%, 720px);
  max-width: calc(100vw - 36px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.checkout-success-card {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
  padding: clamp(28px, 6vw, 52px);
  overflow: hidden;
}

.success-mark {
  width: 86px;
  height: 86px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg);
  font-size: 48px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 20px 48px rgba(0, 208, 132, 0.26);
  animation: success-pop 0.75s ease both;
}

.checkout-success-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.checkout-success-copy span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-success-copy h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.04;
}

.checkout-success-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 560px;
}

.success-merchant-head {
  justify-content: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
}

.success-merchant-head img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.success-summary {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.success-summary div {
  min-width: 0;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 14px 16px;
  text-align: left;
}

.success-summary div:last-child {
  grid-column: 1 / -1;
}

.success-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.success-summary strong,
.success-summary a {
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.checkout-success-actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

.checkout-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.checkout-confetti span {
  position: absolute;
  top: 42px;
  left: 50%;
  width: 9px;
  height: 15px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0;
  transform: rotate(calc(var(--i) * 18deg));
  animation: checkout-confetti-fall 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.09s);
}

.checkout-success-card > :not(.checkout-confetti) {
  position: relative;
  z-index: 1;
}

.checkout-confetti span:nth-child(3n) {
  background: #f8d66d;
}

.checkout-confetti span:nth-child(4n) {
  background: #7dd3fc;
}

.checkout-confetti span:nth-child(5n) {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.checkout-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--field);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.checkout-alert.warn {
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.1);
}

.checkout-alert strong {
  color: var(--text);
  white-space: nowrap;
}

.checkout-alert span {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.payment-card {
  display: grid;
  gap: 22px;
  width: 100%;
}

.payment-status-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.checkout-countdown {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-countdown.expired {
  color: var(--danger);
}

.payment-merchant-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-merchant-head img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.payment-merchant-head h1 {
  margin: 0;
}

.invoice-title-block {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft-panel);
  padding: 16px;
}

.invoice-title-block span,
.invoice-title-block small,
.invoice-title-block p {
  color: var(--muted);
}

.invoice-title-block strong {
  color: var(--text);
  font-size: 22px;
}

.invoice-title-block p {
  margin: 0;
  line-height: 1.5;
}

.payment-amount {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--text);
  font-weight: 900;
  text-align: center;
  padding: 8px 0 4px;
  min-width: 0;
}

.payment-amount strong {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.payment-amount span {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0;
}

.payment-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.payment-qr-panel,
.payment-detail-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.payment-qr-panel {
  justify-items: center;
}

.payment-qr-panel > img {
  width: 240px;
  height: 240px;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}

.payment-qr-panel label {
  width: 100%;
}

.payment-qr-panel input {
  width: 100%;
  min-width: 0;
}

.account-deposit-result {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.account-deposit-result .policy-rows {
  margin-top: 0;
}

.account-deposit-qr {
  justify-items: start;
}

.account-deposit-qr > img {
  justify-self: start;
}

.account-deposit-checkout {
  padding: 0;
}

.account-deposit-checkout .payment-card {
  width: 100%;
  max-width: none;
}

.account-deposit-payline {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 0 2px;
  text-align: center;
}

.account-deposit-payline span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.account-deposit-payline strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
}

.copy-inline {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: var(--field);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.copy-inline:hover {
  border-color: var(--accent);
}

.payment-instructions {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--soft-panel);
}

.payment-instructions strong {
  color: var(--text);
}

.payment-instructions p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.payment-poll {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
  font-weight: 800;
}

.payment-poll-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account-deposit-poll {
  justify-content: flex-start;
  border-top: 0;
  padding-top: 4px;
}

.payment-footer-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(148, 163, 184, 0.28);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.payment-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(22, 199, 132, 0.14);
}

.payment-dot.expired {
  background: var(--warn);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.14);
}

.success-celebration {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(0, 208, 132, 0.38);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.18), rgba(18, 26, 46, 0.72));
  box-shadow: 0 18px 30px rgba(0, 208, 132, 0.08);
}

.success-check {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg);
  font-size: 28px;
  font-weight: 900;
  animation: success-pop 0.7s ease both;
}

.success-celebration strong {
  color: var(--text);
  font-size: 18px;
}

.success-celebration p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.success-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.success-burst span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  animation: success-confetti 1.5s ease-out infinite;
}

.success-burst span:nth-child(1) {
  left: 18%;
  top: 18%;
  animation-delay: 0s;
}

.success-burst span:nth-child(2) {
  left: 42%;
  top: 12%;
  background: #f8d66d;
  animation-delay: 0.15s;
}

.success-burst span:nth-child(3) {
  right: 18%;
  top: 24%;
  animation-delay: 0.3s;
}

.success-burst span:nth-child(4) {
  left: 28%;
  bottom: 18%;
  background: #7dd3fc;
  animation-delay: 0.45s;
}

.success-burst span:nth-child(5) {
  right: 34%;
  bottom: 16%;
  animation-delay: 0.6s;
}

.success-burst span:nth-child(6) {
  right: 12%;
  bottom: 32%;
  background: #f8d66d;
  animation-delay: 0.75s;
}

@keyframes success-pop {
  0% {
    transform: scale(0.72);
    opacity: 0;
  }
  65% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes success-confetti {
  0% {
    transform: translateY(8px) scale(0.5);
    opacity: 0;
  }
  25% {
    opacity: 0.95;
  }
  100% {
    transform: translateY(-34px) scale(1);
    opacity: 0;
  }
}

@keyframes checkout-confetti-fall {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  100% {
    transform: translate3d(calc((var(--i) - 11) * 18px), 460px, 0) rotate(540deg);
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

.form-section {
  display: grid;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-section h2 {
  margin: 0;
  font-size: 18px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.check-row {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
}

.check-row span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.form-field {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field-label {
  display: block;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--text);
  padding: 0 16px;
}

.fee-control {
  position: relative;
}

.fee-control input {
  padding-right: 126px;
}

.fee-type-switch {
  position: absolute;
  right: 6px;
  top: 6px;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(42px, auto));
  gap: 3px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.fee-type-switch label {
  display: block;
  cursor: pointer;
  min-width: 0;
}

.fee-type-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fee-type-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.fee-type-switch input:checked + span {
  background: var(--accent);
  color: white;
}

.table-select {
  min-height: 36px;
  max-width: 190px;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 13px;
}

.transaction-filter-card {
  gap: 16px;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-head h2,
.filter-head p {
  margin: 0;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
}

.asset-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 230px;
}

.asset-toggle-group.wide {
  min-width: 0;
}

.asset-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 0;
  cursor: pointer;
}

.asset-toggle input {
  width: 14px;
  height: 14px;
  min-height: 0;
  padding: 0;
  accent-color: var(--accent);
}

.asset-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--field);
  font-size: 12px;
  white-space: nowrap;
}

.checkout-asset-selector {
  display: grid;
  gap: 16px;
}

.checkout-asset-selector > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.switch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

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

.currency-option {
  position: relative;
  min-width: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.currency-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.currency-option span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.currency-option small {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

.currency-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--success-soft);
  color: var(--text);
}

.currency-switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.18s ease;
}

.currency-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.currency-option input:checked ~ .currency-switch {
  background: var(--accent);
}

.currency-option input:checked ~ .currency-switch::after {
  transform: translateX(16px);
}

.inline-empty {
  grid-column: 1 / -1;
}

.setup-list {
  display: grid;
  gap: 16px;
}

.setup-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft-panel);
}

.setup-list h3,
.setup-list p {
  margin: 0;
}

.setup-list p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.setup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.api-key-list,
.api-key-settings-list {
  display: grid;
  gap: 10px;
}

.api-key-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft-panel);
}

.api-key-row-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.api-key-row-main strong {
  color: var(--text);
  font-size: 15px;
}

.api-key-row-main code {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.api-key-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.api-key-settings-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft-panel);
}

.api-key-edit-card {
  display: grid;
  gap: 18px;
}

.api-key-settings-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.api-key-settings-head h2,
.api-key-settings-head h3,
.api-key-settings-head p {
  margin: 0;
}

.brand-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  font-weight: 800;
}

.brand-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.inline-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.inline-form select {
  min-height: 36px;
  padding: 0 34px 0 10px;
  font-size: 13px;
}

textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.logo-upload {
  display: grid;
  gap: 10px;
}

.logo-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.logo-upload-box {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--soft-panel);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.logo-upload-box:hover,
.logo-upload input[type="file"]:focus + .logo-upload-box {
  border-color: var(--accent);
  background: var(--success-soft);
}

.logo-preview {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--field);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-upload-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.logo-upload-copy strong {
  color: var(--text);
  font-size: 15px;
}

.logo-upload-copy small,
.logo-upload-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.app-shell {
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--bg);
  overflow: hidden;
}

.mobile-menu-button,
.sidebar-backdrop {
  display: none;
}

.mobile-app-header {
  display: none;
}

.mobile-menu-button {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  place-items: center;
  gap: 4px;
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--backdrop);
}

.sidebar {
  background: var(--sidebar);
  color: var(--text);
  padding: 28px 20px;
  width: 260px;
  max-width: 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 38px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.side-nav {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.side-nav a {
  color: var(--muted);
  min-height: 42px;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-nav a.active,
.side-nav a:hover {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
}

.sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding: 0 22px;
  min-width: 0;
}

.sidebar .brand {
  max-width: 100%;
  min-width: 0;
}

.sidebar .brand-figma-logo {
  max-width: 100%;
}

.sidebar-foot .muted {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-main {
  padding: 42px 44px;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
}

.app-theme-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-small {
  min-height: 34px;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 12px;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.switch {
  display: inline-block;
  position: relative;
  width: 44px;
  height: 24px;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  cursor: pointer;
}

.switch span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 2px;
  left: 3px;
  border-radius: 50%;
  background: var(--muted);
  transition: 0.18s ease;
}

.switch input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
}

.switch input:checked + span::after {
  left: 21px;
  background: var(--bg);
}

.app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.app-top h1 {
  margin: 0;
  color: var(--text);
  font-size: 32px;
}

.app-top p {
  margin: 6px 0 0;
  color: var(--muted);
}

.app-top > div:first-child {
  min-width: 0;
}

.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  width: 100%;
}

.dashboard-actions {
  flex-wrap: nowrap;
  gap: 10px;
  margin-left: auto;
  margin-right: 0;
  padding-left: 20px;
  justify-content: flex-end;
  justify-self: end;
  text-align: right;
  width: max-content;
}

.dashboard-actions .language-select select {
  width: 146px;
}

.dashboard-actions .theme-toggle-icon {
  flex: 0 0 46px;
}

.dashboard-actions .btn {
  min-height: 42px;
  white-space: nowrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 32px;
}

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

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.status-strip div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.status-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.status-strip strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.status-strip small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-strip small b {
  font-weight: 900;
}

.status-good {
  color: var(--accent) !important;
}

.status-warn {
  color: var(--warn) !important;
}

.status-danger {
  color: var(--danger) !important;
}

.network-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.network-status-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.network-status-card > div:first-child {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.network-status-card span,
.network-status-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.network-status-card strong {
  color: var(--text);
  font-size: 20px;
}

.network-status-card > div:nth-child(2),
.network-status-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.network-status-meta strong {
  font-size: 14px;
}

.status-page .section-head {
  align-items: start;
  margin-bottom: 24px;
}

.status-page h1 {
  margin: 8px 0 12px;
  color: var(--text);
  font-size: 46px;
  line-height: 1.12;
}

.status-page .docs-card {
  margin-top: 6px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 132px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--text);
  font-size: 32px;
  margin-top: 18px;
  line-height: 1.05;
}

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

.stat small {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.transaction-grid {
  gap: 14px;
}

.compact-page-grid {
  gap: 14px;
}

.compact-stats {
  gap: 14px;
  margin-bottom: 0;
}

.compact-stats .stat {
  padding: 18px;
}

.compact-stats .stat strong {
  margin-top: 10px;
  font-size: 28px;
}

.token-listing-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.token-listing-stats .stat {
  min-height: 112px;
  padding: 22px 24px;
}

.token-listing-stats .stat strong {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.12;
}

.plan-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-stats .stat {
  min-height: 104px;
  padding: 18px 20px;
}

.plan-stats .stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.plan-stats .stat strong {
  margin-top: 12px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.plan-stats .stat:nth-child(3) strong {
  font-size: 10px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--muted);
}

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

.app-card,
.table-card {
  padding: 28px;
}

.account-deposit-selector h2 {
  margin-bottom: 18px;
}

.account-deposit-form {
  gap: 24px;
  margin-bottom: 26px;
  width: 100%;
}

.account-deposit-form .account-deposit-grid {
  width: 100%;
}

.account-deposit-form .account-deposit-amount {
  display: grid;
  width: 100%;
}

.account-deposit-form .account-deposit-amount input {
  display: block;
  width: 100%;
}

.account-deposit-form .btn {
  width: 100%;
  justify-self: stretch;
}

.account-deposit-selector .about-list {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  gap: 16px;
}

.account-deposit-selector .about-list div {
  align-items: center;
}

.full {
  grid-column: 1 / -1;
}

.table-wrap {
  overflow: auto;
}

.asset-table-wrap {
  overflow: visible;
}

.asset-table-wrap table {
  min-width: 0;
}

.asset-table-wrap th,
.asset-table-wrap td {
  white-space: normal;
}

.table-input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 9px;
  background: var(--field);
  color: var(--text);
  font-weight: 800;
}

.table-input.compact {
  width: 82px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  min-width: 720px;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: none;
}

td {
  background: var(--soft-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

td:first-child {
  border-left: 1px solid var(--line);
  border-radius: 10px 0 0 10px;
}

td:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 10px 10px 0;
}

code {
  color: var(--text);
  overflow-wrap: anywhere;
}

.tx-link {
  color: var(--accent);
  text-decoration: none;
}

.tx-link code {
  color: inherit;
}

.tx-link:hover {
  text-decoration: underline;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.pill.good {
  color: var(--accent);
  background: transparent;
}

.pill.warn {
  color: var(--warn);
  background: transparent;
}

.pill.danger {
  color: var(--danger);
  background: transparent;
}

.admin-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  grid-column: 1 / -1;
}

.admin-stats .stat {
  min-height: 112px;
  padding: 20px;
  border-radius: 16px;
}

.admin-stats .stat strong {
  font-size: 28px;
  margin-top: 14px;
}

.admin-stats .stat span {
  font-size: 13px;
}

.admin-stats .stat small {
  font-size: 12px;
  margin-top: 8px;
}

.table-intro {
  margin: -8px 0 18px;
  max-width: 820px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.pagination > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination strong {
  color: var(--text);
  font-size: 13px;
}

.pagination .disabled {
  opacity: 0.45;
  pointer-events: none;
}

.terminal {
  margin: 0;
  min-height: 160px;
  background: var(--field);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  overflow: auto;
  white-space: pre-wrap;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--muted);
}

.compact-empty-card {
  padding: 22px 24px;
  margin-bottom: 18px;
}

.compact-empty-card h2 {
  margin-bottom: 8px;
}

.compact-empty-card p {
  max-width: 760px;
  margin-bottom: 16px;
}

.docs-section {
  padding-top: 42px;
}

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

.docs-toc {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.docs-toc a {
  min-height: 36px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.docs-toc a:hover {
  background: var(--panel-2);
  color: var(--text);
}

.docs-content {
  display: grid;
  gap: 22px;
}

.docs-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px;
  scroll-margin-top: 120px;
}

.docs-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.docs-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.docs-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.docs-steps,
.docs-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.docs-steps li strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.docs-code {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
  color: var(--text);
  padding: 18px;
  overflow: auto;
  line-height: 1.55;
}

.docs-note {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--muted);
  padding: 14px 16px;
  line-height: 1.45;
}

.docs-grid-two,
.docs-plugin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.docs-grid-two {
  margin: 4px 0 18px;
}

.docs-grid-two article,
.docs-plugin-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
  padding: 18px;
}

.docs-grid-two article p {
  margin-bottom: 0;
}

.docs-plugin-grid article {
  display: grid;
  gap: 12px;
}

.docs-plugin-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.docs-plugin-grid strong {
  color: var(--text);
  font-size: 18px;
}

.docs-plugin-grid code {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
  padding: 10px;
  font-size: 12px;
}

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

.sandbox-steps a,
.sandbox-result,
.sandbox-result-grid div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
  padding: 16px;
}

.sandbox-steps a {
  display: block;
}

.sandbox-steps strong {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg);
  margin-bottom: 12px;
}

.sandbox-steps span,
.sandbox-result span,
.sandbox-result-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.sandbox-result {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.sandbox-result-grid {
  display: grid;
  gap: 12px;
}

.sandbox-result-grid div {
  display: grid;
  gap: 8px;
}

.sandbox-result-grid strong {
  color: var(--text);
}

.plugin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: stretch;
}

.plugin-hero h2 {
  max-width: 780px;
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.18;
}

.plugin-hero-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--field);
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.plugin-hero-panel span,
.plugin-hero-panel small,
.plugin-card-head span {
  color: var(--muted);
  font-size: 13px;
}

.plugin-hero-panel strong {
  color: var(--text);
  font-size: 30px;
}

.plugin-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.plugin-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.plugin-card-head {
  display: grid;
  gap: 7px;
}

.plugin-card-head strong {
  color: var(--text);
  font-size: 22px;
}

.plugin-card p {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.install-command {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 14px;
}

.install-command code {
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  z-index: 50;
}

.hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.modal.hidden,
.sidebar-backdrop.hidden,
.public-mobile-menu.hidden {
  display: none !important;
  pointer-events: none !important;
}

@media (max-width: 1120px) {
  .hero-content,
  .tools-layout,
  .pricing-grid,
  .about-grid,
  .contact-grid,
  .docs-layout,
  .auth-layout,
  .app-grid,
  .payment-main,
  .account-deposit-result,
  .plugin-grid,
  .stats,
  .network-status-grid,
  .filter-grid,
  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

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

  .plan-stats .stat {
    min-height: 96px;
    padding: 16px;
  }

  .plan-stats .stat strong {
    font-size: 20px;
    line-height: 1.25;
  }

  .plan-stats .stat:nth-child(3) strong {
    font-size: 10px;
    line-height: 1.45;
  }

  .setup-list article {
    grid-template-columns: 1fr;
  }

  .plugin-hero {
    grid-template-columns: 1fr;
  }

  .docs-toc {
    position: static;
  }

  .hero-dashboard,
  .hero-checkout-visual {
    width: 100%;
  }

  .hero-proof,
  .feature-grid,
  .steps-grid,
  .faq-grid,
  .pricing-grid-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body,
  .hero,
  .site-nav,
  .section,
  .footer,
  .gateway-strip {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero *,
  .section *,
  .footer * {
    min-width: 0;
  }

  .checkout-shell {
    min-height: 100svh;
    padding: 10px;
    align-items: start;
  }

  .checkout-inner {
    width: 100%;
    max-width: 100%;
  }

  .checkout-shell .payment-card {
    border-radius: 12px;
    padding: 16px;
    gap: 16px;
  }

  .payment-status-row,
  .payment-poll {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-merchant-head {
    gap: 10px;
  }

  .payment-merchant-head img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .payment-merchant-head h1 {
    font-size: 22px;
  }

  .payment-main {
    gap: 18px;
  }

  .payment-qr-panel > img {
    width: min(220px, 72vw);
    height: min(220px, 72vw);
  }

  .payment-amount {
    justify-items: center;
    text-align: center;
  }

  .payment-amount strong {
    font-size: 28px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .payment-amount span {
    font-size: 14px;
  }

  .payment-instructions,
  .policy-rows {
    width: 100%;
  }

  .payment-poll-status {
    align-items: flex-start;
  }

  .payment-footer-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .app-main {
    width: 100%;
    max-width: 100vw;
    padding: 76px 10px 24px;
    overflow-x: hidden;
  }

  .app-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .app-top h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .app-top p {
    max-width: 100%;
    font-size: 14px;
  }

  .account-balance-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .account-balance-stats .stat {
    min-height: 94px;
    padding: 14px;
  }

  .account-balance-stats .stat strong {
    font-size: 22px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .app-card,
  .table-card {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    padding: 16px;
  }

  .account-deposit-selector h2,
  .table-card h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .account-deposit-form {
    gap: 16px;
    margin-bottom: 18px;
  }

  .account-deposit-form .account-deposit-amount,
  .account-deposit-form .account-deposit-amount input,
  .account-deposit-form .btn {
    width: 100%;
    max-width: 100%;
  }

  .account-deposit-selector .about-list {
    padding-top: 16px;
    gap: 12px;
  }

  .account-deposit-selector .about-list div {
    align-items: flex-start;
  }

  .api-key-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .api-key-row-meta,
  .api-key-row > .btn {
    grid-column: 1 / -1;
  }

  .api-key-row-meta {
    flex-wrap: wrap;
    white-space: normal;
  }

  .api-key-row > .btn {
    width: 100%;
  }

  .api-key-settings-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .api-key-settings-head .pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .account-deposit-checkout {
    width: 100%;
    max-width: 100%;
  }

  .account-deposit-checkout .payment-card {
    box-shadow: none;
  }

  .account-deposit-payline {
    justify-items: start;
    text-align: left;
  }

  .account-deposit-payline strong {
    font-size: 22px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .payment-qr-panel {
    justify-items: stretch;
  }

  .payment-qr-panel > img {
    justify-self: center;
  }

  .payment-qr-panel .btn {
    width: 100%;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap table {
    min-width: 720px;
  }

  .checkout-success-inner {
    width: 100%;
    max-width: 100%;
  }

  .checkout-success-card {
    border-radius: 12px;
    padding: 24px 16px;
  }

  .success-summary {
    grid-template-columns: 1fr;
  }

  .success-summary div:last-child {
    grid-column: auto;
  }

  .checkout-alert {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .checkout-alert span {
    text-align: left;
  }

  .currency-switch-grid,
  .switch-grid,
  .two-col-form {
    grid-template-columns: 1fr;
  }

  .nav-inner,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, 1264px);
    max-width: calc(100vw - 28px);
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-inner {
    position: relative;
    min-height: 84px;
  }

  .public-menu-button {
    display: grid;
  }

  .public-mobile-controls {
    display: flex;
    margin-left: auto;
  }

  .public-mobile-controls .public-menu-button {
    order: 3;
  }

  .public-mobile-controls .language-select {
    order: 1;
  }

  .public-mobile-controls .theme-toggle {
    order: 2;
  }

  .public-mobile-menu:not(.hidden) {
    display: grid;
  }

  .auth-layout {
    min-height: 100svh;
    display: flex;
    gap: 20px;
    padding: 22px 14px;
  }

  .auth-visual {
    display: grid;
    width: 100%;
    gap: 12px;
  }

  .auth-main {
    width: 100%;
    min-height: auto;
    padding: 0;
  }

  .hero {
    min-height: auto;
    max-width: 100%;
  }

  .hero h1,
  .auth-visual h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .auth-visual p {
    font-size: 14px;
  }

  .auth-visual .eyebrow {
    margin-bottom: 6px;
  }

  .auth-visual .brand-figma-logo {
    width: 240px;
    height: 60px;
  }

  .register-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .admin-stats .stat {
    min-height: 104px;
    padding: 18px;
  }

  .pagination,
  .pagination > div {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-form-links {
    align-items: flex-start;
    gap: 10px;
  }

  .social-auth {
    gap: 8px;
  }

  .social-btn {
    min-height: 40px;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero p,
  .section-head p,
  .cta-panel p,
  .footer p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-figma-logo {
    width: 190px;
    height: auto;
  }

  .site-nav .brand-figma-logo,
  .public-mobile-menu .brand-figma-logo,
  .footer-brand .brand-figma-logo {
    width: min(240px, calc(100vw - 96px));
    height: auto;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 40px;
    gap: 28px;
  }

  .hero-dashboard,
  .hero-checkout-visual {
    width: 100%;
    min-height: auto;
    border-radius: 16px;
  }

  .hero-checkout-visual {
    padding: 0;
    max-height: 570px;
    transform: none;
  }

  .phone-device {
    width: min(310px, 100%);
  }

  .checkout-preview-card {
    padding: 40px 13px 13px;
  }

  .checkout-amount strong {
    font-size: 27px;
  }

  .checkout-assets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checkout-pay-area {
    display: grid;
    justify-content: stretch;
  }

  .checkout-qr {
    width: 56px;
  }

  .hero-dashboard-top {
    display: grid;
    gap: 10px;
    min-height: auto;
    padding: 14px;
  }

  .live-pill {
    justify-self: start;
  }

  .mock-chart {
    height: 128px;
    gap: 14px;
    padding: 18px;
  }

  .mock-chart span {
    width: 18px;
    min-width: 0;
  }

  .deposit-row,
  .console-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
    min-height: auto;
    overflow-wrap: anywhere;
  }

  .proof-item,
  .feature,
  .about-panel,
  .step,
  .faq-item,
  .pricing-card,
  .cta-panel {
    width: 100%;
    border-radius: 16px;
  }

  .hero-proof,
  .feature-grid,
  .steps-grid,
  .faq-grid,
  .pricing-grid-plans,
  .footer-inner,
  .docs-grid-two,
  .docs-plugin-grid,
  .sandbox-steps,
  .supported-assets-inner,
  .hero-dashboard-metrics,
  .console-metrics {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    width: min(100% - 28px, 1264px);
    display: grid;
    gap: 10px;
  }

  .section {
    padding: 36px 0;
  }

  .section-head,
  .cta-panel,
  .app-top {
    display: grid;
  }

  .section-head h2,
  .cta-panel h2 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .supported-assets-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .app-main {
    padding: 76px 14px 24px;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    overflow-x: hidden;
  }

  .app-shell {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .mobile-app-header {
    position: fixed;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    pointer-events: none;
  }

  .mobile-app-header .mobile-menu-button,
  .mobile-app-header .language-select,
  .mobile-app-header .theme-toggle {
    pointer-events: auto;
  }

  .mobile-app-header .mobile-menu-button {
    position: static;
    display: grid;
    flex: 0 0 44px;
  }

  .mobile-app-header .theme-toggle-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .mobile-app-header .language-select {
    max-width: 104px;
    margin-left: auto;
  }

  .app-theme-bar {
    display: none;
  }

  .sidebar-backdrop:not(.hidden) {
    display: block;
  }

  .sidebar {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: min(82vw, 300px);
    max-width: min(82vw, 300px);
    height: 100vh;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .side-nav {
    grid-template-columns: 1fr;
  }

  .app-top {
    gap: 14px;
  }

  .dashboard-top {
    display: flex;
  }

  .app-top .actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 10px;
    justify-content: stretch;
  }

  .dashboard-actions {
    margin-right: 0;
    padding-left: 0;
    grid-template-columns: 1fr;
  }

  .dashboard-actions .language-select,
  .dashboard-actions .theme-toggle {
    display: none;
  }

  .app-top .language-select:not(.language-select-compact),
  .app-top .language-select:not(.language-select-compact) select {
    width: 100%;
    min-width: 0;
  }

  .app-top .theme-toggle-icon {
    width: 46px;
    min-width: 46px;
  }

  .app-top .actions .btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .table-card,
  .app-card,
  .auth-card,
  .docs-card {
    padding: 20px;
    max-width: 100%;
  }

  .docs-card-head {
    display: grid;
  }

  .plugin-card {
    padding: 20px;
  }

  .plugin-hero h2 {
    font-size: 26px;
  }

  .install-command {
    grid-template-columns: 1fr;
  }

  .logo-upload-box {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .logo-upload-box .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .logo-preview {
    width: 64px;
    height: 64px;
  }

  .payment-status-row,
  .payment-poll,
  .payment-merchant-head {
    align-items: flex-start;
  }

  .payment-status-row,
  .payment-poll {
    display: grid;
  }

  .payment-amount strong {
    font-size: 28px !important;
    line-height: 1.18;
  }

  .success-celebration {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .success-check {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 24px;
  }

  table {
    min-width: 760px;
  }
}

@media (max-width: 420px) {
  .nav-inner,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 20px, 1264px);
  }

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

  .hero-kicker {
    font-size: 22px;
  }

  .brand-figma-logo {
    width: 168px;
  }

  .site-nav .brand-figma-logo,
  .public-mobile-menu .brand-figma-logo,
  .footer-brand .brand-figma-logo {
    width: min(230px, calc(100vw - 88px));
    height: auto;
  }

  .auth-visual .brand-figma-logo {
    width: 210px;
    height: 52px;
  }

  .hero-dashboard,
  .proof-item,
  .feature,
  .about-panel,
  .step,
  .faq-item,
  .pricing-card,
  .cta-panel,
  .contact-card {
    padding: 16px;
  }

  .mock-chart {
    gap: 10px;
    padding: 16px;
  }

  .mock-chart span {
    width: 14px;
  }

  .public-mobile-menu {
    right: 10px;
    width: calc(100vw - 20px);
  }
}

/* WalletLayer professional interface — integrated August 2026 */
:root {
  --accent: #ff7a1a;
  --accent-2: #e9650b;
  --accent-text: #ffffff;
}

:root[data-theme="light"] {
  --bg: #f6f7fa;
  --sidebar: #0b0d10;
  --panel: #ffffff;
  --panel-2: #f5f6fa;
  --field: #fafbfc;
  --line: #e5e8ee;
  --text: #172033;
  --muted: #697386;
  --accent: #ff7a1a;
  --accent-2: #e9650b;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

body { letter-spacing: -0.01em; }
.btn { border-radius: 9px; font-weight: 650; box-shadow: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn-secondary { border-color: var(--line); background: var(--panel); }

/* Integrated public homepage */
.integrated-hero { min-height: 740px; color: #f5f7fa; background: #0b0d10; overflow: hidden; }
.integrated-nav { position: relative; inset: auto; color: #f5f7fa; background: rgba(11,13,16,.94); border-bottom: 1px solid #292c31; backdrop-filter: blur(14px); }
.integrated-nav .nav-inner { width: min(1160px, calc(100% - 48px)); min-height: 78px; }
.integrated-nav .brand { width: 168px; }.integrated-nav .brand-figma-logo { width: 168px; height: auto; filter: none; }
.integrated-nav .nav-links { gap: 30px; }.integrated-nav .nav-links a { color: #b1b7c2; font-size: 13px; font-weight: 540; }.integrated-nav .nav-links a:hover { color: #ff9a52; }
.integrated-nav .nav-actions { gap: 15px; }.integrated-nav .nav-signin { color: #e6e8ec; font-size: 13px; font-weight: 600; }.integrated-nav .nav-actions .btn { min-height: 40px; padding-inline: 16px; }
.integrated-hero-content { width: min(1160px, calc(100% - 48px)); min-height: 650px; margin: 0 auto; padding: 45px 0 65px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; position: relative; }
.integrated-hero-copy { max-width: 610px; position: relative; z-index: 2; }
.integrated-hero-copy .launch-pill { width: max-content; margin: 0 0 24px; padding: 5px 11px 5px 6px; border: 1px solid #55301b; border-radius: 20px; color: #ffad73; background: #20150f; font-size: 11px; font-weight: 650; }
.integrated-hero-copy .launch-pill span { margin-right: 7px; padding: 3px 6px; border-radius: 10px; color: #fff; background: #ff7a1a; font-size: 8px; letter-spacing: .6px; }
.integrated-hero-copy h1 { max-width: 640px; margin: 0; color: #f8fafc; font-size: clamp(49px, 5vw, 69px); line-height: 1.03; letter-spacing: -3.8px; text-shadow: none; }
.integrated-hero-copy h1 em { color: #ff7a1a; font-style: normal; }
.integrated-hero-copy>p { max-width: 590px; margin: 24px 0 28px; color: #a5adba; font-size: 17px; line-height: 1.7; }
.integrated-hero-copy .actions { justify-content: flex-start; gap: 11px; }.integrated-hero-copy .actions .btn { min-height: 49px; padding-inline: 19px; }.integrated-hero-copy .btn-secondary { color:#f1f3f5; border-color:#353a42; background:#171a1f; }.integrated-hero-copy .btn-secondary:hover { border-color:#ff7a1a; background:#1e1b18; }.code-bracket { color: #ff9a52; font-family: ui-monospace, monospace; font-weight: 800; }
.hero-assurances { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 17px; color: #89919f; font-size: 10px; }.hero-assurances span::first-letter { color: #ff8b38; }
.integrated-checkout-visual { min-height: 520px; position: relative; display: grid; place-items: center; filter: none; }
.integrated-checkout-visual::before { content:""; width: 520px; height: 520px; position: absolute; border-radius: 50%; background: radial-gradient(circle,rgba(255,122,26,.24) 0,rgba(255,122,26,.08) 53%,transparent 71%); }
.integrated-checkout-card { width: 380px; padding: 23px; position: relative; z-index: 3; border: 1px solid #303238; border-radius: 17px; background: #14171c; box-shadow: 0 30px 70px rgba(0,0,0,.35),0 5px 16px rgba(0,0,0,.24); transform: rotate(-1.2deg); }
.integrated-checkout-card .checkout-preview-head { padding: 0 0 17px; border-bottom: 1px solid #303238; }.integrated-checkout-card .checkout-preview-head>div { display: flex; align-items: center; gap: 9px; }.integrated-checkout-card .checkout-preview-head>div>span:last-child { display:flex; flex-direction:column; }.integrated-checkout-card .checkout-preview-head small { color:#8c94a3; font-size:7px; font-weight:750; letter-spacing:.7px; }.integrated-checkout-card .checkout-preview-head strong { margin-top:2px; color:#f3f4f6; font-size:11px; }
.checkout-merchant-mark { width:31px; height:31px; display:grid!important; place-items:center; border-radius:8px; color:#fff; background:#ff7a1a; font-size:12px; font-weight:750; }.integrated-checkout-card .checkout-status { color:#25875f; background:#ecfdf3; border:0; }
.integrated-checkout-card .checkout-amount { padding:22px 0 20px; text-align:center; }.integrated-checkout-card .checkout-amount span { color:#8c94a3; font-size:7px; font-weight:750; letter-spacing:.8px; }.integrated-checkout-card .checkout-amount strong { margin:4px 0; color:#f8fafc; font-size:28px; letter-spacing:-1px; }.integrated-checkout-card .checkout-amount small { color:#8c94a3; font-size:9px; }
.integrated-checkout-card .checkout-section-label { margin-bottom:8px; color:#a5adba; font-size:9px; font-weight:650; }
.integrated-assets { display:flex; flex-direction:column; gap:7px; }.integrated-assets button { width:100%; min-height:49px; padding:0 11px; display:grid; grid-template-columns:29px 1fr auto; gap:9px; align-items:center; text-align:left; border:1px solid #303238; border-radius:9px; color:#e8eaed; background:#1a1d22; }.integrated-assets button.selected { border-color:#ff7a1a; background:#211914; box-shadow:0 0 0 2px rgba(255,122,26,.14); }.integrated-assets button img { width:27px; height:27px; }.integrated-assets button span { display:flex; flex-direction:column; }.integrated-assets button strong { font-size:10px; }.integrated-assets button small { margin-top:2px; color:#8c94a3; font-size:8px; }.integrated-assets button b { color:#ff9a52; font-size:12px; }
.integrated-checkout-card .checkout-pay-button { min-height:43px; margin-top:14px; border-radius:8px; color:#fff; background:#ff7a1a; }.integrated-checkout-card .checkout-pay-button:hover { background:#e9650b; }.integrated-checkout-card .checkout-footnote { color:#98a2b3; }
.payment-confirmed-float,.payment-speed-float { position:absolute; z-index:5; display:flex; align-items:center; gap:9px; border:1px solid #303238; border-radius:10px; background:#171a1f; box-shadow:0 12px 28px rgba(0,0,0,.28); }.payment-confirmed-float { left:0; top:24%; padding:10px 13px; }.payment-confirmed-float>i { width:29px; height:29px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#16b875; font-style:normal; }.payment-confirmed-float span,.payment-speed-float span { display:flex; flex-direction:column; }.payment-confirmed-float small { color:#56c995; font-size:7px; font-weight:750; }.payment-confirmed-float strong,.payment-speed-float strong { margin-top:2px; color:#f1f3f5; font-size:11px; }.payment-speed-float { right:0; bottom:14%; padding:10px 13px; }.payment-speed-float>i { color:#ff7a1a; font-style:normal; }.payment-speed-float small { color:#8c94a3; font-size:7px; }

/* Professional application shell */
:root[data-theme="light"] .app-shell { background:#f6f7fa; }
.app-shell .sidebar { width:244px; padding:0; color:#aeb5c5; background:#0b0d10; border-right:1px solid #262b39; box-shadow:none; }
.app-shell .sidebar>.brand { width:100%; min-height:69px; margin:0; padding:0 21px; border-bottom:1px solid #272c3a; }.app-shell .sidebar>.brand img { width:155px; height:auto; filter:none; }
.sidebar-workspace { margin:17px 14px 8px; padding:9px 10px; display:grid; grid-template-columns:31px 1fr auto; gap:9px; align-items:center; color:#f4f5f8; border:1px solid #2c3242; border-radius:10px; background:#14171c; }.sidebar-workspace>span { width:30px; height:30px; display:grid; place-items:center; border-radius:7px; color:#fff1e7; background:#49301f; font-size:11px; font-weight:750; }.sidebar-workspace div { min-width:0; display:flex; flex-direction:column; }.sidebar-workspace small { color:#7f8799; font-size:8px; letter-spacing:.7px; text-transform:uppercase; }.sidebar-workspace strong { margin-top:2px; overflow:hidden; color:#f1f3f7; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.sidebar-workspace b { color:#7f8799; }
.app-shell .side-nav { padding:2px 11px 18px; gap:2px; }.side-nav-label { margin:16px 11px 5px; display:block; color:#626b80; font-size:8px; font-weight:750; letter-spacing:1px; text-transform:uppercase; }.app-shell .side-nav a { min-height:38px; padding:0 11px; display:flex; align-items:center; border:0; border-radius:8px; color:#aeb5c5; background:transparent; font-size:11px; font-weight:550; }.app-shell .side-nav a::before { content:""; width:6px; height:6px; margin-right:10px; border:1.5px solid #687186; border-radius:2px; transform:rotate(45deg); }.app-shell .side-nav a.active,.app-shell .side-nav a:hover { color:#fff; background:#261d17; box-shadow:inset 3px 0 #ff7a1a; }.app-shell .side-nav a.active::before { border-color:#ffad73; background:#ff7a1a; }
.app-shell .sidebar-foot { margin-top:auto; min-height:65px; padding:11px 14px; display:flex; flex-direction:row; align-items:center; gap:8px; border-top:1px solid #272c3a; }.sidebar-profile { min-width:0; display:flex; align-items:center; gap:8px; }.sidebar-profile>span { width:31px; height:31px; flex:0 0 31px; display:grid; place-items:center; border-radius:50%; color:#d9d9ff; background:#3e425f; font-size:10px; font-weight:750; }.sidebar-profile>div { min-width:0; display:flex; flex-direction:column; }.sidebar-profile strong,.sidebar-profile small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.sidebar-profile strong { color:#eceef3; font-size:9px; }.sidebar-profile small { margin-top:2px; color:#70798d; font-size:7px; }.sidebar-logout { margin-left:auto; border:0; color:#8891a4; background:transparent; }
.app-shell .app-main { margin-left:244px; width:calc(100% - 244px); min-height:100vh; padding:0 34px 35px; background:var(--bg); }.app-theme-bar { min-height:69px; margin:0 -34px 28px; padding:0 34px; display:flex; justify-content:space-between; align-items:center; background:var(--panel); border-bottom:1px solid var(--line); }.app-theme-bar>div:last-child { display:flex; align-items:center; gap:8px; }.environment-indicator { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:10px; font-weight:600; }.environment-indicator i { width:7px; height:7px; border-radius:50%; background:#17b26a; box-shadow:0 0 0 3px rgba(23,178,106,.15); }
.app-main .app-top { max-width:1400px; margin:0 auto 24px; align-items:flex-end; }.app-main .app-top h1 { font-size:27px; letter-spacing:-.9px; }.app-main .app-top p { max-width:720px; margin-top:6px; color:var(--muted); font-size:12px; }.app-main .app-top .actions { gap:8px; }
.app-main .status-strip,.app-main .stats,.app-main .app-grid,.app-main>.app-card,.app-main>.table-card { max-width:1400px; margin-left:auto; margin-right:auto; }
.app-main .status-strip { overflow:hidden; border:1px solid var(--line); border-radius:11px; background:var(--panel); box-shadow:var(--shadow); }.app-main .status-strip>div { padding:14px 18px; }.app-main .status-strip span { color:var(--muted); font-size:9px; }.app-main .status-strip strong { font-size:11px; }
.app-main .stats { gap:13px; }.app-main .stat,.app-main .app-card,.app-main .table-card,.app-main .docs-card { border:1px solid var(--line); border-radius:11px; background:var(--panel); box-shadow:var(--shadow); }.app-main .stat { min-height:112px; padding:18px; }.app-main .stat span { color:var(--muted); font-size:10px; font-weight:600; }.app-main .stat strong { margin-top:10px; font-size:23px; letter-spacing:-.6px; }.app-main .app-card,.app-main .table-card { padding:20px; }.app-main .app-card h2,.app-main .table-card h2 { font-size:14px; letter-spacing:-.25px; }
.app-main table { border-collapse:collapse; }.app-main th { padding:10px 14px; color:#8991a2; background:#fafbfc; font-size:8px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; }.app-main td { padding:12px 14px; border-top:1px solid #eef0f3; font-size:10px; }.app-main tbody tr:hover { background:#fafbff; }.app-main .pill { padding:5px 8px; border-radius:14px; font-size:8px; font-weight:700; }
:root:not([data-theme="light"]) .app-main th { background:#171d2d; }.app-main input,.app-main select,.app-main textarea { min-height:42px; border-radius:8px; }.app-main label { font-size:10px; font-weight:600; }.empty { border-radius:9px; }

@media (max-width:1260px) {
  .integrated-nav .nav-links,.integrated-nav .nav-actions { display:none; }
  .integrated-hero-content { grid-template-columns:1fr; padding-top:75px; text-align:center; }.integrated-hero-copy { margin:auto; display:flex; flex-direction:column; align-items:center; }.integrated-hero-copy .actions { justify-content:center; }.integrated-checkout-visual { margin-top:5px; }
}
@media (max-width:900px) {
  .app-shell .app-main { width:100%; margin-left:0; padding-inline:18px; }.app-theme-bar { margin-inline:-18px; padding-inline:18px; }.mobile-app-header { background:#0b0d10; border-color:#292f3e; }.sidebar-backdrop:not(.hidden) + .sidebar,.app-shell .sidebar.open { display:flex; width:244px; }
}
@media (max-width:720px) {
  .integrated-nav .nav-inner,.integrated-hero-content { width:calc(100% - 32px); }.integrated-hero { min-height:auto; }.integrated-hero-content { padding-top:56px; }.integrated-hero-copy h1 { font-size:43px; letter-spacing:-2.7px; }.integrated-hero-copy>p { font-size:15px; }.integrated-hero-copy .actions { width:100%; flex-direction:column; }.integrated-hero-copy .actions .btn { width:100%; justify-content:center; }.hero-assurances { justify-content:center; }.integrated-checkout-visual { min-height:470px; transform:scale(.86); margin-inline:-50px; }.supported-assets-section { border-top:1px solid #eceef2; }.app-main .app-top { align-items:flex-start; }.app-main .stats { grid-template-columns:1fr 1fr; }
}
@media (max-width:470px) {
  .integrated-hero-copy h1 { font-size:37px; }.integrated-checkout-visual { min-height:420px; transform:scale(.72); margin-block:-35px; margin-inline:-90px; }.payment-confirmed-float { left:6%; }.payment-speed-float { right:5%; }.app-main .stats { grid-template-columns:1fr; }.app-main .app-top { flex-direction:column; }.app-main .app-top .actions { width:100%; }.app-main .app-top .actions .btn { width:100%; justify-content:center; }
}

.compare-hero .section-head {
  max-width: 100%;
  display: grid;
  justify-content: start;
  align-items: start;
  gap: 16px;
  margin-bottom: 30px;
}

.compare-hero {
  position: relative;
  overflow: hidden;
}

.compare-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 46%),
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 32%);
}

.compare-hero .section-inner {
  position: relative;
  z-index: 1;
}

.compare-hero .section-head h1 {
  max-width: 1060px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.compare-hero .section-head p {
  max-width: 1060px;
  font-size: 18px;
  line-height: 1.55;
}

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

.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.compare-cards article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.compare-cards article:first-child {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}

.compare-cards strong,
.compare-cards span {
  display: block;
}

.compare-cards strong {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 8px;
}

.compare-cards span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.compare-table th {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
  background: var(--panel-2);
}

.compare-table th:nth-child(2) {
  color: var(--accent);
}

.compare-table td {
  color: var(--muted);
  font-size: 13px;
}

.compare-table td:nth-child(2) {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.compare-table .compare-label {
  color: var(--text);
  font-weight: 700;
  width: 150px;
}

@media (max-width: 900px) {
  .compare-cards {
    grid-template-columns: 1fr;
  }

  .compare-hero .section-head h1 {
    font-size: 32px;
  }

  .compare-hero .section-head p {
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  .site-nav .brand {
    width: min(170px, calc(100vw - 198px)) !important;
    flex: 0 1 min(170px, calc(100vw - 198px));
  }

  .site-nav .brand-figma-logo {
    width: 100% !important;
    max-width: 170px !important;
    min-height: 0;
    height: auto !important;
  }

  .footer-brand .brand-figma-logo {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  .public-mobile-controls {
    gap: 6px;
  }

  .public-mobile-controls .language-select select {
    width: 84px;
    min-height: 40px;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 22px;
  }

  .public-mobile-controls .theme-toggle,
  .public-mobile-controls .public-menu-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .site-nav .brand {
    width: min(145px, calc(100vw - 190px)) !important;
    flex-basis: min(145px, calc(100vw - 190px));
  }

  .site-nav .brand-figma-logo {
    width: 100% !important;
    max-width: 145px !important;
    min-height: 0;
    height: auto !important;
  }

  .footer-brand .brand-figma-logo {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
}

/* Final public-header sizing guard. Older responsive rules above are shared
   with dashboard/auth screens, so keep the public marketing nav compact here. */
.site-nav .brand,
.hero-nav .brand {
  flex: 0 0 auto;
  min-width: 0;
}

.site-nav .brand-figma-logo,
.hero-nav .brand-figma-logo {
  width: 214px;
  height: 54px;
}

.nav-inner {
  gap: 14px;
}

.nav-links {
  gap: 16px;
}

.nav-actions {
  gap: 10px;
}

@media (max-width: 1260px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .public-menu-button {
    display: grid;
  }

  .public-mobile-controls {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .site-nav .brand,
  .hero-nav .brand {
    flex: 0 1 min(158px, calc(100vw - 198px));
    width: min(158px, calc(100vw - 198px)) !important;
  }

  .site-nav .brand-figma-logo,
  .hero-nav .brand-figma-logo {
    width: 100% !important;
    max-width: 158px !important;
    height: auto !important;
  }

  .public-mobile-controls {
    gap: 6px;
  }

  .public-mobile-controls .language-select select {
    width: 82px;
    min-height: 40px;
    font-size: 12px;
    padding-left: 9px;
    padding-right: 20px;
  }

  .public-mobile-controls .theme-toggle,
  .public-mobile-controls .public-menu-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  .site-nav .brand,
  .hero-nav .brand {
    flex-basis: min(132px, calc(100vw - 188px));
    width: min(132px, calc(100vw - 188px)) !important;
  }

  .site-nav .brand-figma-logo,
  .hero-nav .brand-figma-logo {
    max-width: 132px !important;
  }
}
