/* AltPay. Dark only: the logo's "pay" is white, so the brand lives on dark.
   Shape rule: buttons, tags and toggles are pills, cards are 22px, inputs and small tiles are 12-16px.
   Spacing rule: sections 128px desktop / 88px mobile, section heads 56px to content, gutters 24px / 16px.
   Z-index scale: backgrounds 0, content 1, nav 50, Telegram button 55, grain 60. */

:root {
  --bg: #06100D;
  --bg-2: #0A1713;
  --bg-3: #0F201A;
  --line: rgba(214, 255, 238, .09);
  --line-2: rgba(214, 255, 238, .16);
  --text: #EAF4EF;
  --muted: #94ABA2;
  --dim: #7A9188;

  --brand: #1ACB93;
  --brand-ink: #03140D;
  --aqua: #45D3F0;
  --lime: #C3F06B;
  --amber: #FFB55C;
  --bad: #FF8A6B;

  --r-card: 22px;
  --r-tile: 14px;
  --r-input: 12px;
  --r-pill: 999px;

  --display: "Clash Display", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: 24px;
  --section: 128px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* No CSS scroll-behavior: smooth. ScrollTrigger.refresh() on resize measured mid-animation scroll offsets
   with it on, producing negative trigger starts and pins on the wrong step. Anchor links scroll smoothly in JS. */
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after { /* grain on a fixed, non-interactive layer */
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow-x: clip; } /* slide-in start positions must not widen the page; clip keeps sticky working */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 70; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: var(--r-pill); }
.skip:focus { left: 8px; }

/* Tag: replaces the old mono eyebrow. Icon in a filled dot, sentence case. */
.tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 5px 14px 5px 5px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, rgba(26, 203, 147, .16), rgba(26, 203, 147, .03));
  border: 1px solid rgba(26, 203, 147, .28);
  font: 500 13.5px/1 var(--font); color: var(--text);
}
.tag i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font-size: 14px; }

.sub { color: var(--muted); font-size: 1.075rem; max-width: 58ch; }
.sub a { color: var(--brand); text-underline-offset: 3px; }
.hl { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px; border-radius: var(--r-pill);
  font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .3s, --fill .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn i { font-size: 1.05em; transition: transform .3s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }
.btn--sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --bh: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
/* Hover changes only --fill, so buttons with layered backgrounds (the ring) keep their layers. */
@property --fill { syntax: "<color>"; inherits: false; initial-value: #1ACB93; }
.btn--primary { --fill: var(--brand); background: var(--fill); color: var(--brand-ink); box-shadow: 0 8px 30px -10px rgba(26, 203, 147, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover { --fill: #2CDBA3; }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); background: rgba(26, 203, 147, .08); }
.btn[disabled] { opacity: .7; cursor: progress; }
/* Talk to Sales buttons share the calculator's border: the same rotating conic gradient, same speed.
   A 2px inset shadow in the page colour separates the ring from the green fill so it reads as a ring. */
@property --ga { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ga { to { --ga: 360deg; } }
.btn--ring {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--fill), var(--fill)) padding-box,
    conic-gradient(from var(--ga), var(--aqua), var(--brand), var(--lime), rgba(26, 203, 147, .18) 45%, rgba(26, 203, 147, .18) 72%, var(--aqua)) border-box;
  box-shadow: inset 0 0 0 2px var(--bg), 0 10px 34px -12px rgba(26, 203, 147, .7);
  animation: ga 5s linear infinite;
}
/* Nav CTA: a faint sweep every few seconds, only once the page has scrolled. */
.nav .btn--primary::after { background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .3) 50%, transparent 62%); }
.nav.is-solid .btn--primary::after { animation: navShine 7s ease-in-out 2s infinite; }
@keyframes navShine { 0%, 84% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)), rgba(10, 23, 19, .72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 8, 5, .7);
}

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.nav.is-solid { background: rgba(6, 16, 13, .8); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 8px 13px; border-radius: var(--r-pill); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__inner { justify-content: space-between; } }

/* ---------- Hero shared ---------- */
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 46ch; margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.load { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }

/* ---------- Hero B: kinetic type + pipeline ---------- */
.heroB { position: relative; min-height: 100dvh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.heroB__floor {
  position: absolute; z-index: 0; left: -50%; right: -50%; bottom: -12%; height: 55%; opacity: .7;
  background-image: linear-gradient(rgba(26, 203, 147, .26) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 203, 147, .26) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: center top;
  -webkit-mask-image: linear-gradient(transparent, #000 50%); mask-image: linear-gradient(transparent, #000 50%);
  animation: floor 2.4s linear infinite;
}
@keyframes floor { to { background-position: 0 64px; } }
.heroB__glow { position: absolute; z-index: 0; width: 70vw; height: 36vw; left: 15vw; bottom: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 203, 147, .3), transparent); filter: blur(40px); }
.heroB__inner { width: 100%; }
/* Each line is a flex row, so the word pills size themselves and never collide with the next line. */
.kin { display: flex; flex-direction: column; gap: .12em; font-size: clamp(2.2rem, 4.9vw, 4.3rem); line-height: 1.05; letter-spacing: -.015em; margin-bottom: 32px; }
.kin__line { display: flex; flex-wrap: wrap; align-items: center; gap: .1em .26em; }
.kin__slot { display: inline-block; height: 1.18em; overflow: hidden; border-radius: .24em; padding: 0 .24em; }
.kin__slot--in { background: rgba(69, 211, 240, .14); color: var(--aqua); box-shadow: inset 0 0 0 1px rgba(69, 211, 240, .4); }
.kin__slot--out { background: var(--brand); color: var(--brand-ink); }
.kin__words { display: flex; flex-direction: column; align-items: flex-start; }
.kin__words > span { display: block; height: 1.18em; line-height: 1.18em; white-space: nowrap; }
.heroB__top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 36vw, 500px); gap: 32px; align-items: center; }
.heroB__art { position: relative; height: clamp(250px, 23vw, 320px); }
.art__ring { position: absolute; left: 50%; top: 50%; width: 92%; height: 44%; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(214, 255, 238, .18); }
.art__ring--inner { width: 62%; height: 28%; border: 1px solid rgba(26, 203, 147, .22); box-shadow: 0 0 40px rgba(26, 203, 147, .15); }
.art__coin {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(118px, 10.5vw, 150px); aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-content: center; justify-items: center; gap: 2px; border-radius: 50%; color: var(--brand-ink);
  background: radial-gradient(circle at 34% 28%, #7DF3CB, #1ACB93 46%, #0C7354);
  box-shadow: inset 0 -12px 26px rgba(0, 0, 0, .28), inset 0 8px 16px rgba(255, 255, 255, .35), 0 0 0 10px rgba(26, 203, 147, .08), 0 0 0 22px rgba(26, 203, 147, .04), 0 30px 60px -18px rgba(26, 203, 147, .75);
  animation: coinBob 5s ease-in-out infinite; transition: background .5s, box-shadow .5s;
}
.art__coin.is-usdc { background: radial-gradient(circle at 34% 28%, #A6ECFF, #45D3F0 46%, #1A7499); box-shadow: inset 0 -12px 26px rgba(0, 0, 0, .28), inset 0 8px 16px rgba(255, 255, 255, .35), 0 0 0 10px rgba(69, 211, 240, .08), 0 0 0 22px rgba(69, 211, 240, .04), 0 30px 60px -18px rgba(69, 211, 240, .75); }
.art__coin b { font: 700 clamp(1.4rem, 1.9vw, 1.8rem)/1 var(--display); letter-spacing: -.01em; }
.art__coin small { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
@keyframes coinBob { 50% { margin-top: -8px; } }
.art__chip {
  position: absolute; left: 0; top: 0; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--r-pill);
  font: 500 13px/1 var(--font); white-space: nowrap; color: var(--muted); background: rgba(10, 23, 19, .9); border: 1px solid var(--line-2);
  transition: color .35s, border-color .35s, background-color .35s, box-shadow .35s; will-change: transform;
}
.art__chip i { font-size: 15px; color: var(--aqua); }
.art__chip.is-on { color: var(--text); border-color: var(--aqua); background: rgba(14, 44, 52, .95); box-shadow: 0 0 22px -4px rgba(69, 211, 240, .7); }
.heroB__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; margin-bottom: 48px; }
.heroB__row .lede { margin: 0; }

.pipe { display: grid; grid-template-columns: 1fr minmax(64px, .55fr) 1.15fr minmax(64px, .55fr) 1fr; align-items: stretch; border-radius: var(--r-card); padding: 18px; }
.pipe__station { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(3, 12, 9, .5); transition: border-color .5s, background-color .5s, box-shadow .5s; min-width: 0; }
.pipe__station.is-on { border-color: rgba(26, 203, 147, .45); background: rgba(26, 203, 147, .07); box-shadow: 0 0 0 4px rgba(26, 203, 147, .06); }
.pipe__station[data-st="bank"].is-on { border-color: rgba(69, 211, 240, .5); background: rgba(69, 211, 240, .07); box-shadow: 0 0 0 4px rgba(69, 211, 240, .06); }
.pipe__icon { width: 48px; height: 48px; border-radius: var(--r-tile); display: grid; place-items: center; flex: none; font-size: 24px; }
.pipe__icon--in { background: rgba(69, 211, 240, .14); color: var(--aqua); }
.pipe__icon--out { background: rgba(26, 203, 147, .16); color: var(--brand); }
.pipe__meta { min-width: 0; }
.pipe__meta small { display: block; font-size: 12.5px; color: var(--muted); }
.pipe__meta b { display: block; font: 500 clamp(15px, 1.5vw, 19px)/1.3 var(--mono); letter-spacing: -.02em; white-space: nowrap; }
.pipe__meta span { display: block; font-size: 12.5px; color: var(--dim); }
[data-st="wallet"] .pipe__meta b { color: var(--brand); }
.pipe__station--hub { flex-direction: column; justify-content: center; gap: 12px; text-align: center; }
.pipe__logo { display: block; }
.pipe__logo img { height: 26px; width: auto; }
.pipe__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pipe__chip { font: 500 11px/1 var(--mono); padding: 6px 9px; border-radius: var(--r-pill); color: var(--dim); border: 1px solid var(--line-2); transition: all .35s var(--ease); }
.pipe__chip.is-on { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }
.pipe__link { position: relative; margin: 0 6px; --b: 1; }
.pipe__beam { position: absolute; left: 0; right: 0; top: 50%; height: 2px; translate: 0 -50%; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.pipe__beam i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--aqua), var(--brand)); transform-origin: left; transform: scaleX(var(--b)); }
.pipe__link--out .pipe__beam i { background: linear-gradient(90deg, var(--brand), var(--lime)); }
.pipe__packet { position: absolute; left: 0; top: 50%; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: var(--aqua); color: #04161C; box-shadow: 0 0 22px -2px rgba(69, 211, 240, .8); opacity: 0; }
.pipe__link--out .pipe__packet { background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 22px -2px rgba(26, 203, 147, .8); }
.pipe__note { margin-top: 12px; font-size: 12.5px; color: var(--dim); }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 36px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 600 clamp(1.9rem, 3.2vw, 2.7rem)/1.1 var(--display); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat:nth-child(1) b { color: var(--aqua); }
.stat:nth-child(2) b { color: var(--brand); }
.stat:nth-child(3) b { color: var(--lime); }
.stat > span { color: var(--muted); font-size: 14px; }

/* ---------- Rails marquee ---------- */
.rails { padding: 28px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rails__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.rails:hover .rails__track { animation-play-state: paused; }
.rails__list { display: flex; gap: 12px; padding: 0 6px; }
.rails__list li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); white-space: nowrap; font-size: 14.5px; color: var(--muted); }
.rails__list li i { color: var(--aqua); font-size: 17px; }
.rails__list li.is-out i { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg), var(--bg-2) 14%, var(--bg-2) 86%, var(--bg)); }
.head { max-width: 760px; margin-bottom: 56px; }
.head h2, .price h2, .how h2, .setup h2, .contact h2, .hscroll__head h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.05; margin-bottom: 18px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .sub { margin-inline: auto; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Industries: horizontal ---------- */
.hscroll { position: relative; padding: var(--section) 0 calc(var(--section) - 24px); }
.hscroll.is-pinned { padding: 0; }
/* Pinned: the whole block must fit one screen. The heading scales with screen height and the
   card row is a flex item (up to 520px) that shrinks into whatever height is left. */
.hscroll.is-pinned .hscroll__pin { height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.5vh, 40px); padding: calc(72px + clamp(12px, 3vh, 32px)) 0 clamp(16px, 4vh, 40px); }
.hscroll.is-pinned .hscroll__head { flex: none; }
.hscroll.is-pinned .hscroll__head h2 { font-size: clamp(1.8rem, min(3.6vw, 5.4vh), 3.3rem); margin-bottom: clamp(8px, 1.4vh, 14px); }
.hscroll.is-pinned .hscroll__head .sub { font-size: clamp(.95rem, 1.9vh, 1.075rem); }
.hscroll.is-pinned .hscroll__viewport { flex: 0 1 520px; min-height: 0; }
.hscroll.is-pinned .hscroll__track { height: 100%; padding-bottom: 0; }
.hscroll.is-pinned .hpanel { height: 100%; min-height: 0; }
.hscroll.is-pinned .hpanel__copy { padding: clamp(18px, 4vh, 44px) 40px clamp(18px, 4vh, 44px) 24px; }
.hscroll.is-pinned .hpanel__icon { width: clamp(38px, 5.5vh, 48px); height: clamp(38px, 5.5vh, 48px); font-size: clamp(19px, 2.8vh, 24px); margin-bottom: clamp(10px, 2.6vh, 24px); }
.hscroll.is-pinned .hpanel h3 { font-size: clamp(1.3rem, min(2.2vw, 3.6vh), 2rem); margin-bottom: clamp(6px, 1.2vh, 12px); }
.hscroll.is-pinned .hpanel p { font-size: clamp(.92rem, 1.9vh, 1rem); margin-bottom: clamp(10px, 2.6vh, 24px); }
.hscroll.is-pinned .hpanel__list { gap: clamp(5px, 1.1vh, 10px); }
.hscroll.is-pinned .hpanel__list li { font-size: clamp(13px, 1.8vh, 14.5px); }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.hscroll.is-pinned .hscroll__head { margin-bottom: 0; }
.hscroll__head > div:first-child { max-width: 760px; }
.hscroll__head h2 { margin-bottom: 14px; }
.hscroll__progress { flex: none; width: 180px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; margin-bottom: 12px; }
.hscroll__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--aqua), var(--brand), var(--lime)); transform: scaleX(.25); transform-origin: left; }
.hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll__viewport::-webkit-scrollbar { display: none; }
.hscroll.is-pinned .hscroll__viewport { overflow: visible; }
.hscroll__track { display: flex; gap: 24px; width: max-content; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 24px; }
.hpanel {
  scroll-snap-align: start; width: min(78vw, 980px); height: min(58vh, 500px); min-height: 400px;
  display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-2);
}
.hpanel__media { position: relative; overflow: hidden; }
.hpanel__media img { position: absolute; inset: 0 -10%; width: 120%; height: 100%; object-fit: cover; }
.hpanel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bg-2)); }
.hpanel__copy { padding: 44px 44px 44px 28px; display: flex; flex-direction: column; justify-content: center; }
.hpanel__icon { width: 48px; height: 48px; border-radius: var(--r-tile); display: grid; place-items: center; font-size: 24px; margin-bottom: 24px; border: 1px solid var(--line-2); }
.hpanel h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; margin-bottom: 12px; }
.hpanel p { color: var(--muted); margin-bottom: 24px; }
.hpanel__list { display: grid; gap: 10px; }
.hpanel__list li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; }
.hpanel__list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; translate: 0 -2px; background: var(--c); }
.hpanel--forex { --c: var(--brand); background: radial-gradient(80% 80% at 100% 100%, rgba(26, 203, 147, .16), transparent 60%), var(--bg-2); }
.hpanel--prop { --c: var(--aqua); background: radial-gradient(80% 80% at 100% 100%, rgba(69, 211, 240, .16), transparent 60%), var(--bg-2); }
.hpanel--aff { --c: var(--lime); background: radial-gradient(80% 80% at 100% 100%, rgba(195, 240, 107, .14), transparent 60%), var(--bg-2); }
.hpanel--crypto { --c: var(--amber); background: radial-gradient(80% 80% at 100% 100%, rgba(255, 181, 92, .16), transparent 60%), var(--bg-2); }
.hpanel .hpanel__icon { color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }

/* ---------- Collection / settlement ---------- */
.cs { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: stretch; }
.cs__panel { border-radius: var(--r-card); padding: 40px; border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.cs__panel--in { background: radial-gradient(120% 90% at 0% 0%, rgba(69, 211, 240, .2), transparent 55%), var(--bg-2); --c: var(--aqua); }
.cs__panel--out { background: radial-gradient(120% 90% at 100% 0%, rgba(26, 203, 147, .24), transparent 55%), var(--bg-2); --c: var(--brand); }
.cs__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cs__icon { width: 48px; height: 48px; border-radius: var(--r-tile); display: grid; place-items: center; font-size: 24px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.cs__panel h3 { font-size: 1.9rem; }
.cs__panel > p { color: var(--muted); margin-bottom: 28px; max-width: 44ch; }
.cs__list { display: grid; gap: 4px; }
.cs__list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cs__list i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; color: var(--brand-ink); background: var(--c); }
.cs__bridge { display: flex; align-items: center; justify-content: center; position: relative; }
.cs__beam { flex: 1; height: 2px; position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(69, 211, 240, .2), rgba(69, 211, 240, .6)); }
.cs__beam--out { background: linear-gradient(90deg, rgba(26, 203, 147, .6), rgba(26, 203, 147, .2)); }
.cs__beam i { position: absolute; top: -2px; left: -10px; width: 10px; height: 6px; border-radius: 3px; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); animation: beamX 1.8s linear infinite; }
.cs__beam--out i { background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.cs__beam i:nth-child(2) { animation-delay: .6s; }
.cs__beam i:nth-child(3) { animation-delay: 1.2s; }
@keyframes beamX { to { left: 100%; } }
.cs__core { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #12322A, #071510 70%); border: 1px solid rgba(26, 203, 147, .5); box-shadow: 0 0 40px -6px rgba(26, 203, 147, .6); }
.cs__core img { width: 50px; }

/* ---------- Coverage map ---------- */
.map { position: relative; max-width: 1080px; margin: 0 auto 40px; aspect-ratio: 1000 / 383; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* Dimming uses stroke-opacity and filter so it never fights the GSAP intro, which animates opacity. */
.map__dots { fill: none; stroke-linecap: round; stroke-width: 4.4; transition: stroke-opacity .4s, stroke .4s; }
.map__dots--world { stroke: rgba(214, 255, 238, .2); }
.map__dots--sepa { stroke: var(--brand); }
.map__dots--uk { stroke: var(--lime); }
.map__dots--us { stroke: var(--aqua); }
.map[data-active] .map__dots { stroke-opacity: .22; }
.map[data-active="sepa"] .map__dots--sepa, .map[data-active="uk"] .map__dots--uk, .map[data-active="us"] .map__dots--us { stroke-opacity: 1; }
.map[data-active="world"] .map__dots--world { stroke-opacity: 1; stroke: rgba(214, 255, 238, .55); }
.map__pin { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; transition: filter .4s; }
.map__pin--sepa { --c: var(--brand); }
.map__pin--uk { --c: var(--lime); }
.map__pin--us { --c: var(--aqua); }
.map__pin--world { --c: #DCEBE5; }
.map__pin > i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.map__pin > i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); animation: pulse 2.4s var(--ease) infinite; }
.map__pin--world > i { width: 8px; height: 8px; left: -4px; top: -4px; }
.map__label { position: absolute; left: 16px; top: -18px; white-space: nowrap; padding: 7px 12px; border-radius: 12px; background: rgba(10, 23, 19, .88); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.map__pin--left .map__label { left: auto; right: 14px; top: -54px; }
.map__label b { display: block; font: 600 13px/1.2 var(--display); color: var(--c); }
.map__label small { display: block; font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
.map[data-active="sepa"] .map__pin:not([data-group="sepa"]), .map[data-active="uk"] .map__pin:not([data-group="uk"]),
.map[data-active="us"] .map__pin:not([data-group="us"]), .map[data-active="world"] .map__pin:not([data-group="world"]) { filter: opacity(.2); }
.cov { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cov__item { --c: var(--brand); text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 20px 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: grid; gap: 4px; align-content: start; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.cov__item[data-group="uk"] { --c: var(--lime); }
.cov__item[data-group="us"] { --c: var(--aqua); }
.cov__item[data-group="world"] { --c: #DCEBE5; }
.cov__item:hover, .cov__item.is-on { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 7%, transparent); transform: translateY(-2px); }
.cov__item b { font: 600 1.15rem/1.2 var(--display); color: var(--c); margin-top: 10px; }
.cov__item > span:last-child { color: var(--muted); font-size: 14px; }
.cov__flags { display: flex; align-items: center; }
.cov__flags > * { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; flex: none; }
.cov__flags > :first-child { margin-left: 0; }
.cov__flags .fi.fis { width: 30px; height: 30px; background-size: cover; line-height: 1; }
.cov__more, .cov__globe { display: grid; place-items: center; font: 600 11px/1 var(--mono); background: var(--bg-3); color: var(--text); }
.cov__globe { font-size: 17px; color: var(--c); }
.cov__note { margin-top: 20px; text-align: center; font-size: 13px; color: var(--dim); max-width: 70ch; margin-inline: auto; }

/* ---------- Pricing calculator ---------- */
.price { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.calc {
  border-radius: 28px; padding: 24px; position: relative;
  border: 2px solid transparent;
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(69, 211, 240, .2), transparent 55%) padding-box,
    radial-gradient(110% 80% at 100% 100%, rgba(195, 240, 107, .14), transparent 55%) padding-box,
    linear-gradient(#0B1915, #0B1915) padding-box,
    conic-gradient(from var(--ga), var(--aqua), var(--brand), var(--lime), rgba(26, 203, 147, .18) 45%, rgba(26, 203, 147, .18) 72%, var(--aqua)) border-box;
  box-shadow: 0 30px 70px -30px rgba(26, 203, 147, .45);
  animation: ga 5s linear infinite;
}
.calc__send, .calc__get { background: rgba(3, 12, 9, .7); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 24px; }
.calc__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.calc__row label, .calc__row small { font-size: 13.5px; color: var(--muted); }
.calc__hint { font: 400 12px/1 var(--mono); color: var(--dim); transition: color .2s; }
.calc__hint.is-bad { color: var(--bad); }
.calc__input { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc__cur { display: inline-flex; align-items: center; gap: 10px; font: 600 1.4rem/1 var(--display); }
.calc__cur .fi.fis { width: 28px; height: 28px; border-radius: 50%; background-size: cover; }
.calc__field { display: flex; align-items: baseline; gap: 2px; font: 600 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--display); border-bottom: 1px dashed transparent; transition: border-color .2s; }
.calc__field:focus-within { border-bottom-color: var(--brand); }
.calc__field input { field-sizing: content; min-width: 2ch; width: 7.2ch; font: inherit; color: var(--text); background: none; border: 0; padding: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc__field input:focus { outline: 0; }
.calc__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.calc__quick button, .seg--sm button { font: 500 13px/1 var(--font); color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 8px 12px; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.calc__quick button:hover { color: var(--text); border-color: rgba(26, 203, 147, .5); }
.calc__mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 16px 0; }
.calc__mid > span:not(.calc__feepill) { height: 1px; background: var(--line-2); }
.calc__feepill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); font: 500 13px/1 var(--font); color: var(--text); background: rgba(26, 203, 147, .14); border: 1px solid rgba(26, 203, 147, .45); }
.calc__feepill i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.calc__feepill i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--brand); animation: pulse 2s var(--ease) infinite; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg--sm button[aria-pressed="true"] { background: rgba(26, 203, 147, .14); border-color: var(--brand); color: var(--text); }
.calc__out { display: flex; align-items: baseline; gap: 10px; }
.calc__out b { font: 600 clamp(2.2rem, 4vw, 3.1rem)/1.05 var(--display); font-variant-numeric: tabular-nums; }
.calc__out span { font: 500 1rem/1 var(--mono); color: var(--brand); }
.calc__more { display: flex; align-items: center; gap: 8px; margin: 8px 0 18px; font-size: 14.5px; color: var(--brand); }
.calc__alts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc__alt { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.calc__altname { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.calc__alt b { font: 500 16px/1.3 var(--mono); }
.calc__alt em { display: flex; align-items: center; gap: 4px; font: 500 12.5px/1 var(--mono); font-style: normal; color: var(--bad); }
.calc__save { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--aqua); }
.calc__save i { margin-top: 2px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 18px 0 0; background: linear-gradient(90deg, var(--aqua), var(--brand) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 5px solid var(--brand); box-shadow: 0 0 0 6px rgba(26, 203, 147, .18); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 5px solid var(--brand); box-shadow: 0 0 0 6px rgba(26, 203, 147, .18); cursor: grab; }
.price__copy .sub { margin-bottom: 28px; }
.price__fee { margin-bottom: 32px; }
.price__fee b { display: inline-block; font: 700 clamp(4rem, 8vw, 6.4rem)/1 var(--display); letter-spacing: -.03em; background: linear-gradient(100deg, var(--brand), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__fee sup { font-size: .38em; vertical-align: super; }
.price__fee span { display: block; margin-top: 6px; font-size: 1.15rem; }
.price__fine { margin-top: 24px; font-size: 13px; color: var(--dim); max-width: 54ch; }
.price__fine a { color: var(--brand); }

/* ---------- Typical rail vs AltPay ---------- */
.vs { padding: var(--section) 0; position: relative; }
.vs.is-pinned { min-height: 100dvh; display: flex; align-items: center; padding: 84px 0 28px; }
.vs.is-pinned .head { margin-bottom: 28px; }
.vs.is-pinned .head h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 10px; }
.vs .head { margin-bottom: 44px; }
.vs__table { display: grid; gap: 12px; }
.vs__row { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 14px; align-items: stretch; }
.vs__row--head { align-items: center; }
.vs__colhead { display: flex; align-items: center; gap: 10px; padding: 0 28px; font: 600 1.15rem/1 var(--display); }
.vs__colhead--bad { color: var(--bad); }
.vs__colhead--bad i { font-size: 22px; }
.vs__colhead--good img { height: 30px; width: auto; }
.vs__label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.vs__label i { font-size: 20px; color: var(--text); }
.vs__cell { border-radius: var(--r-card); padding: 20px 26px; display: grid; gap: 12px; align-content: start; }
.vs__cell p { font-size: 15px; }
.vs__cell--bad { background: rgba(255, 138, 107, .05); border: 1px dashed rgba(255, 138, 107, .35); }
.vs__cell--bad p { color: #E8C2B5; }
.vs__cell--good { background: radial-gradient(120% 120% at 100% 0%, rgba(26, 203, 147, .18), transparent 60%), rgba(26, 203, 147, .05); border: 1px solid rgba(26, 203, 147, .4); box-shadow: 0 20px 50px -30px rgba(26, 203, 147, .6); }
.meter { position: relative; height: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.meter__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; transform-origin: left; }
.meter--bad .meter__fill { width: 8%; background: var(--bad); }
.meter--good .meter__fill { width: 100%; background: linear-gradient(90deg, var(--aqua), var(--brand), var(--lime)); }
.meter__wall { position: absolute; left: 8%; top: -8px; bottom: -8px; width: 3px; border-radius: 2px; background: var(--bad); box-shadow: 0 0 12px var(--bad); }
.meter__wall::after { content: "Cap"; position: absolute; left: 8px; top: -3px; font: 500 11px/1 var(--mono); color: var(--bad); }
.meter__scale { display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); color: var(--muted); margin-top: -6px; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chain > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); font: 500 12.5px/1 var(--mono); color: #F2C7B9; border: 1px solid rgba(255, 138, 107, .35); background: rgba(255, 138, 107, .06); }
.chain > i { color: rgba(255, 138, 107, .6); font-size: 12px; }
.chain--good > span { color: var(--text); border-color: rgba(26, 203, 147, .5); background: rgba(26, 203, 147, .12); }
.chain--good > span:last-child { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chain--good > i { color: var(--brand); font-size: 14px; }
.terms { display: grid; gap: 6px; }
.terms li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 10px; font-size: 14px; background: rgba(255, 138, 107, .06); }
.terms li span { color: var(--muted); }
.terms li b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--bad); }
.terms li b i { font-size: 16px; }
.terms .terms__cap { padding: 0 2px 2px; background: none; font: 500 11.5px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.terms--good li { background: rgba(26, 203, 147, .08); }
.terms--good li b { color: var(--brand); }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.how__intro { position: sticky; top: 120px; }
.how__intro .sub { margin-bottom: 32px; }
.steps { position: relative; display: grid; gap: 20px; --rail-x: 24px; }
.steps__rail { position: absolute; left: calc(var(--rail-x) - 1px); top: 48px; bottom: 48px; width: 2px; border-radius: 2px; background: var(--line-2); }
.steps__rail i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(var(--aqua), var(--brand), var(--lime)); transform-origin: top; transform: scaleY(var(--s, 1)); }
.step { position: relative; padding-left: calc(var(--rail-x) * 2 + 28px); }
.step__dot { position: absolute; left: 0; top: 24px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--dim); transition: all .5s var(--ease); z-index: 1; }
.step__card { padding: 28px 32px; border-radius: var(--r-card); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .5s, background-color .5s; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--muted); }
.step.is-active .step__card { border-color: rgba(26, 203, 147, .3); background: rgba(26, 203, 147, .05); }
.step.is-active .step__dot { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); box-shadow: 0 0 0 6px rgba(26, 203, 147, .15); }

/* ---------- Onboarding ---------- */
.onb { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; --p: 1; }
.onb__rail { position: absolute; top: 31px; left: 32px; right: calc(25% - 50px); height: 2px; background: var(--line-2); border-radius: 2px; }
.onb__rail i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--aqua), var(--brand), var(--lime)); transform: scaleX(var(--p)); transform-origin: left; }
.onb__step { position: relative; }
.onb__node { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 28px; margin-bottom: 24px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--muted); transition: all .5s var(--ease); }
.onb__step.is-active .onb__node { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 8px rgba(26, 203, 147, .14), 0 10px 30px -8px rgba(26, 203, 147, .6); }
.onb__step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.onb__step p { color: var(--muted); font-size: 15px; max-width: 30ch; }
.docs { border-radius: var(--r-card); padding: 36px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.docs h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 16px; }
.docs h3 i { color: var(--brand); font-size: 22px; }
.docs__list { display: grid; gap: 12px; }
.docs__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.docs__list li i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; font-size: 13px; border: 1px solid var(--line-2); color: transparent; transition: all .4s var(--ease); }
.docs__list li.is-checked { color: var(--text); }
.docs__list li.is-checked i { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.docs__note { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.docs__note i { color: var(--lime); font-size: 20px; flex: none; }

/* ---------- How this is set up ---------- */
.setup { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.setup__media { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line-2); }
.setup__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.setup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6, 16, 13, .6)); }
.setup .sub { margin-bottom: 36px; }
.setup__items { display: grid; gap: 14px; }
.setup__item { display: flex; gap: 18px; padding: 24px 26px; border-radius: var(--r-card); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .3s, background-color .3s; }
.setup__item:hover { border-color: rgba(26, 203, 147, .35); background: rgba(26, 203, 147, .04); }
.setup__icon { width: 48px; height: 48px; border-radius: var(--r-tile); display: grid; place-items: center; flex: none; font-size: 24px; color: var(--brand); background: rgba(26, 203, 147, .12); border: 1px solid rgba(26, 203, 147, .3); }
.setup__item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.setup__item p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
details { border-radius: var(--r-card); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .3s, background-color .3s; }
details[open] { border-color: rgba(26, 203, 147, .3); background: rgba(26, 203, 147, .04); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 28px; font-weight: 500; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--brand); transition: transform .4s var(--ease), background-color .3s; }
details[open] summary i { transform: rotate(45deg); background: rgba(26, 203, 147, .12); }
.faq__a { padding: 0 28px 24px; color: var(--muted); max-width: 70ch; }
details::details-content { transition: height .45s var(--ease), content-visibility .45s allow-discrete; height: 0; overflow: clip; }
details[open]::details-content { height: auto; }
@supports (field-sizing: content) { .calc__field input { width: auto; } }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact__glow { position: absolute; z-index: -1; width: 900px; height: 900px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; filter: blur(90px); opacity: .3; background: conic-gradient(from 0deg, var(--brand), var(--aqua), var(--lime), var(--brand)); animation: spin 30s linear infinite; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.contact .sub { margin-bottom: 32px; }
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks i { color: var(--brand); font-size: 22px; flex: none; }
.form { border-radius: var(--r-card); padding: 36px; position: relative; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.input { display: grid; gap: 8px; align-content: start; }
.input--full { grid-column: 1 / -1; }
.input label { font-size: 13.5px; font-weight: 500; color: var(--text); }
.input label em { font-style: normal; color: var(--dim); font-weight: 400; margin-left: 4px; }
.input input, .input select, .input textarea { width: 100%; font: 400 15px/1.4 var(--font); color: var(--text); background: rgba(3, 12, 9, .6); border: 1px solid var(--line-2); border-radius: var(--r-input); padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.input select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2394ABA2' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input select option { background: var(--bg-2); }
.input textarea { resize: vertical; min-height: 92px; }
.input ::placeholder { color: var(--dim); }
.input input:focus, .input select:focus, .input textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 203, 147, .18); }
.input.is-bad input, .input.is-bad select { border-color: #FF8A7A; }
.input__err { font-size: 12.5px; color: #FF9C8F; }
.input__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; font-size: 14px; }
.form__status:empty { display: none; }
.form__status.is-bad { color: #FF9C8F; }
.form__fine { margin-top: 14px; font-size: 12.5px; color: var(--dim); text-align: center; }
.btn.is-loading .btn__label::after { content: "..."; }
.btn.is-loading i { animation: fly 1s var(--ease) infinite; }
@keyframes fly { 50% { transform: translate(3px, -3px); } }
.form__done { position: absolute; inset: 0; border-radius: inherit; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 32px; background: rgba(8, 20, 16, .96); animation: rise .6s var(--ease); }
.form__done[hidden] { display: none; }
.form__done p { color: var(--muted); max-width: 34ch; }
.form__done h3 { font-size: 1.7rem; }
.form__doneicon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 10px rgba(26, 203, 147, .15); margin-bottom: 8px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Telegram ---------- */
.tgcard { display: flex; align-items: center; gap: 14px; max-width: 420px; margin-top: 32px; padding: 16px 18px; border-radius: 18px; text-decoration: none; border: 1px solid rgba(42, 171, 238, .35); background: rgba(42, 171, 238, .08); transition: border-color .3s, transform .3s var(--ease); }
.tgcard:hover { border-color: #2AABEE; transform: translateY(-2px); }
.tgcard__icon, .tg-float i { display: grid; place-items: center; flex: none; border-radius: 50%; background: #2AABEE; color: #fff; }
.tgcard__icon { width: 44px; height: 44px; font-size: 22px; }
.tgcard__text b { display: block; font-weight: 600; }
.tgcard__text small { color: var(--muted); font-size: 14px; }
.tgcard__arrow { margin-left: auto; font-size: 20px; color: #5CC4F5; }
.tg-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: inline-flex; align-items: center; padding: 6px; border-radius: var(--r-pill);
  font: 500 14px/1 var(--font); color: var(--text); text-decoration: none; white-space: nowrap;
  background: rgba(10, 23, 19, .88); border: 1px solid rgba(42, 171, 238, .45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s;
}
.tg-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.tg-float:hover { border-color: #2AABEE; }
.tg-float i { width: 40px; height: 40px; font-size: 21px; }
.tg-float span { display: block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .55s var(--ease), opacity .3s, margin .55s var(--ease); }
.tg-float.is-open span, .tg-float:hover span, .tg-float:focus-visible span { max-width: 170px; opacity: 1; margin: 0 14px 0 10px; }

/* ---------- Legal pages ---------- */
.legal { padding: 136px 0 104px; }
.legal__head { max-width: 760px; margin-bottom: 56px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s; }
.legal__back:hover { color: var(--brand); }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 14px; }
.legal__meta { font: 400 12.5px/1 var(--mono); color: var(--dim); margin-bottom: 22px; }
.legal__intro { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.legal__body { display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start; }
.legal__toc { position: sticky; top: 104px; }
.legal__toc p { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 14px; }
.legal__toc ol { display: grid; }
.legal__toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line-2); font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.legal__toc a:hover { color: var(--text); border-left-color: var(--brand); }
.legal__article { max-width: 72ch; }
.legal__article section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal__article section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal__article h2 { font-size: 1.5rem; margin-bottom: 14px; }
.legal__article p, .legal__article li { color: #C3D2CC; line-height: 1.75; }
.legal__article p + p, .legal__article ul + p { margin-top: 14px; }
.legal__article ul { list-style: disc; padding-left: 20px; margin: 14px 0 0; display: grid; gap: 6px; }
.legal__article li::marker { color: var(--brand); }
.legal__article a { color: var(--brand); text-underline-offset: 3px; }
.legal__article strong { color: var(--text); font-weight: 600; }
mark.todo { background: rgba(255, 181, 92, .14); color: var(--amber); border: 1px dashed rgba(255, 181, 92, .5); border-radius: 6px; padding: 0 6px; font: 500 .88em var(--mono); }
.nav__links a[aria-current="page"], .footer__legal a[aria-current="page"] { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.footer__brand img { height: 38px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--dim); font-size: 13.5px; max-width: 56ch; }
.footer__side { display: grid; justify-items: end; gap: 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer__links a:hover { color: var(--brand); }
.footer__bottom { margin-top: 48px; padding-top: 24px; color: var(--dim); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
/* Divider sits above the padding and spans the content width, not the gutters. */
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover { color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --section: 104px; }
  .price, .how, .contact__grid, .setup { grid-template-columns: 1fr; gap: 48px; }
  .cov { grid-template-columns: 1fr 1fr; }
  .how__intro { position: static; }
  .setup__media { aspect-ratio: 16 / 10; }
  .cs { grid-template-columns: 1fr; }
  .cs__bridge { height: 96px; flex-direction: column; }
  .cs__beam { width: 2px; flex: 1; background: linear-gradient(rgba(69, 211, 240, .2), rgba(69, 211, 240, .6)); }
  .cs__beam--out { background: linear-gradient(rgba(26, 203, 147, .6), rgba(26, 203, 147, .2)); }
  .cs__beam i { width: 6px; height: 10px; left: -2px; top: -10px; animation-name: beamY; }
  .onb { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .onb__rail { display: none; }
  .legal__body { grid-template-columns: 1fr; gap: 0; }
  .legal__toc { display: none; }
}
@keyframes beamY { to { top: 100%; } }
@media (max-width: 1079px) { .heroB__top { grid-template-columns: 1fr; } .heroB__art { display: none; } }
@media (max-width: 899px) {
  .pipe { grid-template-columns: 1fr; grid-template-rows: auto 56px auto 56px auto; padding: 12px; }
  .pipe__link { margin: 4px 0; }
  .pipe__beam { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; translate: -50% 0; }
  .pipe__beam i { transform-origin: top; transform: scaleY(var(--b)); background: linear-gradient(var(--aqua), var(--brand)); }
  .pipe__link--out .pipe__beam i { background: linear-gradient(var(--brand), var(--lime)); }
  .pipe__packet { left: 50%; top: 0; }
  .pipe__station--hub { flex-direction: row; justify-content: space-between; text-align: left; }
  .pipe__chips { justify-content: flex-end; }
  .hscroll__head { flex-direction: column; align-items: flex-start; gap: 0; }
  .hscroll__progress { display: none; }
  .hscroll__viewport { overflow: visible; }
  .hscroll__track { flex-direction: column; width: auto; padding: 0 var(--gutter); }
  .hpanel { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .hpanel__media { aspect-ratio: 16 / 9; }
  .hpanel__media::after { background: linear-gradient(180deg, transparent 55%, var(--bg-2)); }
  .hpanel__media img { inset: 0; width: 100%; }
  .hpanel__copy { padding: 8px 28px 32px; }
  .vs__row { grid-template-columns: 1fr; gap: 10px; }
  .vs__row--head { display: none; }
  .vs__label { padding-top: 18px; font-size: 16px; color: var(--text); }
  .vs__cell--bad::before { content: "Typical rail"; font: 600 13px/1 var(--display); color: var(--bad); }
  .vs__cell--good::before { content: "AltPay"; font: 600 13px/1 var(--display); color: var(--brand); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --section: 88px; }
  .heroB { padding-top: 104px; }
  .legal { padding: 112px 0 80px; }
  .calc { padding: 14px; border-radius: 22px; }
  .calc__send, .calc__get { padding: 18px; }
  .heroB__row { margin-bottom: 36px; }
  .cs__panel { padding: 28px 24px; }
  .onb { grid-template-columns: 1fr; row-gap: 28px; }
  .onb__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .onb__node { grid-row: span 2; margin-bottom: 0; }
  .docs { grid-template-columns: 1fr; padding: 28px 24px; }
  .steps { --rail-x: 22px; }
  .step { padding-left: 64px; }
  .step__dot { top: 26px; width: 44px; height: 44px; font-size: 19px; }
  .step__card { padding: 22px 22px; }
  .setup__item { padding: 20px; }
  .form { padding: 24px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  summary { padding: 20px 22px; }
  .faq__a { padding: 0 22px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__links { justify-content: flex-start; }
  .footer__side { justify-items: start; }
  .map__label { display: none; }
  .tg-float { right: 14px; bottom: 14px; }
}
@media (max-width: 600px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 22px 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .cov { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .calc__alts { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .rails__track { animation: none; flex-wrap: wrap; }
  .rails__list + .rails__list { display: none; }
}
