/* MinerSwap "Future" skin: applies only in dark mode (html.dark). Light mode is untouched. */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap");

html.dark { background: #050607; --fx-mono: "Geist Mono", ui-monospace, monospace; --fx-line: rgba(255,255,255,.08); --fx-line-2: rgba(255,255,255,.14); --fx-panel: rgba(255,255,255,.028); --fx-glow: rgba(0,212,106,.35); }
html.dark body {
  --white: #0b0d0e; --bg: rgba(255,255,255,.045); --line: rgba(255,255,255,.08); --ink: #eef1f0; --ink-2: #c9cecc; --gray: #8b9390; --gray-2: #5a625f;
  --green: #00d46a; --green-d: #3ff09a; --green-soft: rgba(0,212,106,.1);
  --shadow: 0 30px 80px -40px rgba(0,0,0,.9);
  background: transparent; font-family: Geist, Manrope, system-ui, sans-serif;
}

/* backdrop: dot grid + green aurora, both fixed behind everything */
html.dark body::before, html.dark body::after { content: ""; position: fixed; pointer-events: none; z-index: -1; }
html.dark body::before { inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%); }
html.dark body::after { left: 50%; top: -340px; width: 1100px; max-width: 160vw; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,212,106,.2), rgba(0,212,106,.05) 55%, transparent); filter: blur(20px); }

/* type */
html.dark h1, html.dark h2, html.dark h3 { font-weight: 600; letter-spacing: -.045em; }
html.dark .h-xl { background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.dark .eyebrow { font-family: var(--fx-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; color: var(--green); display: inline-flex; align-items: center; gap: 10px; }
html.dark .eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
html.dark .stats b, html.dark .kpi b, html.dark .amount .val, html.dark .calc .big, html.dark .tx, html.dark code { font-family: var(--fx-mono); font-weight: 500; letter-spacing: -.03em; }
html.dark .stats span, html.dark .field > span, html.dark .badge { font-family: var(--fx-mono); font-weight: 500; letter-spacing: .04em; }
html.dark ::selection { background: rgba(0,212,106,.35); color: #fff; }

/* nav + tab bar: glass */
html.dark .topnav, html.dark .topnav.green { background: rgba(5,6,7,.6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--fx-line); }
html.dark .navlinks a { color: var(--gray); font-weight: 500; }
html.dark .navlinks a:hover, html.dark .navlinks a.on { color: var(--ink); background: rgba(255,255,255,.06); }
html.dark .theme-btn { background: rgba(255,255,255,.05) !important; border: 1px solid var(--fx-line-2); }
html.dark .tabbar { background: rgba(8,10,11,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--fx-line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8); }
html.dark .tabbar a.on { background: rgba(0,212,106,.1); }
html.dark .fx-progress { height: 2px !important; box-shadow: 0 0 12px var(--green); }

/* buttons */
html.dark .btn { font-weight: 600; border: 1px solid transparent; }
html.dark .btn.green { color: #02140a; box-shadow: 0 0 0 1px rgba(0,212,106,.4), 0 8px 30px -8px var(--fx-glow); }
html.dark .btn.green:hover { background: var(--green); box-shadow: 0 0 0 1px rgba(92,255,176,.75), 0 10px 40px -6px var(--fx-glow); }
html.dark .btn.dark, html.dark .btn.light, html.dark .btn.ghost { background: rgba(255,255,255,.05); color: var(--ink); border-color: var(--fx-line-2); }
html.dark .btn.dark:hover, html.dark .btn.light:hover, html.dark .btn.ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
html.dark .btn:disabled { box-shadow: none; }

/* surfaces: thin borders, glass, no heavy fills */
html.dark .panel { background: linear-gradient(180deg, rgba(16,19,20,.92), rgba(8,10,11,.94)); border: 1px solid var(--fx-line-2); box-shadow: 0 40px 120px -50px rgba(0,212,106,.35), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
html.dark .soft, html.dark .item, html.dark .tier, html.dark .gcard, html.dark .box, html.dark .card-stage, html.dark .avatar, html.dark .fees, html.dark .cselect-pop, html.dark .sheet > div { background: var(--fx-panel); border: 1px solid var(--fx-line); }
html.dark .fees { background: rgba(255,255,255,.028) !important; }
html.dark .band { background: radial-gradient(ellipse 60% 90% at 50% 130%, rgba(0,212,106,.25), transparent 70%), #07090a !important; color: var(--ink) !important; border: 1px solid rgba(0,212,106,.3); }
html.dark .kpi { background: var(--fx-panel); border: 1px solid var(--fx-line); }
html.dark .kpi.green { background: rgba(0,212,106,.08); border-color: rgba(0,212,106,.35); color: var(--ink) !important; }

/* home hero: keep the fibres, drop the flat fill */
html.dark .hero-bg { background: transparent !important; }
html.dark .hero-bg .stats > div { border-left: 1px solid var(--fx-line); padding-left: 16px; }
html.dark .hero-bg .stats > div:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 600px) { html.dark .hero-bg .stats > div { border-left: 0; padding-left: 0; } }

/* home product cards: same dark bento look */
html.dark .prod { background: var(--fx-panel) !important; color: var(--ink) !important; border: 1px solid var(--fx-line); }
html.dark .prod:hover { border-color: rgba(0,212,106,.35); }
html.dark .prod p { color: var(--gray); opacity: 1; }
html.dark .prod .go i { color: var(--green); }
html.dark .p-social .stats span { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--fx-line-2); box-shadow: none; }
html.dark .tiles span { border: 1px solid rgba(255,255,255,.1); }
html.dark .orbit img { border-color: #0b0d0e; background: #0b0d0e; }
html.dark .how .soft::before { background: transparent !important; border: 1px solid rgba(0,212,106,.5); color: var(--green); font-family: var(--fx-mono); font-weight: 500; }
html.dark .trust .ic { background: rgba(0,212,106,.08); border: 1px solid rgba(0,212,106,.25); }

/* controls */
html.dark .input, html.dark .input.filled { background: rgba(255,255,255,.03); border: 1px solid var(--fx-line-2); }
html.dark .input:focus, html.dark .input.filled:focus { background: rgba(255,255,255,.04); border-color: rgba(0,212,106,.6); box-shadow: 0 0 0 4px rgba(0,212,106,.1); }
html.dark .seg { background: rgba(0,0,0,.3); border: 1px solid var(--fx-line); }
html.dark .seg .knob { background: rgba(255,255,255,.07); border: 1px solid var(--fx-line-2); box-shadow: none; }
html.dark .chip, html.dark .pill-opt { background: rgba(255,255,255,.04); border: 1px solid var(--fx-line); }
html.dark .chip:hover, html.dark .pill-opt:hover { background: rgba(255,255,255,.07); }
html.dark .pill-opt.on { background: rgba(0,212,106,.08); border-color: rgba(0,212,106,.55); color: var(--green); }
html.dark input[type=range] { accent-color: var(--green); }
html.dark .keys button:hover { background: rgba(255,255,255,.05); }
html.dark .flip { background: rgba(255,255,255,.06); border: 1px solid var(--fx-line-2); color: var(--ink); }
html.dark .toast { background: rgba(10,12,13,.9); color: var(--ink); border: 1px solid rgba(0,212,106,.35); backdrop-filter: blur(14px); }

/* tables, faq, footer */
html.dark table th { font-family: var(--fx-mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
html.dark table td, html.dark table th { border-color: var(--fx-line) !important; }
html.dark details { border-color: var(--fx-line) !important; }
html.dark footer.site { border-top: 1px solid var(--fx-line); }

/* motion hooks set by future.js (dark mode only) */
.fx-glow { display: none; }
html.dark .fx-spot { position: relative; }
html.dark .fx-glow { display: block; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(0,212,106,.12), transparent 60%); }
html.dark .fx-spot:hover > .fx-glow { opacity: 1; }
html.dark .fx-rv { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1), filter .8s; transition-delay: var(--fx-d, 0s); }
html.dark .fx-rv.fx-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { html.dark .fx-rv { opacity: 1; transform: none; filter: none; transition: none; } html.dark .fx-glow { display: none; } }

/* guides (guide.css) */
html.dark .tldr { background: rgba(0,212,106,.06); border: 1px solid rgba(0,212,106,.28); }
html.dark .g-dark, html.dark .gc-dark, html.dark .gc-light, html.dark .gc-soft, html.dark .tbl-wrap, html.dark .pairs-grid a { background: var(--fx-panel) !important; color: var(--ink) !important; border: 1px solid var(--fx-line); }
html.dark .g-dark h3 { color: var(--ink); }
html.dark .gc-green { background: rgba(0,212,106,.1); color: var(--ink); border: 1px solid rgba(0,212,106,.35); }
html.dark .pairs-grid a:hover { border-color: rgba(0,212,106,.4); }
html.dark .g-toc a i, html.dark .g-cards .soft .ic { background: rgba(255,255,255,.05); border: 1px solid var(--fx-line); }
html.dark .g-toc a.on i { background: var(--green); border-color: transparent; }
html.dark .g-toc a:hover, html.dark .g-toc a.on { background: rgba(255,255,255,.05); }
html.dark .g-steps .soft::before { background: transparent !important; border: 1px solid rgba(0,212,106,.5); color: var(--green); font-family: var(--fx-mono); font-weight: 500; }
html.dark .warn { background: rgba(255,176,32,.07); border: 1px solid rgba(255,176,32,.3); color: #ffcf7a; }

/* ---------- prototype nav: floating glass pill (all pages) ---------- */
html.dark .topnav, html.dark .topnav.green { background: transparent !important; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0 !important; padding-top: 12px; }
html.dark .topnav .wrap { height: 60px; max-width: 1140px; border: 1px solid var(--fx-line); border-radius: 999px; padding: 0 8px 0 18px; background: rgba(8,10,11,.62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: box-shadow .3s, border-color .3s; }
html.dark .topnav.scrolled .wrap { border-color: var(--fx-line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); }
@media (max-width: 1180px) { html.dark .topnav .wrap { margin: 0 12px; } }
html.dark .navright .btn { height: 42px; padding: 0 18px; }
html.dark .page-head h1, html.dark .page-head .h-lg, html.dark .page-head .h-xl { background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.dark .page-head .lead { color: var(--gray); }
html.dark .panel { border-radius: 24px; }
html.dark footer.site { font-family: var(--fx-mono); font-size: 13px; }

/* ---------- home: prototype layout replaces the light layout ---------- */
.fx-hero, .fx-main { display: none; }
html.dark .fx-hero { display: grid; }
html.dark .fx-main { display: block; }
html.dark body[data-page="home"] .hero-bg > .wrap.hero, html.dark body[data-page="home"] > main { display: none; }
html.dark .fx-hero { position: relative; z-index: 1; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
html.dark .fx-slot .panel.app { transform: none !important; margin: 0; max-width: none; }
html.dark .fx-slot .panel { box-shadow: 0 40px 120px -40px rgba(0,212,106,.4), inset 0 1px 0 rgba(255,255,255,.06); border-color: rgba(92,255,176,.28); }
.fx-tag { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gray); border: 1px solid var(--fx-line); background: var(--fx-panel); padding: 7px 12px; border-radius: 999px; }
.fx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: fx-ping 2s infinite; }
@keyframes fx-ping { 0% { box-shadow: 0 0 0 0 rgba(0,212,106,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(0,212,106,0); } }
.fx-h1 { font-size: clamp(46px, 6.4vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 22px 0; color: var(--ink); }
.fx-grad { background: linear-gradient(100deg, #5cffb0, #00d46a 45%, #b6ffd9 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-lead { font-size: 18px; color: var(--gray); max-width: 30em; margin: 0; }
.fx-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.fx-metrics { display: flex; margin-top: 44px; border-top: 1px solid var(--fx-line); }
.fx-metrics div { padding: 18px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--fx-line); }
.fx-metrics div:last-child { border: 0; margin: 0; }
.fx-metrics b { display: block; font: 500 28px var(--fx-mono); letter-spacing: -.03em; }
.fx-metrics span { font: 500 11px var(--fx-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--gray-2); }

.fx-sec { padding-top: 110px; padding-bottom: 0; }
.fx-main .fx-sec:last-child { padding-bottom: 110px; }
.fx-h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.04em; line-height: 1.02; font-weight: 600; margin: 4px 0 14px; color: var(--ink); }
.fx-m { color: var(--gray-2); }
.fx-sub { color: var(--gray); font-size: 17px; margin: 0; }

.fx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.fx-cell { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--fx-line); background: var(--fx-panel); padding: 26px; min-height: 300px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: border-color .3s; }
.fx-cell:hover { border-color: rgba(0,212,106,.35); }
.fx-cell > * { position: relative; z-index: 1; }
.fx-cell > .fx-glow { position: absolute; z-index: 0; }
.fx-c-swap { grid-column: span 4; } .fx-c-card { grid-column: span 2; } .fx-c-gift, .fx-c-social { grid-column: span 3; }
.fx-k { font: 500 11px var(--fx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gray-2); display: flex; justify-content: space-between; gap: 10px; }
.fx-k em { font-style: normal; color: var(--green); border: 1px solid rgba(0,212,106,.3); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.fx-cell h3 { font-size: 26px; letter-spacing: -.03em; font-weight: 600; margin: 14px 0 6px; }
.fx-cell p { color: var(--gray); font-size: 15px; margin: 0; max-width: 26em; }
.fx-go { margin-top: 16px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; }
.fx-go i { font-style: normal; color: var(--green); transition: transform .25s; }
.fx-cell:hover .fx-go i { transform: translateX(4px); }
.fx-vis { margin-top: auto; padding-top: 26px; }
.fx-rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.fx-track { display: flex; gap: 10px; width: max-content; animation: fx-rail 28s linear infinite; }
.fx-track span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--fx-line); border-radius: 12px; background: rgba(0,0,0,.25); font: 500 13px var(--fx-mono); white-space: nowrap; }
.fx-track img { width: 22px; height: 22px; border-radius: 50%; }
@keyframes fx-rail { to { transform: translateX(-50%); } }
.fx-vcard { aspect-ratio: 1.586; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 16px; padding: 18px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #121615, #070908); border: 1px solid var(--fx-line-2); transform: perspective(800px) rotateX(8deg) rotateY(-10deg); transition: transform .5s cubic-bezier(.3,1,.4,1); font: 500 12px var(--fx-mono); }
.fx-cell:hover .fx-vcard { transform: perspective(800px) rotateX(0) rotateY(0); }
.fx-vcard::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(92,255,176,.18) 50%, transparent 60%); transform: translateX(-60%); transition: transform .9s; }
.fx-cell:hover .fx-vcard::after { transform: translateX(60%); }
.fx-vtop, .fx-vbot { display: flex; justify-content: space-between; align-items: center; }
.fx-chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #6b7470, #2b302e); border: 1px solid rgba(255,255,255,.15); }
.fx-num { font-size: 15px; letter-spacing: .14em; }
.fx-vbot { color: var(--gray); }
.fx-vbot b { color: var(--ink); font: italic 700 16px Geist, sans-serif; }
.fx-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fx-brands span { border: 1px solid var(--fx-line); border-radius: 12px; padding: 14px 12px; font: 500 12px var(--fx-mono); color: var(--gray); display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.2); transition: color .2s; }
.fx-brands i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.fx-cell:hover .fx-brands span { color: var(--ink); }
.fx-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.fx-bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, rgba(0,212,106,.8), rgba(0,212,106,.08)); height: var(--h); transform-origin: bottom; transform: scaleY(.35); transition: transform .7s cubic-bezier(.3,1,.4,1); transition-delay: calc(var(--i) * 40ms); }
.fx-cell:hover .fx-bars i, .fx-bars.in i { transform: scaleY(1); }

.fx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.fx-step { border: 1px solid var(--fx-line); border-radius: 22px; padding: 26px; background: var(--fx-panel); }
.fx-n { font: 500 12px var(--fx-mono); color: var(--green); display: flex; align-items: center; gap: 10px; }
.fx-n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,212,106,.5), transparent); }
.fx-step h3 { font-size: 21px; letter-spacing: -.02em; font-weight: 600; margin: 22px 0 8px; }
.fx-step p { color: var(--gray); font-size: 15px; margin: 0; }

.fx-fees { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.fx-feebig, .fx-calc { border: 1px solid var(--fx-line); border-radius: 22px; padding: 30px; background: var(--fx-panel); }
.fx-feebig { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.fx-pct { font: 500 clamp(80px, 11vw, 140px) var(--fx-mono); letter-spacing: -.06em; line-height: .9; background: linear-gradient(180deg, #fff, rgba(255,255,255,.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-feebig p { color: var(--gray); margin: 0; max-width: 24em; }
.fx-amt { font: 500 44px var(--fx-mono); letter-spacing: -.04em; margin: 8px 0 18px; }
.fx-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.fx-quick button { border: 1px solid var(--fx-line); padding: 7px 12px; border-radius: 10px; font: 500 12px var(--fx-mono); color: var(--gray); transition: all .2s; }
.fx-quick button:hover { color: var(--ink); border-color: var(--fx-line-2); }
.fx-quick button.on { color: var(--green); border-color: rgba(0,212,106,.45); background: rgba(0,212,106,.06); }
#fx-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green) var(--p, 10%), rgba(255,255,255,.1) var(--p, 10%)); outline: none; margin: 0 0 22px; }
#fx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: 0 0 16px var(--fx-glow); cursor: grab; }
#fx-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--green); cursor: grab; }
.fx-kv { display: flex; justify-content: space-between; padding: 14px 2px; border-top: 1px solid var(--fx-line); font: 500 14px var(--fx-mono); color: var(--gray); }
.fx-kv b { color: var(--ink); font-weight: 500; }
.fx-kv-top { border: 0; padding: 0; }
.fx-tot b { color: var(--green); font-size: 18px; }

.fx-trust { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--fx-line); border-radius: 22px; overflow: hidden; }
.fx-trust div { padding: 26px; border-right: 1px solid var(--fx-line); background: var(--fx-panel); }
.fx-trust div:last-child { border: 0; }
.fx-trust svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-trust b { display: block; font-weight: 600; margin: 18px 0 4px; }
.fx-trust p { color: var(--gray); font-size: 14px; margin: 0; }

.fx-final { border-radius: 28px; padding: 1px; background: linear-gradient(120deg, rgba(0,212,106,.6), rgba(255,255,255,.06) 40%, rgba(255,255,255,.06) 60%, rgba(0,212,106,.4)); }
.fx-final-in { border-radius: 27px; padding: 72px 32px; text-align: center; background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(0,212,106,.22), transparent 70%), #07090a; }
.fx-final .fx-cta { justify-content: center; }

@media (max-width: 960px) {
  html.dark .fx-hero { grid-template-columns: 1fr; padding-top: 40px; gap: 40px; }
  .fx-c-swap, .fx-c-card, .fx-c-gift, .fx-c-social { grid-column: span 6; }
  .fx-steps, .fx-fees { grid-template-columns: 1fr; }
  .fx-trust { grid-template-columns: 1fr 1fr; }
  .fx-trust div:nth-child(2) { border-right: 0; } .fx-trust div:nth-child(-n+2) { border-bottom: 1px solid var(--fx-line); }
}
@media (max-width: 560px) {
  .fx-metrics div { padding-right: 16px; margin-right: 16px; } .fx-metrics b { font-size: 22px; }
  .fx-sec { padding-top: 80px; } .fx-main .fx-sec:last-child { padding-bottom: 80px; }
  .fx-trust { grid-template-columns: 1fr; } .fx-trust div { border-right: 0 !important; border-bottom: 1px solid var(--fx-line); }
  .fx-final-in { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) { .fx-track, .fx-dot { animation: none; } }

/* ================= inner pages: prototype treatment (dark only) ================= */
/* page hero: live tag (injected by future.js), big gradient title, glowing hairline */
html.dark .page-head { position: relative; padding-top: 72px; padding-bottom: 44px; }
html.dark .page-head::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,212,106,.55) 30%, rgba(255,255,255,.12) 60%, transparent); }
html.dark .page-head .h-lg, html.dark .help-hero .h-lg, html.dark .auth .h-lg { font-size: clamp(42px, 5.6vw, 72px); letter-spacing: -.05em; line-height: 1; }
html.dark .fx-ptag { margin-bottom: 18px; }
html.dark .page-head .lead { font-size: 18px; max-width: 34em; }
html.dark .page-head + *, html.dark .page-head ~ .wrap { margin-top: 8px; }

/* panels get the glowing gradient ring of the prototype swap terminal */
html.dark .panel { border: 1px solid transparent !important; background: linear-gradient(180deg, rgba(15,18,19,.96), rgba(8,10,11,.97)) padding-box, linear-gradient(160deg, rgba(92,255,176,.42), rgba(255,255,255,.08) 28%, rgba(255,255,255,.04) 72%, rgba(0,212,106,.28)) border-box !important; }
html.dark .panel h2, html.dark .panel h3 { letter-spacing: -.03em; }

/* tab tracks: glass pill, active = lit glass */
html.dark .type-tabs, html.dark .platform-tabs, html.dark #views, html.dark #auth-mode, html.dark .toolbar .chips { background: rgba(0,0,0,.35) !important; border: 1px solid var(--fx-line); }
html.dark .type-tabs button, html.dark .platform-tabs button { font-weight: 600; }
html.dark .type-tabs button.on, html.dark .platform-tabs button.on { background: rgba(255,255,255,.07) !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1px rgba(0,212,106,.45), 0 0 24px -6px var(--fx-glow) !important; }
html.dark .chips .chip.on, html.dark .chip[aria-pressed="true"] { background: rgba(0,212,106,.1); border-color: rgba(0,212,106,.5); color: var(--green); }

/* selectable cards: thin border, lift + green ring on hover, glow when chosen */
html.dark .service-choice, html.dark .tier, html.dark .brands > *, html.dark .counters > div, html.dark .contact a, html.dark .statusbox, html.dark .level, html.dark .ladder > *, html.dark .share { background: var(--fx-panel) !important; border: 1px solid var(--fx-line) !important; color: var(--ink); transition: transform .25s, border-color .25s, box-shadow .25s; }
html.dark .service-choice:hover, html.dark .brands > *:hover, html.dark .contact a:hover, html.dark .tier:hover { transform: translateY(-3px); border-color: rgba(0,212,106,.35) !important; box-shadow: 0 20px 40px -24px rgba(0,212,106,.5); }
html.dark .service-choice.on, html.dark .tier.on { background: rgba(0,212,106,.07) !important; border-color: rgba(0,212,106,.6) !important; box-shadow: 0 0 0 1px rgba(0,212,106,.25), 0 0 30px -8px var(--fx-glow); }
html.dark .counters .dark, html.dark .kpi.dark { background: linear-gradient(160deg, rgba(0,212,106,.12), rgba(255,255,255,.02)) !important; border-color: rgba(0,212,106,.3) !important; }

/* numbers read like instruments */
html.dark .counters b, html.dark .kpi b, html.dark .total-row b, html.dark .total-row span:last-child, html.dark #est-out, html.dark .box .row > input[type=text], html.dark .ticker, html.dark .fee, html.dark .amounts button, html.dark .tier b, html.dark .q-lines .line b, html.dark .breakdown .line > span:last-child { font-family: var(--fx-mono) !important; font-weight: 500 !important; letter-spacing: -.02em; }
html.dark .counters span, html.dark .kpi span, html.dark .feebar { font-family: var(--fx-mono); letter-spacing: .03em; }

/* swap form */
html.dark .feebar { background: rgba(0,212,106,.06) !important; border: 1px solid rgba(0,212,106,.25); font-size: 13px; }
html.dark .box { background: rgba(255,255,255,.025) !important; border: 1px solid var(--fx-line); }
html.dark .box:focus-within { background: rgba(255,255,255,.04) !important; border-color: rgba(0,212,106,.55); box-shadow: 0 0 0 4px rgba(0,212,106,.1) !important; }
html.dark .asset-picker-trigger { background: rgba(255,255,255,.06) !important; border: 1px solid var(--fx-line-2); box-shadow: none !important; }
html.dark .asset-picker-panel { background: rgba(10,12,13,.96) !important; border: 1px solid var(--fx-line-2) !important; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9) !important; }
html.dark .flipwrap button, html.dark .flipwrap .flip { background: #0d1011 !important; border: 1px solid var(--fx-line-2) !important; color: var(--ink); transition: transform .35s cubic-bezier(.3,1.4,.5,1), border-color .2s; }
html.dark .flipwrap button:hover { border-color: var(--green) !important; transform: rotate(180deg); }
html.dark details.adv { border: 1px dashed var(--fx-line-2); border-radius: 14px; padding: 4px 14px; }
html.dark .tips .item .ic, html.dark .item .ic { background: rgba(255,255,255,.05) !important; border: 1px solid var(--fx-line); }

/* card + gift visuals: dot-grid stage, holographic sheen, tilt (future.js) */
html.dark .card-stage { background: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(160deg, rgba(0,212,106,.1), rgba(255,255,255,.01)) !important; border: 1px solid var(--fx-line); }
html.dark .gift-face { position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3,1,.4,1); box-shadow: 0 30px 70px -30px rgba(0,212,106,.45); border: 1px solid rgba(255,255,255,.14); }
html.dark .gift-face::before { content: ""; position: absolute; inset: -40%; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); transform: translateX(var(--fx-sheen, -60%)); transition: transform .6s; }
html.dark .gift-face { background: linear-gradient(135deg, #121615, #070908) !important; }
html.dark .perks div::before { background: transparent !important; border: 1px solid var(--green); color: var(--green) !important; }
html.dark .amounts button.on, html.dark .amounts .on { box-shadow: 0 0 24px -8px var(--fx-glow); }
html.dark .breakdown { background: rgba(255,255,255,.02) !important; border: 1px dashed var(--fx-line-2) !important; }

/* how-strip (gifts, social): numbered prototype steps */
html.dark .how-strip { counter-reset: fxs; gap: 14px; }
html.dark .how-strip > div { counter-increment: fxs; position: relative; border: 1px solid var(--fx-line); border-radius: 20px; padding: 22px 18px 18px; background: var(--fx-panel); }
html.dark .how-strip > div::before { content: "0" counter(fxs); position: absolute; top: 12px; right: 16px; font: 500 11px var(--fx-mono); color: var(--green); letter-spacing: .1em; }
html.dark .how-strip i { background: rgba(0,212,106,.08) !important; border: 1px solid rgba(0,212,106,.3); }

/* account */
html.dark .auth .pitch { background: radial-gradient(ellipse 80% 80% at 0% 0%, rgba(0,212,106,.22), transparent 60%), rgba(255,255,255,.02) !important; color: var(--ink) !important; border: 1px solid rgba(0,212,106,.25); }
html.dark .avatar { background: rgba(0,212,106,.1) !important; border: 1px solid rgba(0,212,106,.45); color: var(--green); box-shadow: 0 0 30px -8px var(--fx-glow); }
html.dark .prog { background: rgba(255,255,255,.06) !important; }
html.dark .prog > * { background: linear-gradient(90deg, #00a653, #5cffb0) !important; box-shadow: 0 0 14px var(--fx-glow); }

/* faq / help */
html.dark .help-hero { background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0,212,106,.16), transparent 70%), rgba(255,255,255,.02) !important; border: 1px solid var(--fx-line); }
html.dark .help-hero .input { background: rgba(0,0,0,.35); }
html.dark .faq details summary { transition: color .2s; }
html.dark .faq details summary:hover { color: var(--green); }
html.dark .faq details[open] { border-left: 2px solid var(--green) !important; padding-left: 14px; }

/* status timeline + stats bars */
html.dark .timeline .dotc { font-family: var(--fx-mono); font-weight: 500; background: rgba(255,255,255,.04) !important; border: 1px solid var(--fx-line-2); }
html.dark .timeline li.done .dotc { background: rgba(0,212,106,.15) !important; border-color: var(--green); color: var(--green) !important; box-shadow: 0 0 16px -4px var(--fx-glow); }
html.dark .timeline li.active .dotc { background: #050607 !important; border-color: var(--green); }
html.dark .bars div { background: linear-gradient(180deg, rgba(0,212,106,.9), rgba(0,212,106,.12)) !important; }
html.dark .routes .bar { background: rgba(255,255,255,.06) !important; }
html.dark .routes .bar i { background: linear-gradient(90deg, #00a653, #5cffb0) !important; box-shadow: 0 0 12px var(--fx-glow); }
html.dark .steps6 > * { border: 1px solid var(--fx-line); background: var(--fx-panel) !important; }

/* footer: mono column heads */
html.dark footer.site h4, html.dark footer.site b, html.dark footer.site strong { font-family: var(--fx-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
html.dark footer.site a { color: var(--gray); transition: color .2s; }
html.dark footer.site a:hover { color: var(--ink); }
@media (max-width: 600px) {
  html.dark .type-tabs, html.dark .platform-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  html.dark .type-tabs::-webkit-scrollbar { display: none; }
  html.dark .type-tabs button { padding: 10px 12px; font-size: 14px; }
}

/* card page: same black card as the home bento (tilted at rest, straightens with a green sheen on hover) */
html.dark .card-stage .vcard { background: linear-gradient(135deg, #121615, #070908) !important; color: var(--ink) !important; border: 1px solid var(--fx-line-2); box-shadow: 0 40px 80px -40px rgba(0,212,106,.45); font-family: var(--fx-mono); font-weight: 500; transform: perspective(800px) rotateX(8deg) rotateY(-10deg); transition: transform .5s cubic-bezier(.3,1,.4,1), filter .3s; }
html.dark .card-stage:hover .vcard { transform: perspective(800px) rotateX(0) rotateY(0); }
html.dark .card-stage .vcard * { color: inherit; }
html.dark .card-stage .vcard .chiprow b { font: 500 13px var(--fx-mono); letter-spacing: .12em; text-transform: uppercase; }
html.dark .card-stage .vcard .num { font-family: var(--fx-mono); font-weight: 500; letter-spacing: .14em; }
html.dark .card-stage .vcard .bottom { color: var(--gray); }
html.dark .card-stage .vcard .net, html.dark .card-stage .vcard .bottom span:last-child { color: var(--ink); font: italic 700 18px Geist, sans-serif; }
html.dark .card-stage .vcard .emv { width: 36px; height: 26px; background: linear-gradient(135deg, #6b7470, #2b302e) !important; border: 1px solid rgba(255,255,255,.15); }
html.dark .card-stage .vcard::after { background: linear-gradient(115deg, transparent 40%, rgba(92,255,176,.18) 50%, transparent 60%); transform: translateX(-60%); transition: transform .9s; }
html.dark .card-stage:hover .vcard::after { transform: translateX(60%); }
