/* Публічна сторінка продукту (src/landing.ts). Діє лише поза Mini App:
   у Telegram на <html> є клас tg і сторінка прихована; без JavaScript класу немає —
   тоді показується сторінка, а застосунок ховається. */
html:not(.tg) #app,
html:not(.tg) #tabbar,
html:not(.tg) #web-back,
html:not(.tg) #sheet-root,
html:not(.tg) #toast { display: none !important; }
html.tg .landing { display: none !important; }

/* Усе нижче — лише для сторінки продукту: селектори під .landing / lp- або html:not(.tg),
   щоб app.css і Mini App на тій самій адресі нічого звідси не отримали. */
html:not(.tg), html:not(.tg) body { background: #f7f8fa; }
@media (prefers-color-scheme: dark) { html:not(.tg), html:not(.tg) body { background: #0a0f1c; } }
@media (prefers-reduced-motion: no-preference) { html:not(.tg) { scroll-behavior: smooth; } }

/* ---------- токени ---------- */
.landing {
  --lp-bg: #f7f8fa;
  --lp-bg-alt: #ffffff;
  --lp-surface: #ffffff;
  --lp-surface-2: #f2f4f7;
  --lp-text: #0b1324;
  --lp-muted: #4a5568;
  --lp-faint: #5b6678;
  --lp-line: #e3e7ee;
  --lp-line-strong: #cfd6e1;
  --lp-accent: #0f766e;
  --lp-accent-strong: #115e59;
  --lp-accent-soft: #e3f4f1;
  --lp-pos: #15803d;
  --lp-pos-text: #166534;
  --lp-pos-soft: #e3f2e8;
  --lp-neg: #b91c1c;
  --lp-neg-soft: #fbe7e7;
  --lp-warn: #b45309;
  --lp-btn-bg: #0f766e;
  --lp-btn-bg-h: #115e59;
  --lp-btn-fg: #ffffff;
  --lp-btn-glow: rgba(15, 118, 110, 0.35);
  --lp-ghost-line: var(--lp-line-strong);
  --lp-focus: #0b6b63;
  --lp-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 30px -14px rgba(16, 24, 40, 0.16);
  --lp-radius: 18px;
  --lp-ink: #070d1a;
  --lp-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --lp-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  color: var(--lp-text);
  background: var(--lp-bg);
  font: 16px/1.6 var(--lp-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
  .landing {
    --lp-bg: #0a0f1c;
    --lp-bg-alt: #0d1424;
    --lp-surface: #111a2c;
    --lp-surface-2: #16213a;
    --lp-text: #e8edf6;
    --lp-muted: #a8b3c7;
    --lp-faint: #8f9bb1;
    --lp-line: #1f2a40;
    --lp-line-strong: #2d3b57;
    --lp-accent: #2dd4bf;
    --lp-accent-strong: #5eead4;
    --lp-accent-soft: rgba(45, 212, 191, 0.12);
    --lp-pos: #4ade80;
    --lp-pos-text: #4ade80;
    --lp-pos-soft: rgba(74, 222, 128, 0.12);
    --lp-neg: #f87171;
    --lp-neg-soft: rgba(248, 113, 113, 0.12);
    --lp-warn: #fbbf24;
    --lp-btn-bg: #2dd4bf;
    --lp-btn-bg-h: #5eead4;
    --lp-btn-fg: #04201c;
    --lp-btn-glow: rgba(45, 212, 191, 0.3);
    --lp-focus: #5eead4;
    --lp-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.6);
  }
}
/* Темні «чорнильні» блоки (шапка, головний блок, фінал) — однакові в обох темах */
.lp-ink, .lp-top {
  --lp-text: #f1f5fb;
  --lp-muted: #a9b6cc;
  --lp-faint: #94a3bb;
  --lp-line: rgba(255, 255, 255, 0.09);
  --lp-line-strong: rgba(255, 255, 255, 0.2);
  --lp-accent: #2dd4bf;
  --lp-accent-strong: #5eead4;
  --lp-btn-bg: #2dd4bf;
  --lp-btn-bg-h: #5eead4;
  --lp-btn-fg: #04201c;
  --lp-btn-glow: rgba(45, 212, 191, 0.35);
  --lp-ghost-line: rgba(255, 255, 255, 0.22);
  --lp-focus: #5eead4;
  color: var(--lp-text);
}

/* ---------- база ---------- */
.landing *, .landing *::before, .landing *::after { box-sizing: border-box; }
.landing a { color: var(--lp-accent); text-decoration: none; }
.landing a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* :where() — нульова специфічність: базове скидання ніколи не перебиває відступи конкретних блоків */
.landing :where(h1, h2, h3) { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.landing :where(p, ul, ol) { margin: 0; }
.landing :where(ul, ol) { padding: 0; list-style: none; }
.landing :where(a, summary, [tabindex]):focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 3px; border-radius: 8px; }
.landing .lp-main:focus { outline: none; }
.lp-i { width: 20px; height: 20px; flex: none; display: block; }
.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.landing .lp-skip {
  position: absolute; left: 16px; top: -200px; z-index: 50; padding: 12px 16px; border-radius: 10px;
  background: #fff; color: #0b1324; font-weight: 600; box-shadow: var(--lp-shadow);
}
.landing .lp-skip:focus { top: 12px; }

/* ---------- кнопки ---------- */
.landing .lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 650; font-size: 16px; letter-spacing: -0.005em; line-height: 1.2; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.landing .lp-btn:hover { text-decoration: none; }
.landing .lp-btn .lp-i { width: 18px; height: 18px; }
.landing .lp-btn.primary {
  background: var(--lp-btn-bg); color: var(--lp-btn-fg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 28px -10px var(--lp-btn-glow);
}
.landing .lp-btn.primary:hover { background: var(--lp-btn-bg-h); transform: translateY(-1px); }
.landing .lp-btn.ghost { color: var(--lp-text); border-color: var(--lp-ghost-line); background: rgba(255, 255, 255, 0.04); }
.landing .lp-btn.ghost:hover { border-color: var(--lp-muted); background: rgba(255, 255, 255, 0.08); }
.landing .lp-btn.ghost .lp-i { transition: transform 0.18s ease; }
.landing .lp-btn.ghost:hover .lp-i { transform: translateX(2px); }
.landing .lp-btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-actions.center { justify-content: center; }
.lp-note { color: var(--lp-muted); font-size: 15px; }

/* ---------- шапка ---------- */
.lp-top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 13, 26, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.lp-top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.landing .lp-logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none;
  color: var(--lp-text); font-weight: 700; font-size: 17px; letter-spacing: -0.015em;
}
.landing .lp-logo:hover { text-decoration: none; }
.lp-mark { width: 30px; height: 30px; flex: none; display: block; border-radius: 9px; box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25); }
.lp-nav { display: flex; gap: 2px; margin-left: 8px; }
.landing .lp-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px;
  color: #b8c4d8; font-size: 14.5px; font-weight: 500;
}
.landing .lp-nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.06); }
.lp-top-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-langs { display: flex; padding: 2px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); }
.landing .lp-langs a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px;
  border-radius: 9px; color: #b8c4d8; font-size: 13.5px; font-weight: 650; letter-spacing: 0.02em;
}
.landing .lp-langs a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.landing .lp-langs a:hover { color: #fff; text-decoration: none; }

/* ---------- головний блок ---------- */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--lp-ink); padding: 72px 0 96px; }
.lp-hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 420px at 78% 38%, rgba(45, 212, 191, 0.16), transparent 70%),
    radial-gradient(560px 360px at 6% -8%, rgba(56, 120, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(7, 13, 26, 0) 70%, rgba(7, 13, 26, 1) 100%);
}
.lp-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 60% 35%, #000 25%, transparent 75%);
}
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-hero-copy { max-width: 640px; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; margin-bottom: 24px;
  border-radius: 999px; border: 1px solid rgba(45, 212, 191, 0.28); background: rgba(45, 212, 191, 0.08);
  color: #a7f3e6; font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
}
.lp-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2dd4bf; flex: none; }
.lp-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #2dd4bf; opacity: 0; animation: lp-ping 2.4s ease-out infinite; }
.lp-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 750; }
.lp-h1-accent {
  display: block; color: #5eead4;
  background: linear-gradient(92deg, #5eead4 0%, #99f6e4 45%, #7dd3fc 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-lead { color: var(--lp-muted); font-size: clamp(17px, 1.9vw, 19.5px); line-height: 1.6; max-width: 58ch; margin-top: 22px; }
.lp-hero .lp-note { margin-top: 0; align-self: center; color: #cbd5e1; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.lp-trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--lp-muted); font-size: 14.5px; }
.lp-trust .lp-i { width: 16px; height: 16px; color: #2dd4bf; stroke-width: 2.25; }

/* радар за телефоном */
.lp-hero-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; min-width: 0; }
.lp-radar {
  position: absolute; z-index: 0; left: 50%; top: 50%; width: 640px; height: 640px; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background:
    repeating-radial-gradient(circle at center, transparent 0 79px, rgba(45, 212, 191, 0.14) 79px 80px),
    radial-gradient(circle at center, rgba(45, 212, 191, 0.07), transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 40%, transparent 70%);
  mask-image: radial-gradient(circle at center, #000 40%, transparent 70%);
}
.lp-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0) 70deg, transparent 360deg);
  animation: lp-spin 9s linear infinite;
}
.lp-radar i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 12px 2px rgba(94, 234, 212, 0.6); animation: lp-blip 9s ease-out infinite; }
.lp-radar i:nth-of-type(1) { left: 74%; top: 22%; animation-delay: 1.4s; }
.lp-radar i:nth-of-type(2) { left: 84%; top: 63%; animation-delay: 3.3s; }
.lp-radar i:nth-of-type(3) { left: 17%; top: 72%; animation-delay: 6.6s; }

/* телефон із чатом бота */
.lp-phone {
  position: relative; z-index: 1; width: 344px; max-width: 100%; padding: 9px; border-radius: 46px;
  background: linear-gradient(155deg, #252f40 0%, #0d121b 45%, #1a2230 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 50px 100px -30px rgba(0, 0, 0, 0.75),
    0 30px 60px -40px rgba(45, 212, 191, 0.35);
}
.lp-screen { position: relative; overflow: hidden; border-radius: 38px; background: #0e1621; color: #e9eef4; font-size: 13px; line-height: 1.45; }
.lp-screen::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 10px; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.lp-chat-head { display: flex; align-items: center; gap: 10px; padding: 46px 14px 10px; background: #17212b; border-bottom: 1px solid rgba(0, 0, 0, 0.35); }
.lp-chat-back { color: #6ab2f2; }
.lp-chat-back .lp-rot { transform: rotate(90deg); }
.lp-avatar { width: 36px; height: 36px; border-radius: 50%; box-shadow: none; }
.lp-chat-who { display: flex; flex-direction: column; line-height: 1.25; }
.lp-chat-who b { font-size: 14.5px; font-weight: 650; color: #fff; }
.lp-chat-who span { font-size: 12px; color: #7f91a4; }
.lp-chat {
  display: flex; flex-direction: column; gap: 7px; padding: 12px 10px 16px;
  background:
    radial-gradient(circle at 20% 10%, rgba(106, 178, 242, 0.06), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(45, 212, 191, 0.05), transparent 45%),
    #0e1621;
}
.lp-day { align-self: center; margin-bottom: 2px; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); color: #dbe5ee; font-size: 11.5px; font-weight: 600; }
.lp-bub {
  align-self: flex-start; display: flex; flex-direction: column; gap: 1px; width: 100%; max-width: 100%;
  padding: 8px 11px 6px; border-radius: 14px 14px 14px 5px; background: #182533; box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.3);
  font-variant-numeric: tabular-nums;
}
.lp-bub-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; font-weight: 700; color: #fff; }
.lp-ev { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; }
.lp-ev .lp-i { width: 13px; height: 13px; stroke-width: 2.2; }
.lp-ev.swap { background: rgba(106, 178, 242, 0.18); color: #8cc4f5; }
.lp-ev.bal { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.lp-ev.in { background: rgba(74, 222, 128, 0.16); color: #86efac; }
.lp-prio { padding: 1px 7px; border-radius: 6px; background: #f59e0b; color: #1c1300; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; }
.lp-kv { display: flex; gap: 6px; min-width: 0; }
.lp-k { color: #7f91a4; flex: none; }
.lp-k::after { content: ":"; }
.lp-v { min-width: 0; overflow-wrap: anywhere; }
.lp-v b { font-weight: 650; color: #fff; }
.lp-v .pos { color: #6ee7a0; }
.lp-v .neg { color: #fb9a9a; }
.lp-fiat { color: #9fb0c2; }
.lp-v code { font-family: var(--lp-mono); font-size: 12px; color: #c9d6e2; }
.lp-time { align-self: flex-end; margin-top: -2px; color: #6d8196; font-size: 11px; }
.lp-kb { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; width: 100%; margin-top: -3px; }
.lp-kb span {
  display: block; padding: 7px 4px; border-radius: 8px; background: rgba(36, 52, 70, 0.92); color: #fff;
  font-size: 12px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-kb .w3 { grid-column: span 3; }
.lp-kb .w2 { grid-column: span 2; }

/* ---------- секції ---------- */
.lp-sec { padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: 64px; }
.lp-sec.alt { background: var(--lp-bg-alt); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.lp-kicker { color: var(--lp-accent); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.lp-head h2, .lp-final h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.lp-sub { color: var(--lp-muted); font-size: clamp(17px, 1.6vw, 19px); margin-top: 16px; max-width: 60ch; }
.lp-ico {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px;
  color: var(--lp-accent); background: var(--lp-accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lp-accent) 18%, transparent);
}

/* чому не просто експлорер */
.lp-cmp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lp-cmp-col { padding: clamp(24px, 3vw, 36px); border-radius: var(--lp-radius); border: 1px solid var(--lp-line); background: var(--lp-surface); }
.lp-cmp-col h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 22px; }
.lp-cmp-col h3 .lp-mark { width: 28px; height: 28px; }
.lp-cmp-col ul { display: grid; gap: 14px; }
.lp-cmp-col li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.lp-cmp-col li .lp-i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; stroke-width: 2.5; }
.lp-cmp-col.before { background: var(--lp-surface-2); }
.lp-cmp-col.before h3 { color: var(--lp-muted); }
.lp-cmp-col.before li { color: var(--lp-muted); }
.lp-cmp-col.before li .lp-i { color: var(--lp-neg); background: var(--lp-neg-soft); }
.lp-cmp-col.after {
  border-color: color-mix(in srgb, var(--lp-accent) 40%, var(--lp-line));
  background:
    radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--lp-accent) 10%, transparent), transparent 70%),
    var(--lp-surface);
  box-shadow: var(--lp-shadow);
}
.lp-cmp-col.after li .lp-i { color: var(--lp-accent); background: var(--lp-accent-soft); }

/* можливості: три відмінності з ілюстраціями */
.lp-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.lp-tile {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--lp-radius);
  border: 1px solid var(--lp-line); background: var(--lp-surface); box-shadow: var(--lp-shadow);
}
.lp-tile-body { padding: 22px 24px 26px; }
.lp-tile-body .lp-ico { margin-bottom: 16px; }
.lp-tile h3, .lp-feat h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 8px; }
.lp-tile p, .lp-feat p { color: var(--lp-muted); font-size: 15.5px; line-height: 1.6; }
.lp-vis {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 168px; padding: 24px 20px; border-bottom: 1px solid var(--lp-line);
  background:
    radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--lp-accent) 10%, transparent), transparent 60%),
    var(--lp-surface-2);
  font-variant-numeric: tabular-nums;
}
.lp-vis::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: radial-gradient(color-mix(in srgb, var(--lp-text) 10%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.lp-vis > * { position: relative; }
.lp-vis-cap { color: var(--lp-faint); font-size: 13px; font-weight: 600; }
.lp-vis-cap.acc { color: var(--lp-accent); }
.lp-swapvis { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-swapvis > .lp-i { color: var(--lp-faint); }
.lp-pill {
  padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; white-space: nowrap;
  background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow);
}
.lp-pill.neg { color: var(--lp-neg); }
.lp-pill.pos { color: var(--lp-pos-text); }
.lp-bars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 12px; width: 100%; max-width: 360px; font-size: 13px; }
.lp-bar-l { color: var(--lp-muted); font-weight: 600; }
.lp-bar-v { color: var(--lp-text); font-weight: 700; text-align: right; }
.lp-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--lp-text) 8%, transparent); }
.lp-bar > span { display: block; height: 100%; background: color-mix(in srgb, var(--lp-text) 30%, transparent); }
.lp-bar.act > span:first-child { background: color-mix(in srgb, var(--lp-text) 30%, transparent); }
.lp-bar .gap {
  background: repeating-linear-gradient(-45deg, var(--lp-accent) 0 4px, color-mix(in srgb, var(--lp-accent) 55%, transparent) 4px 8px);
}
.lp-quiet { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 360px; }
.lp-quiet-tag {
  align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--lp-surface); border: 1px solid color-mix(in srgb, var(--lp-warn) 45%, var(--lp-line));
  color: var(--lp-warn); font-weight: 700; font-size: 13px; white-space: nowrap; box-shadow: var(--lp-shadow);
}
.lp-quiet-tag .lp-i { width: 15px; height: 15px; stroke-width: 2.2; }
.lp-quiet-track {
  position: relative; height: 28px; border-radius: 10px;
  background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--lp-text) 7%, transparent) 0 6px, transparent 6px 12px), color-mix(in srgb, var(--lp-text) 5%, transparent);
  border: 1px solid var(--lp-line);
}
.lp-quiet-track i { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: color-mix(in srgb, var(--lp-text) 30%, transparent); }
.lp-quiet-track i.hot { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--lp-warn); box-shadow: 0 0 0 5px color-mix(in srgb, var(--lp-warn) 22%, transparent); }
.lp-quiet-scale { display: flex; justify-content: space-between; align-items: center; color: var(--lp-faint); font-size: 12px; font-weight: 600; }
.lp-quiet-scale > span:nth-child(2) { display: inline-flex; align-items: center; gap: 5px; }
.lp-quiet-scale .lp-i { width: 14px; height: 14px; }

/* решта можливостей */
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lp-feat {
  padding: 24px; border-radius: var(--lp-radius); border: 1px solid var(--lp-line); background: var(--lp-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.lp-feat:hover { border-color: var(--lp-line-strong); box-shadow: var(--lp-shadow); }
.lp-feat .lp-ico { margin-bottom: 16px; }
.lp-sec.alt .lp-feat { background: var(--lp-bg); }
.lp-feat .lp-tip {
  display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 8px;
  background: var(--lp-accent-soft); color: var(--lp-accent); font-size: 13px; font-weight: 600; line-height: 1.45;
}

/* як це працює */
.lp-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.lp-steps li { position: relative; padding-left: 64px; }
.lp-step-n {
  position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--lp-surface); border: 1px solid color-mix(in srgb, var(--lp-accent) 45%, var(--lp-line));
  color: var(--lp-accent); font-weight: 750; font-size: 17px; box-shadow: 0 0 0 6px var(--lp-bg), var(--lp-shadow);
}
.lp-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 21.5px; top: 48px; bottom: -28px; width: 1px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--lp-accent) 55%, transparent), var(--lp-line));
}
.lp-steps h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; padding-top: 6px; }
.lp-steps p { color: var(--lp-muted); max-width: 42ch; }

/* для кого */
.lp-aud { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lp-aud .lp-feat { display: flex; flex-direction: column; align-items: flex-start; }
.lp-aud .lp-feat p:not(.lp-tip) { flex: 1; }

/* мережі */
.lp-nets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lp-net { padding: 22px 24px 24px; border-radius: var(--lp-radius); border: 1px solid var(--lp-line); background: var(--lp-surface); box-shadow: var(--lp-shadow); }
.lp-net.soon { box-shadow: none; border-style: dashed; border-color: var(--lp-line-strong); background: transparent; }
.lp-net-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lp-net-mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 18px; }
.lp-net-mono.tron { background: linear-gradient(145deg, #ef4444, #b91c1c); }
.lp-net-mono.eth { background: linear-gradient(145deg, #7c8cf0, #4b5cc4); }
.lp-net-mono.bsc { background: linear-gradient(145deg, #f5c542, #c99400); color: #2a1f00; }
.lp-net.soon .lp-net-mono { filter: grayscale(1); opacity: 0.55; }
.lp-net-name { font-size: 20px; letter-spacing: -0.02em; }
.lp-net.soon .lp-net-name { color: var(--lp-muted); }
.lp-net-sub { color: var(--lp-muted); font-size: 15px; margin-top: 4px; }
.lp-net-exp { color: var(--lp-faint); font-size: 13.5px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--lp-line); }
.lp-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 650; color: var(--lp-muted); background: var(--lp-surface-2); border: 1px solid var(--lp-line);
}
.lp-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.lp-badge.ok { color: var(--lp-pos-text); background: var(--lp-pos-soft); border-color: color-mix(in srgb, var(--lp-pos) 30%, transparent); }
.lp-badge.ok::before { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-pos) 25%, transparent); }

/* безпека */
.lp-secgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lp-feat.lp-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 18px; align-items: start; align-content: start; }
.lp-feat.lp-row .lp-ico { grid-row: span 2; margin-bottom: 0; }

/* часті запитання */
.lp-faq-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lp-faq { border-top: 1px solid var(--lp-line); }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 4px;
  cursor: pointer; list-style: none; font-weight: 650; font-size: 17px; letter-spacing: -0.01em;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::marker { content: ""; }
.lp-faq summary:hover { color: var(--lp-accent); }
.lp-faq summary .lp-i { color: var(--lp-faint); transition: transform 0.2s ease; }
.lp-faq details[open] summary .lp-i { transform: rotate(180deg); color: var(--lp-accent); }
.lp-faq details p { color: var(--lp-muted); padding: 0 40px 22px 4px; max-width: 70ch; }

/* фінальний заклик */
.lp-final { padding: 0 0 clamp(72px, 9vw, 120px); }
.lp-final-in {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); border-radius: 28px; background: var(--lp-ink);
  box-shadow: 0 40px 80px -40px rgba(7, 13, 26, 0.6);
}
.lp-final-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 50% 120%, transparent 0 69px, rgba(45, 212, 191, 0.12) 69px 70px),
    radial-gradient(600px 300px at 50% 110%, rgba(45, 212, 191, 0.22), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
}
.lp-final-mark { width: 52px; height: 52px; margin: 0 auto 24px; border-radius: 15px; }
.lp-final p { color: var(--lp-muted); max-width: 52ch; margin: 16px auto 0; font-size: clamp(17px, 1.7vw, 19px); }
.lp-final .lp-actions { margin-top: 32px; }
.lp-final .lp-note { color: #cbd5e1; }

/* підвал */
.lp-foot { border-top: 1px solid var(--lp-line); padding: 56px 0 40px; color: var(--lp-muted); font-size: 15px; }
.lp-foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.lp-foot-brand p { margin-top: 12px; max-width: 34ch; }
.lp-foot .lp-logo { color: var(--lp-text); }
.lp-foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.lp-foot-h { color: var(--lp-text); font-weight: 650; font-size: 14px; margin-bottom: 6px; }
.landing .lp-foot-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lp-muted); }
.landing .lp-foot-col a:hover { color: var(--lp-text); }
.landing .lp-foot-col a[aria-current="true"] { color: var(--lp-text); font-weight: 600; }
.lp-foot-col > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 6px; min-height: 44px; }
.landing .lp-foot-col > span a { color: var(--lp-accent); }
.lp-copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--lp-line); color: var(--lp-faint); font-size: 14px; }

/* ---------- анімації ---------- */
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes lp-blip { 0%, 100% { opacity: 0; transform: scale(0.6); } 4% { opacity: 1; transform: scale(1); } 40% { opacity: 0; } }

/* ---------- адаптивність ---------- */
@media (min-width: 640px) {
  .lp-cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-grid, .lp-aud, .lp-secgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-nets { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-bento .lp-tile:last-child { grid-column: 1 / -1; }
  .lp-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .lp-steps li { padding-left: 0; padding-top: 68px; }
  .lp-step-n { top: 0; }
  .lp-steps li:not(:last-child)::after {
    left: 60px; right: -20px; top: 22px; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--lp-accent) 55%, transparent), var(--lp-line));
  }
  .lp-faq-in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .lp-faq-in .lp-head { position: sticky; top: 96px; }
  .lp-foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .lp-foot-brand { grid-column: auto; }
}
@media (min-width: 1000px) {
  .lp-hero { padding: 88px 0 112px; }
  .lp-hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; }
  .lp-hero-copy { max-width: none; }
  .lp-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-bento .lp-tile:last-child { grid-column: auto; }
  .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-grid.last-wide .lp-feat:last-child { grid-column: 1 / -1; }
  .lp-aud { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .lp-hero-copy { max-width: 680px; }
}
@media (max-width: 959px) {
  .lp-nav { display: none; }
}
@media (max-width: 639px) {
  .lp-wrap { padding: 0 16px; }
  .lp-hero { padding: 48px 0 72px; }
  .lp-hero-in { gap: 48px; }
  .lp-radar { width: 520px; height: 520px; }
  .lp-actions .lp-btn { width: 100%; }
  .lp-trust { flex-direction: column; gap: 10px; }
  .lp-feat, .lp-net { padding: 20px; }
  .lp-tile-body { padding: 20px 20px 22px; }
  .lp-faq details p { padding-right: 4px; }
  .lp-final-in { border-radius: 22px; }
}
@media (max-width: 460px) {
  .lp-top-end .lp-btn-sm { display: none; }
  .lp-top-in { gap: 12px; }
}
/* вузькі екрани: «віддано → отримано» стовпчиком, стрілка вниз — щоб не лишалась сама на рядку */
@media (max-width: 379px) {
  .lp-swapvis { flex-direction: column; gap: 6px; }
  .lp-swapvis > .lp-i { transform: rotate(90deg); }
}
/* режим високої контрастності: градієнтний текст замінюється системним кольором */
@media (forced-colors: active) {
  .lp-h1-accent { background: none; -webkit-text-fill-color: currentColor; }
}

@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition: none !important; }
  .landing .lp-btn.primary:hover { transform: none; }
}
