/* Pontoon — the site's one stylesheet. Tokens first; components in page order. Light page, cobalt accent,
   neutral grey panels (no cream), dark "how it works" band. Type: Darker Grotesque (OFL) + Fragment Mono (OFL). */
@font-face { font-family: 'Darker Grotesque'; src: url(/assets/fonts/DarkerGrotesque-var.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Fragment Mono'; src: url(/assets/fonts/fragment-mono-400-latin.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #ffffff; --panel: #f3f4f6; --panel-2: #eceef1; --card: #ffffff;
  --ink: #121214; --ink-2: #2b2c31; --muted: #5f616a; --faint: #9a9ca4; --ghost: #c9cbd1;
  --line: #e7e8eb; --line-2: #d9dbe0; --grid: rgba(18, 18, 20, .045);
  --accent: #1f4bff; --accent-deep: #1638d8; --accent-ink: #ffffff; --accent-soft: #eaefff; --accent-glow: rgba(31, 75, 255, .28);
  --dark: #0f1013; --dark-card: #17181d; --dark-card-2: #1d1e24; --dark-line: #2a2b33; --dark-muted: #8d8f99; --dark-ink: #f2f3f5;
  --ok: #18a058; --ok-soft: #e6f6ec; --warn: #c27803; --bad: #e5484d; --bad-soft: #fdecec;
  --r-pill: 999px; --r-xl: 26px; --r-lg: 20px; --r-md: 16px; --r-sm: 12px; --r-xs: 9px;
  --font: 'Darker Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Fragment Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --wrap: 1280px; --gut: clamp(16px, 5.6vw, 80px);
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  --shadow-sm: 0 1px 2px rgba(18, 18, 20, .05), 0 2px 8px rgba(18, 18, 20, .04);
  --shadow-md: 0 2px 6px rgba(18, 18, 20, .05), 0 18px 40px -18px rgba(18, 18, 20, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.5; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); padding: 0 var(--gut); margin: 0 auto; position: relative; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: -.01em; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- page furniture: column grid, progress line, section rules ---------- */
.gridlines { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.gridlines .wrap { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); }
.gridlines i { border-left: 1px solid var(--grid); height: 100%; }
.gridlines i:last-child { border-right: 1px solid var(--grid); }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); z-index: 60; }
main { position: relative; z-index: 1; }
.rule { position: relative; height: 1px; background: var(--line); margin: 0; }
.rule::before, .rule::after { content: '+'; position: absolute; top: -12px; font: 400 18px/1 var(--mono); color: var(--accent); }
.rule::before { left: -6px; } .rule::after { right: -6px; }
.colnums { display: grid; grid-template-columns: repeat(12, 1fr); font: italic 400 10px/1 var(--mono); color: var(--ghost); padding: 14px 0 18px; }
.colnums span { padding-left: 8px; }

/* ---------- buttons, pills, labels ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: var(--r-pill); font-weight: 700; font-size: 18px;
  letter-spacing: -.005em; white-space: nowrap; transition: transform .25s var(--spring), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26272d; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px -10px var(--accent-glow); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 13px; height: 13px; transition: transform .25s var(--spring); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px; border-radius: var(--r-pill); background: var(--panel); font-weight: 700; font-size: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(24, 160, 88, .16); flex: none; }
.dot.is-warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(194, 120, 3, .16); }
.dot.is-bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(229, 72, 77, .16); }
.dot.is-sync { background: var(--accent); animation: pulse 1.2s ease-in-out infinite; box-shadow: 0 0 0 3px rgba(31, 75, 255, .14); }
@keyframes pulse { 50% { opacity: .35; } }
.eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }
.eyebrow b { font: 400 13px var(--mono); color: var(--accent); letter-spacing: 0; }
.on-dark .eyebrow { color: #d9dbe2; }
.status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; background: var(--ok-soft); color: #11763f; }
.status.is-sync { background: var(--accent-soft); color: var(--accent-deep); }
.status.is-stale { background: #fff4e0; color: #8a5300; }
.status.is-off { background: var(--bad-soft); color: #a3262b; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.022em; line-height: 1.06; }
.h1 { font-size: clamp(42px, 4.5vw, 64px); line-height: 1.04; }
.h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; }
.h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -.015em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); font-weight: 500; margin: 0; max-width: 46ch; }
p { margin: 0; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: background .3s, backdrop-filter .3s, box-shadow .3s; }
.nav.is-stuck { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  font-weight: 800; font-size: 22px; letter-spacing: -.025em; }
.logo svg { width: 30px; height: 30px; }
.navlinks { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; }
.navlinks a { display: inline-flex; align-items: baseline; gap: 5px; height: 40px; align-items: center; padding: 0 16px; border-radius: var(--r-pill); font-weight: 700; font-size: 17px; color: var(--ink-2); transition: background .2s, color .2s; }
.navlinks a sup { font: 400 9px var(--mono); color: var(--faint); transform: translateY(-4px); }
.navlinks a:hover { background: var(--panel); }
.navlinks a[aria-current='page'] { background: var(--ink); color: #fff; }
.navlinks a[aria-current='page'] sup { color: #9a9ca4; }
.menu-btn { display: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; box-shadow: 0 6px 0 var(--ink); transform: translateY(-3px); }
.sheet { position: fixed; inset: 0; z-index: 70; background: rgba(15, 16, 19, .4); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.is-open { opacity: 1; pointer-events: auto; }
.sheet nav { position: absolute; left: 12px; right: 12px; top: 12px; background: #fff; border-radius: var(--r-lg); padding: 10px; transform: translateY(-12px); transition: transform .35s var(--spring); }
.sheet.is-open nav { transform: none; }
.sheet nav a { display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 16px; border-radius: var(--r-md); font-weight: 700; font-size: 20px; }
.sheet nav a:hover { background: var(--panel); }
.sheet nav a .mono { font-size: 12px; color: var(--faint); }
.sheet .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- reveals (spring, staggered) ---------- */
.rv { opacity: 0; transform: translateY(22px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--spring); transition-delay: var(--d, 0ms); }

/* ---------- hero ---------- */
.hero { padding: 58px 0 0; }
.hero-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hero-left .badge { margin-bottom: 30px; }
.hero h1 .accent { color: var(--accent); }
.hero-right { justify-self: end; width: min(520px, 100%); padding-top: 8px; }
.hero-right .lede { color: var(--muted); max-width: none; }
.hero-cta { display: flex; gap: 12px; margin: 26px 0 20px; flex-wrap: wrap; }
.ca { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fafafb; }
.ca-coin { display: flex; align-items: center; gap: 10px; padding-right: 14px; border-right: 1px solid var(--line); }
.ca-coin img { width: 34px; height: 34px; border-radius: 50%; }
.ca-coin b { display: block; font-size: 17px; line-height: 1.1; }
.ca-coin small { font-size: 13px; color: var(--muted); }
.ca-addr { flex: 1; min-width: 0; }
.ca-addr small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.ca-addr span { display: block; font: 400 14.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-addr span.is-soon { color: var(--faint); }
.ca-btn { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: #fff; border: 1px solid var(--line); flex: none; position: relative; transition: transform .2s var(--spring); }
.ca-btn:active { transform: scale(.92); }
.ca-btn.is-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.ca-btn svg { width: 17px; height: 17px; }
.ca-btn[aria-disabled='true'] { opacity: .4; cursor: not-allowed; }
.ca-btn .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 9px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--spring); }
.ca-btn.show-tip .tip { opacity: 1; transform: translateX(-50%); }
.stage { position: relative; height: clamp(420px, 44vw, 620px); margin-top: -40px; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.stage-fallback[hidden] { display: none; }
.stage-fallback img { width: min(760px, 92%); height: auto; }
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 70px; }
.stat { display: flex; align-items: baseline; gap: 10px; height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.86); }
.stat b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--accent); font-size: 15px; margin-left: 1px; }
.stat span { font-size: 15px; color: var(--muted); }

/* ---------- section scaffolding ---------- */
.sec { padding: 120px 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head-r { justify-self: end; width: min(420px, 100%); }
.sec-head-r .lede { font-size: 18px; }
.sec-head-r .link-arrow { margin-top: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 9vw, 130px); align-items: start; }

/* ---------- problem panel ---------- */
.islands { background: var(--panel); border-radius: var(--r-lg); padding: 18px; position: relative; }
.islands-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); }
.seg button { height: 36px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 800; font-size: 15px; color: var(--ink-2); transition: background .25s, color .25s; }
.seg button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.islands-note { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.islands-map { position: relative; height: 380px; background-image: radial-gradient(circle, #cfd2d8 1px, transparent 1.2px); background-size: 22px 22px; border-radius: var(--r-md); }
.islands-map svg.routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.isle { position: absolute; width: 104px; text-align: center; transform: translate(-50%, -50%); }
.isle-box { width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative; transition: box-shadow .4s; }
.isle-box::before { content: ''; position: absolute; inset: -7px; border-radius: 30px; border: 1.5px dashed rgba(229, 72, 77, .5); transition: border-color .4s, opacity .4s; }
.isle-box::after { content: ''; position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); transition: background .4s; }
.islands.is-on .isle-box::before { border-color: rgba(31, 75, 255, .45); border-style: solid; }
.islands.is-on .isle-box::after { background: var(--ok); }
.isle-box img { width: 46px; height: 46px; border-radius: 50%; }
.isle b { font-weight: 700; font-size: 15px; background: var(--panel); padding: 1px 8px; border-radius: 8px; position: relative; }
.islands-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-top: 10px; }
.islands-stats div { padding: 14px 16px; }
.islands-stats div + div { border-left: 1px solid var(--line); }
.islands-stats small { display: block; font-weight: 800; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.islands-stats b { display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.numlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.numlist li { display: grid; grid-template-columns: 54px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.numlist .mono { color: var(--accent); font-size: 14px; padding-top: 4px; }
.numlist h3 { font-size: 24px; letter-spacing: -.015em; margin-bottom: 6px; }
.numlist p { color: var(--muted); }

/* ---------- dark band: four steps (pinned horizontal scroller) ---------- */
.band { background: var(--dark); color: var(--dark-ink); position: relative; overflow: clip; }
.band::before { content: ''; position: absolute; right: -10%; top: -30%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(31, 75, 255, .32), transparent 70%); pointer-events: none; }
.band .lede { color: var(--dark-muted); }
.steps-pin { height: var(--pin-h, 300vh); position: relative; }
.steps-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.steps-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.steps-count { text-align: right; min-width: 240px; }
.steps-count .big { display: inline-flex; align-items: baseline; gap: 10px; }
.steps-count .big b { font-size: 64px; line-height: .9; color: var(--accent-2, #6f8cff); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.steps-count .big span { font-size: 20px; color: var(--dark-muted); font-weight: 700; }
.steps-count .big em { font-style: normal; font-size: 18px; color: #fff; font-weight: 700; }
.steps-bar { height: 1.5px; background: var(--dark-line); margin: 14px 0 18px auto; width: 220px; position: relative; }
.steps-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--sp, 0) * 100%); background: #6f8cff; }
.band .link-arrow { color: #fff; }
.track { display: flex; gap: 34px; will-change: transform; padding-left: var(--gut); }
.step { flex: none; width: min(500px, 78vw); height: 470px; border-radius: var(--r-lg); background: var(--dark-card); border: 1px solid var(--dark-line); padding: 30px; display: flex; flex-direction: column;
  opacity: .5; transition: opacity .5s, border-color .5s, transform .6s var(--spring); position: relative; overflow: hidden; }
.step.is-active { opacity: 1; border-color: rgba(111, 140, 255, .65); }
.step.is-active::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #6f8cff; }
.step .mono { color: #6f8cff; font-size: 13px; }
.step h3 { font-size: 27px; margin: 14px 0 12px; color: #fff; }
.step p { color: var(--dark-muted); max-width: 34ch; }
.step-vis { margin-top: auto; height: 210px; position: relative; display: grid; place-items: center; }
.step.result { background: var(--accent); border-color: var(--accent); }
.step.result .mono { color: rgba(255,255,255,.75); }
.step.result p { color: rgba(255,255,255,.85); }
.step.result .mini2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.step.result .mini2 div { background: rgba(255,255,255,.14); border-radius: var(--r-sm); padding: 14px; }
.step.result .mini2 b { font-size: 30px; display: block; line-height: 1; }
.step.result .mini2 span { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); }
.step.result .btn { width: 100%; justify-content: center; margin-top: 16px; }
/* step visuals */
.chainpill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 8px; border-radius: var(--r-pill); background: var(--dark-card-2); border: 1px solid var(--dark-line); font-weight: 700; font-size: 16px; color: #fff; }
.chainpill img { width: 28px; height: 28px; border-radius: 50%; }
.wire { display: flex; align-items: center; gap: 8px; }
.wire i { width: 8px; height: 8px; border-radius: 2px; background: #6f8cff; opacity: .2; animation: wire 1.6s infinite; animation-delay: calc(var(--k) * 110ms); }
@keyframes wire { 0%, 100% { opacity: .18; } 40% { opacity: 1; } }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 10px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; }
.chip .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; color: #fff; }
.chip .ok svg { width: 12px; height: 12px; }
.chip span { color: var(--muted); }
.vault { width: 290px; border-radius: 16px; background: var(--dark-card-2); border: 1px solid var(--dark-line); padding: 16px 18px; color: #fff; position: relative; }
.vault-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: #c8cad2; font-weight: 700; }
.vault-top .lock { width: 30px; height: 30px; border-radius: 9px; background: rgba(111,140,255,.16); display: grid; place-items: center; color: #9db0ff; }
.vault-top .lock svg { width: 15px; height: 15px; }
.vault .bar { height: 4px; border-radius: 2px; background: var(--dark-line); margin: 14px 0; overflow: hidden; }
.vault .bar i { display: block; height: 100%; width: 30%; background: #6f8cff; animation: fill 2.8s var(--ease) infinite; }
@keyframes fill { 0% { width: 0; } 60%, 100% { width: 100%; } }
.vault b { font-size: 19px; }
.coin-drop { position: absolute; left: 50%; top: -58px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; animation: drop 2.8s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-30px); opacity: 0; } 25% { opacity: 1; } 55%, 100% { transform: translateY(26px) scale(.6); opacity: 0; } }
.solver { position: relative; width: 180px; height: 180px; }
.solver svg { width: 100%; height: 100%; overflow: visible; }
.solver .core { position: absolute; inset: 50px; border-radius: 50%; background: var(--dark-card-2); border: 1px solid var(--dark-line); display: grid; place-items: center; text-align: center; }
.solver .core b { font-size: 22px; color: #fff; line-height: 1; }
.solver .core small { font: 400 10px var(--mono); color: var(--dark-muted); letter-spacing: .06em; }
.walletcard { width: 300px; border-radius: 16px; background: #fff; color: var(--ink); padding: 16px 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.walletcard .wc-top { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); }
.walletcard .wc-top img { width: 22px; height: 22px; border-radius: 50%; }
.walletcard .wc-top .ok { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity .3s; }
.walletcard.is-done .wc-top .ok { opacity: 1; }
.walletcard .wc-top .ok svg { width: 12px; height: 12px; }
.walletcard b { display: block; font-size: 32px; margin: 6px 0 2px; letter-spacing: -.02em; }
.walletcard b small { font-size: 16px; color: var(--muted); font-weight: 700; }
.walletcard .wc-s { font-size: 14px; font-weight: 800; color: var(--ok); }

/* ---------- features: list + stage card ---------- */
.feat-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.feat-list li { border-bottom: 1px solid var(--line); position: relative; }
.feat-list li::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0; background: var(--accent); }
.feat-list li.is-active::after { width: 100%; transition: width var(--feat-ms, 6000ms) linear; }
.feat-list button { display: grid; grid-template-columns: 54px 26px 1fr; align-items: center; width: 100%; padding: 24px 0; text-align: left; }
.feat-list .mono { color: var(--faint); font-size: 13px; }
.feat-list li.is-active .mono { color: var(--accent); }
.feat-list .ic { color: var(--muted); }
.feat-list li.is-active .ic { color: var(--accent); }
.feat-list .ic svg { width: 18px; height: 18px; }
.feat-list h3 { font-size: 24px; color: var(--faint); transition: color .3s; letter-spacing: -.015em; }
.feat-list li.is-active h3 { color: var(--ink); }
.feat-list .fd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.feat-list li.is-active .fd { grid-template-rows: 1fr; }
.feat-list .fd > div { overflow: hidden; }
.feat-list .fd p { padding: 0 0 24px 80px; color: var(--muted); max-width: 52ch; }
.feat-stage { position: sticky; top: 110px; height: 560px; border-radius: var(--r-xl); background: var(--dark); color: #fff; overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 22px 22px; }
.feat-stage .fs-top { position: absolute; left: 24px; right: 22px; top: 20px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.feat-stage .fs-top .mono { color: #a3a5ae; font-size: 14px; }
.feat-stage .pill-accent { background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .06em; padding: 7px 13px; border-radius: var(--r-pill); }
.feat-stage .fs-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.feat-stage .fs-dots i { width: 8px; height: 8px; border-radius: 4px; background: #3a3c45; transition: width .35s var(--spring), background .3s; }
.feat-stage .fs-dots i.is-on { width: 26px; background: var(--accent); }
.fs-panel { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.97); transition: opacity .45s, transform .6s var(--spring); pointer-events: none; }
.fs-panel.is-on { opacity: 1; transform: none; }
.orbit { position: relative; width: 440px; height: 440px; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); }
.orbit .hub { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px; border-radius: 28px; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 16px rgba(31,75,255,.16), 0 0 70px rgba(31,75,255,.5); }
.orbit .hub svg { width: 60px; height: 60px; }
.orbit .sat { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 13px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.orbit .sat img { width: 30px; height: 30px; border-radius: 50%; }
.fs-card { width: min(360px, 82%); background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.fs-card h4 { font-size: 18px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.fs-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line-2); font-size: 16px; }
.fs-row:first-of-type { border-top: 0; }
.fs-row span { color: var(--muted); }
.fs-row b { font-variant-numeric: tabular-nums; }
.fs-row b.accent { color: var(--accent); }
.bids { display: grid; gap: 10px; }
.bid { display: grid; grid-template-columns: 74px 1fr 64px; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.bid .b { height: 10px; border-radius: 5px; background: var(--panel-2); overflow: hidden; }
.bid .b i { display: block; height: 100%; background: var(--ghost); width: var(--w); transition: width .8s var(--spring); }
.bid.is-best .b i { background: var(--accent); }
.bid.is-best { color: var(--accent); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; font-size: 16px; font-weight: 700; color: var(--faint); }
.timeline li i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ghost); }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done i { background: var(--accent); border-color: var(--accent); }
.timeline li .mono { font-size: 12px; color: var(--faint); }

/* ---------- networks grid ---------- */
.netgrid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.netcell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 20px 22px; background: rgba(255,255,255,.9); position: relative; transition: background .25s; }
.netcell:hover { background: var(--panel); }
.netcell img { width: 46px; height: 46px; border-radius: 50%; margin-bottom: 26px; transition: transform .35s var(--spring); }
.netcell:hover img { transform: translateY(-3px) rotate(-4deg); }
.netcell b { display: block; font-size: 19px; font-weight: 700; }
.netcell small { font-size: 14px; color: var(--muted); font-weight: 600; }
.netcell .dot { position: absolute; top: 22px; right: 20px; width: 7px; height: 7px; }

/* ---------- security ring ---------- */
.ringcard { background: var(--panel); border-radius: var(--r-lg); height: 560px; display: grid; place-items: center; position: relative; }
.ringwrap { position: relative; width: min(400px, 100%); aspect-ratio: 1; }
.ringwrap svg { width: 100%; height: 100%; overflow: visible; }
.ringwrap .center { position: absolute; left: 25.5%; top: 25.5%; width: 49%; height: 49%; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; align-content: center; }
.ringwrap .center b { font-size: clamp(34px, 9vw, 52px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ringwrap .center small { font-weight: 800; font-size: 14px; letter-spacing: .1em; color: #b5b7c0; margin-top: 8px; display: block; }
.checks { list-style: none; margin: 28px 0 30px; padding: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.checks li svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- app preview ---------- */
.apppanel { background: var(--panel); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.apppanel .numlist { border-top-color: var(--ink); margin: 26px 0 30px; }
.apppanel .numlist li { padding: 16px 0; grid-template-columns: 32px 1fr; }
.apppanel .numlist li b { font-size: 19px; }
.bridgecard { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow-md); }
.bc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.bc-top h4 { font-size: 22px; letter-spacing: -.015em; }
.routebox { background: var(--panel); border-radius: var(--r-md); padding: 34px 20px 26px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; }
.node { text-align: center; font-weight: 700; font-size: 15px; }
.node .nb { width: 60px; height: 60px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 8px; }
.node .nb img { width: 34px; height: 34px; border-radius: 50%; }
.node.hub .nb { background: var(--ink); border-color: var(--ink); transform: rotate(-8deg); }
.node.hub .nb svg { width: 34px; height: 34px; }
.node.hub span { color: var(--muted); }
.flow { display: flex; justify-content: space-around; align-items: center; }
.flow i { width: 7px; height: 7px; border-radius: 2px; background: var(--ghost); animation: wire 1.4s infinite; animation-delay: calc(var(--k) * 140ms); }
.flow i:nth-child(odd) { background: #9db0ff; }
.kv { margin-top: 10px; }
.kv div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); font-size: 17px; }
.kv span { color: var(--muted); }
.kv b { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.kv b.big { color: var(--accent); font-size: 21px; }
.skel { display: inline-block; height: .9em; width: 86px; border-radius: 6px; background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: skel 1.3s infinite linear; vertical-align: middle; }
@keyframes skel { to { background-position: -200% 0; } }
.flash-up { animation: flup .9s var(--ease); }
.flash-down { animation: fldn .9s var(--ease); }
@keyframes flup { 0% { color: var(--ok); } }
@keyframes fldn { 0% { color: var(--bad); } }

/* ---------- CTA band ---------- */
.cta { background: var(--accent); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 92px) clamp(26px, 6vw, 86px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta .h2 { position: relative; z-index: 1; }
.cta p { color: rgba(255,255,255,.9); position: relative; z-index: 1; margin-bottom: 26px; max-width: 40ch; }
.cta .cta-r { position: relative; z-index: 1; }
.cta .float { position: absolute; border-radius: 18px; background: rgba(255,255,255,.12); will-change: transform; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); z-index: 2; margin-top: 120px; padding: 70px 0 26px; position: relative; z-index: 1; background: #fff; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); margin: 16px 0 20px; max-width: 34ch; }
.foot-brand .logo { border: 0; padding: 0; height: auto; }
.iconbtns { display: flex; gap: 10px; }
.iconbtn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s; }
.iconbtn:hover { background: var(--panel); }
.iconbtn svg { width: 17px; height: 17px; }
.iconbtn[aria-disabled='true'] { opacity: .35; pointer-events: none; }
.foot h4 { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot ul a { font-weight: 700; color: var(--ink-2); }
.foot ul a:hover { color: var(--accent); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--ink); margin-top: 60px; padding-top: 22px; font-size: 15px; color: var(--muted); }
.foot-bot a { text-decoration: underline; }

/* ---------- inner pages ---------- */
.phero { padding: 64px 0 70px; }
.phero .sec-head { margin-bottom: 0; }
.tabs { display: inline-flex; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.tabs button { height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 800; font-size: 16px; color: var(--ink-2); }
.tabs button[aria-selected='true'] { background: var(--ink); color: #fff; }
.method { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; margin-top: 34px; align-items: stretch; }
.method-vis { background: var(--panel); border-radius: var(--r-lg); min-height: 380px; padding: 28px; display: grid; place-items: center; position: relative; }
.method-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.method-steps li { display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.method-steps li .mono { color: var(--accent); font-size: 13px; padding-top: 4px; }
.method-desc { font-size: 19px; color: var(--muted); margin-bottom: 14px; }
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 1.5px; background: var(--line-2); }
.tl-item { position: relative; padding: 0 0 34px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.tl-item::before { content: ''; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.tl-item .mono { color: var(--accent); font-size: 14px; padding-top: 2px; }
.tl-item h3 { font-size: 24px; margin-bottom: 6px; }
.tl-item p { color: var(--muted); }
.acc { border-top: 1px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-weight: 700; font-size: 22px; letter-spacing: -.012em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .35s var(--spring), background .2s; }
.acc summary i::before { content: '+'; font: 400 18px/1 var(--mono); }
.acc details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc .acc-b { padding: 0 60px 26px 0; color: var(--muted); }
.acc .acc-b p + p { margin-top: 10px; }
.acc .acc-b a { color: var(--accent); font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 28px; background: #fff; transition: transform .35s var(--spring), box-shadow .3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 36px; }
.card .ic svg { width: 20px; height: 20px; }
.card h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: 17px; }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th, .table td { text-align: left; padding: 18px 14px; border-bottom: 1px solid var(--line); }
.table th { font-weight: 800; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.table th.us, .table td.us { background: var(--accent-soft); }
.table td:first-child { font-weight: 700; }
.yes { color: var(--accent); font-weight: 800; }
.no { color: var(--faint); font-weight: 700; }
.mid { color: var(--warn); font-weight: 700; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.code { background: var(--dark); color: #d6d8e0; border-radius: var(--r-lg); padding: 26px 28px; font: 400 14.5px/1.75 var(--mono); overflow-x: auto; white-space: pre; }
.code .k { color: #8ea4ff; } .code .s { color: #9be3b6; } .code .c { color: #6c6f7a; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.layer { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; transition: border-color .25s, transform .35s var(--spring); }
.layer:hover { border-color: var(--accent); transform: translateY(-3px); }
.layer .mono { color: var(--accent); font-size: 13px; }
.layer h3 { font-size: 22px; margin: 26px 0 8px; }
.layer p { color: var(--muted); font-size: 17px; }
.nums3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.nums3 div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.nums3 b { font-size: 40px; letter-spacing: -.03em; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.nums3 span { color: var(--muted); font-weight: 600; }
.netcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.netcard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; background: #fff; }
.netcard[hidden] { display: none; }
.netcard .nc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.netcard .nc-top img { width: 44px; height: 44px; border-radius: 50%; }
.netcard .live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #11763f; background: var(--ok-soft); padding: 4px 10px; border-radius: var(--r-pill); }
.netcard .live.is-warn { color: #8a5300; background: #fff4e0; }
.netcard .live.is-off { color: #a3262b; background: var(--bad-soft); }
.netcard .live.is-sync { color: var(--accent-deep); background: var(--accent-soft); }
.netcard h3 { font-size: 22px; }
.netcard .nc-sub { color: var(--muted); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.netcard dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.netcard dt { font-weight: 800; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.netcard dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.netcard a { color: var(--accent); }
.finder { background: var(--panel); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.field { display: grid; gap: 6px; }
.field label, .flabel { font-weight: 800; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.select { position: relative; }
.select select { appearance: none; width: 100%; height: 56px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; padding: 0 44px 0 52px; font-weight: 700; font-size: 18px; cursor: pointer; }
.select img { position: absolute; left: 14px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; pointer-events: none; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.guide-steps { display: grid; gap: 14px; }
.gstep { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 44px); align-items: center; background: #fff; }
.gstep .mono { color: var(--accent); font-size: 14px; }
.gstep h3 { font-size: clamp(26px, 2.4vw, 34px); margin: 12px 0 12px; }
.gstep p { color: var(--muted); }
.gstep ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.gstep ul li { display: flex; gap: 10px; font-weight: 600; }
.gstep ul li::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); margin-top: 11px; flex: none; }
.gvis { background: var(--panel); border-radius: var(--r-lg); min-height: 260px; display: grid; place-items: center; padding: 24px; }
.wallets { display: grid; gap: 10px; width: min(320px, 100%); }
.wallets div { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.wallets div i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 28px; margin: 44px 0 12px; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--ink-2); font-size: 18.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--accent); font-weight: 700; }
.legal .upd { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .navlinks a { padding: 0 11px; font-size: 16px; }
  .netgrid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .netcards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .navlinks { display: none; }
  .menu-btn { display: grid; }
  .nav .btn-accent { display: none; }
  .hero-top, .sec-head, .split, .apppanel, .cta, .method, .finder, .gstep { grid-template-columns: minmax(0, 1fr); }
  .hero-right, .sec-head-r { justify-self: start; width: 100%; }
  .stats4 { grid-template-columns: repeat(2, 1fr); }
  .feat-stage { position: relative; top: 0; height: 480px; order: -1; }
  .layers, .nums3 { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .netcards { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 90px 0; }
  .orbit { transform: scale(.85); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .gridlines .wrap { grid-template-columns: repeat(4, 1fr); }
  .gridlines i:nth-child(n+5) { display: none; }
  .gridlines i:nth-child(4) { border-right: 1px solid var(--grid); }
  .colnums { grid-template-columns: repeat(4, 1fr); }
  .colnums span:nth-child(n+5) { display: none; }
  .hero { padding-top: 30px; }
  .hero-cta .btn { flex: 1; justify-content: center; padding: 0 16px; }
  .stage { height: 360px; margin-top: 0; }
  .stats4 { grid-template-columns: 1fr; gap: 10px; }
  .netgrid { grid-template-columns: repeat(2, 1fr); }
  .islands-map { height: 330px; }
  .isle { width: 84px; }
  .isle-box { width: 72px; height: 72px; border-radius: 19px; }
  .isle-box img { width: 36px; height: 36px; }
  .islands-stats { grid-template-columns: 1fr 1fr 1fr; }
  .islands-stats div { padding: 12px 10px; }
  .islands-stats b { font-size: 20px; }
  .islands-stats small { font-size: 10px; letter-spacing: .05em; }
  .islands-top { flex-wrap: wrap; }
  .steps-head { flex-direction: column; align-items: start; }
  .steps-count { text-align: left; min-width: 0; }
  .steps-bar { margin-left: 0; }
  .step { height: 440px; padding: 24px; }
  .feat-stage { height: 420px; }
  .orbit { transform: scale(.68); }
  .feat-list .fd p { padding-left: 54px; }
  .feat-list button { grid-template-columns: 40px 26px 1fr; }
  .feat-list h3 { font-size: 21px; }
  .ringcard { height: 420px; }
  .routebox { padding: 24px 10px 18px; gap: 4px; }
  .node .nb { width: 50px; height: 50px; }
  .node { font-size: 13px; }
  .cards, .layers, .nums3, .netcards { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .acc summary { font-size: 19px; }
  .acc .acc-b { padding-right: 0; }
  .ca-coin { padding-right: 10px; }
  .ca-coin small { display: none; }
  .logo { font-size: 20px; padding: 0 16px 0 12px; }
  .ca-addr small { font-size: 10.5px; letter-spacing: .05em; white-space: nowrap; }
  .ca-coin b { font-size: 15.5px; }
}
@media (max-width: 360px) {
  .hero-cta { flex-direction: column; }
  .ca { flex-wrap: wrap; }
  .ca-addr { flex-basis: calc(100% - 110px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- app ---------- */
body[data-page='app'] { background: var(--panel); }
body[data-page='app'] .gridlines { display: none; }
body[data-page='app'] .nav.is-stuck { background: rgba(243, 244, 246, .85); }
body[data-page='app'] .foot { margin-top: 70px; }
.appwrap { padding: 34px 0 0; }
.app-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.app-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.astat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.astat small { display: block; font-weight: 800; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.astat b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.app-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, .95fr); gap: 18px; align-items: start; }
.app-side { display: grid; gap: 14px; position: sticky; top: 92px; }
.app-tabs { display: grid; gap: 4px; }
.app-tabs button { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: var(--r-sm); font-weight: 700; font-size: 18px; color: var(--ink-2); text-align: left; transition: background .2s; }
.app-tabs button svg { width: 17px; height: 17px; color: var(--muted); }
.app-tabs button:hover { background: rgba(255,255,255,.6); }
.app-tabs button[aria-selected='true'] { background: #fff; border: 1px solid var(--line); }
.app-tabs button[aria-selected='true'] svg { color: var(--accent); }
.tabcount { margin-left: auto; min-width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 13px; display: grid; place-items: center; padding: 0 6px; }
.walletbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.walletbox .flabel { margin-bottom: 10px; display: block; }
.wrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.wrow-l { display: grid; min-width: 0; }
.wrow .vm { font-weight: 800; font-size: 14px; }
.wrow .addr { font: 400 12.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow.is-on .addr { color: var(--ink); }
.wbtn { height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.wrow.is-on .wbtn { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.fine { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.fine.is-bad { color: #b42328; }
.fine.is-ok { color: #11763f; }
.acard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.acard[hidden] { display: none; }
.acard-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.acard-h h2 { font-size: 24px; letter-spacing: -.015em; }
.leg { background: var(--panel); border-radius: var(--r-md); padding: 14px; }
.leg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bal { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.bal b { color: var(--ink); font-variant-numeric: tabular-nums; }
.maxbtn { margin-left: 6px; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 13px; }
.leg-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.picker { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 36px 0 12px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 18px; position: relative; text-align: left; min-width: 0; transition: border-color .2s; }
.picker:hover { border-color: var(--line-2); }
.picker::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.picker img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.picker span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amount { width: 100%; min-width: 0; height: 60px; margin-top: 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; padding: 0 16px; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; outline: none; transition: border-color .2s, box-shadow .2s; }
.amount:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.usd { font-size: 15px; color: var(--muted); font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; }
.receive { height: 54px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.receive.is-loading { color: var(--faint); }
.flipwrap { display: flex; justify-content: center; height: 0; position: relative; z-index: 2; }
.flip { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; transform: translateY(-21px); border: 4px solid #fff; box-sizing: content-box; transition: transform .35s var(--spring); }
.flip:hover { transform: translateY(-21px) rotate(180deg); }
.flip svg { width: 16px; height: 16px; }
.leg + .flipwrap + .leg { margin-top: 10px; }
.recip { margin-top: 12px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.recip-line { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.recip-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recip-in { width: 100%; height: 46px; margin-top: 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; padding: 0 12px; font: 400 14px var(--mono); outline: none; }
.recip-in:focus { border-color: var(--accent); }
.recip-in.is-bad { border-color: var(--bad); }
.linkbtn { font-weight: 800; font-size: 14.5px; color: var(--accent); flex: none; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles button { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; text-align: left; background: #fff; transition: border-color .2s, background .2s; }
.tiles button b { display: block; font-size: 17px; }
.tiles button span { font-size: 14px; color: var(--muted); font-weight: 600; }
.tiles button[aria-pressed='true'] { border-color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--ink); }
.check { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 16.5px; cursor: pointer; }
.check[hidden] { display: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; flex: none; transition: background .2s, border-color .2s; }
.check .box svg { width: 13px; height: 13px; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check em { font-style: normal; color: var(--muted); }
.gobtn { width: 100%; height: 58px; justify-content: center; font-size: 19px; margin-top: 4px; }
.gobtn[disabled] { opacity: .5; cursor: not-allowed; }
.gobtn.is-busy::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.app-route { position: sticky; top: 92px; }
.routecode { font-size: 13px; color: var(--muted); }
.app-route .routebox { padding: 26px 12px 20px; }
.app-route .node .nb { width: 54px; height: 54px; }
.app-route .node span { display: block; font-size: 14px; }
.app-route .kv div { font-size: 16px; padding: 12px 0; }
.app-route .kv b.big { font-size: 22px; }
.prog { list-style: none; margin: 16px 0 0; padding: 14px; background: var(--panel); border-radius: var(--r-md); display: grid; gap: 4px; }
.prog[hidden] { display: none; }
.prog li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-weight: 700; font-size: 16px; color: var(--faint); }
.prog li i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ghost); }
.prog li.is-now { color: var(--ink); }
.prog li.is-now i { border-color: var(--accent); border-top-color: transparent; animation: spin .9s linear infinite; }
.prog li.is-done { color: var(--ink); }
.prog li.is-done i { background: var(--accent); border-color: var(--accent); }
.prog li.is-bad { color: #b42328; }
.prog li.is-bad i { background: var(--bad); border-color: var(--bad); }
.prog li a { font: 400 12.5px var(--mono); color: var(--accent); }
.actrow { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.actrow:first-child { border-top: 0; }
.actpair { display: flex; align-items: center; }
.actpair img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; }
.actpair img + img { margin-left: -9px; }
.actmid b { display: block; font-size: 17px; }
.actmid span { font-size: 14px; color: var(--muted); }
.actmid .links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.actmid .links a { font: 400 12.5px var(--mono); color: var(--accent); }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 4px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable td { padding: 11px 6px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ptable td:first-child { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ptable td:first-child img { width: 26px; height: 26px; border-radius: 50%; }
.ptable td.r { text-align: right; }
.ptable tr.is-zero { color: var(--faint); }
.ptotal { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0 14px; }
.ptotal b { font-size: 32px; letter-spacing: -.02em; }
.netlist { display: grid; gap: 0; }
.netrow { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.netrow img { width: 32px; height: 32px; border-radius: 50%; }
.netrow b { display: block; font-size: 17px; }
.netrow span { font-size: 14px; color: var(--muted); }
.netrow a { font-size: 14px; font-weight: 700; color: var(--accent); }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(15,16,19,.45); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { width: min(440px, 100%); max-height: min(640px, 92vh); background: #fff; border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden; animation: pop .35s var(--spring); }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; }
.modal-h h3 { font-size: 22px; }
.modal-x { width: 36px; height: 36px; border-radius: 50%; background: var(--panel); font-size: 22px; line-height: 1; }
.modal-b { overflow-y: auto; padding: 0 12px 14px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; height: 56px; padding: 0 10px; border-radius: var(--r-sm); font-weight: 700; font-size: 18px; text-align: left; }
.opt:hover, .opt:focus-visible { background: var(--panel); }
.opt img { width: 32px; height: 32px; border-radius: 50%; }
.opt .wi { width: 32px; height: 32px; border-radius: 9px; background: var(--panel); display: grid; place-items: center; font-size: 14px; }
.opt small { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.opt.is-cur { background: var(--accent-soft); }
.opt[disabled] { opacity: .45; cursor: not-allowed; }
.modal-note { padding: 6px 10px 2px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1180px) {
  .app-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .app-route { grid-column: 2; position: static; }
}
@media (max-width: 860px) {
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-side { position: static; grid-template-columns: minmax(0, 1fr); }
  .app-tabs { grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px; }
  .app-tabs button { justify-content: center; font-size: 15px; padding: 0 6px; gap: 6px; height: 42px; }
  .app-tabs button[aria-selected='true'] { background: var(--ink); color: #fff; border: 0; }
  .app-tabs button[aria-selected='true'] svg { color: #fff; }
  .app-route { grid-column: auto; }
  .app-stats { grid-template-columns: repeat(2, 1fr); }
  .tabcount { display: none; }
}
@media (max-width: 480px) {
  .app-tabs button svg { display: none; }
  .astat b { font-size: 24px; }
  .acard { padding: 16px; }
  .leg-row { grid-template-columns: minmax(0, 1fr); }
  .tiles button span { display: none; }
  .amount { font-size: 22px; }
  .recip-line { flex-wrap: wrap; }
  .recip-line span { white-space: normal; }
}
