:root {
  --page: #e9e9ea;
  --paper: #f6f6f5;
  --white: #fff;
  --ink: #131316;
  --muted: #64646e;
  --violet: #6a3df0;
  --violet-deep: #4b25c4;
  --violet-soft: #e7defe;
  --dark: #16161b;
  --gap: 12px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  font-family: "Figtree", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--violet) var(--page); }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 1.0625rem; line-height: 1.5; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, pre, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons: dark pill, violet notch (from the reference) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 12px 0 28px; border-radius: 14px; border: 0; font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn i { width: 30px; height: 30px; border-radius: 8px; background: var(--violet); position: relative; flex: none; transition: transform .3s var(--ease); }
.btn i::after { content: ""; position: absolute; inset: 0; background: #fff; clip-path: polygon(34% 30%, 70% 30%, 70% 66%, 62% 66%, 62% 45%, 36% 71%, 29% 64%, 55% 38%, 34% 38%); }
.btn.dark { background: var(--dark); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 12px 24px -10px rgba(19,19,22,.5); }
.btn.dark:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 18px 30px -10px rgba(19,19,22,.55); }
.btn.dark:hover i, .btn.white:hover i { transform: rotate(45deg); }
.btn.violet { background: var(--violet); color: #fff; padding: 0 22px; }
.btn.violet:hover { background: var(--violet-deep); }
.btn.sm { min-height: 42px; border-radius: 11px; font-size: .9375rem; }
.btn.white { background: #fff; color: var(--ink); }
.btn.white:hover { transform: translateY(-3px); }
.btn.full { width: 100%; justify-content: space-between; }
.btn:active { transform: scale(.98); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 0 calc(var(--gap) + 20px); background: var(--page); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; justify-self: start; }
.mark { width: 34px; height: 34px; border-radius: 9px; display: block; }
.top nav { display: flex; gap: 34px; font-size: .9375rem; font-weight: 500; }
.top nav a { text-decoration: none; padding: 6px 0; color: var(--muted); transition: color .2s; }
.top nav a:hover { color: var(--ink); }
.top .btn { justify-self: end; }

/* ---------- panels ---------- */
main { padding: 0 var(--gap) var(--gap); display: grid; gap: var(--gap); }
.panel { position: relative; border-radius: 28px; background: var(--paper); padding: clamp(40px, 6vw, 96px) var(--pad); overflow: hidden; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: .98; letter-spacing: -.01em; text-wrap: balance; }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 68px - var(--gap)); display: grid; align-content: center; text-align: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero-copy { position: relative; z-index: 3; display: grid; justify-items: center; gap: 26px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(4rem, 12vw, 10rem); line-height: 1.04; letter-spacing: -.005em; display: grid; justify-items: center; }
h1 .l2 { color: var(--violet); }
.sub { max-width: 46ch; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.cta-row { display: grid; justify-items: center; gap: 16px; }
.status { font-size: .875rem; color: var(--muted); }

.scene { position: absolute; inset: 0; z-index: 2; pointer-events: none; --mx: 0; --my: 0; }
.scene > * { pointer-events: auto; }
.obj { position: absolute; left: var(--x); top: var(--y); rotate: var(--r, 0deg); translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px); transition: left 1s var(--ease), top 1s var(--ease), rotate 1s var(--ease), opacity .6s, scale .6s var(--ease); }
.o-eth { --x: 2.5%; --y: 20%; --r: -12deg; }
.o-usdt { --x: 7.5%; --y: 44%; --r: 6deg; }
.o-usdc { --x: 2%; --y: 64%; --r: -5deg; }
.o-target { --x: 79%; --y: 60%; --r: 8deg; }
.o-toggle { --x: 76%; --y: 12%; --r: -6deg; }
.o-lock { --x: 89%; --y: 80%; --r: 10deg; width: 96px; }
.o-bolt { --x: 71%; --y: 80%; --r: -12deg; width: 84px; }
.pointer { position: absolute; left: 82%; top: 21%; width: 38px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); animation: nudge 2.4s var(--ease) infinite; pointer-events: none; }
@keyframes nudge { 0%, 70%, 100% { translate: 0 0; } 35% { translate: -8px -6px; } }
.scene.merged .pointer { opacity: 0; }

.tcard { position: relative; width: clamp(190px, 18vw, 270px); aspect-ratio: 1.6; border-radius: 18px; padding: 16px 18px; display: grid; grid-template-rows: auto 1fr auto; align-content: start; color: #fff; overflow: hidden; animation: float 6s ease-in-out infinite; box-shadow: 0 2px 0 rgba(255,255,255,.35) inset, 0 28px 40px -14px rgba(19,19,30,.45), 0 8px 14px -6px rgba(19,19,30,.3); }
.tcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }
.tcard::after { content: ""; position: absolute; right: -30px; bottom: -42px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.1); }
.tcard .coin, .mc { position: relative; width: 38px; height: 38px; display: block; }
.tcard .coin img:first-child, .mc img:first-child { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.9); background: #fff; }
.coin .badge, .mc .badge { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 6px; box-shadow: 0 0 0 2px #fff; background: #fff; }
.tcard b { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; letter-spacing: .01em; align-self: end; }
.tcard i { font-style: normal; font-size: .8125rem; opacity: .95; }
.tcard em { position: absolute; right: 18px; top: 18px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.tcard.dark { background: #1d1d26; }
.tcard.green { background: #0f7d62; }
.tcard.blue { background: #2863c4; }
.tcard.violet-card { background: var(--violet); }
.o-eth .tcard { animation-delay: -1s; } .o-usdt .tcard { animation-delay: -3s; } .o-usdc .tcard { animation-delay: -2s; } .o-target .tcard { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.o-lock svg, .o-bolt svg { width: 100%; filter: drop-shadow(0 18px 14px rgba(19,19,30,.28)); animation: float 7s ease-in-out infinite; }
.o-bolt svg { animation-delay: -2.5s; }

.o-toggle { width: clamp(120px, 11vw, 168px); aspect-ratio: 2.1; border: 0; border-radius: 999px; background: #d6d6dc; box-shadow: 0 2px 0 #fff inset, 0 20px 28px -10px rgba(19,19,30,.4), 0 0 0 7px #fff, 0 0 0 8px rgba(19,19,30,.06); cursor: pointer; padding: 0; transition: background .4s var(--ease), left 1s var(--ease), top 1s var(--ease), rotate 1s var(--ease); }
.o-toggle .knob { position: absolute; top: 8%; left: 5%; height: 84%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 8px 14px rgba(19,19,30,.3); transition: left .5s var(--ease); }
.o-toggle .lbl { position: absolute; top: 50%; translate: 0 -50%; font-weight: 600; font-size: .9375rem; transition: opacity .3s; }
.o-toggle .lbl.on { left: 18%; color: #fff; opacity: 0; } .o-toggle .lbl.off { right: 16%; color: #4a4a55; }
.o-toggle[aria-checked="true"] { background: var(--violet); }
.o-toggle[aria-checked="true"] .knob { left: 49%; }
.o-toggle[aria-checked="true"] .lbl.on { opacity: 1; } .o-toggle[aria-checked="true"] .lbl.off { opacity: 0; }

.o-toast { --x: 8%; --y: 7%; --r: -3deg; }
.o-event { --x: 6%; --y: 86%; --r: 2deg; }
.toast { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: 0 24px 34px -14px rgba(19,19,30,.35), 0 6px 10px -4px rgba(19,19,30,.15); animation: float 6.5s ease-in-out infinite; animation-delay: -1.5s; }
.toast .tick { width: 34px; height: 34px; border-radius: 50%; background: #d6f5e6; position: relative; flex: none; }
.toast .tick::after { content: ""; position: absolute; left: 11px; top: 8px; width: 8px; height: 14px; border: solid #0a6b3a; border-width: 0 3px 3px 0; rotate: 45deg; }
.toast b { display: block; font-size: 14px; } .toast small { color: var(--muted); font-size: 13px; }
.evt { background: var(--dark); color: #e9eaf2; border-radius: 12px; padding: 10px 16px 10px 14px; font: 13px ui-monospace, "SF Mono", Menlo, monospace; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 30px -14px rgba(19,19,30,.5); animation: float 7.5s ease-in-out infinite; animation-delay: -3.5s; }
.evt i { width: 8px; height: 8px; border-radius: 50%; background: #46d39a; }

/* intro: objects arrive one after another */
.scene.intro .obj { opacity: 0; scale: .7; }
.scene .obj:nth-child(1) { transition-delay: .05s; } .scene .obj:nth-child(2) { transition-delay: .12s; } .scene .obj:nth-child(3) { transition-delay: .19s; } .scene .obj:nth-child(4) { transition-delay: .26s; }
.scene .obj:nth-child(5) { transition-delay: .33s; } .scene .obj:nth-child(6) { transition-delay: .4s; } .scene .obj:nth-child(7) { transition-delay: .47s; } .scene .obj:nth-child(8) { transition-delay: .54s; } .scene .obj:nth-child(9) { transition-delay: .61s; }
.scene.ready .obj { transition-delay: 0s; }
.hero h1 span { display: block; animation: lift 1s var(--ease) both; } .hero h1 .l2 { animation-delay: .12s; }
.hero .sub, .hero .cta-row { animation: lift 1s var(--ease) .25s both; }
@keyframes lift { from { opacity: 0; translate: 0 40px; } }

/* merged: every card flies to the single USDC card */
.scene.merged .o-eth, .scene.merged .o-usdt, .scene.merged .o-usdc { --x: 79%; --y: 60%; --r: 8deg; opacity: 0; scale: .9; }
.scene.merged .o-target { scale: 1.08; }

/* ---------- marquee ---------- */
.strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 0 4px; overflow: hidden; }
.rail { display: flex; width: max-content; animation: rail 60s linear infinite; }
.strip:hover .rail { animation-play-state: paused; }
.rail ul { display: flex; gap: 12px; padding-right: 12px; }
.rail li { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 999px; padding: 10px 24px 10px 10px; font-family: var(--display); font-size: 1.5rem; letter-spacing: .01em; white-space: nowrap; }
.rail li small { font-family: "Figtree", sans-serif; font-size: .875rem; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
@keyframes rail { to { transform: translateX(-50%); } }
.strip-note { text-align: center; color: var(--muted); font-size: .9375rem; padding: 0 var(--pad); }

/* ---------- checkout ---------- */
.pay { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; background: var(--white); }
.pay-copy { display: grid; gap: 22px; }
.pay-copy p { color: var(--muted); max-width: 40ch; font-size: 1.1875rem; }
.stage { position: relative; min-height: 520px; display: grid; align-items: center; }
[data-ui] { font-size: 15px; line-height: 1.4; }
.checkout { position: relative; z-index: 2; width: min(100%, 440px); background: var(--paper); border-radius: 22px; padding: 26px; display: grid; gap: 16px; box-shadow: 0 40px 70px -28px rgba(19,19,30,.42), 0 10px 20px -10px rgba(19,19,30,.2); transition: transform .5s var(--ease); }
.checkout:hover { transform: translateY(-4px) rotate(-.4deg); }
.checkout header { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.checkout header span { font-family: var(--display); font-size: 1.75rem; letter-spacing: .01em; }
.lab { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid #d0d0d6; background: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; transition: transform .2s var(--ease), border-color .2s, background .2s, color .2s; }
.chips button img { width: 20px; height: 20px; border-radius: 50%; vertical-align: -5px; margin-right: 6px; }
.chips button small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.chips button:hover { transform: translateY(-2px); border-color: var(--ink); }
.chips button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips button[aria-checked="true"] small { color: #c3c3cc; }
.route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 16px; }
.route span { display: block; font-size: 12px; color: var(--muted); }
.route b { font-weight: 600; font-variant-numeric: tabular-nums; }
.route .get b { color: var(--violet); }
.arrow { width: 44px; height: 4px; background: #e2e2e8; border-radius: 4px; position: relative; overflow: hidden; }
.arrow i { position: absolute; inset: 0; width: 40%; background: var(--violet); border-radius: 4px; translate: -100% 0; }
.arrow.go i { animation: slide 1s var(--ease) 1; }
@keyframes slide { to { translate: 260% 0; } }
.note { font-size: 13px; color: var(--muted); min-height: 1.4em; }

.stage:hover 

.ok { color: #46d39a; font-weight: 600; font-size: 14px; }
.code { background: transparent; font: 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace; overflow: auto; white-space: pre; }

.pill { font-size: 13px; background: var(--violet-soft); color: var(--violet-deep); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* ---------- film: scroll plays the payment ---------- */
.film { height: 340svh; position: relative; }
.film-stage { position: sticky; top: 68px; height: calc(100svh - 68px - var(--gap)); border-radius: 28px; background: var(--dark); overflow: hidden; color: #fff; }
.film canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-copy { position: absolute; left: var(--pad); top: clamp(28px, 5vw, 64px); display: grid; gap: 18px; max-width: 30rem; pointer-events: none; }
.film-caps { position: relative; min-height: 4.5em; }
.film-caps li { position: absolute; inset: 0 auto auto 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); line-height: 1.35; color: #d9d9e3; opacity: 0; translate: 0 12px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.film-caps li.on { opacity: 1; translate: 0 0; }
.film-meter { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.film-meter i { display: block; height: 100%; width: 0; background: var(--violet); border-radius: 4px; }
.film-note { position: absolute; right: var(--pad); bottom: 44px; z-index: 1; font-size: 13px; color: #8d8d99; }

/* ---------- orbit (FAQ) ---------- */
.faq-side { display: grid; gap: 40px; align-content: start; }
.orbit { position: relative; width: 340px; max-width: 100%; aspect-ratio: 1; }
.orbit .hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 26%; height: auto; border-radius: 22%; box-shadow: 0 24px 40px -16px rgba(91,47,232,.6); z-index: 2; animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { scale: 1.06; } }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ring { position: absolute; inset: 0; border-radius: 50%; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dashed #d4d4dc; }
.ring.r1 { inset: 20%; }
.ring img { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: #fff; box-shadow: 0 10px 18px -8px rgba(19,19,30,.4); transform: rotate(var(--a)) translateX(var(--rad)) rotate(calc(-1 * var(--a))); animation: orbit var(--dur) linear infinite; animation-delay: calc(var(--dur) * var(--k) * -1); }
.ring.r1 { --dur: 22s; } .ring.r2 { --dur: 36s; }
.ring.r1 img { --rad: 102px; }
.ring.r2 img { --rad: 170px; }
.r1 img:nth-child(1) { --k: 0; } .r1 img:nth-child(2) { --k: .25; } .r1 img:nth-child(3) { --k: .5; } .r1 img:nth-child(4) { --k: .75; }
.r2 img:nth-child(1) { --k: 0; } .r2 img:nth-child(2) { --k: .1667; } .r2 img:nth-child(3) { --k: .3333; } .r2 img:nth-child(4) { --k: .5; } .r2 img:nth-child(5) { --k: .6667; } .r2 img:nth-child(6) { --k: .8333; }
.r2 img { animation-direction: reverse; }
@keyframes orbit { to { --a: 360deg; } }

/* ---------- features bento ---------- */
.bento { padding: clamp(56px, 8vw, 120px) 0 clamp(8px, 2vw, 24px); display: grid; gap: clamp(28px, 4vw, 56px); }
.bento h2 { padding: 0 calc(var(--gap) + 24px); max-width: 16ch; }
.bento .grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.tile { background: var(--white); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; align-content: space-between; gap: 22px; overflow: hidden; transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: .005em; }
.tile p { color: var(--muted); max-width: 38ch; margin-top: 10px; }
.tile.violet { background: var(--violet); color: #fff; } .tile.violet p { color: #e5dcff; }
.tile.dark { background: var(--dark); color: #fff; } .tile.dark p { color: #b8b8c4; }
.t-host { grid-column: span 7; } .t-hooks { grid-column: span 5; }
.t-keys, .t-idem, .t-custody { grid-column: span 4; }
.t-soon { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; align-content: center; }
.t-soon p { margin-top: 6px; }
.pill.soon { justify-self: end; background: var(--violet); color: #fff; font-size: 1rem; padding: 10px 20px; }

 




  


 


  
.path { display: flex; align-items: center; gap: 8px; }
.path span { background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; } .path .hl { background: var(--violet); color: #fff; }
.path i { flex: 1; min-width: 10px; height: 3px; background: var(--violet-soft); border-radius: 3px; }
.held { display: flex; justify-content: space-between; background: #d6f5e6; color: #0a6b3a; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 500; }

/* ---------- flow ---------- */
.dark-panel { background: var(--dark); color: #fff; }
.flow { display: grid; gap: clamp(32px, 5vw, 72px); }
.flow-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: center; }
.steps { display: grid; gap: 6px; }
.steps button { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; border-radius: 16px; display: grid; gap: 4px; cursor: pointer; opacity: .66; transition: opacity .3s, background .3s; }
.steps button b { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1; letter-spacing: .005em; }
.steps button span { max-height: 0; overflow: hidden; color: #b8b8c4; transition: max-height .5s var(--ease); max-width: 46ch; }
.steps button:hover { opacity: .85; }
.steps button[aria-current="true"] { opacity: 1; background: rgba(255,255,255,.07); }
.steps button[aria-current="true"] span { max-height: 6em; margin-top: 6px; }









/* ---------- api ---------- */
.api { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; background: var(--violet); color: #fff; }
.api-copy { display: grid; gap: 22px; }
.api-copy p { color: #e5dcff; max-width: 40ch; font-size: 1.1875rem; }
.api-stage { display: grid; gap: 14px; }





/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(56px, 8vw, 120px) calc(var(--gap) + 24px); }
.trust b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.25rem, 4.6vw, 4.25rem); line-height: 1; margin-bottom: 14px; }
.trust p { color: var(--muted); max-width: 32ch; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 96px); background: var(--white); }
.qa { display: grid; align-content: start; }
.qa details { padding: 22px 0; }
.qa details + details { border-top: 1px solid #e3e3e8; }
.qa summary { list-style: none; cursor: pointer; font-weight: 600; font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.5rem); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background-color: var(--paper); background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 14px 2px, 2px 14px; background-position: center; background-repeat: no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.qa details[open] summary::after { transform: rotate(45deg); background-color: var(--violet-soft); }
.qa summary:hover::after { background-color: var(--violet-soft); }
.qa p { margin-top: 12px; color: var(--muted); max-width: 60ch; font-size: 1.125rem; }

/* ---------- cta ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: end; min-height: 70svh; background: var(--dark); color: #fff; }
.cta h2 { font-size: clamp(4rem, 12vw, 11rem); line-height: .9; color: #fff; }
.cta-side { display: grid; gap: 24px; justify-items: start; padding-bottom: 12px; }
.cta-side p { color: #b8b8c4; max-width: 38ch; font-size: 1.1875rem; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 28px calc(var(--gap) + 24px) 32px; font-size: .9375rem; color: var(--muted); }
.foot .links { display: flex; gap: 24px; color: var(--ink); }
.foot .right { text-align: right; }

/* ---------- entrances ---------- */
.rise { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--dl, 0ms); }
.rise.shown { opacity: 1; translate: 0 0; }

/* ---------- tablet / phone ---------- */
@media (max-width: 960px) {
  .top { grid-template-columns: 1fr auto; padding: 0 calc(var(--gap) + 10px); }
  .top nav { display: none; }
  .hero { min-height: 0; padding-top: 360px; padding-bottom: 48px; }
  .scene { inset: 0 0 auto 0; height: 380px; }
  .o-eth { --x: 2%; --y: 18%; } .o-usdt { --x: 30%; --y: 40%; } .o-usdc { --x: 6%; --y: 55%; }
  .o-target { --x: 56%; --y: 36%; } .o-toggle { --x: 62%; --y: 4%; } .o-lock { --x: 80%; --y: 60%; width: 70px; } .o-bolt { display: none; }
  .tcard { width: 150px; padding: 12px 14px; } .tcard b { font-size: 1.5rem; } .tcard em { right: 14px; top: 14px; font-size: .875rem; } .tcard i { font-size: .75rem; }
  .pointer { display: none; }
  .scene.merged .o-eth, .scene.merged .o-usdt, .scene.merged .o-usdc { --x: 56%; --y: 36%; }
  .pay, .api, .flow-grid, .faq, .cta { grid-template-columns: 1fr; }
  .t-host, .t-hooks, .t-keys, .t-idem, .t-custody { grid-column: 1 / -1; }
  .t-soon { grid-template-columns: 1fr; }
  .film { height: 300svh; } .film-copy { right: var(--pad); } .film-note { top: 12px; bottom: auto; right: var(--pad); font-size: 12px; } .film-copy { top: 40px; } .orbit { width: min(100%, 280px); justify-self: center; } .ring.r1 img { --rad: 84px; } .ring.r2 img { --rad: 140px; }
  .o-toast { --x: 2%; --y: 2%; } .o-event { display: none; }
  .stage { min-height: 0; padding-bottom: 120px; }
  
  .trust { grid-template-columns: 1fr; }
  .cta { min-height: 0; }
  .foot { grid-template-columns: 1fr; gap: 8px; }
  .foot .right { text-align: left; }
}
@media (max-width: 520px) {
  h1 { font-size: 14.2vw; }
  .tcard { width: 128px; } .tcard .coin { width: 28px; height: 28px; } .tcard b { font-size: 1.25rem; }
  .route { grid-template-columns: 1fr; } .arrow { width: 4px; height: 28px; justify-self: start; margin-left: 8px; } .arrow i { width: 100%; height: 40%; translate: 0 -100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tcard, .o-lock svg, .o-bolt svg, .pointer, .toast, .evt, .rail, .hero h1 span, .hero .sub, .hero .cta-row, .ring, .ring img, .orbit .hub { animation: none; }
  .rail { flex-wrap: wrap; width: auto; }
  .obj, .rise, .btn, .checkout, 
  .rise { opacity: 1; translate: 0 0; }
}

/* ---------- shared UI bits ---------- */
.tk { position: relative; display: inline-block; width: var(--s, 40px); height: var(--s, 40px); flex: none; }
.tk img:first-child { width: 100%; height: 100%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #fff; }
.tk .badge { position: absolute; right: -3px; bottom: -3px; width: 42%; height: 42%; border-radius: 30%; background: #fff; box-shadow: 0 0 0 2px #fff; }
.qr { width: 172px; aspect-ratio: 1; background: #fff; border-radius: 14px; padding: 10px; display: grid; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr.sm { width: 112px; border-radius: 12px; padding: 7px; }
.mini-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: 10px; background: var(--violet); color: #fff; font-weight: 600; font-size: 14px; }
.mini-btn.ghost { background: var(--paper); color: var(--ink); }

/* ---------- orders panel (pay section) ---------- */
.orders { position: absolute; z-index: 1; right: 0; bottom: 0; width: min(64%, 380px); background: var(--dark); color: #ecedf2; border-radius: 22px; padding: 20px; display: grid; gap: 12px; rotate: 2.5deg; box-shadow: 0 30px 50px -20px rgba(19,19,30,.5); transition: rotate .5s var(--ease), translate .5s var(--ease); }
.stage:hover .orders { rotate: 1deg; translate: 8px -6px; }
.orders header { display: flex; justify-content: space-between; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #adadb8; } .live i { width: 7px; height: 7px; border-radius: 50%; background: #46d39a; animation: pulse 1.6s ease-in-out infinite; }
.orders ul { display: grid; gap: 8px; }
.orders li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; }
.orders li.new { animation: slidein .6s var(--ease); background: rgba(106,61,240,.28); }
@keyframes slidein { from { opacity: 0; translate: 0 -12px; } }
.who b { display: block; font-size: 14px; } .who small { color: #adadb8; font-size: 12px; }
.amt { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.st { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.st.paid { background: rgba(70,211,154,.16); color: #6ee3b4; } .st.exp { background: rgba(255,255,255,.08); color: #adadb8; }
.orders .note { color: #adadb8; }

/* ---------- how it works: phone walkthrough ---------- */
.flow-note { color: #8d8d99; font-size: 13px; }
.phone { justify-self: center; width: min(100%, 360px); aspect-ratio: 9 / 18.5; background: #000; border-radius: 48px; padding: 12px; box-shadow: 0 0 0 2px #2c2c34, 0 50px 80px -30px rgba(0,0,0,.8); position: relative; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 5; }
.phone-screen { position: relative; height: 100%; border-radius: 38px; background: var(--paper); overflow: hidden; color: var(--ink); }
.scr { position: absolute; inset: 0; padding: 64px 22px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; opacity: 0; translate: 40px 0; transition: opacity .5s var(--ease), translate .6s var(--ease); pointer-events: none; }
.scr.on { opacity: 1; translate: 0 0; }
.scr.out { translate: -40px 0; }
.scr-top { display: flex; align-items: center; gap: 8px; font-size: 15px; } .scr-top .m img { width: 24px; height: 24px; border-radius: 7px; display: block; }
.scr-amt { font-family: var(--display); font-size: 44px; line-height: 1; margin-top: 6px; }
.scr-sub, .scr-hint { color: var(--muted); font-size: 13px; }
.s-co .qr { width: 62%; box-shadow: 0 10px 24px -14px rgba(19,19,30,.4); margin-top: 6px; }
.scr-btn { width: 100%; height: 48px; border-radius: 14px; background: var(--violet); color: #fff; font-weight: 600; display: grid; place-items: center; position: relative; overflow: hidden; }
.scr-btn.dark-b { background: var(--dark); margin-top: auto; }
.scr-chains { display: grid; gap: 6px; justify-items: center; margin-top: auto; } .scr-chains small { color: var(--muted); font-size: 12px; }
.scr-chains span { display: flex; } .scr-chains img { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px var(--paper); margin-left: -5px; background: #fff; }
.tapme::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; background: rgba(255,255,255,.55); opacity: 0; }
.scr.on .tapme::after { animation: tap 2.2s var(--ease) .9s infinite; }
@keyframes tap { 0% { opacity: .9; scale: .3; } 60%, 100% { opacity: 0; scale: 5; } }
/* wallet sheet */
.s-wal { padding: 0; }
.dim-co { padding: 64px 22px 0; display: grid; justify-items: center; gap: 12px; opacity: .35; filter: blur(1px); }
.dim-co .qr { width: 50%; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 28px 28px 0 0; padding: 12px 20px 26px; display: grid; gap: 14px; text-align: left; box-shadow: 0 -20px 40px -10px rgba(19,19,30,.3); translate: 0 100%; transition: translate .7s var(--ease) .15s; }
.s-wal.on .sheet { translate: 0 0; }
.grab { width: 40px; height: 5px; border-radius: 4px; background: #d8d8de; justify-self: center; }
.sheet-t { font-weight: 600; font-size: 17px; text-align: center; }
.send { display: flex; align-items: center; gap: 14px; background: var(--paper); border-radius: 16px; padding: 14px; }
.send b { display: block; font-size: 20px; } .send small { color: var(--muted); }
.rows { display: grid; gap: 8px; font-size: 14px; }
.rows div { display: flex; justify-content: space-between; gap: 12px; } .rows dt { color: var(--muted); } .rows dd { font-weight: 600; text-align: right; }
.sheet-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.ghost-b { height: 48px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; font-weight: 600; }
/* routing */
.s-route { justify-content: center; gap: 22px; background: var(--dark); color: #fff; }
.scr-t { font-weight: 600; font-size: 19px; }
.hop { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; width: 100%; }
.end { display: grid; justify-items: center; gap: 6px; } .end b { font-size: 14px; } .end small { color: #adadb8; font-size: 12px; }
.wire { position: relative; height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; margin-bottom: 36px; }
.wire i { position: absolute; top: -3px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px rgba(106,61,240,.3); opacity: 0; }
.s-route.on .wire i { animation: flowdot 1.6s linear infinite; } .s-route.on .wire i:nth-child(2) { animation-delay: .53s; } .s-route.on .wire i:nth-child(3) { animation-delay: 1.06s; }
@keyframes flowdot { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.via { position: absolute; left: 50%; top: 50%; translate: -50% -50%; } .via img { width: 34px; height: 34px; border-radius: 10px; display: block; box-shadow: 0 0 0 4px var(--dark); }
.prog { width: 100%; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--violet); border-radius: 6px; }
.s-route.on .prog i { animation: fill 3s var(--ease) forwards; }
@keyframes fill { to { width: 82%; } }
.checks { display: grid; gap: 10px; width: 100%; text-align: left; font-size: 14px; }
.checks li { display: flex; gap: 10px; align-items: center; color: #d9d9e3; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; }
.checks .d::before { background: #46d39a; box-shadow: inset 0 0 0 5px #46d39a, inset 0 0 0 7px var(--dark); }
.checks .w::before { border: 2px solid rgba(255,255,255,.3); border-top-color: var(--violet); animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
/* success */
.s-ok { justify-content: flex-start; padding-top: 90px; }
.big-check svg { width: 96px; height: 96px; }
.big-check circle { fill: #d6f5e6; stroke: #46d39a; stroke-width: 2; }
.big-check path { fill: none; stroke: #0a6b3a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.s-ok.on .big-check svg { animation: pop .6s var(--ease); } .s-ok.on .big-check path { animation: draw .6s var(--ease) .25s forwards; }
@keyframes pop { from { scale: .4; opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.rows.rc { width: 100%; background: #fff; border-radius: 16px; padding: 16px; text-align: left; margin-top: 8px; }

/* ---------- payment link maker ---------- */
.api-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.maker { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.4); }
.mk-t { font-weight: 600; font-size: 17px; }
.maker label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.maker input { height: 46px; border: 1px solid #d6d6dc; border-radius: 12px; padding: 0 14px; font-size: 16px; color: var(--ink); background: #fff; width: 100%; }
.maker input:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.mk-in { position: relative; display: block; } .mk-in b { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink); font-size: 16px; } .mk-in input { padding-left: 28px; }
.mk-recv { display: flex; justify-content: space-between; align-items: center; background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 14px; } .mk-recv > span:first-child { color: var(--muted); }
.mk-tok { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.linkcard { background: var(--dark); color: #fff; border-radius: 22px; padding: 22px; display: grid; gap: 16px; justify-items: start; rotate: 2deg; box-shadow: 0 30px 50px -24px rgba(0,0,0,.5); transition: rotate .4s var(--ease); }
.linkcard:hover { rotate: 0deg; }
.linkcard .qr { width: 150px; }
.linkcard.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { scale: 1.03; } }
.lk-meta { display: grid; gap: 4px; } .lk-meta small { color: #adadb8; } .lk-meta b { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.05; }
.lk-url { color: #c9c9d6; font-size: 14px; margin-top: 6px; } .lk-url em { font-style: normal; color: #b49cff; }
.lk-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ---------- feature tiles: UI illustrations ---------- */
.mini-co { display: flex; align-items: center; gap: 18px; background: var(--paper); border-radius: 18px; padding: 14px; }
.mini-meta { display: grid; gap: 4px; justify-items: start; } .mini-meta small { color: var(--muted); } .mini-meta b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.mini-meta .mini-btn { margin-top: 6px; }
.mini-chains { display: flex; margin-top: 8px; } .mini-chains img { width: 20px; height: 20px; border-radius: 50%; margin-right: -5px; box-shadow: 0 0 0 2px var(--paper); background: #fff; }
.notes { display: grid; gap: 8px; }
.nt { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 12px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.5); }
.nt img { width: 30px; height: 30px; border-radius: 8px; } .nt span { display: grid; flex: 1; } .nt b { font-size: 14px; } .nt small { color: var(--muted); font-size: 12px; } .nt em { font-style: normal; color: var(--muted); font-size: 12px; }
.nt.dim { opacity: .65; }
.notes .nt:nth-child(2) { scale: .97; } .notes .nt:nth-child(3) { scale: .94; }
.modes { display: flex; align-items: center; gap: 16px; }
.mode-sw { width: 64px; height: 36px; border-radius: 999px; border: 0; background: #3a3a44; position: relative; cursor: pointer; flex: none; transition: background .3s; }
.mode-sw .k { position: absolute; left: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: left .35s var(--ease); }
.mode-sw[aria-checked="true"] { background: #46d39a; } .mode-sw[aria-checked="true"] .k { left: 32px; }
.mode-card { flex: 1; background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.mode-card .tag { justify-self: start; font-size: 12px; font-weight: 600; background: #f6c343; color: #3d2c00; padding: 2px 8px; border-radius: 999px; }
.mode-card.live .tag { background: #46d39a; color: #053d24; }
.mode-card b { font-family: var(--display); font-weight: 400; font-size: 26px; } .mode-card small { color: #b8b8c4; }
.twice { display: flex; align-items: center; gap: 8px; }
.twice .tap { height: 40px; padding: 0 16px; border-radius: 12px; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.twice .tap:nth-child(2) { opacity: .45; }
.arrow-r { flex: 1; height: 3px; background: var(--violet-soft); border-radius: 3px; position: relative; min-width: 16px; }
.arrow-r::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--violet-soft); }
.rcpt { background: #d6f5e6; color: #0a6b3a; border-radius: 12px; padding: 8px 12px; display: grid; } .rcpt b { font-size: 14px; } .rcpt small { font-size: 12px; }

@media (max-width: 960px) {
  .api-stage { grid-template-columns: 1fr; }
  .linkcard { rotate: 0deg; }
  .orders { width: 86%; }
  .phone { width: min(100%, 330px); }
}
@media (prefers-reduced-motion: reduce) {
  .scr, .sheet, .orders li.new { transition: none; animation: none; }
  .scr.on .tapme::after, .s-route.on .wire i, .checks .w::before, .live i { animation: none; }
  .s-route.on .prog i { animation: none; width: 82%; }
  .s-ok .big-check path { stroke-dashoffset: 0; }
}

.flow-left { display: grid; gap: clamp(24px, 3vw, 40px); align-content: center; }
.phone { width: min(100%, 318px); }
.stage { min-height: 660px; align-items: end; }
.orders { top: 0; bottom: auto; }
@media (max-width: 960px) { .stage { min-height: 0; align-items: center; padding-bottom: 0; display: grid; gap: 16px; } .orders { position: relative; width: 100%; rotate: 0deg; top: auto; } .stage:hover .orders { translate: 0 0; } }
