/* Public front page (src/site/render.ts). Design language: docs/DESIGN.md — Inter + JetBrains
   Mono, cool neutral surfaces, one indigo-violet accent, 1px borders + soft shadows.
   No inline styles (CSP): every state is a class or an attribute. Theme: data-theme on <html>,
   "auto" follows the OS. Motion: `.anim` (set by site.js only when motion is allowed) opts into
   "hidden until revealed"; without it everything is in its final state. */

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ----------------------------------------------------------------- tokens */
:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #f0f2f6;
  --border: #e6e8ee;
  --border-strong: #d3d7e0;
  --text: #0e1120;
  --text-2: #474d63;
  --muted: #7a8097;
  --faint: #a7acbd;
  --accent: #5b50f0;
  --accent-hover: #4b40de;
  --accent-2: #3d7bff;
  --accent-soft: rgba(91, 80, 240, 0.1);
  --accent-ring: rgba(91, 80, 240, 0.26);
  --ok: #0f9f6e;
  --warn: #c2780c;
  --bad: #dc3a40;
  --ok-soft: rgba(15, 159, 110, 0.12);
  --warn-soft: rgba(194, 120, 12, 0.12);
  --shadow-xs: 0 1px 2px rgba(14, 17, 32, 0.05);
  --shadow-sm: 0 1px 2px rgba(14, 17, 32, 0.04), 0 4px 12px rgba(14, 17, 32, 0.04);
  --shadow-lg: 0 10px 30px rgba(14, 17, 32, 0.1), 0 30px 60px rgba(14, 17, 32, 0.08);
  --grad: linear-gradient(135deg, #6a5cff 0%, #4f7dff 100%);
  --glow: rgba(91, 80, 240, 0.14);
  --glow-2: rgba(61, 123, 255, 0.1);
  --hdr: rgba(246, 247, 249, 0.8);
  --sc-panel: #f1f3f7;
  --sc-card: #ffffff;
  --sc-well: #f0f2f6;
  --sc-sk: #e3e6ed;
  --code-bg: #f8f9fb;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.25, 1);
}
[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0a0b0f; --surface: #12141a; --surface-2: #171a22; --surface-3: #1e212b;
  --border: #23262f; --border-strong: #313540;
  --text: #eef0f5; --text-2: #b6bbca; --muted: #7f859a; --faint: #5b6072;
  --accent: #7d74ff; --accent-hover: #8f87ff; --accent-2: #5b94ff;
  --accent-soft: rgba(125, 116, 255, 0.15); --accent-ring: rgba(125, 116, 255, 0.36);
  --ok: #34c38f; --warn: #e6a23c; --bad: #f26a6f;
  --ok-soft: rgba(52, 195, 143, 0.16); --warn-soft: rgba(230, 162, 60, 0.16);
  --shadow-xs: none; --shadow-sm: none; --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --glow: rgba(125, 116, 255, 0.18); --glow-2: rgba(91, 148, 255, 0.1);
  --hdr: rgba(10, 11, 15, 0.72);
  --sc-panel: #0f1116; --sc-card: #171a22; --sc-well: #1f232d; --sc-sk: #262a35;
  --code-bg: #0f1116;
}
@media (prefers-color-scheme: dark) {
  [data-theme='auto'] {
    color-scheme: dark;
    --bg: #0a0b0f; --surface: #12141a; --surface-2: #171a22; --surface-3: #1e212b;
    --border: #23262f; --border-strong: #313540;
    --text: #eef0f5; --text-2: #b6bbca; --muted: #7f859a; --faint: #5b6072;
    --accent: #7d74ff; --accent-hover: #8f87ff; --accent-2: #5b94ff;
    --accent-soft: rgba(125, 116, 255, 0.15); --accent-ring: rgba(125, 116, 255, 0.36);
    --ok: #34c38f; --warn: #e6a23c; --bad: #f26a6f;
    --ok-soft: rgba(52, 195, 143, 0.16); --warn-soft: rgba(230, 162, 60, 0.16);
    --shadow-xs: none; --shadow-sm: none; --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --glow: rgba(125, 116, 255, 0.18); --glow-2: rgba(91, 148, 255, 0.1);
    --hdr: rgba(10, 11, 15, 0.72);
    --sc-panel: #0f1116; --sc-card: #171a22; --sc-well: #1f232d; --sc-sk: #262a35;
    --code-bg: #0f1116;
  }
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01'; overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 32px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ci { display: block; border-radius: 50%; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 20px;
  white-space: nowrap; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, box-shadow .15s ease-out, color .15s ease-out, translate .15s ease-out;
}
.btn .i { width: 17px; height: 17px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-pri { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(14, 17, 32, 0.12); }
.btn-pri:hover { background: var(--accent-hover); }
.btn-pri .i { transition: transform .18s var(--ease); }
.btn-pri:hover .i { transform: translateX(3px); }
.btn-sec { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-sec:hover { border-color: var(--faint); background: var(--surface-2); }
.btn:active { translate: 0 1px; }
.ibtn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-2); cursor: pointer; transition: border-color .15s, color .15s, background-color .15s;
}
.ibtn:hover { color: var(--text); border-color: var(--border-strong); }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip .i { width: 13px; height: 13px; stroke-width: 2.2; }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-acc { background: var(--accent-soft); color: var(--accent); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 5px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2); font-size: 12px; font-weight: 500; color: var(--text-2);
}

/* --------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 50; background: var(--hdr);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.hdr-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; color: var(--text); }
.brand .emblem { height: 38px; }
.brand .wordmark { height: 15px; }
.brand-name { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.cta-brand { display: grid; justify-items: center; margin: -8px 0 18px; }
.cta-brand .emblem { height: 168px; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { white-space: nowrap; padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--surface-3); }
.hdr-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.seg { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--surface-3); }
.seg a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 30px; padding: 0 8px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: color .15s; }
.seg a:hover { color: var(--text); }
.seg a[aria-current='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }
[data-theme='dark'] .seg a[aria-current='true'] { background: var(--surface-2); }
.tt-light { display: none; }
[data-theme='dark'] .tt-light { display: inline-grid; }
[data-theme='dark'] .tt-dark { display: none; }
@media (prefers-color-scheme: dark) {
  [data-theme='auto'] .tt-light { display: inline-grid; }
  [data-theme='auto'] .tt-dark { display: none; }
  [data-theme='auto'] .seg a[aria-current='true'] { background: var(--surface-2); }
}
.burger { display: none; position: relative; }
.burger summary { list-style: none; }
.burger summary::-webkit-details-marker { display: none; }
.burger .i-close, .burger[open] .i-menu { display: none; }
.burger[open] .i-close { display: block; }
.burger-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); padding: 10px;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg);
}
.burger-panel nav { display: grid; }
.burger-panel nav a { padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.burger-panel nav a:hover { background: var(--surface-2); }
.burger-foot { display: grid; gap: 8px; padding: 10px 2px 2px; margin-top: 6px; border-top: 1px solid var(--border); }
.burger-foot .seg { justify-self: start; }

/* ------------------------------------------------------------- type */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.06; font-weight: 650; letter-spacing: -0.038em; text-wrap: balance; }
.h1-soft { display: block; color: var(--muted); font-weight: 600; }
.h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 650; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; }
.lead { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.sec { padding: 112px 0; }
.sec-alt { background: var(--surface-2); border-block: 1px solid var(--border); }
[data-theme='dark'] .sec-alt { background: #0d0e13; }
@media (prefers-color-scheme: dark) { [data-theme='auto'] .sec-alt { background: #0d0e13; } }
.sh { max-width: 660px; margin-bottom: 52px; }
.sh-center { margin-inline: auto; text-align: center; }
.sh-center .kicker { justify-content: center; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--text-2); }
.ticks .i { width: 18px; height: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 2.6; box-sizing: content-box; width: 12px; height: 12px; }

/* --------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 40px; overflow: clip; }
.hero-bg {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(600px 420px at 72% 38%, var(--glow), transparent 70%), radial-gradient(520px 360px at 92% 12%, var(--glow-2), transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 40px; align-items: center; min-height: 600px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 4px 12px 4px 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-xs); font-size: 13px; color: var(--text-2); }
.eb-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.eb-tag .i { width: 15px; height: 15px; stroke-width: 2; }
.hero-text { max-width: 540px; margin-top: 22px; font-size: 18px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-price {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 34px; margin-top: 20px; padding: 6px 12px 6px 14px; border-radius: 999px;
  border: 1px solid var(--accent-ring); background: var(--accent-soft); color: var(--text-2); font-size: 13.5px; line-height: 20px; font-weight: 500; transition: border-color .15s, color .15s;
}
.hero-price b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.hero-price .i { width: 15px; height: 15px; color: var(--accent); transition: transform .18s var(--ease); }
.hero-price:hover { border-color: var(--accent); color: var(--text); }
.hero-price:hover .i { transform: translateX(3px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.hero-points .i { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.2; }

/* hero scene: a tilted checkout card in 3D with coins orbiting through depth */
.hero-visual { position: relative; }
.hero-scene { --k: 1; --R: 290px; position: relative; height: 600px; display: grid; place-items: center; perspective: 1500px; }
.hs-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); }
.hs-tilt { transform-style: preserve-3d; transform: rotateX(9deg) rotateY(-17deg); }
.hs-rig { position: relative; width: 340px; transform-style: preserve-3d; scale: var(--k); animation: hs-float 8s ease-in-out infinite; }
@keyframes hs-float { 50% { transform: translateY(-12px); } }
.hs-orbit { position: absolute; left: 50%; top: 88%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(76deg) rotateZ(0deg); animation: hs-orbit 40s linear infinite; }
@keyframes hs-orbit { to { transform: rotateX(76deg) rotateZ(360deg); } }
.hs-o { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateZ(var(--a)) translateX(var(--R)); }
.hs-o:nth-child(1) { --a: 0deg; } .hs-o:nth-child(2) { --a: 40deg; } .hs-o:nth-child(3) { --a: 80deg; }
.hs-o:nth-child(4) { --a: 120deg; } .hs-o:nth-child(5) { --a: 160deg; } .hs-o:nth-child(6) { --a: 200deg; }
.hs-o:nth-child(7) { --a: 240deg; } .hs-o:nth-child(8) { --a: 280deg; } .hs-o:nth-child(9) { --a: 320deg; }
.hs-oi { display: block; transform: rotateZ(calc(-1 * var(--a))) rotateX(-76deg); animation: hs-counter 40s linear infinite; }
@keyframes hs-counter {
  from { transform: rotateZ(calc(-1 * var(--a))) rotateX(-76deg); }
  to { transform: rotateZ(calc(-1 * var(--a) - 360deg)) rotateX(-76deg); }
}
.hs-coin { width: 44px; height: 44px; margin: -22px 0 0 -22px; box-shadow: 0 10px 24px rgba(14, 17, 32, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.hs-card {
  position: relative; padding: 22px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
[data-theme='dark'] .hs-card { background: #15171e; border-color: #2a2e39; }
@media (prefers-color-scheme: dark) { [data-theme='auto'] .hs-card { background: #15171e; border-color: #2a2e39; } }
.hc-hd { display: flex; align-items: center; gap: 12px; }
.hc-av { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 15px; }
.hc-shop { display: grid; min-width: 0; line-height: 1.3; }
.hc-shop b { font-size: 14.5px; font-weight: 600; }
.hc-shop span { font-size: 12.5px; color: var(--muted); }
.hc-lock { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); }
.hc-lock .i { width: 15px; height: 15px; }
.hc-sum { margin-top: 20px; }
.hc-fig { font-size: 32px; line-height: 38px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hc-fig span { color: var(--muted); font-weight: 600; font-size: 22px; }
.hc-sub { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13.5px; color: var(--text-2); }
.hc-status { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.hc-chips { display: grid; }
.hc-chips > * { grid-area: 1 / 1; justify-self: start; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.hc-chips .dot { animation: dot 1.4s ease-in-out infinite; }
@keyframes dot { 50% { opacity: .35; transform: scale(.7); } }
.hc-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hc-time .i { width: 15px; height: 15px; color: var(--muted); }
.hc-bars { display: grid; margin-top: 12px; }
.hc-bars > * { grid-area: 1 / 1; height: 3px; transition: opacity .35s; }
.hc-bar { border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(.998); }
.hc-conf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; opacity: 0; }
.hc-conf i { border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.hc-conf i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hc-main { position: relative; margin-top: 18px; }
.hc-pay { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; transition: opacity .4s, transform .4s var(--ease); }
.hc-qr { position: relative; width: 124px; height: 124px; padding: 2px; border-radius: 14px; background: #fff; border: 1px solid var(--border); overflow: hidden; }
.hc-qr svg { display: block; width: 100%; height: 100%; }
.qr-bg { fill: #fff; }
.qr-m { fill: #0e1120; }
.hc-qr-coin { position: absolute; left: 50%; top: 50%; margin: -15px 0 0 -15px; padding: 4px; border-radius: 50%; background: #fff; }
.hc-scan { position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px 2px var(--accent-ring); opacity: 0; }
.hc-wells { display: grid; gap: 8px; align-content: start; }
.well { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.well span { font-size: 11.5px; color: var(--muted); }
.well code { font-size: 11.5px; line-height: 16px; color: var(--text); word-break: break-all; }
.hc-btn { display: grid; place-items: center; height: 42px; margin-top: 14px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); transition: opacity .4s; }
.hc-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; opacity: 0; transform: scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.hc-done svg { width: 76px; height: 76px; margin-bottom: 8px; }
.hc-ring { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hc-tick { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hc-done b { font-size: 17px; font-weight: 600; }
.hc-done span { font-size: 13px; color: var(--muted); }
/* states */
.hero-scene[data-s='wait'] .hc-c-conf, .hero-scene[data-s='wait'] .hc-c-paid,
.hero-scene[data-s='conf'] .hc-c-wait, .hero-scene[data-s='conf'] .hc-c-paid,
.hero-scene[data-s='paid'] .hc-c-wait, .hero-scene[data-s='paid'] .hc-c-conf { opacity: 0; transform: translateY(6px); }
.hero-scene[data-s='conf'] .hc-bar, .hero-scene[data-s='paid'] .hc-bar { opacity: 0; }
.hero-scene[data-s='conf'] .hc-conf, .hero-scene[data-s='paid'] .hc-conf { opacity: 1; }
.hero-scene[data-s='paid'] .hc-conf i::after { transform: none; background: var(--ok); }
.hero-scene[data-s='paid'] .hc-pay, .hero-scene[data-s='paid'] .hc-btn { opacity: 0; }
.hero-scene[data-s='paid'] .hc-pay { transform: scale(.97); }
.hero-scene[data-s='paid'] .hc-done { opacity: 1; transform: none; }
.hero-scene[data-s='paid'] .hc-time { opacity: .4; }
/* floating notifications in front of the card */
.hs-toast {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; white-space: nowrap;
  border-radius: 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg);
  transition: opacity .5s var(--ease), transform .6s var(--ease); opacity: 0;
}
.hs-toast > span:last-child { display: grid; line-height: 1.3; }
.hs-toast b { font-size: 13px; font-weight: 600; }
.hs-toast code, .hs-toast span span { font-size: 11.5px; color: var(--muted); }
.hs-ti { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.hs-ti .i { width: 16px; height: 16px; }
.hs-t0 { right: -96px; top: 150px; transform: translateZ(70px) translateY(10px); }
.hs-t1 { right: -110px; top: 150px; transform: translateZ(90px) translateY(10px); }
.hs-t2 { left: -112px; bottom: 76px; transform: translateZ(120px) translateY(10px); }
.hs-t1 .hs-ti { background: var(--ok-soft); color: var(--ok); }
.hero-scene[data-s='wait'] .hs-t0, .hero-scene[data-s='conf'] .hs-t0 { opacity: 1; transform: translateZ(70px); }
.hero-scene[data-s='paid'] .hs-t1 { opacity: 1; transform: translateZ(90px); transition-delay: .35s; }
.hero-scene[data-s='paid'] .hs-t2 { opacity: 1; transform: translateZ(120px); transition-delay: .15s; }

/* ------------------------------------------------------------ marquee */
.strip { padding: 28px 0 8px; }
.strip-label { margin-bottom: 18px; font-size: 13px; font-weight: 500; color: var(--muted); text-align: center; }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track { display: flex; flex: none; gap: 12px; padding-right: 12px; animation: mq 46s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-100%); } }
.mq-track li {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 12px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-xs); white-space: nowrap;
}
.mq-name { font-size: 14.5px; font-weight: 600; }
.mq-tag { font-size: 12px; font-weight: 500; color: var(--muted); padding: 2px 7px; border-radius: 6px; background: var(--surface-3); }

/* -------------------------------------------------------------- facts */
.facts { padding: 56px 0 8px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.fact { padding: 28px 28px 26px; }
.fact + .fact { border-left: 1px solid var(--border); }
.fact-n { font-size: 48px; line-height: 1; font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.fact-l { margin-top: 10px; font-size: 15px; font-weight: 600; }
.fact-t { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ------------------------------------------------------ how it works */
.how-sec { position: relative; }
/* without JS: an illustrated list of the five steps */
.how-world { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.sc { display: grid; align-content: start; gap: 14px; }
.sc-panel { border-radius: 16px; border: 1px solid var(--border); background: var(--sc-panel); overflow: hidden; }
.sc-art { display: block; width: 100%; height: auto; font-family: var(--font); }
.sc-cap { display: flex; gap: 14px; align-items: flex-start; }
.sc-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.sc-txt { display: grid; gap: 4px; }
.sc-txt b { font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.sc-txt span { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.how-ctrl { display: none; }
/* with JS: a stage that plays the steps in 3D */
.js .how-stage {
  position: relative; aspect-ratio: 16 / 8.2; perspective: 1700px; perspective-origin: 50% 40%; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  background: radial-gradient(60% 70% at 50% 45%, var(--glow), transparent 70%), var(--surface-2);
}
.js .how-world { position: absolute; inset: 0; display: block; transform-style: preserve-3d; }
.js .how-world.cam { animation: cam 1.2s var(--ease-io); }
@keyframes cam { 0% { transform: translateZ(0); } 45% { transform: translateZ(-90px) rotateX(3deg); } 100% { transform: none; } }
.js .sc {
  position: absolute; left: 20%; top: 50%; width: 60%; translate: 0 -50%;
  display: block; cursor: pointer;
  transform: translateX(calc(var(--o, 0) * 86%)) translateZ(calc(var(--ao, 0) * -280px)) rotateY(calc(var(--o, 0) * -34deg));
  opacity: calc(1 - var(--ao, 0) * 0.5);
  transition: transform 1.15s var(--ease-io), opacity .9s var(--ease);
}
.js .sc.on { cursor: default; }
.js .sc-panel { box-shadow: var(--shadow-lg); border-radius: 18px; }
.js .sc .sc-cap { display: none; }
.js .how-ctrl { display: grid; gap: 18px; margin-top: 24px; }
.how-caps { display: grid; }
.how-caps .sc-cap { display: flex; grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .2s ease-out, transform .2s ease-out; pointer-events: none; }
.how-caps .sc-cap.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s var(--ease) .2s, transform .45s var(--ease) .2s; }
.how-caps .sc-txt { max-width: 720px; }
.how-bar { display: flex; align-items: center; gap: 14px; }
.how-play .i { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.4; }
.how-play .i-play { display: none; }
.how.paused .how-play .i-play { display: block; }
.how.paused .how-play .i-pause { display: none; }
.how-tabs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.how-tab {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 10px; width: 100%; padding: 8px 10px 10px;
  border: 1px solid transparent; border-radius: 12px; background: none; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.how-tab:hover { background: var(--surface-2); }
.how-tab.on { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-xs); }
.tab-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--surface-3); color: var(--muted); font-size: 12px; font-weight: 650; transition: background-color .2s, color .2s; }
.how-tab.on .tab-n, .how-tab.done .tab-n { background: var(--accent-soft); color: var(--accent); }
.tab-t { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.how-tab.on .tab-t { color: var(--text); }
.tab-bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.tab-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* scene artwork (SVG classes) */
.a-card { fill: var(--sc-card); stroke: var(--border); }
.a-card-acc { stroke: var(--accent); stroke-width: 1.5; }
.a-dashed { stroke-dasharray: 4 4; }
.a-well { fill: var(--sc-well); }
.a-stroke { stroke: var(--border); }
.a-sk { fill: var(--sc-sk); }
.a-line { fill: none; stroke: var(--border); }
.a-acc { fill: var(--accent); }
.a-soft { fill: var(--accent-soft); }
.a-ok { fill: var(--ok); }
.a-sel { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.a-tick { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-cursor { fill: var(--text); stroke: var(--sc-card); stroke-width: 1.5; stroke-linejoin: round; }
.a-link { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.a-dash { stroke-dasharray: 4 5; }
.a-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.a-chain { stroke: var(--border-strong); stroke-width: 3; stroke-linecap: round; }
.cb-top { fill: var(--sc-card); stroke: var(--border); }
.cb-l { fill: var(--sc-well); stroke: var(--border); }
.cb-r { fill: var(--sc-sk); stroke: var(--border); }
.cb-acc .cb-top { fill: #8f87ff; stroke: none; }
.cb-acc .cb-l { fill: #5b50f0; stroke: none; }
.cb-acc .cb-r { fill: #4b40de; stroke: none; }
.a-glow { fill: var(--accent-soft); stroke: var(--accent-ring); stroke-width: 6; }
.a-chip-ok { fill: var(--ok-soft); }
.a-chip-warn { fill: var(--warn-soft); }
.a-chip-acc { fill: var(--accent-soft); }
.a-dot-ok { fill: var(--ok); }
.a-dot-warn { fill: var(--warn); }
.a-dot-acc { fill: var(--accent); }
.a-chip-t { font-size: 11px; font-weight: 500; }
.a-chip-t-ok { fill: var(--ok); }
.a-chip-t-warn { fill: var(--warn); }
.a-chip-t-acc { fill: var(--accent); }
.a-t { fill: var(--text); }
.a-m { fill: var(--muted); }
.a-acc-t { fill: var(--accent); }
.a-on { fill: #fff; }
.a-mono { font-family: var(--mono); fill: var(--text-2); }
.a-10 { font-size: 10px; } .a-105 { font-size: 10.5px; } .a-11 { font-size: 11px; } .a-12 { font-size: 12px; }
.a-13 { font-size: 13px; } .a-14 { font-size: 14px; } .a-17 { font-size: 17px; } .a-20 { font-size: 20px; }
.a-500 { font-weight: 500; } .a-600 { font-weight: 600; } .a-650 { font-weight: 650; }
.a-scan { fill: var(--accent); opacity: 0; }
.a-flash { fill: var(--accent-soft); opacity: 0; }
.a-out { opacity: 0; }
.pk { opacity: 0; }
.a-ptr { transform: translate(552px, 180px); }
.a-pop, .a-press, .a-bump, .a-live, .a-blink { transform-box: fill-box; transform-origin: center; }
.a-fill { transform-box: fill-box; transform-origin: left; }
.a-flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; opacity: .75; }
.a-watch { fill: none; stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 2 4; }
.a-wallet, .a-arrow { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a-clock { fill: none; stroke: var(--accent); stroke-width: 1.3; }
.a-clock-h { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; }
.a-lock { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.a-lockb { fill: var(--accent); }
/* element delays: tNN = NN / 10 seconds after the scene starts */
.t00 { --t: 0s; } .t02 { --t: .2s; } .t03 { --t: .3s; } .t04 { --t: .4s; } .t05 { --t: .5s; } .t06 { --t: .6s; }
.t07 { --t: .7s; } .t08 { --t: .8s; } .t09 { --t: .9s; } .t10 { --t: 1s; } .t11 { --t: 1.1s; } .t12 { --t: 1.2s; }
.t13 { --t: 1.3s; } .t16 { --t: 1.6s; } .t18 { --t: 1.8s; } .t19 { --t: 1.9s; } .t20 { --t: 2s; } .t22 { --t: 2.2s; }
.t24 { --t: 2.4s; } .t28 { --t: 2.8s; } .t30 { --t: 3s; } .t31 { --t: 3.1s; } .t34 { --t: 3.4s; } .t36 { --t: 3.6s; }
.t38 { --t: 3.8s; } .t42 { --t: 4.2s; }

/* ----------------------------------------------------------- features */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat {
  position: relative; padding: 26px 26px 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow-xs); transition: border-color .18s, box-shadow .18s, translate .18s var(--ease);
}
.feat:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); translate: 0 -3px; }
.feat h3 { margin-top: 20px; font-size: 16.5px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.feat p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.fi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-ring); }
.fsvg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fsvg path { stroke-dasharray: 1.02; stroke-dashoffset: 0; }
.fx { transform-box: fill-box; transform-origin: center; }

/* -------------------------------------------------------------- coins */
.coin-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.cc {
  display: grid; align-content: start; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow-xs); transition: border-color .18s, translate .18s var(--ease), box-shadow .18s;
}
.cc:hover { border-color: var(--border-strong); translate: 0 -3px; box-shadow: var(--shadow-sm); }
.cc-wide { grid-column: span 2; }
.cc-icon { display: block; width: 40px; height: 40px; perspective: 400px; }
.cc-coin { width: 40px; height: 40px; transition: transform .9s var(--ease); box-shadow: 0 6px 16px rgba(14, 17, 32, 0.14); }
.cc:hover .cc-coin { transform: rotateY(360deg); }
.cc-name { display: flex; align-items: baseline; gap: 8px; }
.cc-name b { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.cc-name span { font-size: 13.5px; color: var(--muted); }
.cc-nets { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-nets li { height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); font-size: 12px; line-height: 22px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.cc-also { grid-column: span 3; align-content: center; }
.cc-also-l { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.cc-also-list { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cc-also-list li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }

/* ------------------------------------------------- customers / merchants */
.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sp { display: grid; grid-template-rows: auto auto 1fr; gap: 24px; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.sp-k { margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.sp-mock { position: relative; height: 330px; padding: 22px; border-radius: 16px; border: 1px solid var(--border); background: var(--sc-panel); overflow: hidden; }
.mock-co { display: grid; align-content: start; }
.mc-hd { display: flex; align-items: center; gap: 12px; }
.mc-l { margin: 18px 0 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.mc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mt {
  display: flex; align-items: center; gap: 10px; min-width: 0; height: 64px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--sc-card); transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.mt > span { display: grid; min-width: 0; line-height: 1.3; }
.mt b { font-size: 14px; font-weight: 600; }
.mt span span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.mt .ci { transition: transform .4s var(--ease); }
.mt.sel .ci { transform: scale(1.12); }
.mc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.md-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.md-tile { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--sc-card); }
.md-tile span { font-size: 12px; color: var(--muted); }
.md-tile b { font-size: 22px; line-height: 28px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.md-table { margin-top: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--sc-card); overflow: hidden; }
.md-head, .dr { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; align-items: center; padding: 0 14px; }
.md-head { height: 32px; background: var(--surface-2); font-size: 12px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--border); }
.md-body { height: 176px; overflow: hidden; }
.md-rows { transition: transform .6s var(--ease); }
.dr { height: 44px; border-bottom: 1px solid var(--border); font-size: 13px; }
.dr-id { font-weight: 600; font-variant-numeric: tabular-nums; }
.dr-amt { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; }
.dr-st .chip { height: 22px; }
.dr-new { transition: background-color 1.2s ease-out; }
.dr-new.in { background: var(--accent-soft); }
.dr-new.in.done { background: transparent; }
.chip.pop { animation: chip-pop .45s var(--ease); }
@keyframes chip-pop { 0% { transform: scale(.75); } 60% { transform: scale(1.08); } 100% { transform: none; } }

/* --------------------------------------------------------------- API */
.api-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.api-copy .ticks { margin: 26px 0 30px; }
.code { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.code-hd { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 18px; border-bottom: 1px solid var(--border); }
.code-dots { display: flex; gap: 6px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-strong); }
.code-title { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-right: auto; }
.code-sec + .code-sec { border-top: 1px solid var(--border); }
.code-l { display: flex; align-items: center; gap: 10px; padding: 14px 20px 0; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.code-l .chip { height: 20px; font-size: 11.5px; }
.code-pre { margin: 0; padding: 10px 20px 18px; font-size: 12.5px; line-height: 21px; color: var(--text); overflow-x: auto; background: var(--surface); }
.ln { position: relative; display: inline-block; }
.k-m { color: var(--accent); font-weight: 600; }
.k-p { color: var(--text); font-weight: 500; }
.k-q { color: var(--muted); }
.k-v { color: var(--text); }
.k-k { color: var(--accent); }
.k-s { color: var(--text-2); }

/* ----------------------------------------------------------- security */
.cust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cust { display: grid; align-content: start; gap: 12px; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.cust p { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.flow { display: block; width: 100%; height: auto; margin-bottom: 10px; padding: 14px 10px; border-radius: 14px; background: var(--sc-panel); border: 1px solid var(--border); font-family: var(--font); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; line-height: 28px; }
.sec-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.sec-points li { display: flex; gap: 14px; align-items: flex-start; }
.sec-points li > span:last-child { display: grid; gap: 2px; }
.sec-points b { font-size: 15px; font-weight: 600; }
.sec-points span span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.sp-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); color: var(--accent); }

/* ------------------------------------------------------------- pricing */
@property --pa { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.price-sec { position: relative; overflow: clip; }
.price-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(44% 38% at 20% 36%, var(--glow), transparent 70%), radial-gradient(38% 34% at 86% 10%, var(--glow-2), transparent 70%);
}
.price-sec .wrap { position: relative; }
.price-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.plan {
  position: relative; padding: 32px; border-radius: 24px; border: 1.5px solid transparent; box-shadow: var(--shadow-lg);
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--pa), #6a5cff, #4f7dff, #19b8b0, #a56bff, #6a5cff) border-box;
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-size: 15px; line-height: 24px; font-weight: 600; color: var(--text-2); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 18px; }
.plan-fig {
  font-size: clamp(52px, 5.2vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--text) 35%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan-unit { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan-sub { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.plan-zero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.plan-zero li { display: grid; align-content: start; gap: 6px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); }
.plan-zero b {
  justify-self: start; font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -0.035em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan-zero span { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.plan-net { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.plan-cta { width: 100%; margin-top: 24px; }
.plan-note { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; text-wrap: pretty; }
.plan-coins { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.plan-h { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600; }
.plan-ticks { margin-top: 14px; }
.plan-ticks li { font-size: 14.5px; }
.why { display: grid; gap: 24px; }
.why-head .kicker { margin-bottom: 10px; }
.why-title { font-size: 25px; line-height: 1.25; font-weight: 650; letter-spacing: -0.022em; text-wrap: balance; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-i {
  display: grid; align-content: start; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow-xs); transition: border-color .18s, box-shadow .18s, translate .18s var(--ease);
}
.why-i:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); translate: 0 -3px; }
.why-i h4 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.why-i p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.why-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-ring); }
.why-ico .i { width: 20px; height: 20px; }
.even { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); font-size: 14.5px; line-height: 1.6; color: var(--text); }
.even-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: #fff; }
.cmp-wrap { margin-top: 40px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; text-align: left; font-size: 14.5px; line-height: 1.5; }
.cmp caption { padding: 22px 24px 16px; text-align: left; font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; }
.cmp th, .cmp td { padding: 15px 24px; border-top: 1px solid var(--border); vertical-align: middle; }
.cmp thead th { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cmp tbody th { width: 28%; font-weight: 500; color: var(--text-2); }
.cmp td { width: 36%; }
.cmp .cmp-us { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.cmp-them { color: var(--muted); }
.cmp-c { display: flex; gap: 10px; align-items: flex-start; }
.cmp-c .i { box-sizing: content-box; width: 12px; height: 12px; margin-top: 2px; padding: 3px; border-radius: 50%; stroke-width: 2.6; }
.cmp-us .cmp-c .i { background: var(--accent); color: #fff; }
.cmp-them .cmp-c .i { background: var(--surface-3); color: var(--muted); }
.cmp-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); }
.cmp-brand .emblem { height: 26px; }

/* ---------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 104px; }
.faq-list { border-top: 1px solid var(--border); }
.qa { border-bottom: 1px solid var(--border); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 500; line-height: 1.45; transition: color .15s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--border); color: var(--muted); transition: color .15s, border-color .15s; }
.qa[open] .qa-ico { color: var(--accent); border-color: var(--accent-ring); }
.i-plus { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.qa[open] .i-plus { transform: rotate(45deg); }
.qa-a { padding: 0 48px 22px 0; }
.qa-a p { font-size: 15px; line-height: 1.7; color: var(--text-2); }

/* ---------------------------------------------------------------- CTA */
.cta-sec { padding: 112px 0; }
.cta {
  position: relative; overflow: hidden; padding: 72px 32px; border-radius: 24px; border: 1px solid var(--border); text-align: center;
  background: radial-gradient(50% 80% at 50% 0%, var(--glow), transparent 70%), var(--surface); box-shadow: var(--shadow-lg);
}
.cta .h2, .cta .lead { position: relative; max-width: 620px; margin-inline: auto; }
.cta-btns { position: relative; justify-content: center; }
.cta-note { position: relative; margin-top: 18px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(6deg); } }

/* -------------------------------------------------------------- footer */
.ft { padding: 56px 0 32px; border-top: 1px solid var(--border); }
.ft-top { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.ft-top-3 { grid-template-columns: 2fr repeat(3, 1fr); }
.ft-brand p { margin-top: 12px; max-width: 280px; font-size: 14px; color: var(--muted); }
.ft-h { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--text); }
.ft-col ul { display: grid; gap: 8px; }
.ft-col a { font-size: 14px; color: var(--muted); transition: color .15s; }
.ft-col a:hover { color: var(--text); }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.ft-lang { display: flex; gap: 16px; }
.ft-lang a { display: inline-flex; align-items: center; gap: 7px; }
.ft-lang a:hover, .ft-lang a[aria-current='true'] { color: var(--text); }

/* ================================================================ motion
   Everything below runs only with JavaScript (.anim on <html>) and when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  html.ready { scroll-behavior: smooth; }
  .anim [data-r] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .anim [data-r].in { opacity: 1; transform: none; }
  /* hero states (transitions: every state settles complete) */
  .anim .hero-scene[data-s='wait'] .hc-scan { animation: hc-scan 2.4s ease-in-out infinite; }
  @keyframes hc-scan { 0% { opacity: 0; transform: translateY(0); } 15%, 85% { opacity: .9; } 100% { opacity: 0; transform: translateY(108px); } }
  .anim .hero-scene[data-s='conf'] .hc-conf i::after { transform: none; transition: transform .7s var(--ease); }
  .anim .hero-scene[data-s='conf'] .hc-conf i:nth-child(1)::after { transition-delay: .2s; }
  .anim .hero-scene[data-s='conf'] .hc-conf i:nth-child(2)::after { transition-delay: 1.2s; }
  .anim .hero-scene[data-s='conf'] .hc-conf i:nth-child(3)::after { transition-delay: 2.2s; }
  .anim .hero-scene:not([data-s='paid']) .hc-ring, .anim .hero-scene:not([data-s='paid']) .hc-tick { stroke-dashoffset: 1; }
  .anim .hero-scene[data-s='paid'] .hc-ring { transition: stroke-dashoffset .8s var(--ease) .15s; }
  .anim .hero-scene[data-s='paid'] .hc-tick { transition: stroke-dashoffset .5s var(--ease) .75s; }

  /* explainer scenes: when a scene becomes active, site.js puts it in `.reset` for one frame
     (first frame of every element) and the transitions below play it to its final state. */
  .anim .sc .a-in, .anim .sc .a-pop, .anim .sc .a-slide, .anim .sc .a-type {
    transition: opacity .6s var(--ease) var(--t, 0s), transform .6s var(--ease) var(--t, 0s);
  }
  .anim .sc .a-pop { transition-timing-function: cubic-bezier(.3, 1.45, .5, 1); }
  .anim .sc .a-out { transition: opacity .3s ease-out var(--t, 0s); }
  .anim .sc .a-draw { transition: stroke-dashoffset .8s var(--ease) var(--t, 0s); }
  .anim .sc .a-fill { transition: transform .6s var(--ease) var(--t, 0s); }
  .anim .sc .a-ptr { transition: transform 1.3s var(--ease-io) .3s, opacity .4s ease .3s; }
  .anim .sc.reset * { transition: none !important; }
  .anim .sc.reset .a-in { opacity: 0; transform: translateY(10px); }
  .anim .sc.reset .a-pop { opacity: 0; transform: scale(.6); }
  .anim .sc.reset .a-slide { opacity: 0; transform: translateX(24px); }
  .anim .sc.reset .a-type { opacity: 0; }
  .anim .sc.reset .a-out { opacity: 1; }
  .anim .sc.reset .a-draw { stroke-dashoffset: 1; }
  .anim .sc.reset .a-fill { transform: scaleX(0); }
  .anim .sc.reset .a-ptr { opacity: 0; transform: translate(430px, 330px); }
  .anim .sc.on .a-press { animation: a-press .5s ease-in-out var(--t, 0s); }
  .anim .sc.on .a-flash { animation: a-flash 1.6s ease-out var(--t, 0s); }
  .anim .sc.on .a-bump { animation: a-bump .5s var(--ease) 2.2s, a-bump .5s var(--ease) 3s; }
  .anim .sc.on .a-scan { animation: a-scan 1.8s ease-in-out .6s 3; }
  .anim .sc.on .a-live, .anim .sc.on .a-blink { transform-box: fill-box; transform-origin: center; animation: a-pulse 1.4s ease-in-out infinite; }
  .anim .sc.on .a-flow { animation: a-flow 1s linear infinite; }
  .anim .sc.on .pk3 { --x0: 108px; --y0: 268px; --xm: 260px; --ym: 70px; --x1: 410px; --y1: 140px; animation: pk3 1.3s var(--ease-io) .7s both; }
  .anim .sc.on .pk4 { --x0: 404px; --y0: 144px; --xm: 450px; --ym: 160px; --x1: 476px; --y1: 190px; animation: pk3 1s var(--ease-io) 2.2s both; }
  .anim .sc.on .pk5 { animation: pk3 1.1s var(--ease-io) var(--t, .4s) both; }
  .anim .sc.on .pk5-0 { --x0: 186px; --y0: 95px; --xm: 219px; --ym: 137px; --x1: 252px; --y1: 180px; --t: .5s; }
  .anim .sc.on .pk5-1 { --x0: 186px; --y0: 177px; --xm: 219px; --ym: 178px; --x1: 252px; --y1: 180px; --t: 1s; }
  .anim .sc.on .pk5-2 { --x0: 186px; --y0: 259px; --xm: 219px; --ym: 220px; --x1: 252px; --y1: 180px; --t: 1.5s; }
  .anim .sc.on .pk5o { animation: pk3 .9s var(--ease-io) var(--t, 2.6s) both; }
  .anim .sc.on .pk5o-0 { --x0: 402px; --y0: 180px; --xm: 435px; --ym: 140px; --x1: 468px; --y1: 100px; --t: 2.6s; }
  .anim .sc.on .pk5o-1 { --x0: 402px; --y0: 180px; --xm: 435px; --ym: 180px; --x1: 468px; --y1: 180px; --t: 2.8s; }
  .anim .sc.on .pk5o-2 { --x0: 402px; --y0: 180px; --xm: 435px; --ym: 220px; --x1: 468px; --y1: 260px; --t: 3s; }
  .anim .how.paused .sc *, .anim .off .sc * { animation-play-state: paused !important; }
  @keyframes a-press { 50% { transform: scale(.93); } }
  @keyframes a-flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes a-bump { 50% { transform: scale(1.12); } }
  @keyframes a-scan { 0% { opacity: 0; transform: translateY(0); } 20%, 80% { opacity: .8; } 100% { opacity: 0; transform: translateY(136px); } }
  @keyframes a-pulse { 50% { opacity: .35; transform: scale(.8); } }
  @keyframes a-flow { to { stroke-dashoffset: -18; } }
  @keyframes pk3 {
    0% { opacity: 0; transform: translate(var(--x0), var(--y0)) scale(.5); }
    12% { opacity: 1; transform: translate(var(--x0), var(--y0)) scale(1); }
    50% { transform: translate(var(--xm), var(--ym)); }
    88% { opacity: 1; transform: translate(var(--x1), var(--y1)) scale(1); }
    100% { opacity: 0; transform: translate(var(--x1), var(--y1)) scale(.4); }
  }
  /* static scenes: the pointer rests on the chosen tile */

  /* feature icons draw themselves on reveal; one part moves on hover */
  .anim .feat .fsvg path { stroke-dashoffset: 1.02; transition: stroke-dashoffset 1.1s var(--ease) calc(var(--d, 0s) + .25s); }
  .anim .feat.in .fsvg path { stroke-dashoffset: 0; }
  .feat:hover .fx-bars, .feat:hover .fx-pop { animation: fx-pop .6s var(--ease); }
  .feat:hover .fx-out { animation: fx-out .7s var(--ease); }
  .feat:hover .fx-split { animation: fx-split .7s var(--ease); }
  .feat:hover .fx-tilt { animation: fx-tilt .7s var(--ease); }
  .feat:hover .fx-flap { animation: fx-flap .7s var(--ease); }
  .feat:hover .fx-spin { animation: fx-spin 1s var(--ease); }
  .feat:hover .fx:not([class*='fx-']) { animation: fx-pop .6s var(--ease); }
  @keyframes fx-pop { 40% { transform: scale(1.25); } }
  @keyframes fx-out { 40% { transform: translate(2px, -2px); } }
  @keyframes fx-split { 40% { transform: translateX(2px) scaleY(1.2); } }
  @keyframes fx-tilt { 40% { transform: rotate(14deg); } }
  @keyframes fx-flap { 40% { transform: translateY(2px) scaleY(.7); } }
  @keyframes fx-spin { to { transform: rotateY(360deg); } }

  /* typing in the code card */
  .anim .code:not(.typed) .code-pre { overflow: hidden; }
  .anim .code:not(.typed) .ln::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 2px); background: var(--surface);
    box-shadow: inset 2px 0 0 var(--accent);
  }
  .anim .code.typing:not(.typed) .ln::after {
    transform: translateX(100%); opacity: 0;
    transition: transform calc(var(--n, 1) * 16ms) steps(var(--n, 1), end) var(--d, 0s), opacity 0s linear calc(var(--d, 0s) + var(--n, 1) * 16ms);
  }

  /* the plan card: the colours travel slowly around its border */
  .anim .plan { animation: plan-turn 10s linear infinite; }
  @keyframes plan-turn { to { --pa: 360deg; } }

  /* loops pause off-screen */
  .off, .off * { animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ responsive */
@media (min-width: 1600px) {
  .wrap { max-width: 1312px; }
  .hero-in { min-height: 680px; }
  .hero-scene { --k: 1.08; height: 660px; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero-scene { --k: .86; --R: 235px; height: 540px; }
  .coin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cc-also { grid-column: span 3; }
  .hs-t0, .hs-t1 { display: none; }
  .hs-t2 { left: -64px; bottom: 120px; }
}
@media (max-width: 1023px) {
  .wrap { padding: 0 24px; }
  .hero { padding-top: 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .hero-copy { max-width: 680px; }
  .hero-scene { --k: .9; height: 560px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid, .api-grid, .cust-grid, .faq-grid, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .api-grid, .faq-grid { gap: 36px; }
  .faq-head { position: static; }
  .sec-points { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ft-top { grid-template-columns: repeat(4, 1fr); }
  .ft-top-3 { grid-template-columns: repeat(3, 1fr); }
  .ft-brand { grid-column: 1 / -1; }
  .sec, .cta-sec { padding: 84px 0; }
  .js .how-stage { aspect-ratio: 16 / 10; }
  .js .sc { left: 12%; width: 76%; }
  .tab-t { font-size: 12px; }
}
@media (max-width: 720px) {
  .hdr-signin { display: none; }
  .hero-scene { --k: .72; --R: 240px; height: 460px; }
  .hs-t2 { left: -30px; }
  .coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-also { grid-column: span 2; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .tab-t { display: none; }
  .how-tab { grid-template-columns: 1fr; justify-items: center; }
  .js .how-stage { aspect-ratio: 4 / 3; }
  .js .sc { left: 5%; width: 90%; }
  .mc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-mock { height: 400px; }
  .h1 { font-size: 38px; }
  .cta { padding: 56px 20px; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .cmp { font-size: 13.5px; }
  .cmp caption { padding: 18px 14px 12px; }
  .cmp th, .cmp td { padding: 12px 14px; }
  .cmp-c .i { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hdr-in { gap: 12px; }
  .hdr-tools .seg, .hdr-tools .tt { display: none; }
  .burger-foot .seg { display: inline-flex; }
  .hero-scene { --k: .62; --R: 220px; height: 400px; }
  .fact { padding: 22px 20px; }
  .fact-n { font-size: 40px; }
  .sp, .cust { padding: 20px; }
  .plan { padding: 22px; }
  .cmp th, .cmp td { padding: 10px; }
  .cmp-brand .emblem { display: none; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 27px; }
}
@media (max-width: 400px) {
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--border); }
}
