/* ============================================================
   Nova Pay — landing page styles
   Дизайн-система: тёмная тема, Inter/Manrope/JetBrains Mono,
   базовый кегль 16px, вертикальный ритм 8px.
   ============================================================ */

/* --- Хост-страница: скрываем родную навигацию и подвал --- */
.public-body:has(.np-home) > .public-nav,
.public-body:has(.np-home) > footer { display: none; }
:root:has(.np-home) { color-scheme: dark; scrollbar-color: #2a3450 #0a0e18; }
html:has(.np-home)::-webkit-scrollbar { width: 11px; }
html:has(.np-home)::-webkit-scrollbar-track { background: #0a0e18; }
html:has(.np-home)::-webkit-scrollbar-thumb { background: #2a3450; border-radius: 8px; border: 2px solid #0a0e18; }
html:has(.np-home)::-webkit-scrollbar-thumb:hover { background: #3b4768; }
.public-body:has(.np-home) { background: #06090f; color: #f4f6ff; }
.public-body:has(.np-home) .public-main {
  max-width: none;
  padding: 0;
  background:
    radial-gradient(900px 520px at 82% -6%, rgba(96, 70, 255, .16), transparent 62%),
    radial-gradient(700px 420px at 12% 4%, rgba(56, 92, 220, .08), transparent 60%),
    #06090f;
}

/* --- Основа --- */
.np-home {
  --bg: #06090f;
  --panel: #0c1220;
  --panel-2: #101828;
  --border: rgba(151, 167, 210, .15);
  --border-soft: rgba(151, 167, 210, .09);
  --text: #f4f6ff;
  --muted: #9aa5c1;
  --faint: #6d7893;
  --accent: #7c5cff;
  --accent-strong: #6244f7;
  --mint: #3edca2;
  --font-head: "Manrope", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  width: 100%;
  margin: 0;
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.np-home *, .np-home *::before, .np-home *::after { box-sizing: border-box; }
.np-home h1, .np-home h2, .np-home h3, .np-home h4,
.np-home p, .np-home dl, .np-home dd, .np-home ul, .np-home figure { margin: 0; }
.np-home ul { padding: 0; list-style: none; }
.np-home a { text-decoration: none; color: inherit; }
.np-home svg { display: block; flex: none; }
.np-home ::selection { background: rgba(124, 92, 255, .45); }
.np-home :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.np-home [id] { scroll-margin-top: 92px; }

/* Нейтрализация голых селекторов nav/footer из хостового app.css */
.np-home nav, .np-home footer { background: transparent; border: 0; padding: 0; height: auto; position: static; box-shadow: none; }

.np-container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* --- Кнопки --- */
.np-button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font: 700 15px/1 var(--font-body);
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, filter .18s ease;
}
.np-button--primary {
  border-color: rgba(158, 134, 255, .65);
  background: linear-gradient(135deg, #8468ff, #5d3ff5);
  box-shadow: 0 10px 30px rgba(94, 67, 245, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.np-button--primary:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 14px 36px rgba(94, 67, 245, .45); }
.np-button--ghost { border-color: var(--border); background: rgba(16, 24, 40, .55); color: #dde3f2; }
.np-button--ghost:hover { border-color: rgba(151, 167, 210, .35); background: rgba(22, 31, 52, .75); transform: translateY(-1px); }
.np-button--soft { border-color: rgba(124, 92, 255, .45); background: rgba(124, 92, 255, .12); color: #b3a1ff; }
.np-button--soft:hover { background: rgba(124, 92, 255, .2); transform: translateY(-1px); }
.np-button--sm { min-height: 40px; padding: 0 18px; border-radius: 10px; font-size: 13px; }
.np-arrow { font-weight: 700; transition: transform .18s ease; }
.np-button:hover .np-arrow { transform: translateX(3px); }
.np-btn-ico { width: 17px; height: 17px; opacity: .85; }

/* --- Метки-кикеры --- */
.np-kicker {
  display: inline-block;
  color: #9d8bff;
  font: 800 12px/1.2 var(--font-head);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* --- Верхняя навигация --- */
.np-topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(6, 9, 15, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.np-topnav__in { height: 68px; display: flex; align-items: center; gap: 32px; }
.np-logo { font: 800 21px var(--font-head); letter-spacing: -.03em; color: #fff; }
.np-logo em { color: #8f76ff; font-style: normal; }
.np-topnav__links { display: flex; gap: 30px; margin-inline: auto; }
.np-topnav__links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s ease; }
.np-topnav__links a:hover { color: #fff; }
.np-topnav__actions { display: flex; align-items: center; gap: 22px; }
.np-topnav__actions a:not(.np-button) { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s ease; }
.np-topnav__actions a:not(.np-button):hover { color: #fff; }

/* --- Hero --- */
.np-hero { position: relative; overflow: hidden; }
.np-hero__in {
  position: relative;
  padding: clamp(56px, 7vw, 88px) 0 clamp(56px, 6vw, 80px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}
.np-hero__in > * { min-width: 0; }
.np-hero__copy { position: relative; z-index: 1; }
.np-hero h1 {
  margin: 20px 0 18px;
  font: 800 clamp(42px, 4.3vw, 58px)/1.06 var(--font-head);
  letter-spacing: -.045em;
}
.np-hero h1 em { color: #8f76ff; font-style: normal; }
.np-hero__copy > p { max-width: 480px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.np-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.np-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--faint); font-size: 13px; font-weight: 500; }
.np-trust span { display: inline-flex; align-items: center; gap: 8px; }
.np-trust-ico { width: 15px; height: 15px; color: var(--mint); }

/* --- Макет дашборда в hero --- */
.np-dashboard {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(151, 167, 210, .18);
  border-radius: 18px;
  background: linear-gradient(180deg, #0b101c, #090d17);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .55), 0 0 90px rgba(84, 62, 235, .14);
}
.np-dashboard__bar {
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.np-dots { display: flex; gap: 7px; }
.np-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2c3450; }
.np-dashboard__crumb { color: var(--faint); font: 500 13px var(--font-mono); }
.np-dashboard__crumb i { font-style: normal; color: #b9c2dc; }
.np-dashboard__bar small {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #56e0a8;
  font: 700 11.5px/1 var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.np-dashboard__bar small i { width: 7px; height: 7px; border-radius: 50%; background: #35e2a4; box-shadow: 0 0 10px rgba(53, 226, 164, .8); }
.np-dashboard__body {
  padding: 18px;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) 158px;
  gap: 14px;
  min-height: 396px;
}
.np-dashboard__side {
  padding-right: 14px;
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.np-side-logo { display: flex; align-items: center; gap: 9px; padding: 6px 10px 18px; font: 800 14px var(--font-head); color: #fff; }
.np-side-logo span {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8468ff, #5d3ff5);
  color: #fff;
  font: 800 13px var(--font-head);
}
.np-dashboard__side a {
  padding: 9px 10px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.np-dashboard__side a svg { width: 16px; height: 16px; opacity: .8; }
.np-dashboard__side a.is-active { background: rgba(124, 92, 255, .16); color: #d9d2ff; }
.np-dashboard__side a.is-active svg { color: #a48bff; opacity: 1; }

.np-invoice-card {
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, #0f1524, #0c111d);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.np-invoice-card header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.np-invoice-card header i {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(62, 220, 162, .13);
  color: #52e2ab;
  font: 700 11px/1 var(--font-body);
  font-style: normal;
  letter-spacing: .02em;
}
.np-invoice-card strong { margin-top: 16px; font: 800 32px/1 var(--font-head); letter-spacing: -.02em; }
.np-invoice-card strong em { color: var(--faint); font: 700 14px var(--font-head); font-style: normal; margin-left: 2px; }
.np-invoice-usd { margin-top: 6px; color: var(--faint); font-size: 12.5px; }
.np-invoice-card dl {
  width: 100%;
  margin-top: 22px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
}
.np-invoice-card dt { color: var(--faint); white-space: nowrap; }
.np-invoice-card dd { margin: 0; color: #cdd5e8; text-align: right; white-space: nowrap; }
.np-invoice-card dd.ok { color: #52e2ab; font-weight: 600; }
.np-mono { font-family: var(--font-mono); font-size: 12px; }
.np-invoice-bar { width: 100%; height: 6px; margin-top: auto; padding-top: 0; border-radius: 999px; background: rgba(62, 220, 162, .16); overflow: hidden; }
.np-invoice-bar i { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #2fcf95, #47e8ae); }

.np-widgets { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.np-qr-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}
.np-qr-card svg { width: 100%; height: auto; aspect-ratio: 1; }
.np-qr-card span { display: none; }
.np-chart-card {
  flex: 1;
  padding: 14px 14px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, #0f1524, #0c111d);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
}
.np-chart-card b { color: #cdd5e8; font: 600 12px/1.3 var(--font-body); }
.np-chart-card > span { color: #3fdca3; font: 800 12px var(--font-head); }
.np-chart-card > div { grid-column: 1 / -1; height: 64px; margin-top: 12px; display: flex; align-items: flex-end; gap: 6px; }
.np-chart-card > div i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #8f76ff, #5d3ff5); }

.np-paid-pop {
  position: absolute;
  top: -20px;
  right: -22px;
  padding: 13px 16px;
  border: 1px solid rgba(62, 220, 162, .3);
  border-radius: 14px;
  background: rgba(10, 16, 27, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  gap: 12px;
}
.np-paid-pop > svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(62, 220, 162, .16); color: #3fdca3; }
.np-paid-pop span { display: grid; gap: 2px; }
.np-paid-pop b { color: #52e2ab; font: 700 13px/1.2 var(--font-body); }
.np-paid-pop small { color: var(--muted); font-size: 12px; }
.np-paid-pop em { color: var(--faint); font: 500 11px var(--font-body); font-style: normal; }

/* --- Полоса статистики --- */
.np-stats { border-block: 1px solid var(--border-soft); background: rgba(11, 16, 28, .55); }
.np-stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.np-stats article {
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 1px solid var(--border-soft);
}
.np-stats article:first-child { border-left: 0; padding-left: 0; }
.np-stats article > svg, .np-stats article > i {
  width: 46px; height: 46px;
  padding: 12px;
  border: 1px solid rgba(124, 92, 255, .3);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(124, 92, 255, .18), rgba(124, 92, 255, .05));
  color: #a48bff;
}
.np-stats article > i { display: grid; place-items: center; font: 800 18px var(--font-head); font-style: normal; padding: 0; }
.np-stats article > span { display: grid; gap: 3px; }
.np-stats b { font: 800 20px/1.1 var(--font-head); letter-spacing: -.01em; }
.np-stats small { color: var(--faint); font-size: 12.5px; line-height: 1.45; }

/* --- Секции --- */
.np-section { padding-top: clamp(72px, 9vw, 112px); }
.np-section-head {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 64px;
}
.np-section h2 {
  margin-top: 14px;
  font: 800 clamp(28px, 3.1vw, 40px)/1.15 var(--font-head);
  letter-spacing: -.035em;
}
.np-section-head > p { max-width: 380px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* --- Возможности --- */
.np-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.np-feature-grid article {
  min-height: 218px;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(165deg, #0f1626, #0b101c);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.np-feature-grid article:hover { transform: translateY(-3px); border-color: rgba(124, 92, 255, .4); box-shadow: 0 22px 50px rgba(0, 0, 0, .4); }
.np-feat-ico {
  width: 48px; height: 48px;
  padding: 12px;
  border: 1px solid rgba(124, 92, 255, .35);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(124, 92, 255, .22), rgba(93, 63, 245, .07));
  color: #ab97ff;
}
.np-feature-grid h3 { margin: 20px 0 9px; font: 700 17.5px/1.3 var(--font-head); letter-spacing: -.01em; }
.np-feature-grid p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* --- Сети --- */
.np-chain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.np-chain {
  height: 88px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(165deg, #0f1626, #0b101c);
  transition: transform .2s ease, border-color .2s ease;
}
.np-chain:hover { transform: translateY(-2px); border-color: var(--border); }
.np-chain__coin {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 18px var(--font-head);
  font-style: normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 20px rgba(0, 0, 0, .35);
}
.np-chain__coin--tron { background: linear-gradient(145deg, #ff4b66, #d31f3c); }
.np-chain__coin--solana { background: linear-gradient(145deg, #27e5ad, #6f48ef); }
.np-chain__coin--ethereum { background: linear-gradient(145deg, #7c93ec, #5571d7); }
.np-chain__coin--bnb { background: linear-gradient(145deg, #ffcc4d, #eaa716); }
.np-chain__coin--polygon { background: linear-gradient(145deg, #9c61f5, #7434d8); }
.np-chain__coin--ton { background: linear-gradient(145deg, #35b3f2, #0d8fd4); }
.np-chain span { display: grid; gap: 3px; }
.np-chain b { font: 700 15.5px var(--font-head); }
.np-chain small { color: var(--faint); font-size: 12.5px; }

/* --- Безопасность --- */
.np-security-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}
.np-security-flow article {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(165deg, #0f1626, #0b101c);
}
.np-security-flow article > svg { width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: rgba(124, 92, 255, .14); color: #ab97ff; }
.np-security-flow article span { display: grid; gap: 3px; min-width: 0; }
.np-security-flow article b { font: 700 14px/1.25 var(--font-head); }
.np-security-flow article small { color: var(--faint); font-size: 12px; line-height: 1.4; }
.np-flow-arrow { align-self: center; color: var(--faint); font-size: 18px; font-style: normal; }
.np-security-flow article.done { border-color: rgba(62, 220, 162, .35); background: linear-gradient(165deg, #0c2019, #0a141a); }
.np-security-flow article.done > svg { background: rgba(62, 220, 162, .16); color: #3fdca3; }
.np-safe-note {
  margin-top: 18px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(62, 220, 162, .28);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(11, 66, 52, .45), rgba(8, 24, 28, .75));
}
.np-safe-note > i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(62, 220, 162, .16); color: #3fdca3; }
.np-safe-note > i svg { width: 22px; height: 22px; }
.np-safe-main { display: grid; gap: 3px; }
.np-safe-main b { color: #6fe7c0; font: 700 15px var(--font-head); }
.np-safe-main small { color: #6d9c8e; font-size: 12.5px; }
.np-safe-providers { display: grid; gap: 4px; justify-items: end; text-align: right; }
.np-safe-providers small { color: #5f8d80; font-size: 11.5px; }
.np-safe-providers b { color: #8fdcc2; font: 700 13.5px var(--font-body); letter-spacing: .04em; }

/* --- Checkout-шоукейс --- */
.np-checkout-showcase__in {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(32px, 4.5vw, 72px);
}
.np-checkout-demo {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #0c1220, #0a0e18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.np-checkout-demo > header {
  height: 46px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
}
.np-checkout-demo > header small { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.np-lock { font-style: normal; font-size: 11px; }
.np-checkout-demo__inside { padding: 24px; }
.np-checkout-demo h4 { margin-bottom: 18px; font: 700 19px var(--font-head); letter-spacing: -.01em; }
.np-demo-amount {
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(15, 21, 36, .8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.np-demo-amount > span { display: grid; gap: 2px; color: var(--faint); font-size: 12.5px; }
.np-demo-amount > span small { font-size: 12px; }
.np-demo-amount b { font: 800 24px/1 var(--font-head); letter-spacing: -.01em; white-space: nowrap; }
.np-demo-amount b em { color: var(--faint); font: 700 13px var(--font-head); font-style: normal; }
.np-demo-tabs { margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.np-demo-tabs i {
  padding: 8px 13px;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  color: var(--muted);
  font: 600 12.5px/1 var(--font-body);
  font-style: normal;
}
.np-demo-tabs i.on { border-color: rgba(124, 92, 255, .55); background: rgba(124, 92, 255, .13); color: #c9bcff; }
.np-demo-payment { display: flex; gap: 20px; align-items: center; }
.np-demo-payment .np-qr-card { flex: 0 0 116px; width: 116px; }
.np-demo-payment > span { display: grid; gap: 3px; min-width: 0; }
.np-demo-payment small { color: var(--faint); font-size: 12px; }
.np-demo-payment > span > b { font: 800 21px/1.2 var(--font-head); letter-spacing: -.01em; }
.np-demo-payment code {
  margin-top: 7px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(15, 21, 36, .8);
  color: #b9c2dc;
  font: 500 12.5px var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.np-copy-ico { width: 14px; height: 14px; color: var(--faint); }
.np-checkout-demo footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
.np-clock-ico { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--faint); }
.np-checkout-demo footer b { color: #f0c35d; font-variant-numeric: tabular-nums; }

.np-showcase-copy h2 { margin: 14px 0 0; }
.np-showcase-copy > p { max-width: 460px; margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.np-showcase-copy ul { margin: 22px 0 28px; display: grid; gap: 12px; color: #c3cbdf; font-size: 14.5px; font-weight: 500; }
.np-showcase-copy ul li { display: flex; align-items: center; gap: 10px; }
.np-showcase-copy ul .np-trust-ico { color: var(--mint); }

/* --- API-секция --- */
.np-api__in {
  display: grid;
  grid-template-columns: .66fr 1.34fr;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}
.np-api-copy h2 { margin-top: 14px; }
.np-api-copy > p { max-width: 440px; margin: 18px 0 4px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.np-api-copy .np-actions { margin-top: 28px; }
.np-code {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #0a0f1b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.np-code > header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(15, 21, 36, .6);
}
.np-code-method { padding: 5px 9px; border-radius: 7px; background: rgba(62, 220, 162, .15); color: #3fdca3; font: 800 11.5px/1 var(--font-mono); letter-spacing: .04em; }
.np-code-path { color: #cdd5e8; font: 500 13.5px var(--font-mono); }
.np-code > header b { margin-left: auto; display: flex; gap: 4px; }
.np-code > header b button { padding: 6px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--faint); font: 600 12px/1 var(--font-body); cursor: pointer; transition: background .16s ease, color .16s ease; }
.np-code > header b button:hover { color: #d7d0f4; }
.np-code > header b button.on { background: rgba(124, 92, 255, .18); color: #c9bcff; }
.np-code > header b button:focus-visible { outline: 2px solid rgba(139, 124, 255, .7); outline-offset: 2px; }
.np-code-copy { padding: 5px 0; border: 0; display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--faint); font-size: 12px; font-weight: 500; cursor: pointer; transition: color .16s ease; }
.np-code-copy:hover { color: #d7d0f4; }
.np-code-copy.is-copied { color: #4be0ad; }
.np-code__panes { display: grid; grid-template-columns: 1.12fr .88fr; gap: 14px; padding: 16px; }
.np-code pre {
  height: 280px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: #070b13;
  overflow: auto;
  scrollbar-gutter: stable;
}
.np-code code { color: #aab4cc; font: 400 12.5px/1.75 var(--font-mono); white-space: pre; }
.np-code pre::-webkit-scrollbar { width: 8px; height: 8px; }
.np-code pre::-webkit-scrollbar-thumb { background: #1d2740; border-radius: 6px; }
.np-code pre::-webkit-scrollbar-track { background: transparent; }
.np-code code i { color: #6cb8ff; font-style: normal; }
.np-code code i.np-code-status { color: #3fdca3; font-weight: 600; }
.np-code code em { color: #e2c283; font-style: normal; }
.np-code code b { color: #7ee0b0; font-weight: 500; }

/* --- CTA --- */
.np-cta { margin-top: clamp(72px, 9vw, 112px); }
.np-cta__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.8vw, 36px) clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 32px 56px;
  border: 1px solid rgba(124, 92, 255, .35);
  border-radius: 22px;
  background:
    radial-gradient(560px 300px at 86% 115%, rgba(84, 62, 235, .38), transparent 65%),
    radial-gradient(420px 260px at 4% -20%, rgba(124, 92, 255, .18), transparent 60%),
    linear-gradient(120deg, #101828, #0a0e19);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .45);
}
.np-cta__copy, .np-cta__side { position: relative; z-index: 1; }
.np-cta h2 { margin-top: 12px; font: 800 clamp(26px, 2.6vw, 34px)/1.2 var(--font-head); letter-spacing: -.03em; }
.np-cta__side p { max-width: 430px; margin-bottom: 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.np-cta__side > span { display: flex; flex-wrap: wrap; gap: 14px; }
.np-token {
  position: absolute;
  z-index: 0;
  right: -30px;
  bottom: -46px;
  width: 108px; height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #18aeed, #0088cc);
  border: 8px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-style: normal;
  opacity: .48;
}
.np-token svg { width: 54px; height: 54px; display: block; }
.np-token--second { display: none; }

/* --- Подвал --- */
.np-footer { margin-top: clamp(64px, 8vw, 96px); padding-bottom: 34px; text-align: left; color: var(--text); font-size: 14px; }
.np-footer__grid {
  padding-top: 44px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 1.6fr .75fr .8fr .75fr 1.35fr;
  gap: 36px;
}
.np-footer__brand b { font: 800 21px var(--font-head); color: #fff; }
.np-footer__brand b em { color: #8f76ff; font-style: normal; }
.np-footer__brand p { margin-top: 14px; max-width: 300px; color: var(--faint); font-size: 13.5px; line-height: 1.65; }
.np-footer__grid > div:not(.np-footer__brand):not(.np-subscribe) { display: grid; align-content: start; gap: 11px; }
.np-footer__grid > div > b { margin-bottom: 6px; color: #cdd5e8; font: 700 13.5px var(--font-head); letter-spacing: .02em; }
.np-footer__grid > div > a { color: var(--faint); font-size: 13.5px; transition: color .15s ease; }
.np-footer__grid > div > a:hover { color: #fff; }
.np-subscribe { width: 100%; max-width: 340px; min-width: 0; padding: 0; border: 0; background: transparent; }
.np-subscribe__head { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 11px; }
.np-subscribe__head > i { width: 38px; height: 38px; border: 1px solid rgba(124, 92, 255, .3); border-radius: 11px; display: grid; place-items: center; background: rgba(124, 92, 255, .1); color: #a995ff; font-style: normal; }
.np-subscribe__head > i svg { width: 18px; height: 18px; }
.np-subscribe__head > span { min-width: 0; display: grid; gap: 3px; }
.np-subscribe__head b { color: #e6e9f1; font: 700 14px var(--font-head); }
.np-subscribe__head small { color: var(--faint); font-size: 11.5px; line-height: 1.45; }
.np-subscribe label { margin-top: 13px; padding: 4px; display: flex; gap: 4px; border: 1px solid var(--border); border-radius: 12px; background: #0a0f1b; transition: border-color .16s ease, box-shadow .16s ease; }
.np-subscribe label:focus-within { border-color: rgba(124, 92, 255, .72); box-shadow: 0 0 0 3px rgba(124, 92, 255, .1); }
.np-subscribe input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: 400 13px var(--font-body);
}
.np-subscribe input::placeholder { color: var(--faint); }
.np-subscribe input:focus { outline: none; }
.np-subscribe button {
  width: 38px;
  height: 38px;
  flex: none;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #8468ff, #5d3ff5);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(93, 63, 245, .24);
  transition: transform .15s ease, filter .15s ease;
}
.np-subscribe button svg { width: 17px; height: 17px; }
.np-subscribe button:hover { transform: translateX(2px); filter: brightness(1.1); }
.np-footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.np-footer__bottom small { color: #56617c; font-size: 12.5px; }
.np-footer__bottom small a { color: #56617c; margin-left: 22px; transition: color .15s ease; }
.np-footer__bottom small a:first-child { margin-left: 0; }
.np-footer__bottom small a:hover { color: #fff; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1060px) {
  .np-hero__in { grid-template-columns: 1fr; padding-top: 64px; }
  .np-hero__copy { text-align: center; }
  .np-hero__copy > p { margin-inline: auto; }
  .np-actions, .np-trust { justify-content: center; }
  .np-dashboard { max-width: 720px; margin-inline: auto; width: 100%; }
  .np-paid-pop { right: -8px; }
  .np-section-head { grid-template-columns: 1fr; align-items: start; }
  .np-feature-grid, .np-chain-grid { grid-template-columns: repeat(2, 1fr); }
  .np-checkout-showcase__in, .np-api__in { grid-template-columns: 1fr; }
  .np-showcase-copy { order: -1; }
  .np-cta__panel { grid-template-columns: 1fr; }
  .np-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .np-subscribe { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .np-topnav__links { display: none; }
  .np-topnav__actions { margin-left: auto; }
  .np-hero h1 br { display: none; }
  .np-dashboard__body { grid-template-columns: 1fr; min-height: 0; }
  .np-dashboard__side, .np-widgets { display: none; }
  .np-paid-pop { position: static; margin: 0 18px 18px; width: fit-content; }
  .np-stats__in { grid-template-columns: 1fr 1fr; }
  .np-stats article { padding: 20px 18px; border-top: 1px solid var(--border-soft); }
  .np-stats article:nth-child(-n+2) { border-top: 0; }
  .np-stats article:nth-child(odd) { border-left: 0; padding-left: 0; }
  .np-feature-grid, .np-chain-grid { grid-template-columns: 1fr; }
  .np-security-flow { grid-template-columns: 1fr; }
  .np-flow-arrow { transform: rotate(90deg); justify-self: center; }
  .np-safe-note { grid-template-columns: auto 1fr; padding: 18px; }
  .np-safe-providers { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .np-demo-payment { flex-direction: column; align-items: flex-start; }
  .np-code__panes { grid-template-columns: 1fr; }
  .np-code pre { height: 250px; }
  .np-code > header { flex-wrap: wrap; }
  .np-code > header b { margin-left: 0; }
  .np-footer__grid { grid-template-columns: 1fr 1fr; }
  .np-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .np-container { width: calc(100% - 32px); }
  .np-topnav__actions a:not(.np-button) { display: none; }
  .np-button--sm { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
  .np-actions .np-button { width: 100%; }
  .np-dashboard__crumb { display: none; }
  .np-stats__in, .np-footer__grid { grid-template-columns: 1fr; }
  .np-stats article { border-left: 0; padding-left: 0; }
  .np-stats article:nth-child(2) { border-top: 1px solid var(--border-soft); }
  .np-hero h1 { font-size: 36px; }
  .np-demo-tabs i { padding: 7px 10px; }
  .np-cta__side > span { flex-direction: column; }
  .np-cta__side > span .np-button { width: 100%; }
  .np-token { display: none; }
  .np-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Network cards: real brand logos (Trust Wallet assets) instead of letter badges. */
.np-chain__coin {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}
.np-chain__logo { width: 30px; height: 30px; object-fit: contain; display: block; }

/* Legal pages (/terms, /privacy) */
.np-legal { padding: 26px 0 40px; }
.np-legal h1 { margin: 10px 0 6px; font: 800 clamp(30px, 4vw, 42px)/1.1 var(--font-head); color: #fff; letter-spacing: -.02em; }
.np-legal__updated { margin: 0 0 26px; color: var(--faint); font-size: 13.5px; }
.np-legal__card { width: 100%; padding: 34px 38px 26px; border: 1px solid var(--border-soft); border-radius: 20px; background: linear-gradient(170deg, rgba(255,255,255,.028), rgba(255,255,255,.012)); }
.np-legal__intro { margin: 0 0 8px; padding: 14px 18px; border-left: 3px solid #8f76ff; border-radius: 0 12px 12px 0; background: rgba(143,118,255,.07); color: #d7dcea; font-size: 15px; line-height: 1.7; }
.np-legal__section { padding: 20px 0 6px; border-bottom: 1px solid rgba(255,255,255,.05); }
.np-legal__section:last-of-type { border-bottom: 0; }
.np-legal__section h2 { margin: 0 0 12px; font: 700 18px var(--font-head); color: #fff; }
.np-legal__section p { margin: 0 0 12px; color: #aeb6c8; font-size: 14.5px; line-height: 1.75; }
.np-legal__footer { margin-top: 26px; color: var(--faint); font-size: 13px; }
.np-legal__footer a { color: #b9a8ff; }
@media(max-width:720px){ .np-legal__card { padding: 22px 18px; } .np-legal__section { padding-top: 14px; } }

/* More breathing room under the footer */
.np-footer { padding-bottom: 96px; }
