@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}

/* MinerSwap tokens: light */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --green: #00d46a;
  --green-rgb: 0, 212, 106;
  --green-text: #007a3d;
  --green-soft: #e3f9ec;
  --bg: #f7f7f8;
  --panel: #ffffff;
  --panel-2: #f2f2f4;
  --field: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #2a2b2e;
  --muted: #6b6f76;
  --line: #ececee;
  --line-2: #dedfe2;
  --amber: #a36a00;
  --amber-soft: #fff4dc;
  --red: #d93036;
  --red-soft: #ffeceb;
  --blue: #2f64d6;
  --blue-soft: #e8f0ff;
  --btn: #0b0b0c;
  --btn-ink: #ffffff;
  --hero: #00d46a;
  --hero-ink: #0b0b0c;
  --hero-muted: rgba(11, 11, 12, .72);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .22);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px -14px rgba(0, 0, 0, .14);
}

/* MinerSwap tokens: dark */
:root[data-theme="dark"] {
  color-scheme: dark;
  --green: #00d46a;
  --green-text: #3ff09a;
  --green-soft: rgba(0, 212, 106, .12);
  --bg: #050607;
  --panel: #0b0d0e;
  --panel-2: #121516;
  --field: #0f1212;
  --ink: #eef1f0;
  --ink-2: #c9cecc;
  --muted: #8b9390;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --amber: #ffb020;
  --amber-soft: rgba(255, 176, 32, .1);
  --red: #ff5d5d;
  --red-soft: rgba(255, 93, 93, .1);
  --blue: #6ea2ff;
  --blue-soft: rgba(110, 162, 255, .1);
  --btn: #00d46a;
  --btn-ink: #04140b;
  --hero: #050607;
  --hero-ink: #eef1f0;
  --hero-muted: #9aa29f;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
  --shadow-sm: 0 20px 50px -30px rgba(0, 0, 0, .9);
}

:root {
  --font: "Manrope", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.12; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

/* Icons */
.icon { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }
.icon.sm { width: 16px; height: 16px; }
.icon.xs { width: 13px; height: 13px; }
.coin-mini { display: inline-block; width: 18px; height: 18px; flex: none; }
.coin-mid { display: inline-block; width: 30px; height: 30px; flex: none; }
.coin-icon { display: block; width: 56px; height: 56px; }
.coin-mini svg, .coin-mid svg, .coin-icon svg { width: 100%; height: 100%; display: block; }

/* Testnet banner */
.testnet {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px; font-size: 13px; text-align: center;
  color: var(--amber); background: var(--amber-soft); border-bottom: 1px solid var(--line);
}

/* Nav: same floating bar as MinerSwap */
.nav-wrap { position: sticky; top: 0; z-index: 30; padding: 12px 16px 0; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1160px; margin: 0 auto; padding: 8px 8px 8px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
body[data-page="home"] .nav { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body[data-page="home"].scrolled .nav { background: color-mix(in srgb, var(--panel) 82%, transparent); border-color: var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.brand img { border-radius: 50%; }
.brand .sub { font-weight: 600; color: var(--muted); }
body[data-page="home"]:not(.scrolled) .brand .sub { color: var(--hero-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: background .2s; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
body[data-page="home"]:not(.scrolled) .nav-links > a:not(.btn) { color: var(--hero-ink); }
.nav-links > a:not(.btn):hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: var(--panel); font-size: 11.5px; font-weight: 800; }
.theme-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none; cursor: pointer;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink);
  transition: background .2s, transform .3s var(--ease);
}
body[data-page="home"]:not(.scrolled) .theme-btn { color: var(--hero-ink); border-color: color-mix(in srgb, var(--hero-ink) 15%, transparent); }
.theme-btn:hover { transform: rotate(20deg); }
.theme-btn .icon { width: 19px; height: 19px; }
.nav .short { display: none; }

/* Buttons: pills, like MinerSwap */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--ink); font-weight: 800; font-size: 14.5px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s, opacity .2s;
}
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.btn.primary:hover { box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--btn) 70%, transparent); transform: translateY(-1px); }
.btn.green { background: var(--green); color: #04140b; border-color: transparent; }
.btn.danger { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 40%, transparent); color: var(--red); }
.btn.ghost { background: transparent; }
.btn.small { height: 38px; padding: 0 15px; font-size: 13.5px; }
.btn.big { height: 56px; padding: 0 26px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.busy { cursor: progress; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; color: var(--ink-2); transition: border-color .2s, color .2s; }
.icon-btn:hover { color: var(--ink); border-color: var(--green); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: var(--green-text); font-weight: 800; cursor: pointer; }
.ext { display: inline-flex; align-items: center; gap: 6px; color: var(--green-text); font-weight: 700; font-size: 14px; }
.ext:hover { text-decoration: underline; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Living background (every page) ---------- */
:root { --blob-1: rgba(0, 212, 106, .22); --blob-2: rgba(63, 240, 154, .2); --blob-3: rgba(0, 166, 83, .14); --dot: rgba(11, 11, 12, .09); --spot: rgba(0, 212, 106, .12); }
:root[data-theme="dark"] { --blob-1: rgba(0, 212, 106, .16); --blob-2: rgba(63, 240, 154, .08); --blob-3: rgba(0, 120, 70, .18); --dot: rgba(255, 255, 255, .07); --spot: rgba(0, 212, 106, .09); }
#app > * { position: relative; z-index: 1; }
#app > .nav-wrap { position: sticky; z-index: 30; }
#app > .backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; will-change: transform; }
.b1 { top: -26vmax; left: -18vmax; background: radial-gradient(circle, var(--blob-1), transparent 62%); animation: drift1 28s ease-in-out infinite alternate; }
.b2 { top: 8vh; right: -30vmax; background: radial-gradient(circle, var(--blob-2), transparent 62%); animation: drift2 34s ease-in-out infinite alternate; }
.b3 { bottom: -38vmax; left: 18vw; background: radial-gradient(circle, var(--blob-3), transparent 62%); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 14vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vmax, -14vmax) scale(1.2); } }
.dots { position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1.1px, transparent 1.4px); background-size: 26px 26px; mask: radial-gradient(90% 70% at 50% 0%, #000 20%, transparent 75%); -webkit-mask: radial-gradient(90% 70% at 50% 0%, #000 20%, transparent 75%); }
.spot { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), var(--spot), transparent 65%); }
@media (hover: none) { .spot { display: none; } }

/* ---------- Hero ---------- */
body[data-page="home"] .nav-wrap { margin-bottom: -78px; }
.hero { max-width: 1160px; margin: 0 auto; padding: 128px 20px 70px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 800; color: var(--ink); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0, 212, 106, .6); animation: ping 1.8s ease-out infinite; flex: none; }
.hero h1 { margin-top: 22px; font-size: clamp(44px, 6.2vw, 78px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.hero mark { color: inherit; padding: 0 .06em; margin: 0 -.03em; border-radius: .12em; background: linear-gradient(transparent 56%, var(--green) 56%, var(--green) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; animation: marker .9s .35s var(--ease) forwards; }
:root[data-theme="dark"] .hero mark { background-image: linear-gradient(transparent 56%, rgba(0, 212, 106, .55) 56%, rgba(0, 212, 106, .55) 92%, transparent 92%); }
@keyframes marker { to { background-size: 100% 100%; } }
.lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: var(--green-text); }

/* Live demo card */
.demo-wrap { position: relative; }
.demo-glow { position: absolute; inset: 8% 6%; border-radius: 40px; background: radial-gradient(circle at 50% 40%, rgba(0, 212, 106, .45), transparent 70%); filter: blur(30px); opacity: .7; animation: glowBreath 5s ease-in-out infinite; }
@keyframes glowBreath { 50% { opacity: .35; transform: scale(.94); } }
.demo { position: relative; display: grid; gap: 16px; padding: 22px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; transition: border-color .4s, box-shadow .4s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-.4deg); } }
.demo.flash { animation: float 7s ease-in-out infinite, flash .5s var(--ease); }
@keyframes flash { 40% { box-shadow: 0 0 0 6px var(--green-soft), var(--shadow); } }
.demo.is-done { border-color: var(--green); }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.demo-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-title b { display: block; font-size: 17px; }
.demo-title small { color: var(--muted); font-size: 12.5px; }
.demo-amount { display: flex; align-items: baseline; gap: 6px; }
.demo-amount .coin-mini { align-self: center; }
.demo-amount b { font-size: 26px; letter-spacing: -.03em; }
.demo-amount span { font-weight: 800; color: var(--muted); font-size: 13px; }
.demo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.demo-steps li { display: grid; gap: 7px; }
.demo-steps li span { height: 5px; border-radius: 99px; background: var(--panel-2); overflow: hidden; position: relative; }
.demo-steps li.done span { background: var(--green); }
.demo-steps li.done { color: var(--ink-2); }
.demo-steps li.now { color: var(--ink); }
.demo-steps li.now span::after { content: ""; position: absolute; inset: 0; width: 45%; background: var(--green); border-radius: inherit; animation: sweep 1.4s ease-in-out infinite; }
.demo-state { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: var(--panel-2); min-height: 82px; }
.demo-state > div:last-child { flex: 1; display: grid; gap: 8px; }
.demo-text { font-weight: 700; font-size: 14.5px; }
.demo .bar i { transition: width 2.4s linear; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.demo-keys { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-keys span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 99px; font-size: 12px; font-weight: 800; color: var(--muted); background: var(--panel-2); transition: background .3s, color .3s, transform .3s var(--ease); }
.demo-keys img { width: 15px; height: 15px; border-radius: 50%; }
.demo-keys span.on { background: var(--green); color: #04140b; transform: translateY(-2px); }
.sigs { font-size: 12px; font-weight: 800; color: var(--muted); }
.demo-release { width: 100%; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { box-shadow: 0 0 0 6px var(--green-soft); } }
.mini-confetti { position: absolute; left: 50%; top: 55%; pointer-events: none; }
.mini-confetti i { position: absolute; width: 7px; height: 11px; border-radius: 2px; animation: pop-out 1s var(--ease) forwards; }
@keyframes pop-out { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(400deg); opacity: 0; } }

/* Ticker band */
.ticker { margin: 30px 0 10px; overflow: hidden; background: var(--green); color: #0b0b0c; transform: rotate(-1.6deg) scale(1.04); border-block: 2px solid #0b0b0c; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; font-size: 15px; font-weight: 800; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: 100px 20px 0; }
.section-head { max-width: 700px; margin-bottom: 40px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--green-text); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.section h2 { font-size: clamp(30px, 4.3vw, 48px); font-weight: 800; letter-spacing: -.045em; }
.section h2 .dim { color: var(--muted); }

/* Journey: a coin travels along the four steps */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.journey-line { position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.journey-coin { position: absolute; top: -10px; left: 0; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; box-shadow: 0 0 0 5px var(--green-soft), 0 0 22px rgba(0, 212, 106, .7); animation: travel 8s linear infinite; }
.journey-coin .coin-mini { width: 22px; height: 22px; }
@keyframes travel { 0% { left: 0; } 92%, 100% { left: 100%; } }
.stop { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 8px; padding: 0 6px; }
.stop-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; background: var(--panel); border: 1.5px solid var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); animation: stopGlow 8s linear infinite; animation-delay: calc(var(--i) * 2.45s); }
.stop-icon .icon { width: 26px; height: 26px; }
@keyframes stopGlow { 0% { border-color: var(--green); color: var(--green-text); transform: scale(1.08); box-shadow: 0 0 0 7px var(--green-soft); } 18%, 100% { border-color: var(--line-2); color: var(--ink); transform: none; box-shadow: var(--shadow-sm); } }
.stop .step-n { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.stop h3 { font-size: 19px; }
.stop p { color: var(--muted); font-size: 14.5px; max-width: 240px; }

/* Lock lab */
.lab { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 40px; border-radius: 36px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lab-copy h2 { margin-bottom: 14px; }
.lab-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.lab-key { position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 10px 14px; border-radius: 22px; cursor: pointer; border: 1.5px solid var(--line-2); background: var(--bg); transition: transform .25s var(--ease), border-color .2s, background .2s, box-shadow .25s; }
.lab-key:hover { transform: translateY(-3px); }
.lab-key .icon { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: var(--panel-2); color: var(--ink); }
.lab-key img { width: 42px; height: 42px; border-radius: 50%; }
.lab-key span { font-weight: 800; font-size: 14.5px; }
.lab-key small { font-size: 11.5px; color: var(--muted); font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.lab-key.on { border-color: var(--green); background: var(--green-soft); box-shadow: 0 10px 30px -14px rgba(0, 212, 106, .8); }
.lab-key.on .icon { background: var(--green); color: #04140b; }
.lab-key.on::after { content: "✓"; position: absolute; top: 8px; right: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 800; background: var(--green); color: #04140b; }
.lab-stage { position: relative; display: grid; justify-items: center; gap: 14px; padding: 24px 10px 6px; }
.lab-rings { position: absolute; top: 4px; left: 50%; width: 220px; height: 220px; margin-left: -110px; pointer-events: none; }
.lab-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--line-2); animation: spin 30s linear infinite; }
.lab-rings i + i { inset: 26px; animation-duration: 18s; animation-direction: reverse; border-style: dotted; }
.lab-lock { position: relative; width: 120px; height: 140px; margin-top: 30px; }
.lab-lock svg { width: 100%; height: 100%; overflow: visible; }
.lab-lock .shackle { stroke: var(--ink); transform-origin: 86px 62px; transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), stroke .3s; }
.lab-lock .body { fill: var(--ink); transition: fill .3s; }
.lab-lock .hole { fill: var(--panel); }
.lab-lock.open .shackle { transform: translateY(-16px) rotate(28deg); stroke: var(--green); }
.lab-lock.open .body { fill: var(--green); }
.lab-lock.open .hole { fill: #04140b; }
.lab-lock.deny .body { fill: var(--red); }
.lab-lock.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.lab-count { font-size: 14px; font-weight: 800; color: var(--muted); }
.lab-count b { font-size: 22px; color: var(--ink); }
.lab-result { width: 100%; padding: 16px 18px; border-radius: 20px; background: var(--panel-2); text-align: center; min-height: 104px; transition: background .3s; }
.lab-result h3 { font-size: 17px; margin-bottom: 6px; }
.lab-result p { color: var(--muted); font-size: 14px; }
.lab-result.yes { background: var(--green-soft); }
.lab-result.yes h3 { color: var(--green-text); }
.lab-result.no { background: var(--red-soft); }
.lab-result.no h3 { color: var(--red); }

/* Swap */
.swap-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 46px; border-radius: 36px; background: #0b0b0c; color: #f1f2f4; border: 1px solid #1f2124; overflow: hidden; position: relative; }
.swap-card::before { content: ""; position: absolute; right: -10%; top: -40%; width: 70%; height: 180%; background: radial-gradient(circle, rgba(153, 69, 255, .22), transparent 60%); pointer-events: none; }
.swap-card .muted { color: #9a9ea6; }
.swap-card .kicker { color: #3ff09a; }
.swap-card h2 { margin-bottom: 14px; }
.swap-card p + p { margin-top: 10px; }
.grad { background: linear-gradient(90deg, #9945ff, #14f195); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 0 46px; }
.flow-coin { display: grid; justify-items: center; gap: 8px; font-size: 14px; z-index: 1; }
.flow-coin .coin-icon { width: 62px; height: 62px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)); animation: bob 3.2s ease-in-out infinite; }
.flow-coin:last-of-type .coin-icon { animation-delay: -1.6s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.flow-pipe { position: relative; width: 200px; height: 60px; flex: none; }
.flow-pipe svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-pipe path { stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-dasharray: 3 7; }
.flow-pipe i { position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; offset-path: path("M0 30 C 60 0, 140 60, 200 30"); offset-rotate: 0deg; animation: pipe 2.1s linear infinite; animation-delay: var(--d); opacity: 0; }
@keyframes pipe { 0% { offset-distance: 0%; background: #345d9d; opacity: 0; transform: scale(.6); } 10% { opacity: 1; } 50% { background: #14f195; transform: scale(1.2); box-shadow: 0 0 12px #14f195; } 90% { opacity: 1; } 100% { offset-distance: 100%; background: #9945ff; opacity: 0; transform: scale(.6); } }
.rate { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12.5px; color: #9a9ea6; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); white-space: nowrap; }
.rate:empty { display: none; }

/* Bento fees */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 24px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile.big { grid-column: span 2; grid-row: span 2; background: #0b0b0c; color: #f1f2f4; border-color: #1f2124; }
.tile.big p { color: #9a9ea6; }
.tile.big b { font-size: clamp(80px, 11vw, 140px); color: #00d46a; }
.tile.accent { background: var(--green); color: #0b0b0c; border-color: transparent; }
.tile.accent p, .tile.accent .tile-label { color: rgba(11, 11, 12, .7); }
.tile-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile b { font-size: 40px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tile p { color: var(--muted); font-size: 14px; }

/* FAQ + final call */
.faqs { display: grid; gap: 10px; max-width: 820px; }
.faq { border-radius: 22px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.faq[open] { border-color: var(--green); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chevron { transform: rotate(90deg); transition: transform .3s var(--ease); color: var(--muted); }
.faq[open] .chevron { transform: rotate(-90deg); color: var(--green-text); }
.faq p { padding: 0 22px 20px; color: var(--ink-2); }
.cta-final { max-width: 1160px; margin: 100px auto 0; padding: 0 20px; }
.cta-box { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 16px; padding: 70px 24px; text-align: center; border-radius: 36px; background: var(--green); color: #0b0b0c; }
.cta-box h2 { position: relative; font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.045em; }
.cta-box p { position: relative; font-weight: 700; opacity: .7; }
.cta-box .btn { position: relative; }
.cta-box .btn.primary { background: #0b0b0c; color: #fff; }
.cta-rings i { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%; border: 2px solid rgba(11, 11, 12, .14); animation: ripple 6s linear infinite; }
.cta-rings i:nth-child(2) { animation-delay: 2s; }
.cta-rings i:nth-child(3) { animation-delay: 4s; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(4.2); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 118px; }
  .demo-wrap { max-width: 460px; width: 100%; justify-self: center; }
  .lab, .swap-card { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 28px; padding-left: 4px; }
  .journey-line { top: 32px; bottom: 32px; left: 35px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .journey-coin { top: 0; left: -10px; margin: -11px 0 0; animation-name: travelY; }
  @keyframes travelY { 0% { top: 0; } 92%, 100% { top: 100%; } }
  .stop { grid-template-columns: 64px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
  .stop-icon { grid-row: span 3; }
  .stop .step-n { margin-top: 0; }
  .lab { padding: 24px 18px; border-radius: 28px; }
  .swap-card { padding: 28px 20px; border-radius: 28px; }
}
@media (max-width: 640px) {
  .hero { padding: 104px 16px 40px; }
  .lead { font-size: 16px; }
  .section { padding: 72px 16px 0; }
  .lab-keys { gap: 8px; }
  .lab-key { padding: 14px 6px 12px; }
  .flow-pipe { width: 150px; }
  .flow-pipe i { offset-path: path("M0 30 C 45 0, 105 60, 150 30"); }
  .bento { grid-template-columns: 1fr; }
  .tile.big { grid-column: auto; grid-row: auto; }
  .cta-final { padding: 0 16px; margin-top: 72px; }
  .ticker span { padding: 12px 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .ticker-track, .journey-coin, .stop-icon, .demo, .flow-pipe i, .cta-rings i, .lab-rings i { animation: none !important; }
  .hero mark { background-size: 100% 100%; }
}

/* Footer */
.foot { max-width: 1160px; margin: 70px auto 0; padding: 26px 20px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; }
.foot-brand img { border-radius: 50%; }
.foot-links { display: flex; gap: 18px; }
.foot .ext { color: var(--ink-2); }

/* App pages */
.wrap { max-width: 1160px; margin: 0 auto; padding: 28px 20px 20px; min-height: 60vh; }
.narrow { max-width: 600px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--muted); font-weight: 700; font-size: 14px; }
.back:hover { color: var(--ink); }
.page-title { font-size: 34px; margin: 10px 0 6px; }
.card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card.center { text-align: center; display: grid; justify-items: center; gap: 12px; }
.card.loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 160px; color: var(--muted); }
.card.loading.flat { background: none; border: 0; box-shadow: none; min-height: 140px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--green-soft); border-top-color: var(--green); animation: spin .8s linear infinite; }

/* Forms */
.form { display: grid; gap: 20px; }
.form-head h1 { font-size: 30px; margin: 10px 0 4px; overflow-wrap: anywhere; }
.field { display: grid; gap: 8px; }
.field-label { font-size: 13.5px; font-weight: 800; color: var(--ink-2); }
.hint { font-size: 12.5px; color: var(--muted); }
input:not([type="checkbox"]), textarea {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--field); outline: none; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .7; }
.amount { position: relative; }
.amount input { padding-right: 100px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.amount .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink-2); }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick button {
  display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 18px; text-align: left; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--field); transition: border-color .2s, background .2s, box-shadow .2s;
}
.role-pick button .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--panel-2); color: var(--muted); }
.role-pick b { display: block; font-size: 15px; }
.role-pick small { color: var(--muted); font-size: 12.5px; }
.role-pick button.on { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.role-pick button.on .icon { background: var(--green-soft); color: var(--green-text); }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--panel-2); width: fit-content; }
.seg button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; font-weight: 800; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-sm); }
.address-box { display: grid; gap: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.form-error { color: var(--red); font-size: 14px; font-weight: 600; }
.form-error:empty { display: none; }
.deal-sum { display: grid; gap: 8px; padding: 18px; border-radius: 18px; background: var(--panel-2); }
.big-amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.big-amount .coin-mid { align-self: center; }
.big-amount b { font-size: 34px; letter-spacing: -.035em; }
.big-amount span { font-weight: 800; color: var(--ink-2); }
.big-amount small { color: var(--muted); }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.kv > span:first-child { color: var(--muted); }
.kv code { color: var(--ink-2); }
.kv.strong b { font-size: 17px; }
.terms { padding: 14px 16px; border-radius: 16px; background: var(--panel-2); }
.terms p { margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); font-size: 14px; }

.copy-field { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.copy-field code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: var(--ink); line-height: 1.45; padding: 4px 0; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }

/* Modal */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(5, 6, 7, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; overflow-y: auto; }
.overlay.open { opacity: 1; }
.modal {
  width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px; border-radius: 28px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .5);
  transform: translateY(14px) scale(.98); transition: transform .3s var(--ease);
}
.overlay.open .modal { transform: none; }
.created, .confirm { display: grid; gap: 16px; }
.created h2, .confirm h2 { font-size: 24px; }
.burst { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #04140b; background: var(--green); box-shadow: 0 0 0 8px var(--green-soft); animation: pop .5s var(--ease); }
.burst .icon { width: 28px; height: 28px; }
.burst.big { width: 80px; height: 80px; margin: 0 auto; }
.burst.big .icon { width: 38px; height: 38px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.link-block { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--panel-2); }
.link-block.warn { background: var(--amber-soft); }
.link-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--panel); font-size: 12px; font-weight: 800; }
.tag { padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
.link-block.warn .copy-field { background: var(--panel); }
.summary { display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px; background: var(--panel-2); }
.verified { display: flex; align-items: center; gap: 6px; color: var(--green-text); font-size: 13.5px; font-weight: 600; }
.warn-text { display: flex; align-items: center; gap: 6px; color: var(--amber); font-size: 13.5px; font-weight: 600; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 16px; font-size: 14px; color: var(--ink-2); background: var(--amber-soft); }
.callout .icon { margin-top: 2px; color: var(--amber); }
.callout.ok { background: var(--green-soft); }
.callout.ok .icon { color: var(--green-text); }
.callout.danger { background: var(--red-soft); }
.callout.danger .icon { color: var(--red); }

/* Escrow page */
.escrow-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 22px; }
.escrow-head h1 { font-size: clamp(26px, 3.6vw, 36px); margin-top: 12px; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); }
.chip.switch { cursor: pointer; color: var(--green-text); background: var(--green-soft); border-color: transparent; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 800; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.green { color: var(--green-text); background: var(--green-soft); }
.pill.green i { animation: ping 1.8s ease-out infinite; }
.pill.amber { color: var(--amber); background: var(--amber-soft); }
.pill.amber i { animation: blink 1.2s ease-in-out infinite; }
.pill.red { color: var(--red); background: var(--red-soft); }
.pill.blue { color: var(--blue); background: var(--blue-soft); }
.pill.grey { color: var(--muted); background: var(--panel-2); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 212, 106, .6); } 100% { box-shadow: 0 0 0 7px rgba(0, 212, 106, 0); } }
@keyframes blink { 50% { opacity: .3; } }
.head-amount { display: flex; align-items: baseline; gap: 8px; }
.head-amount .coin-mid { align-self: center; }
.head-amount b { font-size: 36px; letter-spacing: -.035em; }
.head-amount span { font-weight: 800; color: var(--ink-2); }
.head-amount small { color: var(--muted); }

.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.progress li { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; font-weight: 800; color: var(--muted); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.progress .dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; background: var(--panel-2); flex: none; }
.progress li.done { color: var(--ink-2); }
.progress li.done .dot { background: var(--green); color: #04140b; }
.progress li.now { color: var(--ink); border-color: var(--green); }
.progress li.now .dot { background: var(--green-soft); color: var(--green-text); }
.progress li.now::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 40%; background: linear-gradient(90deg, transparent, var(--green), transparent); animation: sweep 1.8s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.progress.dead li { opacity: .5; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.col-main, .col-side { display: grid; gap: 18px; }
.card.main { display: grid; gap: 16px; }
.card.main h2 { font-size: 24px; }
.card.main h2 em { font-style: normal; color: var(--green-text); }
.card.side { display: grid; gap: 10px; padding: 22px; }
.card.side h3 { display: flex; align-items: center; gap: 6px; font-size: 16px; margin-bottom: 4px; }
.state-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; }
.state-icon .icon { width: 26px; height: 26px; }
.state-icon.amber { color: var(--amber); background: var(--amber-soft); }
.state-icon.green { color: var(--green-text); background: var(--green-soft); }
.state-icon.red { color: var(--red); background: var(--red-soft); }
.state-icon.grey { color: var(--muted); background: var(--panel-2); }
.card.center .state-icon { margin: 0 auto; }

.deposit-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.deposit-grid > div { display: grid; gap: 12px; }
.qr { padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.qr svg { display: block; }
.amount-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.waiting { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-weight: 700; }
.radar { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.radar::before, .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: radar 2s ease-out infinite; }
.radar::after { animation-delay: 1s; }
@keyframes radar { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.seen { display: grid; gap: 8px; }
.bar { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width .8s var(--ease); }

.locked { display: flex; align-items: center; gap: 18px; }
.lock-anim { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; color: var(--green-text); background: var(--green-soft); animation: lockPulse 2.6s ease-in-out infinite; }
.lock-anim .icon { width: 32px; height: 32px; }
@keyframes lockPulse { 50% { box-shadow: 0 0 0 8px var(--green-soft); } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
blockquote { margin: 0; padding: 12px 16px; border-left: 3px solid var(--red); border-radius: 0 14px 14px 0; background: var(--red-soft); }
blockquote p { margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.card.done { text-align: center; justify-items: center; }
.swap-status { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 18px; background: var(--panel-2); }
.swap-status.ok { background: var(--green-soft); }
.swap-mini { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.swap-status .ext { margin-top: 4px; }

.verify .key-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 8px 11px; border-radius: 12px; background: var(--panel-2); }
.verify .key-row span { color: var(--muted); font-weight: 700; }
.verify .key-row em { color: var(--green-text); font-style: normal; }
.verify .copy-field code { font-size: 12px; }
details.mini summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.script { display: block; margin-top: 6px; font-size: 11px; overflow-wrap: anywhere; color: var(--ink-2); }
.activity h3 { font-size: 16px; margin-bottom: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { position: relative; display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: start; padding: 0 0 16px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; width: 1px; background: var(--line-2); }
.timeline .dot { width: 13px; height: 13px; margin-top: 4px; border-radius: 50%; background: var(--panel); border: 2px solid var(--green); }
.timeline li:not(:first-child) .dot { border-color: var(--line-2); }
.timeline p { font-size: 14px; color: var(--ink-2); }
.timeline time { font-size: 12px; color: var(--muted); white-space: nowrap; }

.list { display: grid; gap: 10px; margin-top: 18px; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; transition: border-color .2s, transform .2s var(--ease); }
.list-item:hover { border-color: var(--green); transform: translateY(-2px); }
.list-item > span:nth-child(2) { flex: 1; display: grid; }
.list-item small { color: var(--muted); }
.admin-list { display: grid; gap: 12px; }
.admin-list h2 { font-size: 20px; margin-top: 14px; }
.admin-row { display: grid; gap: 12px; padding: 18px 20px; }
.admin-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100vw - 32px);
  padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--ink); color: var(--panel); box-shadow: var(--shadow);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red); color: #fff; }

.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: .6; } }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
}
@media (max-width: 640px) {
  .nav-wrap { padding: 10px 10px 0; }
  .brand { font-size: 16px; }
  .brand .sub { display: none; }
  .lead { font-size: 16px; }
  .section { padding: 64px 16px 0; }
  .cta-final { padding: 0 16px; margin-top: 64px; }
  .wrap { padding: 20px 16px 10px; }
  .card { padding: 20px; }
  .deposit-grid { grid-template-columns: 1fr; justify-items: center; }
  .deposit-grid > div { width: 100%; }
  .progress { gap: 4px; }
  .progress li { flex-direction: column; gap: 6px; padding: 10px 4px; font-size: 11px; text-align: center; }
  .role-pick { grid-template-columns: 1fr; }
  .modal { padding: 22px; }
  .hero-cta .btn { flex: 1; }
}
@media (max-width: 480px) {
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .nav-links { gap: 2px; }
  .nav-links > a:not(.btn) { padding: 8px; }
  .theme-btn { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) and (min-width: 641px) {
  .tile.big { grid-row: auto; }
  .tile.accent { grid-column: span 2; }
}
#app { overflow-x: clip; }
