/* Self-hosted fonts (SIL Open Font License) — no third-party font requests */
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geistmono.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
/* zipelys — graphite + signal orange; type = DM Sans + Geist Mono */
:root {
  --b50: #F2F2F0; --b100: #FFE3D6; --b200: #FFB48F; --b300: #FF8752; --b400: #FF5F1F;
  --b500: #8A8A90; --b600: #2E2E33; --b650: #242428; --b700: #1B1B1E; --b800: #141416;
  --b900: #0E0E10; --b950: #0A0A0B;
  --w50: #F2F2F0; --w100: #DCDCD8; --w300: #B5B5B0; --w400: #8E8E8A; --w500: #7C7C78; --w600: #62625D;
  --bg: var(--b950);
  --text: var(--w50);
  --muted: var(--w400);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --panel: #111113;
  --radius: 12px;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--b400); color: var(--b900); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--b400); outline-offset: 3px; border-radius: 8px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(16, 16, 17, 0.72); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.035em; font-size: 19px; }
.brand img { border-radius: 8px; }
.brand b { color: inherit; font-weight: 700; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.block-pill {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--b200);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(19, 19, 20, 0.6);
  white-space: nowrap;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--b400); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.36); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* ---------- buttons ---------- */
.btn {
  --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--b400); color: var(--b900); box-shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.36); }
.btn-primary:hover { background: var(--b300); box-shadow: 0 10px 34px -8px rgba(0, 0, 0, 0.36); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--b400); background: rgba(255, 255, 255, 0.06); }
.btn:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); }
#ledger { position: absolute; inset: 0; width: 100%; height: 100%; cursor: none; touch-action: pan-y; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(16, 16, 17, 0.92) 0%, rgba(16, 16, 17, 0.7) 38%, rgba(16, 16, 17, 0) 70%); }
.hero-inner { position: relative; z-index: 2; max-width: 880px; padding: 80px clamp(20px, 6vw, 72px) 40px; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.eyebrow { color: var(--w400); font-size: 13px; letter-spacing: 0; text-transform: none; margin: 0 0 18px; }
h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 0 0 24px; }
.grad { color: var(--w400); }
.lede { font-size: clamp(17px, 2vw, 21px); color: var(--w100); max-width: 640px; margin: 0 0 34px; text-shadow: 0 2px 18px var(--bg); }
.redact { position: relative; color: var(--b200); font-family: var(--mono); font-size: .92em; white-space: nowrap; pointer-events: auto; cursor: default; }
.redact::after { content: ""; position: absolute; inset: -1px -3px; background: var(--b600); border-radius: 4px; transform-origin: right; transition: transform .7s var(--ease); }
.redact.revealed::after { transform: scaleX(0); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta.center { justify-content: center; margin-top: 28px; }
.hint { margin: 26px 0 0; font-size: 12.5px; color: var(--b200); opacity: .8; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desktop { display: none; } .hint-touch { display: inline; } }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); background: rgba(19, 19, 20, 0.72); backdrop-filter: blur(10px); }
.stats div { padding: 20px clamp(16px, 3vw, 32px); border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.stats dd { margin: 0; font-size: clamp(16px, 2vw, 22px); color: var(--text); }

/* ---------- sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(72px, 10vw, 130px) clamp(20px, 4vw, 40px) 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.07; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.sec-lede { color: var(--muted); font-size: 18px; margin: 0; }
.fine { font-size: 12px; color: var(--w400); }
.center { text-align: center; }

/* lab */
.lab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.lab-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .3s var(--ease), opacity .3s; }
.lab-card.locked { opacity: .5; }
.lab-card.active { border-color: var(--b400); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.125), 0 24px 60px -30px rgba(0, 0, 0, 0.3); }
.lab-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.lab-top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--b200); background: rgba(255, 255, 255, 0.05); padding: 4px 9px; border-radius: 999px; }
.lab-n { color: var(--w600); font-size: 13px; }
.input { width: 100%; height: 44px; background: rgba(19, 19, 20, 0.8); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); padding: 0 14px; font-size: 13px; }
.input:focus { outline: none; border-color: var(--b400); }
.out { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.out label { font-size: 11px; color: var(--w500); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.field { font-size: 12px; line-height: 1.5; word-break: break-all; background: rgba(19, 19, 20, 0.85); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--w100); white-space: pre-wrap; }
.field.accent { color: var(--b300); border-color: var(--line-2); }
.field.dim { color: var(--w500); }
details summary { cursor: pointer; font-size: 12px; color: var(--w500); margin: 6px 0; }
.verdict { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 12px; display: flex; gap: 10px; align-items: center; }
.verdict.ok { background: rgba(255, 255, 255, 0.06); color: var(--b200); border: 1px solid var(--line-2); }
.verdict.no { background: rgba(107,101,90,.18); color: var(--w300); border: 1px solid rgba(177,166,144,.25); }
.lab + .fine { margin-top: 16px; }

/* two views */
.views { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--b900); border: 1px solid var(--line-2); }
.sw { position: relative; z-index: 1; background: none; border: 0; color: var(--muted); font: 600 14px var(--sans); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: color .3s; white-space: nowrap; }
.sw.on { color: var(--b900); }
.sw-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--b400); transition: transform .45s var(--ease); }
.switch.yours .sw-thumb { transform: translateX(100%); }
.tx { width: 100%; max-width: 720px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.tx[data-view="yours"] { border-color: var(--b400); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.36); }
.tx-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tx-row:last-child { border-bottom: 0; }
.tx-row .k { color: var(--w500); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.tx-row .v { position: relative; min-height: 1.6em; min-width: 0; overflow-wrap: anywhere; }
.tx .you, .tx .pub { transition: opacity .35s, filter .35s, transform .35s var(--ease); display: inline-block; }
.tx .you { position: absolute; left: 0; top: 0; opacity: 0; filter: blur(6px); transform: translateY(4px); color: var(--b300); }
.tx[data-view="yours"] .you { opacity: 1; filter: none; transform: none; }
.tx[data-view="yours"] .pub { opacity: 0; filter: blur(6px); }

.ledger-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.col ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.col li { display: flex; gap: 12px; align-items: baseline; color: var(--w100); }
.col li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; transform: translateY(1px); }
.sealed { background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(35, 35, 36, 0.4)); border-color: var(--line-2); }
.sealed h3 { color: var(--b200); }
.sealed li::before { background: var(--b400); }
.open { background: rgba(28,26,20,.35); border-color: rgba(177,166,144,.18); }
.open h3 { color: var(--w300); }
.open li::before { background: transparent; border: 1.5px solid var(--w500); }
.open .fine { margin: 18px 0 0; }

/* zely */
.zely { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(500px 300px at 20% 50%, rgba(255, 255, 255, 0.08), transparent 70%), var(--b900); }
.zely-coin { position: relative; height: 280px; display: grid; place-items: center; }
.zely-coin img { position: relative; z-index: 2; width: 120px; height: 120px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.27)); }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); animation: spin 18s linear infinite; }
.ring::after { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--b400); box-shadow: none; }
.r1 { width: 170px; height: 170px; }
.r2 { width: 230px; height: 230px; animation-duration: 28s; animation-direction: reverse; border-style: dashed; }
.r3 { width: 280px; height: 280px; animation-duration: 40s; opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
.zely h2 { font-size: clamp(56px, 8vw, 96px); letter-spacing: -.04em; margin-bottom: 12px; }
.ca { display: flex; align-items: center; gap: 14px; margin: 26px 0 12px; padding: 12px 12px 12px 18px; border-radius: 14px; background: rgba(19, 19, 20, 0.9); border: 1px solid var(--line); flex-wrap: wrap; }
.ca .k { font-size: 12px; color: var(--w500); text-transform: uppercase; letter-spacing: .06em; }
.ca .v { color: var(--b200); font-size: 14px; flex: 1; min-width: 160px; }

/* network */
.net { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.net-cell { padding: 22px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; background: var(--panel); }
.net-cell:last-child { border-right: 0; }
.net-cell .k { font-size: 11px; color: var(--w500); text-transform: uppercase; letter-spacing: .08em; }
.net-cell .v { font-size: 18px; }

/* ---------- new components ---------- */
.btn-lg { --h: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 10px; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 12px; color: var(--b100); text-decoration: none;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); pointer-events: auto; transition: border-color .2s, background .2s; }
.live-chip:hover { border-color: var(--b400); background: rgba(255, 255, 255, 0.07); }
.live-chip span { color: var(--b400); }

.poster { margin: 0; }
.poster-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 24px; position: relative; }
.poster-btn::after { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.63), rgba(255, 255, 255, 0.075) 40%, rgba(255, 255, 255, 0.125));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.poster img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 50px 140px -60px rgba(0, 0, 0, 0.33); transition: transform .5s var(--ease); }
.poster-btn:hover img { transform: translateY(-3px); }
.hood { margin-top: 28px; display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; }
.hood .eyebrow { margin: 6px 0 0; }
.hood-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hood-list li { font-size: 12.5px; color: var(--b200); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; overflow-wrap: anywhere; }
.hood-list span { color: var(--w500); flex: none; }

.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.show { display: grid; gap: 10px; align-content: start; }
.show h3 { margin: 10px 0 0; font-size: 21px; }
.show p { margin: 0; color: var(--muted); font-size: 15px; }
.mock { border-radius: 20px; border: 1px solid var(--line-2); overflow: hidden; background: linear-gradient(170deg, var(--b800), var(--b950)); box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.36); transition: transform .4s var(--ease), border-color .3s; }
.show:hover .mock { transform: translateY(-4px); border-color: var(--b400); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--w500); }
.mock-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--b650); }
.mock-top span { margin-left: 8px; }
.mock-body { padding: 18px; display: grid; gap: 10px; min-height: 168px; align-content: start; }
.mock-k { font-size: 10px; color: var(--w500); text-transform: uppercase; letter-spacing: .08em; }
.mock-field { font-size: 12px; color: var(--b100); padding: 10px 12px; border-radius: 10px; background: rgba(19, 19, 20, 0.9); border: 1px solid var(--line); }
.mock-field em { display: block; font-style: normal; color: var(--b300); font-size: 11px; margin-top: 3px; }
.mock-field.sm { flex: 1; }
.mock-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.mock-pill { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; background: rgba(145,136,122,.18); color: var(--w300); }
.mock-pill.ok { background: rgba(255, 255, 255, 0.075); color: var(--b200); }
.mock-btn { font-size: 11px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); }
.mock-btn.primary { background: var(--b400); color: var(--b900); border-color: transparent; justify-self: start; }
.mock-note { padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(35, 35, 36, 0.4)); display: grid; gap: 8px; }
.mock-note p { margin: 0; color: var(--b100); font-size: 13px; }
.mock-note .big { font-size: 18px; color: var(--text); }

.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.road::before { content: ""; position: absolute; left: 8px; right: 8px; top: 15px; height: 2px; background: linear-gradient(90deg, var(--b400), rgba(255, 255, 255, 0.075)); }
.ph { position: relative; padding-top: 44px; }
.ph::before { content: ""; position: absolute; top: 7px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--b950); border: 2px solid var(--b500); }
.ph.now::before { background: var(--b400); border-color: var(--b400); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.075), 0 0 24px rgba(0, 0, 0, 0.36); }
.ph-head { margin-bottom: 14px; }
.ph-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--b300); }
.ph.now .ph-tag { color: var(--b400); }
.ph h3 { margin: 6px 0 0; font-size: 21px; }
.ph ul { list-style: none; margin: 0; padding: 18px; display: grid; gap: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); min-height: 100%; }
.ph.now ul { border-color: var(--line-2); background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(35, 35, 36, 0.45)); }
.ph li { position: relative; padding-left: 20px; font-size: 14px; color: var(--w100); line-height: 1.45; }
.ph li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 2px; border: 1.5px solid var(--b500); }
.ph li.done::before { background: var(--b400); border-color: var(--b400); }

.utility { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.utility li { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(19, 19, 20, 0.6); display: grid; gap: 4px; }
.utility b { font-size: 14.5px; color: var(--b100); }
.utility span { font-size: 13.5px; color: var(--muted); }
.zely { grid-template-columns: 340px 1fr; }
.zely-coin img { width: 150px; height: 150px; }

.closer-logo { margin: 0 auto 18px; filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.27)); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1600px); width: 100%; }
.lightbox::backdrop { background: rgba(8, 8, 9, 0.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: auto; border-radius: 18px; display: block; }
.lb-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(19, 19, 20, 0.85); color: var(--text); font-size: 16px; cursor: pointer; z-index: 2; }

/* swap & terminal */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: 24px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text);
  background: radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, 0.08), transparent 70%), var(--b900); transition: transform .4s var(--ease), border-color .3s; overflow: hidden; }
.duo-card:hover { transform: translateY(-4px); border-color: var(--b400); }
.duo-card h3 { font-size: 24px; margin: 0; }
.duo-card p { margin: 0; color: var(--muted); font-size: 15px; }
.duo-card p b { color: var(--b100); }
.duo-tag { justify-self: start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--b900); background: var(--b400); padding: 4px 9px; border-radius: 7px; }
.duo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.duo-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(19, 19, 20, 0.8); border: 1px solid var(--line); font-size: 12.5px; color: var(--w300); }
.duo-list b { color: var(--b200); font-weight: 500; }
.duo-go { font-weight: 700; color: var(--b300); }
.mini-chart { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(19, 19, 20, 0.8); border: 1px solid var(--line); }
.mini-chart i { flex: 1; height: var(--h); background: #2EBD85; border-radius: 3px; position: relative; }
.mini-chart i.d { background: #F6465D; }
.mini-chart i::before { content: ""; position: absolute; left: 50%; top: -10px; bottom: -6px; width: 1px; background: inherit; opacity: .6; }
.fee-strip { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--w400); }
.fee-strip b { color: var(--b200); } .fee-strip .sep { color: var(--w600); }

/* agents */
.agent-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.agent-copy h2 { margin-bottom: 14px; }
.agent-copy .cta { margin-top: 26px; }
.agent-demo { display: grid; gap: 10px; padding: 22px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(170deg, var(--b800), var(--b950)); box-shadow: 0 40px 120px -60px rgba(0, 0, 0, 0.36); }
.ad-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.ad-msg.me { justify-self: end; background: var(--b400); color: var(--b900); font-weight: 500; border-bottom-right-radius: 5px; }
.ad-msg.bot { background: rgba(19, 19, 20, 0.9); border: 1px solid var(--line); color: var(--w100); border-bottom-left-radius: 5px; }
.ad-msg.bot b { color: var(--b200); }
.ad-card { display: flex; justify-content: space-between; align-items: center; max-width: 86%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); font-size: 12.5px; color: var(--w300); }
.ad-card b { background: var(--b400); color: var(--b900); padding: 6px 10px; border-radius: 8px; font-weight: 600; }
.flywheel { margin-top: clamp(64px, 8vw, 100px); }
.fw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fw li { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); display: grid; gap: 10px; align-content: start; }
.fw li:first-child { border-color: var(--b400); background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(35, 35, 36, 0.5)); }
.fw-n { color: var(--b400); font-size: 13px; }
.fw h3 { margin: 0; font-size: 20px; }
.fw p { margin: 0; color: var(--muted); font-size: 14.5px; }
.fw-loop { margin: 22px 0 12px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 13px; }
.fw-loop span { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.035); color: var(--b100); }
.fw-loop i { font-style: normal; color: var(--b400); }

/* closing CTA */
.closer { margin-top: clamp(80px, 10vw, 120px); padding: clamp(40px, 6vw, 72px); border-radius: 28px; text-align: center; border: 1px solid var(--line-2);
  background: radial-gradient(600px 260px at 50% 0%, rgba(255, 255, 255, 0.11), transparent 70%), var(--b900); }
.closer h2 { margin-bottom: 12px; }
.closer .sec-lede { max-width: 560px; margin: 0 auto; }
.closer .cta { justify-content: center; margin-top: 28px; }

/* footer */
.foot { max-width: 1180px; margin: clamp(56px, 8vw, 90px) auto 0; padding: 32px clamp(20px, 4vw, 40px) 48px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.foot .fine { margin: 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--b800); border: 1px solid var(--line-2); color: var(--b100); padding: 12px 18px; border-radius: 12px; font-size: 13px; transition: all .35s var(--ease); z-index: 80; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .fw { grid-template-columns: 1fr 1fr; }
  .road { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .road::before { display: none; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .net { grid-template-columns: repeat(3, 1fr); }
  .net-cell:nth-child(3) { border-right: 0; }
  .net-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .duo, .agent-hero { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .hood { grid-template-columns: 1fr; gap: 10px; }
  .hood-list { grid-template-columns: 1fr; }
  .utility { grid-template-columns: 1fr; }
  .zely { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(16, 16, 17, 0.9) 0%, rgba(16, 16, 17, 0.8) 52%, rgba(16, 16, 17, 0.05) 70%); }
  .hero-inner { padding-bottom: 250px; }
  .lab, .tools { grid-template-columns: 1fr; }
  .ledger-split { grid-template-columns: 1fr; }
  .zely { grid-template-columns: 1fr; text-align: center; }
  .zely-coin { height: 220px; transform: scale(.85); }
  .ca { text-align: left; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .fw { grid-template-columns: 1fr; }
  .fw-loop i { display: none; }
  .road { grid-template-columns: 1fr; }
  .btn-lg { --h: 50px; padding: 0 20px; font-size: 15px; }
  .nav { gap: 10px; }
  .block-pill { display: none; }
  .steps { grid-template-columns: 1fr; }
  .tx-row { grid-template-columns: 1fr; gap: 4px; }
  .net { grid-template-columns: repeat(2, 1fr); }
  .net-cell { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .net-cell:nth-child(2n) { border-right: 0 !important; }
  .sw { padding: 10px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
