@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/geist-latin-wght-normal.19f9c92546aa.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/geist-cyrillic-wght-normal.689443969494.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/geist-mono-latin-wght-normal.684ad5b531f8.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/geist-mono-cyrillic-wght-normal.4866787fc952.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/instrument-serif-latin-400-normal.5eb09b5ac0e2.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: oklch(0.985 0.004 80);
  --sheet: oklch(0.995 0.002 80);
  --surface: oklch(0.97 0.005 80);
  --border: oklch(0.9 0.008 80);
  --ink: oklch(0.22 0.01 60);
  --muted: oklch(0.47 0.012 65);
  --accent: oklch(0.66 0.19 38);
  --accent-ink: oklch(0.49 0.16 38);
  --accent-soft: oklch(0.96 0.025 48);
  --success: oklch(0.4 0.1 153);
  --success-bg: oklch(0.95 0.025 153);
  --warning: oklch(0.41 0.08 68);
  --warning-bg: oklch(0.965 0.03 80);
  --inverse: oklch(0.985 0.004 80);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: oklch(0.17 0.006 60);
    --sheet: oklch(0.205 0.006 60);
    --surface: oklch(0.24 0.007 60);
    --border: oklch(0.31 0.008 80);
    --ink: oklch(0.94 0.008 80);
    --muted: oklch(0.72 0.009 80);
    --accent-ink: oklch(0.78 0.12 42);
    --accent-soft: oklch(0.24 0.035 42);
    --success: oklch(0.78 0.12 155);
    --success-bg: oklch(0.25 0.035 155);
    --warning: oklch(0.83 0.1 80);
    --warning-bg: oklch(0.26 0.03 75);
    --inverse: oklch(0.18 0.006 60);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(0.17 0.006 60);
  --sheet: oklch(0.205 0.006 60);
  --surface: oklch(0.24 0.007 60);
  --border: oklch(0.31 0.008 80);
  --ink: oklch(0.94 0.008 80);
  --muted: oklch(0.72 0.009 80);
  --accent-ink: oklch(0.78 0.12 42);
  --accent-soft: oklch(0.24 0.035 42);
  --success: oklch(0.78 0.12 155);
  --success-bg: oklch(0.25 0.035 155);
  --warning: oklch(0.83 0.1 80);
  --warning-bg: oklch(0.26 0.03 75);
  --inverse: oklch(0.18 0.006 60);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    15px / 1.6 "Geist Variable",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  transition:
    color 180ms ease-out,
    background-color 180ms ease-out;
}
a:hover {
  color: var(--accent-ink);
}
:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure,
pre {
  margin: 0;
}
h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(58px, 6.1vw, 88px);
}
h2 {
  font-size: clamp(38px, 4vw, 56px);
}
h3 {
  font-size: 17px;
  font-weight: 550;
  line-height: 1.4;
}
em {
  font-style: normal;
  color: var(--accent-ink);
}
code,
pre,
.mono {
  font-family: "Geist Mono Variable", monospace;
  font-variant-numeric: tabular-nums;
}
.muted,
.fine-print {
  color: var(--muted);
}
.fine-print {
  font-size: 13px;
  line-height: 1.75;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: var(--sheet);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.brand-dot {
  margin-left: 5px;
  color: var(--accent-ink);
  font-weight: 400;
}
.main-nav,
.header-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}
.header-actions {
  gap: 18px;
}
.header-actions a,
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.theme-toggle {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
}
.theme-toggle:hover {
  background: var(--surface);
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 64px 56px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    10px / 1.6 "Geist Mono Variable",
    monospace;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 28px;
}
.accent-dot {
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.intro {
  max-width: 440px;
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 11px 21px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.button:hover {
  background: var(--surface);
}
.primary {
  background: var(--ink);
  color: var(--inverse);
  border-color: var(--ink);
}
.primary:hover {
  color: var(--inverse);
  background: var(--muted);
}
.access {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.access a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-note {
  max-width: 360px;
  margin-top: 44px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 12px;
}
.section-border {
  border-top: 1px solid var(--border);
}
.section {
  padding-block: 84px;
}
.lifecycle {
  padding-block: 42px 54px;
}
.lifecycle h2 {
  font-size: 36px;
}
.lifecycle .eyebrow {
  margin-bottom: 18px;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  list-style: none;
  gap: 25px;
  margin: 34px 0 0;
  counter-reset: step;
}
.flow-grid li {
  counter-increment: step;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.flow-grid li::before {
  content: "0" counter(step) " /";
  display: block;
  font:
    11px "Geist Mono Variable",
    monospace;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.flow-grid h3 {
  font-size: 15px;
}
.flow-grid p {
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 36px;
}
.section-intro {
  color: var(--muted);
  max-width: 490px;
  font-size: 16px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 38px;
}
.feature-grid p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.conversion,
.hosting {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.conversion .section-intro,
.hosting .section-intro {
  margin-top: 24px;
}
.conversion .fine-print {
  margin-top: 20px;
}
.security-grid {
  margin-top: 44px;
}
.networks {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.network-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.network-list li {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
}
.networks p {
  max-width: 850px;
  color: var(--muted);
  font-size: 13px;
}
.hosting-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.hosting-details li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.hosting-details li::before {
  content: "+";
  margin-right: 16px;
  color: var(--accent-ink);
}
.source-tag {
  display: inline-block;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 12px;
  font-size: 12px;
}
.closing {
  text-align: center;
  padding-block: 80px;
  background: var(--surface);
}
.closing .eyebrow,
.closing .actions {
  justify-content: center;
}
.closing h2 {
  font-size: clamp(44px, 5vw, 68px);
}
.closing p:not(.eyebrow):not(.access) {
  margin: 24px auto 0;
  max-width: 520px;
  color: var(--muted);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 36px;
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.site-footer > div:last-child {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 12px;
}
html[lang="ru"] h1,
html[lang="ru"] h2 {
  font-family: "Geist Variable", sans-serif;
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 1.12;
}
html[lang="ru"] h1 {
  font-size: clamp(45px, 4.6vw, 64px);
}
html[lang="ru"] h2 {
  font-size: clamp(32px, 3.2vw, 45px);
}

.header-signin {
  gap: 4px;
}
.site-footer > div:last-child a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.checkout-demo {
  max-width: 440px;
  width: 100%;
  margin-left: auto;
}
.checkout-sheet {
  background: var(--sheet);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 28px 16px;
}
.sheet-header {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin-bottom: 20px;
}
.sheet-header > .mono {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.merchant-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-weight: 600;
}
.checkout-sheet h2,
html[lang="ru"] .checkout-sheet h2 {
  font:
    500 20px / 1.3 "Geist Variable",
    sans-serif;
  letter-spacing: -0.025em;
}
.sheet-intro {
  font-size: 11px;
  margin-top: 6px;
}
.method-picker {
  display: flex;
  gap: 7px;
  margin-top: 20px;
  font-size: 11px;
}
.method-picker > span {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
}
.method-picker .selected {
  color: var(--ink);
  border-color: var(--ink);
}
.method-picker small {
  font-size: 10px;
  color: var(--muted);
  padding-left: 6px;
}
.amount-label,
.address-label {
  font-size: 10px;
  color: var(--muted);
}
.amount-label {
  margin-top: 20px;
}
.checkout-amount {
  font-family: "Geist Mono Variable", monospace;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin-top: 3px;
  white-space: nowrap;
}
.checkout-amount small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}
.network-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.qr {
  display: block;
  margin: 16px auto;
  border-radius: 10px;
}
.address-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
}
.address-row code {
  overflow-wrap: anywhere;
  font-size: 11px;
  flex: 1;
  line-height: 1.6;
}
.copy-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  min-height: 44px;
  padding: 4px;
  font-size: 10px;
}
.payment-states {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.payment-states li {
  border-top: 2px solid var(--border);
  padding-top: 8px;
  transition:
    border-color 200ms ease-out,
    color 200ms ease-out;
}
.payment-states .is-active {
  border-color: var(--success);
  color: var(--success);
}
.replay {
  display: block;
  margin: 8px auto 0;
  font-size: 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  min-height: 44px;
}
.checkout-demo figcaption {
  text-align: center;
  margin-top: 15px;
  font:
    8px / 1.7 "Geist Mono Variable",
    monospace;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.code-panel {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--sheet);
  border-radius: 16px;
  overflow: hidden;
}
.panel-header {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  font-weight: 500;
}
.panel-header button {
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 4px;
  color: var(--muted);
  font-size: 11px;
}
.code-panel pre {
  min-height: 300px;
  min-width: max-content;
  padding: 24px 20px;
  font-size: 11px;
  line-height: 1.9;
  tab-size: 2;
}
.code-panel > p {
  padding: 0 20px 24px;
  color: var(--muted);
  font-size: 11px;
}
.dashboard-preview {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sheet);
}
.dashboard-preview .panel-header {
  padding-block: 20px;
}
.test-badge,
.status {
  display: inline-block;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 10px;
  white-space: nowrap;
}
.test-badge,
.warning {
  color: var(--warning);
  background: var(--warning-bg);
}
.success {
  color: var(--success);
  background: var(--success-bg);
}
.neutral {
  color: var(--muted);
  background: var(--surface);
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
caption {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  padding: 12px 20px 0;
}
th,
td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
}
th {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.delivery-log {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  flex-wrap: wrap;
}
.delivery-log > .muted {
  margin-left: auto;
  font-size: 10px;
}
.route-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--sheet);
  padding: 26px;
}
.route-heading {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
}
.route-pair {
  font-size: 15px;
  margin-top: 28px;
  line-height: 1.7;
}
.route-card .fine-print {
  margin-top: 8px;
  font-size: 10px;
}
.route-list {
  margin: 24px 0 0;
  font-size: 12px;
}
.route-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
}
.route-list dd {
  margin: 0;
  text-align: right;
  font-size: 10px;
  color: var(--muted);
}
.route-list .best-route {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 8px;
}
.best-route dd {
  color: var(--accent-ink);
}
.route-footer {
  margin-top: 24px;
  font:
    10px / 1.7 "Geist Mono Variable",
    monospace;
  color: var(--muted);
}

.code-scroll {
  overflow-x: auto;
}

@media (min-width: 1600px) {
  .hero {
    padding-block: 110px;
  }
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }
  .hero {
    gap: 32px;
  }
  .checkout-sheet {
    padding-inline: 22px;
  }
  .section-heading,
  .conversion,
  .hosting {
    gap: 40px;
  }
  .header-actions {
    gap: 10px;
  }
  .hero h1 {
    font-size: 64px;
  }
  html[lang="ru"] .hero h1 {
    font-size: 49px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .main-nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-block: 60px;
    gap: 24px;
  }
  .hero h1 {
    font-size: 52px;
  }
  html[lang="ru"] .hero h1 {
    font-size: 40px;
  }
  .checkout-amount {
    font-size: 25px;
  }
  .flow-grid {
    gap: 16px;
  }
  .feature-grid {
    gap: 24px;
  }
  .section-heading,
  .conversion,
  .hosting {
    gap: 30px;
  }
  .delivery-log > .muted {
    margin-left: 0;
  }
  .site-footer > div:last-child {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .site-header {
    min-height: 78px;
    gap: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .brand-dot {
    display: none;
  }
  .header-actions .header-signin {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions a {
    padding-inline: 5px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 42px 44px;
  }
  .hero h1 {
    font-size: clamp(54px, 10vw, 72px);
  }
  html[lang="ru"] .hero h1 {
    font-size: clamp(39px, 8.2vw, 56px);
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 22px;
  }
  .intro {
    font-size: 16px;
    margin-top: 22px;
  }
  .hero-note {
    margin-top: 28px;
  }
  .checkout-demo {
    margin-inline: auto;
  }
  .checkout-sheet {
    padding-inline: 24px;
  }
  .checkout-amount {
    font-size: 32px;
  }
  .section {
    padding-block: 48px;
  }
  .lifecycle h2 {
    font-size: 32px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .flow-grid li {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    padding-top: 16px;
  }
  .flow-grid li::before {
    grid-row: span 2;
    margin-top: 4px;
  }
  .flow-grid p {
    margin-top: 5px;
    max-width: 380px;
  }
  .section-heading,
  .conversion,
  .hosting,
  .code-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-intro {
    font-size: 15px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .feature-grid > article {
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .feature-grid p {
    margin-top: 8px;
  }
  .code-panel pre {
    min-height: 0;
    font-size: 10px;
    padding: 20px 16px;
  }
  .panel-header {
    padding-inline: 16px;
    font-size: 11px;
  }
  .code-panel > p {
    padding-inline: 16px;
  }
  th,
  td {
    padding-inline: 16px;
  }
  .dashboard-brand {
    font-size: 11px;
  }
  .delivery-log {
    gap: 10px;
    padding-inline: 16px;
  }
  .delivery-log > .muted {
    flex-basis: 100%;
  }
  .route-card {
    padding: 24px 20px;
  }
  .route-pair {
    font-size: 13px;
  }
  .networks {
    margin-top: 36px;
  }
  .network-list {
    gap: 7px;
  }
  .network-list li {
    padding: 6px 11px;
    font-size: 11px;
  }
  .closing {
    padding-block: 54px;
  }
  .closing h2 {
    font-size: 46px;
  }
  html[lang="ru"] .closing h2 {
    font-size: 32px;
  }
  .site-footer {
    flex-direction: column;
    gap: 22px;
  }
  .site-footer > div:last-child {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a,
  button,
  .payment-states li {
    transition: none;
  }
}
