:root {
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ink: #12081f;
  --ink-2: #1c102e;
  --violet: #7c3aed;
  --violet-2: #8b5cf6;
  --violet-soft: rgba(124, 58, 237, 0.14);
  --magenta: #a855f7;
  --bg: #f5f1fb;
  --bg-elev: #ffffff;
  --bg-muted: #eee8f7;
  --text: #14081f;
  --text-muted: #5d5470;
  --border: rgba(20, 8, 31, 0.1);
  --shadow: 0 18px 50px rgba(18, 8, 31, 0.08);
  --header: rgba(245, 241, 251, 0.82);
  --invert-bg: #12081f;
  --invert-text: #f6f3fb;
  --invert-muted: #b3a8c7;
  --invert-border: rgba(255, 255, 255, 0.1);
  --chip: #ffffff;
  --radius: 18px;
  --header-h: 76px;
  --max: 1180px;
  --btn-on-accent: #ffffff;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0b0612;
  --bg-elev: #15101f;
  --bg-muted: #1b1428;
  --text: #f4f0fa;
  --text-muted: #b3a8c7;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --header: rgba(11, 6, 18, 0.8);
  --invert-bg: #171022;
  --chip: #1b1428;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

html[lang="en"] [data-l]:not([data-l="en"]),
html[lang="ru"] [data-l]:not([data-l="ru"]) {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font-family: inherit;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  z-index: 100;
}

.skip:focus,
.skip:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  clip-path: none;
  top: 12px;
  left: 12px;
  background: var(--violet);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: visible;
}

.wrap {
  width: min(calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)), var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.25rem, 5.8vw, 4.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3 {
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.lead {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  max-width: 42rem;
}

.muted {
  color: var(--text-muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: var(--header);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn,
.lang-btn,
.theme-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lang-btn {
  width: auto;
  padding: 0 12px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.icon-btn:hover,
.lang-btn:hover,
.theme-btn:hover {
  border-color: var(--violet);
}

.menu-btn {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
}

@media (hover: none) {
  .btn:hover,
  .btn-cta:hover,
  .feature:hover,
  .stat:hover,
  .xp-card:hover,
  .step:hover,
  .method-card:hover {
    transform: none;
  }
}

.btn-primary {
  background: var(--violet);
  color: var(--btn-on-accent);
}

.btn-primary:hover {
  background: var(--violet-2);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero {
  position: relative;
  padding: 56px 0 36px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: auto auto -10% -8%;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 68%);
}

.hero::after {
  inset: 0 auto auto 40%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 .swap {
  color: var(--violet);
  display: block;
  min-height: 1.1em;
}

.hero h1 .swap.is-in {
  animation: word-in 0.45s ease;
}

.hero h1 .swap.is-out {
  animation: word-out 0.32s ease forwards;
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes word-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-10px); }
}

.hero-copy {
  margin: 22px 0 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-proof b {
  flex-shrink: 0;
  color: var(--text);
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-proof li + li {
  position: relative;
  padding-left: 22px;
}

.hero-proof li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1px;
  height: 1.1em;
  background: var(--border);
}

.hero-card {
  position: relative;
  background:
    radial-gradient(circle at 92% 0%, rgba(124, 58, 237, 0.16), transparent 42%),
    linear-gradient(180deg, var(--bg-elev), var(--bg-muted));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 390px;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16);
}

.live-dot {
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18); opacity: 1; }
  50% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.08); opacity: 0.72; }
}

.live-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 186px;
  overflow: hidden;
}

.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elev);
}

.pay-row.is-in {
  animation: tx-in 0.5s ease;
}

.pay-row.is-out {
  animation: tx-out 0.32s ease forwards;
}

@keyframes tx-in {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes tx-out {
  to { opacity: 0; transform: translateY(8px); }
}

.pay-row > div:first-child {
  min-width: 0;
}

.pay-row strong {
  display: block;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.pay-row span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.amount {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.success {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

html[data-theme="dark"] .success {
  background: #0d0816;
  border: 1px solid var(--border);
}

.success b {
  color: #d8b4fe;
}

#live-aml-text {
  display: inline-block;
}

#live-aml-text.is-swap {
  animation: word-in 0.4s ease;
}

.stats-stack {
  padding: 12px 0 48px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat {
  padding: 22px;
  border-radius: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.45);
}

.stat b {
  display: block;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.section-risk {
  padding: 24px 0 80px;
}

.risk-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.risk-head h2 {
  margin: 12px 0 14px;
}

.risk-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.xp-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.xp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.45);
}

.xp-highlight {
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 58, 237, 0.2), transparent 46%),
    linear-gradient(165deg, #1a0d2e, #3b1764 70%, #6d28d9);
  color: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.xp-highlight h3 {
  margin: 12px 0 10px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.xp-highlight .muted {
  color: #d4c6ea;
}

.xp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e9d5ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xp-stack {
  display: grid;
  gap: 16px;
}

.xp-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.verticals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.verticals span {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.xp-note {
  margin-top: 16px;
  padding: 22px 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.xp-note p {
  margin: 0;
}

.xp-note strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.orch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.orch-pills a,
.orch-pills span {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: transform 0.2s, color 0.2s;
}

.orch-pills a:hover {
  color: #e9d5ff;
  transform: translateY(-2px);
}

html[data-theme="dark"] .orch-pills a,
html[data-theme="dark"] .orch-pills span {
  background: #0d0816;
  border: 1px solid var(--border);
}

.band {
  background:
    radial-gradient(circle at 12% 20%, rgba(124, 58, 237, 0.28), transparent 34%),
    var(--invert-bg);
  color: var(--invert-text);
  padding: 88px 0;
}

.band .lead,
.band .muted {
  color: var(--invert-muted);
}

.band-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--invert-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.5);
}

.feature svg {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: #d8b4fe;
}

.section {
  padding: 88px 0;
}

section[id] {
  scroll-margin-top: calc(92px + env(safe-area-inset-top, 0px));
}

.hero-grid > *,
.api > *,
.risk-grid > *,
.methods-split > *,
.trust-layout > *,
.bento > * {
  min-width: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--magenta);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-live {
  background: var(--violet-soft);
  color: var(--violet);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  padding: 26px;
  border-radius: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.45);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--violet);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.api {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.code {
  background: #12081f;
  color: #ddd4ee;
  border-radius: 22px;
  padding: 22px;
  overflow: auto;
  max-width: 100%;
  font-size: 0.86rem;
  line-height: 1.7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

.code .k { color: #c4b5fd; }
.code .s { color: #f0c27a; }
.code .n { color: #93c5fd; }

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.panel-row:last-child {
  border-bottom: 0;
}

.section-methods {
  background:
    radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.1), transparent 28%),
    var(--bg-muted);
}

.methods-intro {
  max-width: 42rem;
  margin-bottom: 36px;
}

.methods-intro h2 {
  margin: 12px 0 14px;
}

.methods-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.method-card {
  border-radius: 24px;
  padding: 24px;
  min-height: 260px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.method-card:hover {
  transform: translateY(-3px);
}

.method-card-fiat {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.method-card-apm {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent 40%),
    var(--bg-elev);
  border: 1px solid var(--border);
}

.method-card-crypto {
  background: linear-gradient(180deg, #1a102c, #2a1454);
  color: #f6f3fb;
}

.method-card-crypto h3,
.method-card-crypto .method-count {
  color: #f6f3fb;
}

.method-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.method-count {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--violet);
  line-height: 1;
}

.chips-mosaic .chip {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 8, 31, 0.05);
}

html[data-theme="dark"] .chips-mosaic .chip {
  background: var(--bg-muted);
}

.chips-tickers .chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

.chips-tickers .chip-more {
  background: var(--violet);
  color: #fff;
  border-color: transparent;
}

.platform-intro {
  margin-bottom: 28px;
}

.platform-intro h2 {
  margin-top: 12px;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.bento-hero {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(160deg, #12081f 0%, #2e1064 55%, #6d28d9 130%);
  color: #fff;
  min-height: 420px;
}

.bento-hero p {
  color: #d4c6ea;
  max-width: 36rem;
}

.bento-hero .chip {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bento-item {
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
}

.bento-live {
  border-color: rgba(124, 58, 237, 0.45);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.1), transparent 42%),
    var(--bg-elev);
}

.bento-soon {
  background: repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(20, 8, 31, 0.025) 10px,
      rgba(20, 8, 31, 0.025) 20px
    ),
    var(--bg-elev);
}

html[data-theme="dark"] .bento-soon {
  background: var(--bg-elev);
}

.bento-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--violet-soft);
  color: var(--violet);
}

.section-api {
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.28), transparent 32%),
    #12081f;
  color: #f6f3fb;
}

.section-api .lead {
  color: #b3a8c7;
}

.section-api .eyebrow {
  background: rgba(124, 58, 237, 0.22);
  color: #e9d5ff;
}

.api-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.api-points li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.terminal {
  background: #171022;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #febc2e 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #28c840 4px, transparent 5px);
}

.terminal-title {
  color: #b3a8c7;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.section-api .code {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
}

.section-trust {
  background:
    radial-gradient(circle at 8% 80%, rgba(168, 85, 247, 0.1), transparent 28%),
    var(--bg);
}

.trust-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.trust-steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: trust;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--border);
}

.trust-steps li {
  position: relative;
  padding: 0 0 22px 28px;
  counter-increment: trust;
}

.trust-steps li::before {
  content: counter(trust);
  position: absolute;
  left: -13px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.trust-spec {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.trust-spec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.trust-seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 200deg, #7c3aed, #c084fc, #7c3aed);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px var(--bg-elev), 0 0 0 8px rgba(124, 58, 237, 0.35);
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.trust-metrics div {
  padding: 14px 10px;
  border-radius: 16px;
  background: var(--bg-muted);
  text-align: center;
}

.trust-metrics b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.trust-metrics span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.cta {
  margin: 12px 0 88px;
}

.cta-box {
  background: linear-gradient(135deg, #12081f, #2e1064 52%, #6d28d9);
  color: #fff;
  border-radius: 32px;
  padding: clamp(32px, 6vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-box > div:first-child {
  flex: 1;
  min-width: 0;
}

.cta-box .lead {
  color: #d4c6ea;
}

.btn-cta {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: #fff;
  color: #4c1d95;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.32);
  font-size: 1.02rem;
}

.btn-cta:hover {
  background: #f3e8ff;
  transform: translateY(-2px);
}

.btn-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer {
  padding: 48px 0 max(36px, calc(20px + env(safe-area-inset-bottom, 0px)));
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px 40px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-col a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.legal-page {
  padding: 48px 0 80px;
}

.legal-page article {
  max-width: 760px;
}

.legal-page h1 {
  margin: 8px 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

html[lang="ru"] .legal-page h1 {
  letter-spacing: 0.01em;
}

.legal-page h2 {
  margin: 36px 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-page a {
  color: var(--violet);
  font-weight: 600;
}

.legal-page a:hover {
  color: var(--violet-2);
}

.mail-guard {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--violet);
  cursor: pointer;
  vertical-align: baseline;
}

.mail-guard:hover {
  color: var(--violet-2);
}

.mail-rev {
  unicode-bidi: bidi-override;
  direction: rtl;
  display: inline-block;
}

.mail-bait {
  display: none !important;
  speak: never;
}

.legal-updated {
  margin: 0 0 28px;
}

.footer-brand {
  align-items: center;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.footer-brand-text strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand-text p {
  margin: 0;
  line-height: 1.35;
}

.footer a:hover {
  color: var(--violet);
}

.mobile-nav {
  display: none;
}

.nav-backdrop {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header .btn-primary {
    display: none;
  }

  .lang-btn,
  .theme-btn,
  .menu-btn,
  .icon-btn {
    width: 44px;
    height: 44px;
  }

  .lang-btn {
    width: auto;
    min-width: 44px;
    padding: 0 10px;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    padding: 0;
    background: rgba(18, 8, 31, 0.45);
    cursor: pointer;
  }

  body.menu-open .nav-backdrop {
    display: block;
  }

  .mobile-nav.is-open {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    bottom: auto;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px max(12px, env(safe-area-inset-bottom, 0px));
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 75;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px) - 16px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav a,
  .mobile-nav .btn {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    font-weight: 700;
  }
}

@media (max-width: 980px) {
  .methods-split {
    grid-template-columns: 1fr 1fr;
  }

  .method-card {
    min-height: 0;
  }

  .method-card-crypto {
    grid-column: 1 / -1;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
  }

  .xp-note,
  .section-head,
  .cta-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero-grid,
  .band-head,
  .api,
  .trust-layout,
  .risk-grid,
  .methods-split,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .method-card-crypto {
    grid-column: auto;
  }

  .hero-card {
    min-height: 0;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.7rem);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn,
  .cta-box .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    justify-content: center;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-proof li {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding-left: 0;
  }

  .hero-proof li + li {
    padding-left: 0;
  }

  .hero-proof li + li::before {
    display: none;
  }

  .hero-proof b {
    min-width: 4.2rem;
    font-size: 1.2rem;
  }

  .hero-proof span {
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner {
    width: min(calc(100% - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)), var(--max));
  }

  .section,
  .band,
  .section-risk {
    padding: 56px 0;
  }

  .cta {
    margin-bottom: 56px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .code {
    font-size: 0.75rem;
    padding: 16px;
  }

  .method-card,
  .bento-hero,
  .cta-box,
  .xp-card,
  .xp-note {
    padding: 20px;
  }

  .cta-box {
    border-radius: 24px;
  }

  .amount {
    flex-shrink: 0;
    font-size: 0.92rem;
  }

  .pay-row {
    align-items: flex-start;
  }

  .trust-metrics {
    grid-template-columns: 1fr;
  }

  .panel-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
}

@media (max-height: 520px) and (max-width: 950px) {
  .hero {
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-card {
    display: none;
  }

  h1 {
    font-size: clamp(1.5rem, 4.6vw, 2.1rem);
  }

  .hero-copy {
    margin: 12px 0 16px;
  }

  .hero-proof {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *:not(.live-dot):not(.pay-row):not(#live-aml-text):not(#hero-word),
  *:not(.live-dot):not(.pay-row):not(#live-aml-text):not(#hero-word)::before,
  *:not(.live-dot):not(.pay-row):not(#live-aml-text):not(#hero-word)::after {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
