/* Offrampr. Light theme, engineering tone: Sora for the wordmark and headings, IBM Plex Sans for text, Plex Mono for figures, ink on cool grey, one orange.
   Shape rule: everything is near-square. Buttons, inputs, toggles 6px; cards and media 10px; nothing is a pill.
   Button rule: ink split button, label cell + orange arrow cell. Secondary actions are underlined text links.
   Label rule: mono uppercase eyebrow with an orange slash, at most one per three sections.
   Spacing rule: sections 120px desktop / 84px mobile, heads 48px to content, gutters 24px / 16px.
   Z-index scale: canvas 0, content 1, receipts 2, nav 50, Telegram button 55. */

:root {
  --bg: #F3F4F6;
  --bg-alt: #ECEEF1;
  --surface: #FFFFFF;
  --line: #DDE0E6;
  --line-2: #C8CDD5;
  --ink: #0B0D12;
  --text: #1B1F27;
  --muted: #545B69;
  --dim: #646B79;

  --brand: #F5501E;
  --brand-deep: #C23B0D;   /* orange that passes AA as text on the light greys */
  --fiat: #2F5BEA;

  --r: 6px;
  --r-card: 10px;

  --display: "Sora", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: 24px;
  --section: 120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* No CSS smooth scrolling on the main page: when ScrollTrigger refreshes on resize, a smooth scroll in flight makes it
   measure at the wrong offset (negative starts, pins on the wrong step). In-page links smooth-scroll in JS instead (main.js). */
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
html:has(.legal) { scroll-behavior: smooth; } /* legal pages run no ScrollTrigger, so CSS smooth scrolling is safe there */
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { overflow-x: clip; }
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: -.03em; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.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(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.logo img { width: 28px; height: 32px; }

.eyebrow { font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 20px; }
.eyebrow::before { content: "/"; color: var(--brand); margin-right: .7em; }
.sub { color: var(--muted); font-size: 1.075rem; max-width: 58ch; }
.num { font-family: var(--mono); font-weight: 500; letter-spacing: -.04em; }
.fine { margin-top: 20px; font-size: 13px; color: var(--dim); max-width: 64ch; }

/* ---------- Buttons: ink split button with an orange arrow cell ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: stretch; height: var(--bh); padding: 0; border: 0; border-radius: var(--r);
  background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden;
  font: 500 15px/1 var(--font); letter-spacing: -.01em;
  transition: transform .2s var(--ease), box-shadow .3s;
  box-shadow: 0 1px 0 rgba(11, 13, 18, .08), 0 8px 20px -12px rgba(11, 13, 18, .5);
}
.btn__label { display: flex; align-items: center; padding: 0 20px; }
.btn__cell { position: relative; flex: none; width: var(--bh); display: grid; place-items: center; overflow: hidden; background: var(--brand); color: var(--ink); font-size: 1.15em; transition: width .35s var(--ease); }
.btn__cell i { grid-area: 1 / 1; transition: transform .45s var(--ease); }
.btn__cell i + i { transform: translate(calc(var(--bh) * -.75), calc(var(--bh) * .75)); }
.btn:hover .btn__cell { width: calc(var(--bh) + 8px); }
.btn:hover .btn__cell i:first-child { transform: translate(calc(var(--bh) * .75), calc(var(--bh) * -.75)); }
.btn:hover .btn__cell i + i { transform: none; }
.btn:active { transform: translateY(1px); }
.btn--sm { --bh: 40px; font-size: 14px; }
.btn--sm .btn__label { padding: 0 16px; }
.btn--lg { --bh: 54px; font-size: 16px; }
.btn--lg .btn__label { padding: 0 26px; }
.btn--block { width: 100%; }
.btn--block .btn__label { flex: 1; justify-content: center; }
.btn--onbrand .btn__cell { background: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--brand), var(--brand)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease), color .2s; }
.link:hover { color: var(--brand-deep); background-size: 100% 2px; }
.link i { font-size: 1.15em; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.is-solid { background: rgba(243, 244, 246, .86); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 8px 12px; border-radius: var(--r); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(11, 13, 18, .05); }
@media (max-width: 900px) { .nav__links { display: none; } .nav__inner { justify-content: space-between; } }

/* ---------- Hero: centred statement over a rising dotted globe ---------- */
.load { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 100ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero { position: relative; min-height: 100dvh; padding: 112px 0 clamp(230px, 38vh, 400px); overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 50% at 50% 30%, #fff, transparent 70%), var(--bg); }
.hero__globe { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 110px), transparent); mask-image: linear-gradient(#000 calc(100% - 110px), transparent); } /* the globe dissolves into the next section instead of being cut */
.hero__inner { text-align: center; display: grid; justify-items: center; }
.hero__h1 { font-size: clamp(2.4rem, min(5.2vw, 8.6vh), 4.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin-bottom: 22px; }
.hero__h1 span { display: block; }
.hero__h1 em { font-style: normal; color: var(--brand); }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.18rem); max-width: 46ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.hero__note { position: absolute; z-index: 1; right: var(--gutter); bottom: 16px; font: 400 11.5px/1.4 var(--mono); color: var(--dim); text-align: right; max-width: 44ch; }
.hero__receipts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.receipt {
  position: absolute; left: 0; top: 0; display: grid; gap: 2px; padding: 8px 12px 9px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(11, 13, 18, .35);
  font: 500 12.5px/1.25 var(--mono); color: var(--ink); white-space: nowrap; will-change: transform;
  opacity: 0; transition: opacity .4s var(--ease);
}
.receipt.is-in { opacity: 1; }
.receipt small { font: 400 11px/1.2 var(--mono); color: var(--dim); }
.receipt small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: #1E9E5A; vertical-align: 1px; }
.receipt::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; translate: -50% 0; rotate: 45deg; background: var(--surface); border: solid var(--line); border-width: 0 1px 1px 0; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.head { max-width: 760px; margin-bottom: 48px; }
.head h2, .price h2, .how h2, .contact h2, .faq h2, .range-sec h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.05; margin-bottom: 14px; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Payout range ruler ---------- */
.range-sec { overflow: hidden; }
.range-sec__mark { position: absolute; z-index: 0; right: -4vw; top: 40px; width: clamp(260px, 30vw, 440px); height: auto; fill: none; stroke: var(--line-2); stroke-width: .35; }
.range-sec__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.range-sec__mark path + path { transition-delay: .6s; }
.range-sec__mark.is-in path { stroke-dashoffset: 0; }
.range-sec__head { max-width: 820px; margin-bottom: 40px; }
.range-sec h2 .num { color: var(--brand-deep); }
.ruler { position: relative; height: 210px; margin: 0 6px; touch-action: pan-y; }
.ruler__scale { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; }
.tick { position: absolute; bottom: 30px; width: 1px; height: 18px; background: var(--line-2); }
.tick--major { height: 38px; background: var(--ink); }
.tick small { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.ruler__scale::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: var(--ink); }
.ruler__marker { position: absolute; left: var(--x, 70%); bottom: 30px; width: 0; height: 180px; transition: left .7s var(--ease); z-index: 1; }
.ruler.is-drag .ruler__marker { transition: none; }
.ruler__line { position: absolute; left: -1px; bottom: 0; width: 2px; height: 96px; background: var(--brand); }
.ruler__line::after { content: ""; position: absolute; left: -6px; bottom: -7px; width: 14px; height: 14px; background: var(--brand); box-shadow: 0 0 0 4px rgba(245, 80, 30, .18); }
.ruler__card { position: absolute; left: 0; bottom: 104px; translate: var(--cx, -50%) 0; display: grid; gap: 2px; padding: 10px 14px 11px; min-width: 168px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(11, 13, 18, .45); transition: translate .5s var(--ease); }
.ruler__card small { font-size: 12.5px; color: var(--muted); }
.ruler__card b { font: 500 1.5rem/1.1 var(--mono); letter-spacing: -.04em; color: var(--ink); }
.ruler__card span { font: 400 12.5px/1.2 var(--mono); color: var(--brand-deep); white-space: nowrap; }
.ruler__input { position: absolute; inset: auto 0 0; height: 110px; width: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.ruler:focus-within .ruler__line::after { outline: 2px solid var(--ink); outline-offset: 3px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 14px; padding: 24px 24px 0 0; }
.specs i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-2); color: var(--brand-deep); font-size: 18px; background: var(--surface); }
.specs b { display: block; font: 500 13.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-bottom: 4px; }
.specs span { color: var(--muted); font-size: 15px; }

/* ---------- Who you pay: expanding panels ---------- */
.slices { display: flex; gap: 10px; height: clamp(420px, 62vh, 560px); }
.who__progress { display: none; height: 2px; margin-top: 16px; background: var(--line); }
.who__progress i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); }
/* Pinned walk-through on desktop: scrolling opens each payee type in turn. */
.who.is-pinned { padding: 0; }
.who.is-pinned .who__inner { height: 100dvh; display: flex; flex-direction: column; padding-top: clamp(84px, 11vh, 110px); padding-bottom: clamp(20px, 4vh, 40px); }
.who.is-pinned .head { margin-bottom: clamp(16px, 3vh, 40px); }
.who.is-pinned .head h2 { font-size: clamp(2rem, min(3.6vw, 6vh), 3.2rem); }
.who.is-pinned .slices { flex: 1 1 auto; height: auto; min-height: 0; max-height: 600px; }
.who.is-pinned .who__progress { display: block; }
.who.is-pinned .slice { cursor: pointer; }
.slice { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; padding: 0; cursor: pointer; text-align: left; color: var(--ink); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); transition: flex-grow .7s var(--ease), border-color .4s; }
.slice.is-open { flex-grow: 4.2; border-color: var(--line-2); cursor: default; }
.slice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.85) contrast(.95); }
.slice.is-open img, .slice:hover img { filter: none; }
.slice.is-open img { transform: scale(1.03); }
.slice__label { position: absolute; z-index: 2; left: 50%; bottom: 18px; translate: -50% 0; padding: 10px 6px; border-radius: var(--r); background: var(--surface); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; rotate: 180deg; transition: opacity .3s; }
.slice::after { content: ""; position: absolute; inset: 0; background: rgba(11, 13, 18, .58); transition: opacity .6s var(--ease); pointer-events: none; }
.slice:hover::after { opacity: .7; }
.slice.is-open::after { opacity: 0; }
.slice.is-open .slice__label { opacity: 0; }
.slice__body { position: absolute; z-index: 2; left: 18px; bottom: 18px; max-width: min(380px, calc(100% - 36px)); display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 14px 30px -18px rgba(11, 13, 18, .5); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.slice.is-open .slice__body { opacity: 1; transform: none; transition-delay: .25s; }
.slice__who { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--brand-deep); margin-bottom: 4px; }
.slice__body b { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.03em; }
.slice__body span { color: var(--muted); font-size: 15px; }

/* ---------- Problem: the same five payouts, by hand and with Offrampr ---------- */
.problem__stage { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.problem__h { font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 18px; }
.problem__h span { display: block; color: var(--dim); }
.race { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  background-image: radial-gradient(var(--line) 1px, transparent 1.2px); background-size: 18px 18px; }
.race__row { display: grid; gap: 12px; padding: 18px 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s; }
.race__row.is-done { border-color: var(--ink); }
.race__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.race__meta b { font-weight: 500; color: var(--ink); }
.race__meta span { color: var(--dim); font-variant-numeric: tabular-nums; }
.race__row.is-done .race__meta span { color: var(--brand-deep); }
.race__track { position: relative; display: flex; align-items: center; gap: 8px; }
.race__line { position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.race__node { position: relative; z-index: 1; flex: none; padding: 8px 10px; border-radius: var(--r); font: 500 12.5px/1 var(--mono); color: var(--muted); background: var(--surface); border: 1px solid var(--line-2); transition: color .25s, background-color .25s, border-color .25s; }
.race__node.is-on { color: #fff; background: var(--ink); border-color: var(--ink); }
.race__node--src { color: var(--brand-deep); border-color: var(--brand); }
.race__node--src.is-on { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.race__node--brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.race__node--brand img { width: 14px; height: 16px; }
.race__node--brand.is-on img { filter: brightness(0) invert(1); }
.race__row--off .race__node--brand { margin: 0 auto; }
.race__payees { position: relative; z-index: 1; display: flex; gap: 5px; margin-left: auto; }
.race__payees li { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 5px; font-size: 13px; color: var(--dim); background: var(--bg); border: 1px dashed var(--line-2); transition: all .3s var(--ease); }
.race__payees li.is-paid { color: var(--brand); background: var(--ink); border: 1px solid var(--ink); }
.race__packet { position: absolute; z-index: 0; left: 0; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--brand); box-shadow: 0 0 0 4px rgba(245, 80, 30, .2); opacity: 0; transition: opacity .2s; }
.race__packet.is-on { opacity: 1; }
.race__foot { font: 400 13.5px/1.5 var(--mono); color: var(--muted); min-height: 2.6em; }
.race__foot b { font-weight: 500; color: var(--ink); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pains li { display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.pains b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.pains span { color: var(--muted); font-size: 15px; }

/* ---------- Product bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 10px; }
.cell { position: relative; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.cell h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.cell p { color: var(--muted); font-size: 15px; }
.cell__icon { font-size: 24px; color: var(--brand-deep); margin-bottom: auto; }
.cell--hero { grid-column: span 2; grid-row: span 2; padding: 0; gap: 0; background: #ECEEF1; }
.cell--hero img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: 50% 45%; }
.cell__copy { padding: 22px 26px 26px; display: grid; gap: 6px; border-top: 1px solid var(--line); background: var(--surface); }
.cell--hero h3 { font-size: 1.5rem; }
.cell--b2 { grid-column: span 2; }
.cell--rails { grid-column: span 2; background: var(--ink); border-color: var(--ink); }
.cell--rails h3 { color: #fff; }
.cell--rails p { color: #A7AEBB; }
.rail-lines { display: grid; gap: 14px; margin: 8px 0 auto; }
.rail-lines span { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 10px; }
.rail-lines b { font: 500 12px/1 var(--mono); color: #fff; }
.rail-lines i { height: 1px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.rail-lines i::after { content: ""; position: absolute; top: -1px; left: -14%; width: 14%; height: 3px; background: var(--brand); animation: railRun 2.4s linear infinite; }
.rail-lines span + span i::after { animation-delay: 1.2s; }
@keyframes railRun { to { left: 100%; } }
.cell--fx { grid-column: span 2; }
.cur-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.cur-row span { padding: 6px 10px; border-radius: var(--r); font: 500 12.5px/1 var(--mono); border: 1px solid var(--line-2); color: var(--ink); background: var(--bg); }
.cell--records { grid-column: span 2; }
.ledger { width: 100%; margin-top: auto; border-collapse: collapse; font: 400 13px/1 var(--mono); }
.ledger td { padding: 9px 0; border-top: 1px dashed var(--line-2); color: var(--muted); }
.ledger td:nth-child(2) { color: var(--ink); }
.ledger td:last-child { text-align: right; color: var(--brand-deep); }

/* ---------- How it works: pinned, renders crossfade ---------- */
.how { padding: var(--section) 0; position: relative; background: var(--bg); }
.how__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.how__copy { position: relative; }
.how__copy h2 { margin-bottom: 32px; }
.how__steps { display: grid; gap: 6px; position: relative; z-index: 1; }
.hstep { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 16px 0; opacity: .45; transition: opacity .5s; }
.hstep.is-active { opacity: 1; }
.hstep__n { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; font-size: 20px; background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); transition: all .45s var(--ease); }
.hstep.is-active .hstep__n { background: var(--ink); border-color: var(--ink); color: var(--brand); }
.hstep h3 { font-size: 1.25rem; margin: 9px 0 4px; }
.hstep p { color: var(--muted); }
.how__rail { position: absolute; left: 21px; width: 2px; top: var(--rt, 0); height: var(--rh, 0); background: var(--line); }
.how__rail i { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(var(--s, 1)); }
.how__media { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 84 / 96; }
.how__hex { position: absolute; inset: 0; overflow: hidden; background: #ECEEF1; clip-path: polygon(50% 2.08%, 97.43% 26.04%, 97.43% 73.96%, 50% 97.92%, 2.57% 73.96%, 2.57% 26.04%); }
.how__fold { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/* The logo outline draws itself as the steps advance, from balance to paid. */
.how__ring { fill: none; stroke: var(--line-2); stroke-width: .5; }
.how__ring--live { stroke: var(--brand); stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--s, 1)); }
.how__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.how__media img.is-on { opacity: 1; transform: none; }
.how__chip { position: absolute; z-index: 1; left: 0; right: 0; bottom: -44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.how__chip span { padding: 7px 11px; border-radius: var(--r); font: 500 12px/1 var(--mono); color: var(--muted); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); transition: all .4s var(--ease); }
.how__chip span.is-on { color: #fff; background: var(--ink); border-color: var(--ink); }
.how.is-pinned { padding: 0; }
.how.is-pinned .how__inner { min-height: 100dvh; padding-top: 84px; padding-bottom: 28px; }
.how.is-pinned .how__copy h2 { font-size: clamp(2rem, min(3.4vw, 6vh), 3.2rem); margin-bottom: clamp(14px, 3vh, 32px); }
.how.is-pinned .hstep { padding: clamp(8px, 1.5vh, 16px) 0; }
.how.is-pinned .how__media { width: auto; height: min(calc(100dvh - 190px), 600px); }

/* ---------- Pricing + calculator ---------- */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.calc { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11, 13, 18, .4); overflow: hidden; }
.calc__top { padding: 28px 28px 24px; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.calc__top > span { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.calc__top b { font: 500 clamp(2.6rem, 4.6vw, 3.4rem)/1.05 var(--mono); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__top small { font-size: 14px; color: var(--muted); }
.calc__body { padding: 24px 28px 28px; display: grid; gap: 22px; }
.calc__field { display: grid; gap: 10px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__row label, .calc__lbl { font-size: 14px; color: var(--muted); }
.calc__row output { font: 500 1.05rem/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__hint { font: 400 12px/1 var(--mono); color: var(--dim); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line-2) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line-2) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 3px; background: var(--brand); border: 2px solid var(--ink); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 3px; background: var(--brand); border: 2px solid var(--ink); cursor: grab; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.seg button { padding: 11px 12px; border: 0; background: var(--surface); color: var(--ink); font: 500 13.5px/1 var(--mono); cursor: pointer; transition: background-color .25s, color .25s; white-space: nowrap; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.calc__lines { display: grid; gap: 2px; padding: 14px 16px; background: var(--bg); border-radius: var(--r); }
.calc__lines div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.calc__lines dt { color: var(--muted); }
.calc__lines dd { font: 500 14px/1.4 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__floor { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--brand-deep); }
.calc__floor i { margin-top: 3px; }
.calc__floor[hidden] { display: none; }
.price__copy .sub { margin-bottom: 26px; }
/* Fee list as a spec sheet: dotted leaders between label and value. */
.fees { display: grid; gap: 10px; margin-bottom: 32px; }
.fees div { display: flex; align-items: baseline; gap: 10px; }
.fees dt { color: var(--muted); }
.fees div::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--line-2); translate: 0 -4px; }
.fees dd { order: 2; font: 500 15px/1.4 var(--mono); color: var(--ink); }
.fees .is-key dt { color: var(--ink); font-weight: 500; }
.fees .is-key dd { color: var(--brand-deep); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 500; font-size: 1.08rem; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 30px; height: 30px; border-radius: var(--r); display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
summary i::before { display: inline-block; transition: transform .4s var(--ease); }
summary:hover i { border-color: var(--ink); }
details[open] summary i { background: var(--ink); color: var(--brand); border-color: var(--ink); }
details[open] summary i::before { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--muted); max-width: 66ch; }
.faq__a a { color: var(--brand-deep); }
details::details-content { transition: height .45s var(--ease), content-visibility .45s allow-discrete; height: 0; overflow: clip; }
details[open]::details-content { height: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.contact .sub { margin-bottom: 26px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks i { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; background: var(--ink); color: var(--brand); font-size: 13px; }
.form { position: relative; border-radius: var(--r-card); padding: 0 0 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11, 13, 18, .4); overflow: hidden; }
.form__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; border-bottom: 1px solid var(--line); background: var(--bg); font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.form__head b { font-weight: 500; color: var(--ink); }
.form__head span { color: var(--dim); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 28px; }
.form > .btn, .form__status, .form__fine { margin-left: 28px; margin-right: 28px; }
.form > .btn { width: calc(100% - 56px); }
.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(--ink); }
.input input, .input select { width: 100%; font: 400 15px/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 13px; 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='%230B0D12' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
.input ::placeholder { color: #7B8290; }
.input input:focus, .input select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 80, 30, .25); }
.input.is-bad input, .input.is-bad select { border-color: #C42B1C; }
.input__err { font-size: 12.5px; color: #B42318; }
.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: #B42318; }
.form__fine { margin-top: 14px; font-size: 12.5px; color: var(--dim); text-align: center; }
.form__fine a { color: var(--ink); }
.btn.is-loading .btn__label::after { content: "..."; }
.form__done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 32px; background: var(--surface); 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.6rem; }
.form__doneicon { width: 48px; height: 55px; margin-bottom: 8px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

/* ---------- Telegram ---------- */
.tgcard { display: flex; align-items: center; gap: 14px; max-width: 420px; margin-top: 30px; padding: 14px 16px; border-radius: var(--r-card); text-decoration: none; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.tgcard:hover { border-color: #229ED9; transform: translateY(-2px); }
.tgcard__icon, .tg-float i { display: grid; place-items: center; flex: none; background: #229ED9; color: #fff; }
.tgcard__icon { width: 42px; height: 42px; border-radius: var(--r); font-size: 21px; }
.tgcard__text b { display: block; font-weight: 500; color: var(--ink); }
.tgcard__text small { color: var(--muted); font-size: 14px; }
.tgcard__arrow { margin-left: auto; font-size: 20px; color: var(--ink); }
.tg-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; display: inline-flex; align-items: center; padding: 0; border-radius: var(--r); overflow: hidden;
  font: 500 14px/1 var(--font); color: #fff; text-decoration: none; white-space: nowrap; background: var(--ink); box-shadow: 0 14px 30px -14px rgba(11, 13, 18, .6);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tg-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.tg-float i { width: 44px; height: 44px; 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 16px 0 14px; }

/* ---------- Final CTA: the page's one colour block ---------- */
.final { padding: 0 0 var(--section); background: var(--bg-alt); }
.final__block { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; padding: clamp(40px, 6vw, 80px); border-radius: var(--r-card); background: var(--brand); color: var(--ink);
  background-image: radial-gradient(rgba(11, 13, 18, .14) 1.2px, transparent 1.4px); background-size: 16px 16px; background-position: right top; }
.final__block::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand) 40%, rgba(245, 80, 30, 0)); }
.final__copy { position: relative; display: grid; justify-items: start; gap: 18px; max-width: 640px; }
.final h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.035em; }
.final p { max-width: 46ch; color: #2A1206; font-size: 1.08rem; margin-bottom: 8px; }
/* The mark acts out its meaning: a USDT block opens, the arrow folds out, fiat payouts leave. */
.final__art { --mw: clamp(120px, 12vw, 170px); --ch: 96px; position: relative; z-index: 1; justify-self: center; margin: 0; display: grid; grid-template-columns: var(--mw) auto; column-gap: 12px; row-gap: 16px; align-items: start; }
.final__mark { width: var(--mw); height: auto; overflow: visible; }
.fm__cap, .fm__fold { transform-box: fill-box; transform-origin: center; }
.fm__cap { opacity: 0; }
.fm__cap text { font: 600 13px/1 var(--mono); fill: var(--ink); letter-spacing: -.02em; }
/* Chips are centred on the arrow tip (69% down the mark; the caption adds the rest of the box). */
.final__payouts { width: max-content; display: flex; flex-direction: column; gap: 8px; padding-top: calc(var(--mw) * .784 - var(--ch) / 2); } /* chip stack centred on the arrow tip */
.final__payouts li { display: flex; align-items: baseline; gap: 8px; padding: 7px 10px; border-radius: var(--r); background: var(--surface); box-shadow: 0 10px 20px -12px rgba(11, 13, 18, .45); font: 500 12.5px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.final__payouts li span { font-size: 11px; color: #1E7A4B; }
.final__art figcaption { grid-column: 1 / -1; justify-self: center; font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #2A1206; }
.final .eyebrow { color: #2A1206; margin-bottom: 0; }
.final .eyebrow::before { color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { padding: 132px 0 100px; }
.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-deep); }
.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: 100px; }
.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(--ink); 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: 96px; }
.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: #3A404C; 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-deep); text-underline-offset: 3px; }
.legal__article strong { color: var(--ink); font-weight: 600; }
mark.todo { background: #FFF1C2; color: #7A4B00; border: 1px dashed #D9A400; border-radius: 4px; padding: 0 6px; font: 500 .88em var(--mono); }
.nav__links a[aria-current="page"], .footer__legal a[aria-current="page"] { color: var(--brand-deep); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p { color: var(--dim); font-size: 13.5px; max-width: 56ch; }
.footer__side { display: grid; justify-items: end; gap: 26px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { margin-top: 48px; padding-top: 22px; color: var(--dim); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.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(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --section: 100px; }
  .price, .contact__grid, .faq, .how__inner, .problem__stage { grid-template-columns: 1fr; gap: 44px; }
  .how__media { margin-bottom: 44px; }
  .faq__head { position: static; }
  .price__copy { order: -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell--hero { grid-row: auto; min-height: 380px; }
  .legal__body { grid-template-columns: 1fr; gap: 0; }
  .legal__toc { display: none; }
}
@media (max-width: 899px) {
  .slices { flex-direction: column; height: auto; }
  .slice, .slice.is-open { flex: none; height: 320px; cursor: default; }
  .slice img { filter: none; }
  .slice::after { display: none; }
  .slice__label { display: none; }
  .slice__body { opacity: 1; transform: none; }
  .pains, .specs { grid-template-columns: 1fr; }
  .pains { gap: 24px; }
  .specs li { padding: 20px 0 0; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --section: 84px; }
  .hero { padding-top: 100px; }
  .hero__note { left: var(--gutter); text-align: left; }
  .tick small { font-size: 10.5px; }
  .tick--sparse small { display: none; }
  .ruler__card { min-width: 140px; }
  .ruler__card b { font-size: 1.25rem; }
  .legal { padding: 112px 0 80px; }
  .calc__top, .calc__body { padding-left: 18px; padding-right: 18px; }
  .bento { grid-template-columns: 1fr; }
  .cell--hero, .cell--b2, .cell--rails, .cell--fx, .cell--records { grid-column: auto; }
  .race { padding: 12px; }
  .race__row { padding: 14px 12px 16px; }
  .race__meta { flex-direction: column; gap: 6px; }
  .race__track { flex-wrap: wrap; row-gap: 12px; gap: 5px; }
  .race__node { padding: 7px 7px; font-size: 11px; }
  .race__payees { flex-basis: 100%; justify-content: flex-end; }
  .race__line { top: 15px; }
  .range-sec__mark { top: 10px; right: -30vw; width: 70vw; }
  .form__grid { grid-template-columns: 1fr; padding: 20px 18px; }
  .form__head { padding: 14px 18px; }
  .form > .btn, .form__status, .form__fine { margin-left: 18px; margin-right: 18px; }
  .form > .btn { width: calc(100% - 36px); }
  .faq__a { padding-right: 0; }
  .final__block { grid-template-columns: 1fr; gap: 28px; }
  .final__art { order: -1; justify-self: start; --mw: 84px; --ch: 75px; }
  .final__art figcaption { justify-self: start; }
  .final__payouts { gap: 5px; }
  .final__payouts li { padding: 5px 8px; font-size: 11.5px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__links { justify-content: flex-start; }
  .footer__side { justify-items: start; }
  .tg-float { right: 14px; bottom: 14px; }
}
@media (max-width: 520px) {
  .cta-row .btn { width: 100%; }
  .cta-row .btn .btn__label { flex: 1; justify-content: center; }
  .seg button { font-size: 12px; padding: 11px 6px; }
}

@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; }
}
