/* P2PLock — styles from the P2PLock design system tokens */
:root {
  --surface:#F5F6F8; --surface-raised:#FFFFFF; --line:#DDE1E8; --line-strong:#8A93A6;
  --ink:#0A0F1F; --ink-muted:#586276; --navy:#0A0F1F; --on-navy:#FFFFFF;
  --brass:#007A5C; --on-brass:#FFFFFF; --brand:#00B386; --brand-bright:#00D69E; --brass-text:#8A5C00; --brass-soft:#FFF3D1;
  --released:#0A7A55; --released-soft:#DDF7EC; --alert:#B4271D; --alert-soft:#FDE5E2; --focus:#0A0F1F;
  --font-display:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif; --font-sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif; --font-mono:"JetBrains Mono",ui-monospace,Menlo,monospace;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px;
  --radius-sm:6px; --radius-md:12px; --radius-lg:20px; --radius-pill:999px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --surface:#0B1120; --surface-raised:#141C2E; --line:#26304A; --line-strong:#5C6784;
  --ink:#EEF1F7; --ink-muted:#9DA7BB; --navy:#0F1830; --on-navy:#EEF1F7;
  --brass:#00D69E; --on-brass:#0A0F1F; --brass-text:#FFBE2E; --brass-soft:#3A2C08;
  --released:#3EE6A8; --released-soft:#0E3527; --alert:#FF7A6E; --alert-soft:#3D1512; --focus:#00D69E;
  color-scheme: dark;
} }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 500 15px/23px var(--font-sans); }
a { color: var(--brass-text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; text-wrap: balance; margin: 0 0 var(--space-3); }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em; }
h2 { font-size: 24px; line-height: 30px; font-weight: 650; letter-spacing: -.025em; }
h3 { font-size: 17px; line-height: 22px; font-weight: 700; }
p { margin: 0 0 var(--space-3); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.meta { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

.testnet { background: var(--brass-soft); color: var(--brass-text); font-size: 13px; font-weight: 700; text-align: center; padding: 6px 16px; }
.top { position: sticky; top: 0; z-index: 5; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: var(--space-4); min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--ink); }
.wm { font: 650 22px/1 var(--font-display); letter-spacing: -.035em; }
.wm i { font-style: normal; color: var(--ink-muted); font-weight: 500; }
.mark .mk-a { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.mark .mk-c { fill: var(--brand); }
.hero .mark .mk-a { stroke: var(--on-navy); } .hero .mark .mk-c { fill: var(--brand-bright); }
.nav { display: flex; gap: var(--space-1); flex: 1; overflow-x: auto; }
.nav a { color: var(--ink-muted); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: var(--radius-sm); white-space: nowrap; }
.nav a.on, .nav a:hover { color: var(--ink); background: var(--surface); }
.right { display: flex; gap: var(--space-2); align-items: center; }
@media (max-width: 720px) { .nav { order: 3; flex-basis: 100%; } .right { margin-left: auto; } }

.btn { font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 var(--space-6); border-radius: var(--radius-md); border: 1.5px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); text-decoration: none; }
.btn.primary { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.btn.release { background: var(--released); border-color: var(--released); color: var(--surface-raised); }
.btn.danger { background: transparent; border-color: var(--alert); color: var(--alert); }
.btn.ghost { border-color: var(--line); padding: 0 var(--space-4); }
.btn.big { min-height: 52px; font-size: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.lang { font-size: 13px; }

.chip, .tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; line-height: 24px; padding: 0 10px; border-radius: var(--radius-pill); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; }
.chip.locked { background: var(--brass-soft); color: var(--brass-text); }
.chip.ok { background: var(--released-soft); color: var(--released); }
.chip.alert { background: var(--alert-soft); color: var(--alert); }
.tag { border: 1px solid var(--line); color: var(--ink-muted); font-weight: 600; border-radius: var(--radius-sm); }

.hero { background: var(--navy); color: var(--on-navy); }
.hero-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-8); align-items: center; padding-block: 56px; }
.hero h1 { color: var(--on-navy); }
.hero .lead { font-size: 17px; line-height: 27px; color: var(--on-navy); opacity: .85; max-width: 56ch; }
.eyebrow { color: var(--brand-bright); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.cta { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-6) 0; }
.hero .btn:not(.primary) { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.5); }
.methods { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero .tag { color: var(--on-navy); border-color: rgba(255,255,255,.3); }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: min(220px, 50vw); height: auto; animation: settle .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes settle { from { transform: translateY(12px); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .hero-art svg { animation: none; } }
@media (max-width: 720px) { .hero-in { grid-template-columns: 1fr; padding-block: 36px; } .hero-art { display: none; } }

.block { padding-block: 40px; }
.narrow { max-width: 680px; }
.steps { list-style: none; margin: var(--space-4) 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.step { display: grid; gap: 4px; align-content: start; font-size: 13px; line-height: 18px; color: var(--ink-muted); min-width: 0; }
.step::before { content: ""; height: 6px; border-radius: var(--radius-pill); background: var(--line); margin-bottom: 6px; }
.step b { color: var(--ink); font-size: 14px; }
.step.done::before { background: var(--released); } .step.now::before { background: var(--brass); }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); border-top: 1px solid var(--line); }
.three p { color: var(--ink-muted); }
@media (max-width: 720px) { .three { grid-template-columns: 1fr; } }

.notice { background: var(--brass-soft); color: var(--brass-text); border-radius: var(--radius-md); padding: 12px 16px; font-weight: 600; margin-bottom: var(--space-4); }
.notice.alert { background: var(--alert-soft); color: var(--alert); }
.filters { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.seg { display: inline-flex; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 3px; }
.seg button { font: inherit; font-weight: 700; border: 0; background: none; color: var(--ink-muted); padding: 8px 20px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--brass); color: var(--on-brass); }
select, input, textarea { font: inherit; color: var(--ink); background: var(--surface-raised); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); min-height: 44px; padding: 8px 12px; width: 100%; }
.filters select { width: auto; }
.list { display: grid; gap: var(--space-3); }
.offer { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr auto; gap: var(--space-3) var(--space-4); align-items: center; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
.who { display: flex; gap: var(--space-2); align-items: center; min-width: 0; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.price { font: 600 20px/26px var(--font-mono); font-variant-numeric: tabular-nums; }
.price small, .price .meta { font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--ink-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr auto; } .tags { grid-column: 1 / -1; } .offer .btn { grid-row: 1; grid-column: 2; } }
.empty { color: var(--ink-muted); padding: 32px 0; }

.sheet-bg { position: fixed; inset: 0; background: rgba(11,17,32,.55); z-index: 9; }
.sheet { position: fixed; z-index: 10; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); max-height: 92vh; overflow: auto; background: var(--surface-raised); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--space-6) max(var(--space-6), env(safe-area-inset-right)) calc(var(--space-6) + env(safe-area-inset-bottom)); display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: var(--radius-lg); } }
label, legend { font-size: 13px; font-weight: 700; margin-top: var(--space-2); }
.calc { margin: 0; }
.row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); }
.row .btn { flex: 1; }
.form { display: grid; gap: var(--space-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
.ck { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; }
.ck input { width: 18px; min-height: 18px; }

.olist { display: grid; gap: var(--space-2); }
.orow { display: grid; grid-template-columns: auto 1fr auto auto; gap: var(--space-4); align-items: center; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; color: var(--ink); text-decoration: none; }
@media (max-width: 560px) { .orow { grid-template-columns: 1fr auto; } }
.ohead { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); margin: var(--space-4) 0; }
.amounts > div { display: grid; gap: 2px; }
.big { font-size: 20px; }
.hint { background: var(--surface-raised); border-left: 0; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; }

.foot { display: flex; gap: var(--space-2); align-items: center; color: var(--ink-muted); font-size: 13px; padding-block: 32px; border-top: 1px solid var(--line); }
#toasts { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 20; pointer-events: none; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--ink); color: var(--surface); border-radius: var(--radius-md); padding: 12px 16px; font-weight: 600; }
.toast.bad { background: var(--alert); color: #fff; } .toast.ok { background: var(--released); color: var(--surface-raised); }

.fee { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; margin-top: var(--space-2); }
.fee b { display: block; margin-bottom: 4px; } .fee p { margin: 0 0 4px; font-size: 13px; line-height: 19px; color: var(--ink-muted); } .fee .mono { color: var(--ink); }

/* Assets */
.coins { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.coin { font: 700 13px/1 var(--font-mono); display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); cursor: pointer; transition: border-color .15s, transform .15s; }
.coin small { font: 600 10px/1 var(--font-sans); color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; }
.coin.on { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.coin:disabled, .coin.off { opacity: .55; cursor: default; }
.coin:not(:disabled):hover { transform: translateY(-1px); border-color: var(--line-strong); }
.hero .coins { margin: var(--space-4) 0 0; }
.hero .coin { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.28); cursor: default; }
.hero .coin small { color: rgba(255,255,255,.6); }

/* Get started */
.start { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.start li { display: flex; gap: var(--space-3); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6) var(--space-4); }
.start .num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--on-navy); display: grid; place-items: center; font: 700 14px/1 var(--font-mono); }
.start h3 { margin-bottom: 6px; } .start p { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 21px; }
@media (max-width: 820px) { .start { grid-template-columns: 1fr; } }

/* Legal */
.legal h1 { font-size: 34px; } .legal h2 { font-size: 18px; margin-top: var(--space-6); }
.legal p, .legal li { color: var(--ink); max-width: 68ch; } .legal ul { padding-left: 20px; }
.legal .draft { display: inline-block; background: var(--brass-soft); color: var(--brass-text); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); }

/* Footer */
.foot { display: grid; gap: var(--space-2); }
.foot-row { display: flex; gap: var(--space-2); align-items: center; }
.foot .risk { margin: 0; font-size: 12px; line-height: 18px; color: var(--ink-muted); max-width: 90ch; }
.foot a { font-size: 13px; font-weight: 600; }

/* Motion: restrained and professional */
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.offer, .start li { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.offer:hover { border-color: var(--line-strong); box-shadow: 0 6px 20px -12px rgba(10,15,31,.35); }
.reveal.pre { opacity: .001; transform: translateY(14px); }
.reveal.pre.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.hero-art .mk-a:first-of-type { animation: hookA .9s .1s cubic-bezier(.2,.8,.2,1) both; }
.hero-art .mk-a:nth-of-type(2) { animation: hookB .9s .1s cubic-bezier(.2,.8,.2,1) both; }
.hero-art .mk-c { animation: vault .5s .75s cubic-bezier(.3,1.4,.5,1) both; transform-origin: 32px 32px; }
@keyframes hookA { from { transform: translate(-6px, -6px); opacity: .2; } }
@keyframes hookB { from { transform: translate(6px, 6px); opacity: .2; } }
@keyframes vault { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .reveal.pre { opacity: 1; transform: none; }
  .hero-art .mk-a, .hero-art .mk-c, .btn, .offer { animation: none !important; transition: none !important; }
}

/* ===== v2 landing ===== */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 38%, rgba(0,214,158,.20), transparent 70%),
    radial-gradient(520px 320px at 12% 0%, rgba(91,140,255,.10), transparent 70%),
    linear-gradient(transparent 0 0);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%); }
.hero-in { position: relative; padding-block: 72px 40px; grid-template-columns: 1.15fr .85fr; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -.045em; line-height: 1.02; max-width: 16ch; }
.hero .lead { max-width: 54ch; }
.trust { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-navy); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; opacity: .9; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%230A0F1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.coins-row { position: relative; padding-bottom: 40px; }
.coins-row .coins { margin: 0; }

/* Live escrow card */
.ecard { position: relative; width: min(380px, 100%); margin-left: auto; padding: 24px; border-radius: 22px; color: var(--on-navy);
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(8px); animation: floaty 7s ease-in-out infinite; }
.ec-top { display: flex; justify-content: space-between; font-size: 12px; opacity: .8; }
.ec-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ec-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 0 rgba(0,214,158,.6); animation: pulse 2s infinite; }
.ec-amt { font-size: 40px; font-weight: 600; letter-spacing: -.02em; margin-top: 22px; }
.ec-amt small { font-size: 16px; opacity: .7; }
.ec-fiat { opacity: .65; font-size: 14px; }
.ec-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); margin: 22px 0 14px; overflow: hidden; }
.ec-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); transform-origin: left; animation: fill 7.5s cubic-bezier(.6,0,.2,1) infinite; }
.ec-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ec-steps li { opacity: .25; transform: translateY(4px); animation: stepIn 7.5s infinite; }
.ec-steps .s1 { animation-delay: 0s; } 
.ec-steps .chip { font-size: 11px; }
.ec-steps .chip.locked { background: rgba(255,190,46,.16); color: #FFCF63; }
.ec-steps .chip.paid { background: rgba(255,255,255,.12); color: #fff; }
.ec-steps .chip.ok { background: rgba(0,214,158,.18); color: #3EF0B5; }
.ec-steps .s0 { animation-name: st0; } .ec-steps .s1 { animation-name: st1; } .ec-steps .s2 { animation-name: st2; }
.ec-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; font-size: 13px; }
.ec-meta dt { opacity: .6; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; } .ec-meta dd { margin: 0; font-weight: 600; }
.ec-glow { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: radial-gradient(120px 60px at 85% 0%, rgba(0,214,158,.35), transparent 70%); }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,214,158,.55); } 70% { box-shadow: 0 0 0 9px rgba(0,214,158,0); } 100% { box-shadow: 0 0 0 0 rgba(0,214,158,0); } }
@keyframes fill { 0% { transform: scaleX(.05); } 30% { transform: scaleX(.34); } 60% { transform: scaleX(.67); } 85%, 100% { transform: scaleX(1); } }
@keyframes st0 { 0%, 100% { opacity: 1; transform: none; } }
@keyframes st1 { 0%, 28% { opacity: .25; transform: translateY(4px); } 34%, 100% { opacity: 1; transform: none; } }
@keyframes st2 { 0%, 58% { opacity: .25; transform: translateY(4px); } 66%, 100% { opacity: 1; transform: none; } }
@media (max-width: 720px) { .hero-in { grid-template-columns: 1fr; padding-block: 44px 28px; } .hero-art { display: block; } .ecard { margin: 8px 0 0; } }

/* Sections */
.h-xl { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.035em; max-width: 22ch; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
.wcard { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 16px; padding: var(--space-6); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.wcard:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(10,15,31,.35); }
.wcard p { color: var(--ink-muted); font-size: 14px; line-height: 21px; margin: 0; }
.ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--released-soft); stroke: var(--released); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--space-4); }
@media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .why { grid-template-columns: 1fr; } }
.band { background: var(--navy); color: var(--on-navy); }
.band-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding-block: 64px; align-items: center; }
.band h2 { color: var(--on-navy); font-size: 28px; } .band p { opacity: .85; max-width: 48ch; }
.band .btn { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.4); margin-top: var(--space-2); }
.band .step { color: rgba(255,255,255,.7); } .band .step b { color: #fff; } .band .step::before { background: var(--brand-bright); }
.eyebrow.dark { color: var(--brand-text); }
@media (max-width: 860px) { .band-in { grid-template-columns: 1fr; padding-block: 44px; } }
.merch { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.lead2 { color: var(--ink-muted); font-size: 17px; line-height: 27px; max-width: 52ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 46px; position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--released-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%230A7A55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (max-width: 860px) { .merch { grid-template-columns: 1fr; } }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.sec-head a, .narrow-c a { font-weight: 700; color: var(--brand-text); text-decoration: none; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.bcard { display: grid; gap: 8px; align-content: start; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 16px; padding: var(--space-6); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.bcard:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(10,15,31,.35); }
.bcard h3 { margin: 0; font-size: 18px; line-height: 24px; } .bcard p { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 21px; }
.bcard .more { color: var(--brand-text); font-weight: 700; font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .bgrid { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .bgrid { grid-template-columns: 1fr; } }
.narrow-c { max-width: 820px; }
.faq { display: grid; gap: 10px; margin: var(--space-4) 0; }
.faq details { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 20px/1 var(--font-mono); color: var(--ink-muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-muted); }
.final { background: radial-gradient(500px 240px at 50% 0%, rgba(0,214,158,.18), transparent 70%), var(--navy); color: var(--on-navy); text-align: center; }
.final-in { padding-block: 72px; display: grid; justify-items: center; gap: 8px; }
.final h2 { color: var(--on-navy); font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; margin-top: 12px; } .final p { opacity: .8; }
.final .mark .mk-a { stroke: var(--on-navy); } .final .mark .mk-c { fill: var(--brand-bright); }

/* Content pages */
.page { max-width: 860px; }
.page-head { margin-bottom: var(--space-6); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -.04em; line-height: 1.06; }
.page-head .lead { color: var(--ink-muted); font-size: 18px; line-height: 28px; max-width: 60ch; }
.prose { font-size: 16px; line-height: 27px; } .prose p, .prose li { max-width: 68ch; }
.prose h2 { font-size: 22px; margin-top: 36px; } .prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: 8px; }
.prose a { color: var(--brand-text); font-weight: 600; }
.flow { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.flow li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0 !important; }
.flow li p { margin: 6px 0 0; color: var(--ink-muted); }
.note { background: var(--brass-soft); color: var(--brass-text); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 14px; line-height: 21px; }
.draft { display: inline-block; background: var(--brass-soft); color: var(--brass-text); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); }
.ftable { width: 100%; border-collapse: collapse; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 8px 0 20px; font-size: 15px; }
.ftable th, .ftable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); } .ftable th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }
.ftable tr:last-child td { border-bottom: 0; }
.article .back { display: inline-block; margin-bottom: 20px; color: var(--brand-text); font-weight: 700; text-decoration: none; }
.cta-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 48px; padding: 20px 24px; border-radius: 16px; background: var(--surface-raised); border: 1px solid var(--line); }
.cta-box > div { flex: 1; min-width: 200px; } .cta-box p { margin: 2px 0 0; color: var(--ink-muted); }

/* Footer v2 */
.foot { display: block; border-top: 1px solid var(--line); background: var(--surface-raised); padding: 48px 0 32px; margin-top: 24px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.foot-cols > div { display: grid; gap: 10px; align-content: start; }
.foot-cols b { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }
.foot-cols a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; } .foot-cols a:hover { color: var(--brand-text); }
.foot-brand { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px !important; } .foot-brand p { flex-basis: 100%; margin: 0; color: var(--ink-muted); font-size: 14px; }
.foot-legal { font-size: 13px; color: var(--ink-muted); margin: 0 0 6px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .ecard, .ec-bar i, .ec-steps li, .ec-live i { animation: none !important; } .ec-steps li { opacity: 1; transform: none; } }

/* ===================== v3 identity: ink, paper, one green ===================== */
:root { --font-display: "Geist", "Inter", system-ui, sans-serif; --font-sans: "Geist", "Inter", system-ui, sans-serif; --mist: #F3F4F6; --graphite: #5B6275; }
@media (prefers-color-scheme: dark) { :root { --mist: #111827; --graphite: #9DA7BB; } }
body { font: 400 16px/26px var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; }
.testnet { background: var(--ink); color: rgba(255,255,255,.75); font-weight: 500; font-size: 13px; }
@media (prefers-color-scheme: dark) { .testnet { background: #000; } }
.top { background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.nav a { font-weight: 500; color: var(--graphite); border-radius: 8px; } .nav a.on { color: var(--ink); background: transparent; box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.nav a:hover { background: transparent; color: var(--ink); }
.btn { border-radius: 10px; font-weight: 600; letter-spacing: -.01em; }
.btn:not(:disabled):hover { transform: none; }
.btn.ink { background: var(--ink); color: var(--surface-raised); border-color: var(--ink); }
.btn.ink:hover { background: #1d2540; }
.btn.paper { background: #fff; color: #0A0F1F; border-color: #fff; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--surface-raised); }
@media (prefers-color-scheme: dark) { .btn.ink, .btn.primary { background: #fff; color: #0A0F1F; border-color: #fff; } }
.reveal.pre { opacity: 1 !important; transform: none !important; }
.wcard:hover, .bcard:hover, .offer:hover { transform: none; }

/* Hero */
.hx { background: var(--surface-raised); border-bottom: 1px solid var(--line); overflow: hidden; }
.hx-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(48px, 9vw, 112px) 56px; }
.hx-title { margin: 0; font-size: clamp(44px, 7.4vw, 104px); line-height: .96; letter-spacing: -.055em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.hx-title span { display: block; }
.hx-title .hx-b { color: var(--graphite); }
.hx-sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--graphite); max-width: 46ch; margin: 28px 0 0; }
.hx-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.hx-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.hx-link:hover { color: var(--brand-text); }
.vault { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: end; }
.vault svg { width: 100%; height: 100%; overflow: visible; }
.vh { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.vc { fill: var(--brand); transform-origin: 32px 32px; }
.vlabel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; text-align: center; color: #fff; display: grid; gap: 4px; pointer-events: none; }
.v-amt { font-size: clamp(14px, 2vw, 22px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.v-st { position: relative; height: 1.4em; font-size: clamp(10px, 1.05vw, 12.5px); font-weight: 500; }
.v-st em { position: absolute; inset: 0; font-style: normal; opacity: 0; white-space: nowrap; animation: vst 7.2s infinite; }
.v-st em:nth-child(2) { animation-delay: 2.4s; } .v-st em:nth-child(3) { animation-delay: 4.8s; }
@keyframes vst { 0% { opacity: 0; transform: translateY(4px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-4px); } }
.vh-a { animation: inA 1.1s .15s cubic-bezier(.16,1,.3,1) both; } .vh-b { animation: inB 1.1s .15s cubic-bezier(.16,1,.3,1) both; }
.vc { animation: inC .6s 1s cubic-bezier(.34,1.56,.64,1) both; } .vlabel { animation: fadeIn .4s 1.4s both; }
@keyframes inA { from { transform: translate(-14px, -14px); opacity: 0; } } @keyframes inB { from { transform: translate(14px, 14px); opacity: 0; } }
@keyframes inC { from { transform: scale(0); } } @keyframes fadeIn { from { opacity: 0; } }
@media (prefers-color-scheme: dark) { .vh { stroke: #fff; } }
@media (prefers-reduced-motion: reduce) { .vh, .vc, .vlabel { animation: none !important; } .v-st em { animation: none; } .v-st em:first-child { opacity: 1; } }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 0 40px; }
.proof > div { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.proof h3 { font-size: 18px; margin: 0 0 6px; } .proof p { margin: 0; color: var(--graphite); font-size: 15px; line-height: 23px; }
.hx .coins-row { padding-bottom: 48px; } .hx .coin { background: transparent; color: var(--ink); border-color: var(--line); }
.hx .coin small { color: var(--graphite); text-transform: none; letter-spacing: 0; font-size: 11px; }
@media (max-width: 860px) { .hx-in { grid-template-columns: 1fr; gap: 24px; } .vault { justify-self: center; width: min(78vw, 360px); order: -1; } .proof { grid-template-columns: 1fr; gap: 20px; } }

/* Sections */
.sx { padding-block: clamp(64px, 9vw, 120px); }
.sx-alt { background: var(--mist); }
.sx-ink { background: #0A0F1F; color: #fff; } .sx-ink .sx-t { color: #fff; } .sx-ink .sx-d { color: rgba(255,255,255,.72); }
.sx-t { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -.045em; margin: 0; max-width: 18ch; color: var(--ink); }
.sx-d { font-size: 18px; line-height: 1.6; color: var(--graphite); max-width: 52ch; margin: 20px 0 28px; }
.sx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .sx-split { grid-template-columns: 1fr; gap: 28px; } }
.nsteps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; }
.nsteps .n { display: block; font-size: clamp(56px, 6vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -.06em; color: var(--brand); margin-bottom: 16px; }
.nsteps h3 { font-size: 20px; margin: 0 0 8px; } .nsteps p { margin: 0; color: var(--graphite); font-size: 15px; line-height: 23px; }
@media (max-width: 860px) { .nsteps { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .nsteps { grid-template-columns: 1fr; } }
.claims p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; color: var(--ink); margin: 0 0 22px; padding-left: 22px; border-left: 3px solid var(--brand); }
.wall { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.wall li { font-size: clamp(26px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.04em; line-height: 1.25; color: var(--ink); }
.wall li:nth-child(even) { color: var(--graphite); }
.rows { display: grid; gap: 0; }
.row-a { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row-a:first-child { border-top: 1px solid var(--line); }
.row-a b { font-size: 19px; letter-spacing: -.02em; } .row-a span { color: var(--graphite); font-size: 15px; } .row-a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.rows .hx-link { margin-top: 20px; justify-self: start; }
.sx .faq details { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
.sx .faq { gap: 0; margin-top: 0; } .sx .faq summary { padding: 20px 0; font-size: 17px; font-weight: 600; }
.end { text-align: left; } .end-t { font-size: clamp(36px, 6vw, 84px); line-height: .98; letter-spacing: -.055em; font-weight: 800; max-width: 16ch; margin: 0 0 36px; color: var(--ink); }

/* Other pages share the same voice */
.page { padding-block: clamp(48px, 7vw, 96px); }
.page-head { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.page-head .lead { font-size: 20px; line-height: 1.55; color: var(--graphite); margin-top: 18px; }
.prose { font-size: 17px; line-height: 1.7; } .prose h2 { font-size: 26px; letter-spacing: -.03em; margin-top: 48px; }
.flow li { background: transparent; border: 0; border-top: 1.5px solid var(--ink); border-radius: 0; padding: 16px 0 4px; }
.bcard { border-radius: 14px; } .bcard .more { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.offer, .start li, .wcard { border-radius: 14px; box-shadow: none; }
.coin.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg button.on { background: var(--ink); color: var(--surface-raised); }

/* Footer: ink */
.foot { background: #0A0F1F; color: rgba(255,255,255,.7); border-top: 0; padding: 72px 0 40px; margin-top: 0; }
.foot .wm { color: #fff; font-size: 26px; } .foot .wm i { color: #7D869C; }
.foot .mark .mk-a { stroke: #fff; } .foot .mark .mk-c { fill: var(--brand-bright); }
.foot-cols b { color: rgba(255,255,255,.5); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; }
.foot-cols a { color: #fff; } .foot-cols a:hover { color: var(--brand-bright); }
.foot-brand p, .foot-legal, .foot .risk { color: rgba(255,255,255,.55); }
:root:not([data-theme="dark"]) { --surface: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --surface: #0B1120; } }
.vault { width: min(100%, 500px); }
.vlabel { width: 27%; gap: 2px; }
.v-amt { font-size: clamp(13px, 1.7vw, 21px); }
.v-st { font-size: clamp(9px, .9vw, 11.5px); height: 2.6em; line-height: 1.25; }
.v-st em { white-space: normal; }
.hx-in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); padding-block: clamp(40px, 6vw, 80px) 48px; }
.hx-title { font-size: clamp(42px, 6.4vw, 92px); }
.hx-title .hx-b { white-space: nowrap; }
@media (max-width: 860px) {
  .hx-in { grid-template-columns: 1fr; gap: 20px; padding-block: 28px 32px; }
  .hx-title { font-size: clamp(40px, 11.5vw, 64px); }
  .hx-title .hx-b { white-space: normal; }
  .vault { width: min(58vw, 260px); justify-self: start; order: -1; }
  .v-amt { font-size: 14px; } .v-st { font-size: 9px; }
}
@media (max-width: 720px) {
  .bar { gap: 10px; min-height: 56px; }
  .right .lang { padding: 0 10px; min-height: 38px; font-size: 12px; }
  .right .btn.primary { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .nav { order: 3; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .testnet { font-size: 12px; padding: 5px 12px; line-height: 17px; }
}
@media (max-width: 860px) { .vault { order: 0; width: min(52vw, 220px); justify-self: start; margin-top: 8px; } .v-amt { font-size: 12px; } .vlabel { width: 30%; } }

/* ===== Hero trade-flow animation (12s loop) ===== */
.hx-title { font-size: clamp(40px, 5.6vw, 80px); line-height: .98; max-width: 14ch; }
.tf { margin: 0; justify-self: end; width: min(100%, 520px); }
.tf-stage { position: relative; aspect-ratio: 100 / 64; }
.tf-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.tf-lines path { fill: none; stroke: var(--line); stroke-width: .5; stroke-dasharray: 1.4 1.4; vector-effect: non-scaling-stroke; stroke-width: 1.5; }
.tf-node, .tf-vault { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.tf-node svg { width: 64px; height: 64px; padding: 16px; border-radius: 20px; background: var(--surface-raised); border: 1.5px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.buyer { left: 14%; top: 66%; } .seller { left: 86%; top: 66%; }
.tf-vault { left: 50%; top: 28%; }
.tf-vault svg { width: 92px; height: 92px; fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.tf-vault span { font-size: 13px; color: var(--graphite); font-weight: 500; }
.tf-ok { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; opacity: 0; transform: scale(.4); animation: ok 12s infinite; }
.tf-ok svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; padding: 0; border: 0; background: none; }
.tf-coin, .tf-cash { position: absolute; transform: translate(-50%, -50%); }
.tf-coin { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); box-shadow: 0 6px 18px -6px rgba(0,179,134,.7); left: 86%; top: 66%; animation: coin 12s infinite cubic-bezier(.65,0,.35,1); }
.tf-cash { width: 34px; height: 22px; border-radius: 5px; background: var(--ink); left: 14%; top: 80%; opacity: 0; animation: cash 12s infinite cubic-bezier(.65,0,.35,1); }
.tf-cash::before { content: ""; position: absolute; inset: 7px 9px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 50%; }
@keyframes coin { 0%, 4% { left: 86%; top: 66%; opacity: 0; } 8% { opacity: 1; left: 86%; top: 66%; } 22%, 74% { left: 50%; top: 23.6%; opacity: 1; } 90% { left: 14%; top: 66%; opacity: 1; } 96%, 100% { left: 14%; top: 66%; opacity: 0; } }
@keyframes cash { 0%, 26% { left: 14%; top: 82%; opacity: 0; } 30% { opacity: 1; left: 14%; top: 82%; } 46% { left: 86%; top: 82%; opacity: 1; } 52%, 100% { left: 86%; top: 82%; opacity: 0; } }
@keyframes ok { 0%, 50% { opacity: 0; transform: scale(.4); } 54%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.tf-cap ol { list-style: none; margin: 18px 0 0; padding: 0; position: relative; min-height: 56px; }
.tf-cap li { position: absolute; inset: 0; display: flex; gap: 14px; align-items: center; opacity: 0; animation: cap 12s infinite; }
.tf-cap li b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--surface-raised); display: grid; place-items: center; font-size: 15px; }
.tf-cap li span { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.tf-cap li:nth-child(2) { animation-delay: 3s; } .tf-cap li:nth-child(3) { animation-delay: 6s; } .tf-cap li:nth-child(4) { animation-delay: 9s; }
@keyframes cap { 0% { opacity: 0; transform: translateY(6px); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (prefers-color-scheme: dark) { .tf-node svg { border-color: #fff; stroke: #fff; } .tf-vault svg { stroke: #fff; } .tf-node { color: #fff; } }
@media (max-width: 860px) { .tf { justify-self: stretch; width: 100%; } .tf-node svg { width: 52px; height: 52px; padding: 13px; } .tf-vault svg { width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) {
  .tf-coin, .tf-cash, .tf-ok { animation: none; } .tf-coin { left: 50%; top: 23.6%; } .tf-ok { opacity: 1; transform: none; }
  .tf-cap ol { display: grid; gap: 10px; } .tf-cap li { position: static; opacity: 1; animation: none; }
}
.tf { width: min(100%, 580px); } .tf-lines path { stroke: var(--line-strong); opacity: .5; }
.tf-node svg { width: 72px; height: 72px; padding: 18px; } .tf-vault svg { width: 104px; height: 104px; }
@media (max-width: 860px) { .tf-node svg { width: 52px; height: 52px; padding: 13px; } .tf-vault svg { width: 72px; height: 72px; } }
@media (max-width: 860px) { @keyframes coin { 0%, 4% { left: 86%; top: 66%; opacity: 0; } 8% { opacity: 1; left: 86%; top: 66%; } 22%, 74% { left: 50%; top: 24.5%; opacity: 1; } 90% { left: 14%; top: 66%; opacity: 1; } 96%, 100% { left: 14%; top: 66%; opacity: 0; } } .tf-coin { width: 20px; height: 20px; border-radius: 6px; } }

/* ===== Decentralised trade diagram ===== */
.tf-vault { display: none; }
.tf-lines path { stroke: var(--line-strong); opacity: .45; stroke-width: 1.5; stroke-dasharray: 2 3; }
.tf-lines path.p2p { stroke: var(--ink); opacity: 1; stroke-dasharray: none; stroke-width: 2; }
.tf-p2p { position: absolute; left: 50%; top: 20%; transform: translate(-50%, -150%); font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--surface-raised); padding: 0 8px; }
.buyer { left: 16%; top: 20%; } .seller { left: 84%; top: 20%; }
.tf-node { z-index: 2; } .tf-node span { background: var(--surface-raised); padding: 0 4px; }
.chain { position: absolute; left: 6%; right: 6%; top: 84%; transform: translateY(-50%); display: flex; justify-content: space-between; align-items: center; }
.chain::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line-strong); opacity: .5; }
.blk { position: relative; width: 38px; height: 38px; border-radius: 9px; background: var(--mist); border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.blk.esc { width: 54px; height: 54px; border-radius: 12px; background: var(--surface-raised); border: 2px solid var(--ink); }
.blk.esc svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.chain-lbl { position: absolute; left: 6%; top: 84%; transform: translateY(-260%); font-size: 12px; color: var(--graphite); font-weight: 500; }
.esc-lbl { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 2px); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tf-coin { z-index: 3; left: 84%; top: 20%; animation-name: coin2; }
.tf-cash { z-index: 3; left: 16%; top: 20%; animation-name: cash2; }
@keyframes coin2 { 0%, 4% { left: 84%; top: 20%; opacity: 0; } 8% { opacity: 1; left: 84%; top: 20%; } 14% { left: 84%; top: 52%; } 22%, 74% { left: 50%; top: 84%; opacity: 1; } 82% { left: 16%; top: 52%; } 90% { left: 16%; top: 20%; opacity: 1; } 96%, 100% { left: 16%; top: 20%; opacity: 0; } }
@keyframes cash2 { 0%, 26% { left: 16%; top: 20%; opacity: 0; } 30% { opacity: 1; left: 18%; top: 20%; } 46% { left: 82%; top: 20%; opacity: 1; } 52%, 100% { left: 84%; top: 20%; opacity: 0; } }
.tf-stage { margin-bottom: 28px; }
.tf-note { margin: 70px 0 0; font-size: 14px; color: var(--graphite); }
@media (max-width: 860px) { @keyframes coin2 { 0%, 4% { left: 84%; top: 20%; opacity: 0; } 8% { opacity: 1; left: 84%; top: 20%; } 14% { left: 84%; top: 52%; } 22%, 74% { left: 50%; top: 84%; opacity: 1; } 82% { left: 16%; top: 52%; } 90% { left: 16%; top: 20%; opacity: 1; } 96%, 100% { left: 16%; top: 20%; opacity: 0; } } .blk { width: 26px; height: 26px; border-radius: 7px; } .blk.esc { width: 40px; height: 40px; } .blk.esc svg { width: 20px; height: 20px; } .chain-lbl { display: none; } .tf-p2p { font-size: 11px; } }
@media (prefers-color-scheme: dark) { .tf-lines path.p2p { stroke: #fff; } .blk.esc { border-color: #fff; } .blk.esc svg { stroke: #fff; } }
@media (prefers-reduced-motion: reduce) { .tf-coin { left: 50%; top: 84%; } .tf-cash { display: none; } }
.tf-node { transform: translate(-50%, -36px); }
.chain-lbl { top: auto; bottom: 0; transform: translateY(calc(100% + 2px)); left: 6%; }
.tf-p2p { transform: translate(-50%, -170%); }
@media (max-width: 860px) { .tf-node { transform: translate(-50%, -26px); } }
.hx-title { font-size: clamp(38px, 5vw, 70px); line-height: 1; max-width: 17ch; }
.tf-node { transform: translate(-50%, -36px); }
.tf-p2p { transform: translate(-50%, -190%); }
.tf-note { margin-top: 36px; }
