/* Spilld, light (2026-11-30, in the listly.lol vibe): a soft cool off-white ground, near-black type, one blue accent,
   black pill buttons, white cards with hairline borders and soft shadows, blue silk lines in the hero.
   Outfit for display, Manrope for text, JetBrains Mono for numbers. No glow; the only blurred surface is the header. */
:root {
  --bg: #f4f8f6;
  --bg-2: #eaf2ee;
  --card: #ffffff;
  --card-2: #f6faf8;
  --line: rgba(6, 32, 28, 0.08);
  --line-2: rgba(6, 32, 28, 0.14);
  --fg: #06201c;
  --ink: #06201c;
  --muted: #556b66;
  --dim: #87a09a;
  --acc: #0b7d66;
  --acc-2: #086452;
  --acc-hi: #086452;
  --acc-ink: #ffffff;
  --acc-soft: rgba(11, 125, 102, 0.08);
  --acc-line: rgba(11, 125, 102, 0.3);
  --pos: #10915c;
  --pos-soft: rgba(16, 145, 92, 0.1);
  --neg: #df3a52;
  --neg-soft: rgba(223, 58, 82, 0.09);
  --shadow: 0 1px 2px rgba(6, 32, 28, 0.04), 0 10px 30px -14px rgba(6, 32, 28, 0.14);
  --shadow-lg: 0 2px 4px rgba(6, 32, 28, 0.04), 0 30px 60px -28px rgba(6, 32, 28, 0.28);
  --r: 20px;
  --r-sm: 12px;
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[data-motion='off'] { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--acc); color: var(--acc-ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.acc { color: var(--acc); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.hidden { display: none !important; }

/* ── demo strip + header ── */
.strip { font-size: 12px; text-align: center; padding: 6px 16px; color: var(--dim); }
.strip b { color: var(--acc); font-weight: 600; }
/* the header: a floating frosted pill, sticky, the only blurred surface on the page */
header.top { position: sticky; top: 0; z-index: 40; padding: 12px 16px 0; pointer-events: none; }
.nav {
  pointer-events: auto; position: relative; max-width: 940px; margin: 0 auto; height: 58px; padding: 0 8px 0 22px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  border-radius: 99px; border: 1px solid rgba(6, 32, 28, 0.09);
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 1px 2px rgba(6, 32, 28, 0.04), 0 12px 32px -18px rgba(6, 32, 28, 0.25);
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 14.5px var(--display); letter-spacing: 0.28em; width: max-content; color: var(--ink); }
.brand svg { width: 22px; height: 22px; color: var(--ink); }
.nav-links { display: flex; gap: 2px; justify-self: center; }
.nav-links a { white-space: nowrap; padding: 7px 14px; border-radius: 99px; font-size: 14px; color: var(--muted); transition: color 0.15s, background 0.15s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.on { background: rgba(6, 32, 28, 0.05); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav-right .btn-light { height: 42px; padding: 0 20px; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 99px; color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); }
.icon-btn:hover { border-color: var(--line-2); background: #fff; }
.icon-btn svg { width: 15px; height: 15px; }
.menu-btn { display: none; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 99px; font-size: 14.5px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; background: none;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-acc { background: var(--acc); color: var(--acc-ink); }
.btn-acc:hover { background: var(--acc-2); }
/* the primary pill: near-black (btn-light keeps its name from the dark theme) */
.btn-light { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(6, 32, 28, 0.55); }
.btn-light:hover { background: #222632; }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(6, 32, 28, 0.26); background: #fff; }
.btn svg { width: 16px; height: 16px; }
.btn .ar { display: inline-grid; transition: transform 0.18s; }
.btn:hover .ar { transform: translateX(3px); }

/* ── generic blocks ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--acc); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: 13px;
  color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.75);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 3px var(--pos-soft); flex: none; }
.dot.acc { background: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
html[data-motion='on'] .dot.live { animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
section { scroll-margin-top: 90px; }
h1, h2, h3 { margin: 0; font-weight: 600; font-family: var(--display); color: var(--ink); }
h2 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.04em; line-height: 1.04; }
h3 { font-size: 18px; letter-spacing: -0.015em; }
.sec { padding-top: 96px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.sec-head p { margin: 12px 0 0; color: var(--muted); max-width: 580px; }
.link-more { font-size: 14px; color: var(--muted); white-space: nowrap; }
.link-more:hover { color: var(--ink); }

/* ── market badge, side tag, gate dots ── */
.mb { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.mb i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 9px var(--mono); font-style: normal; color: #0a0d16; flex: none; letter-spacing: -0.04em; box-shadow: inset 0 0 0 1px rgba(6, 32, 28, 0.08); }
.mb img.mi { width: 22px; height: 22px; border-radius: 50%; flex: none; display: block; box-shadow: 0 0 0 1px rgba(6, 32, 28, 0.08); background: #fff; }
.mb.lg { font-size: 26px; gap: 12px; }
.mb.lg img.mi { width: 34px; height: 34px; }
.mb.lg i { width: 34px; height: 34px; font-size: 12px; }
.side { display: inline-block; padding: 2px 9px; border-radius: 6px; font: 600 12px var(--mono); }
.side.long { color: var(--pos); background: var(--pos-soft); }
.side.short { color: var(--neg); background: var(--neg-soft); }
.lev { font: 500 13px var(--mono); color: var(--muted); }
.dots { display: flex; gap: 5px; align-items: center; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(6, 32, 28, 0.1); flex: none; }
.dots i.win { background: var(--pos); }
.dots i.loss { background: var(--neg); opacity: 0.8; }
.dots i.open { background: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.dots i.here { box-shadow: 0 0 0 1.5px var(--acc) inset; }
html[data-motion='on'] .dots i.open { animation: blink 1.6s ease-in-out infinite; }

/* ── home: one screen, like listly.lol ── */
.hero { position: relative; overflow: hidden; margin-top: -70px; padding-top: 70px; min-height: calc(100vh - 30px); display: flex; align-items: center; }
/* blue silk ribbons and a few dots, drawn once in SVG (home.js); the whole layer drifts, compositor-only */
.silk {
  position: absolute; top: 0; bottom: 0; left: -48px; width: calc(100% + 96px); height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent);
}
.silk .ln path { fill: none; stroke: #0b7d66; stroke-width: 0.9; vector-effect: non-scaling-stroke; }
.silk .dt circle { fill: #7f9ccf; }
html[data-motion='on'] .silk { animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { to { transform: translate3d(-24px, 10px, 0); } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; width: 100%; padding-top: 40px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(46px, 5.6vw, 80px); letter-spacing: -0.045em; line-height: 1; margin-top: 22px; }
.hero h1 .cu { color: var(--acc); }
.hero .sub { max-width: 460px; margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
html[data-motion='on'] .rise { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
html[data-motion='on'] .rise.d1 { animation-delay: 0.08s; }
html[data-motion='on'] .rise.d2 { animation-delay: 0.16s; }
html[data-motion='on'] .rise.d3 { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* the house coin pill: the coin, its CA, copy, chart */
.coin-pill {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 6px 6px 6px 7px; max-width: 100%;
  border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8); box-shadow: var(--shadow);
}
.cp-logo { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #06201c; flex: none; position: relative; }
.cp-logo svg { width: 20px; height: 20px; color: #8be8cf; }
.cp-name { display: grid; line-height: 1.2; margin-right: 6px; }
.cp-name b { font: 600 14px var(--display); }
.cp-name small { font-size: 12px; color: var(--dim); }
.cp-ca { font-size: 12px; color: var(--muted); white-space: nowrap; }
.cp-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--card-2); font-size: 13px; font-weight: 600; color: var(--ink);
}
.cp-btn:hover { border-color: var(--line-2); background: #fff; }
.cp-btn svg { width: 14px; height: 14px; color: var(--muted); }

/* the hero object: the Orb Sack in 3D (js/mark3d.js), no background: a teal cloth sack turning over a faint reflection.
   The flat Sack shows until the first frame, and stays if WebGL is missing */
.orb-wrap { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 1; }
.s3d { position: absolute; left: 50%; top: 0; width: 88%; aspect-ratio: 1; transform: translateX(-50%); }
.s3d-mark { position: absolute; inset: 0; }
.s3d-mark > svg { position: absolute; left: 0.9%; top: 0.4%; width: 98.2%; height: 98.2%; overflow: visible; }
.s3d-mark.is-3d > svg { display: none; }
.s3d .mk3d { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
/* the reflection: the same frame drawn upside down, under the S, fading out */
.s3d-refl { position: absolute; left: 0; right: 0; top: 69.5%; height: 30%; overflow: hidden; opacity: 0.13; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.s3d-refl .mk3d { height: auto; aspect-ratio: 1; }
.s3d-refl:not(.is-3d) { display: none; }

/* the lineup dial (coin pages): thin rings, one station per perp, the open one lit, the lap traced in blue */
.dial-who { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.dial-who b { color: var(--ink); font-weight: 600; }
.dial { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; }
.dial-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-rings circle { fill: none; vector-effect: non-scaling-stroke; }
.dial-rings .r0 { stroke: rgba(6, 32, 28, 0.06); stroke-width: 1; }
.dial-rings .r1 { stroke: rgba(6, 32, 28, 0.13); stroke-width: 1; }
.dial-rings .r2 { stroke: rgba(6, 32, 28, 0.08); stroke-width: 1; stroke-dasharray: 2 6; }
.dial-rings .lap {
  stroke: var(--acc); stroke-width: 2.2; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 300px 300px;
  stroke-dasharray: 0 1000; transition: stroke-dasharray 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dial-gates { position: absolute; inset: 0; z-index: 2; }
/* a station sits on the r=258 ring (258/600 of the box from the centre), its chip kept upright */
.dial-gates .st { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(-43cqw); }
.dial-gates .chip {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) rotate(calc(-1 * var(--a)));
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 99px; white-space: nowrap;
  font: 500 11px var(--mono); color: var(--dim); background: #fff; border: 1px solid var(--line-2); box-shadow: 0 4px 12px -8px rgba(6, 32, 28, 0.35);
}
.dial-gates .chip b { color: var(--muted); font-weight: 700; }
.dial-gates .chip i { width: 7px; height: 7px; border-radius: 50%; background: rgba(6, 32, 28, 0.14); flex: none; }
.dial-gates .win .chip i { background: var(--pos); }
.dial-gates .loss .chip i { background: var(--neg); }
.dial-gates .win .chip, .dial-gates .loss .chip { color: var(--muted); }
.dial-gates .next .chip { border-color: var(--acc-line); }
.dial-gates .next .chip i { background: none; box-shadow: 0 0 0 1.5px var(--acc) inset; }
.dial-gates .open .chip { background: var(--acc); border-color: var(--acc); color: #fff; height: 32px; padding: 0 13px 0 10px; font-size: 12px; box-shadow: 0 8px 18px -8px rgba(11, 125, 102, 0.7); }
.dial-gates .open .chip b { color: #fff; }
.dial-gates .open .chip i { background: #fff; }
html[data-motion='on'] .dial-gates .open .chip i { animation: blink 1.6s ease-in-out infinite; }
.dial-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; text-align: center; }
.dial-core b { font: 600 22px var(--display); letter-spacing: -0.01em; }
.dial-core small { font: 12px var(--mono); color: var(--dim); }

/* the live gate card (coin page) */
.gate-card { padding: 18px 18px 16px; }
.gate-card .gh { display: flex; justify-content: space-between; align-items: center; font: 600 11.5px var(--mono); letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; gap: 8px; }
.gate-card .gh .tag { letter-spacing: 0.04em; }
.gate-card .gm { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.gate-card .roe { font: 600 34px var(--sans); letter-spacing: -0.04em; margin-top: 10px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.gate-card .roe small { font: 500 13px var(--mono); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.gate-card .track { position: relative; height: 6px; border-radius: 6px; margin: 14px 0 6px; background: linear-gradient(90deg, rgba(223, 58, 82, 0.18), rgba(6, 32, 28, 0.06) 66.6%, rgba(16, 145, 92, 0.2)); }
.gate-card .track b { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transform: translate(-50%, -50%); transition: left 0.6s ease; }
.gate-card .track i { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--line-2); left: 66.66%; }
.gate-card .tl { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--dim); }
.gate-card .kvs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; margin-top: 14px; }
.gate-card .kvs span { display: block; font-size: 11.5px; color: var(--dim); }
.gate-card .kvs b { display: block; font: 600 13px var(--mono); margin-top: 1px; white-space: nowrap; }
.gate-card.wide .kvs { grid-template-columns: repeat(4, 1fr); }
.gate-card .st { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.gate-card .st b { color: var(--ink); font-weight: 600; }
.meter { height: 6px; border-radius: 6px; background: rgba(6, 32, 28, 0.07); overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--acc); transition: width 0.8s ease; }

/* ── stats ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 20px 22px; }
.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font: 600 32px var(--display); letter-spacing: -0.035em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .v small { font: 500 15px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.stat .s { font: 12.5px var(--mono); color: var(--dim); margin-top: 2px; }

/* ── docs: how it works ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 22px 20px 24px; position: relative; overflow: hidden; }
.step .n { font: 600 12.5px var(--mono); color: var(--acc); }
.step h3 { margin-top: 30px; font-size: 19px; line-height: 1.25; }
.step h3 em { font-style: normal; color: var(--acc); }
.step p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.step .demo { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font: 12.5px var(--mono); color: var(--muted); display: grid; gap: 6px; }
.step .demo div { display: flex; justify-content: space-between; gap: 10px; }
.rules { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; padding: 18px 22px; font-size: 14px; color: var(--muted); align-items: center; }
.rules b { color: var(--ink); font-weight: 600; }
.rules .big { font: 700 30px var(--display); letter-spacing: -0.04em; color: var(--acc); margin-right: 4px; }

/* leverage explainer */
.levs { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.levs-copy p { color: var(--muted); font-size: 17px; margin: 18px 0 0; max-width: 460px; }
.lev-card { padding: 26px; }
.lev-pick { display: flex; gap: 6px; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-2); width: max-content; }
.lev-pick button { border: 0; background: none; height: 34px; min-width: 52px; padding: 0 14px; border-radius: 99px; font: 600 13.5px var(--mono); color: var(--muted); }
.lev-pick button.on { background: var(--ink); color: #fff; }
.lev-bar { position: relative; height: 120px; margin-top: 26px; }
.lev-bar .axis { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(6, 32, 28, 0.08); }
.lev-bar .zone { position: absolute; top: calc(50% - 14px); height: 28px; border-radius: 8px; transition: left 0.4s, width 0.4s; }
.lev-bar .zone.sl { background: var(--neg-soft); border: 1px solid rgba(223, 58, 82, 0.35); }
.lev-bar .zone.tp { background: var(--pos-soft); border: 1px solid rgba(16, 145, 92, 0.35); }
.lev-bar .mk { position: absolute; top: 0; bottom: 0; width: 1px; transition: left 0.4s; }
.lev-bar .mk span { position: absolute; transform: translateX(-50%); font: 600 12px var(--mono); white-space: nowrap; }
.lev-bar .mk.e { background: var(--ink); left: 66.66%; }
.lev-bar .mk.e span { top: -2px; color: var(--ink); }
.lev-bar .mk.sl span, .lev-bar .mk.tp span { bottom: -2px; }
.lev-bar .mk.sl { background: var(--neg); }
.lev-bar .mk.sl span { color: var(--neg); }
.lev-bar .mk.tp { background: var(--pos); }
.lev-bar .mk.tp span { color: var(--pos); }
.lev-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lev-note b { color: var(--ink); font-weight: 600; }

/* ── spills: wallet lookup ── */
.lookup { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 99px; }
.lookup svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.lookup input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font: 14.5px var(--mono); height: 40px; }
.lookup input::placeholder { color: var(--dim); font-family: var(--sans); }
.lookup:focus-within { border-color: var(--acc-line); box-shadow: 0 0 0 4px var(--acc-soft), var(--shadow); }
.samples { margin-top: 12px; font-size: 13px; color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.samples button { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; font: 12px var(--mono); color: var(--muted); }
.samples button:hover { color: var(--ink); border-color: var(--line-2); }
.result { margin-top: 16px; }
.empty { padding: 56px 24px; text-align: center; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); margin: 8px auto 22px; max-width: 440px; font-size: 14.5px; }
.wallet-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.wallet-sum .stat .v { font-size: 26px; }

/* ── tables ── */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; font-size: 11.5px; color: var(--dim); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.06em; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background 0.15s; }
.tbl tbody tr:hover { background: var(--card-2); }
.tbl .r { text-align: right; }
.tbl .mono { font-size: 13px; }
.tbl tr.now td { background: var(--acc-soft); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 99px; font: 600 11px var(--mono); border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; background: #fff; }
.tag.acc { color: var(--acc); border-color: var(--acc-line); background: var(--acc-soft); }
.tag.pos { color: var(--pos); border-color: rgba(16, 145, 92, 0.3); background: var(--pos-soft); }
.tag.neg { color: var(--neg); border-color: rgba(223, 58, 82, 0.3); background: var(--neg-soft); }

/* ── coin cards ── */
.coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.coin-card { display: block; padding: 20px; transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
.coin-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
html[data-motion='on'] .coin-card:hover { transform: translateY(-2px); }
.coin-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 700 14px var(--sans); color: #0a0d16; flex: none; overflow: hidden; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(6, 32, 28, 0.08); }
.avatar.lg { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }
.avatar.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
.coin-top .name { font-weight: 700; letter-spacing: -0.015em; }
.coin-top .tick { font: 12.5px var(--mono); color: var(--muted); }
.coin-top .age { margin-left: auto; font-size: 12px; color: var(--dim); }
.coin-gate { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--card-2); border: 1px solid var(--line); min-height: 50px; }
.coin-gate .l { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; }
.coin-gate .l .mb { font-size: 14px; }
.coin-gate .l .mb i, .coin-gate .l .mb img.mi { width: 18px; height: 18px; font-size: 8px; }
.coin-gate .r { font: 700 14px var(--mono); }
.coin-gate .wait { color: var(--muted); font-size: 13px; }
.coin-card .dots { margin-top: 14px; }
.coin-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.coin-card dt { font-size: 11.5px; color: var(--dim); }
.coin-card dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.none { padding: 48px 24px; text-align: center; color: var(--muted); }

/* ── result feed ── */
.feed { padding: 6px 0; }
.feed-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.feed-row:last-child { border-bottom: 0; }
.feed-row:hover { background: var(--card-2); }
.feed-row .avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }
.feed-row .what { font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feed-row .what span { color: var(--muted); }
.feed-row .who { font: 12px var(--mono); color: var(--dim); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-row .amt { text-align: right; font: 600 14px var(--mono); }
.feed-row .amt small { display: block; font-size: 11.5px; color: var(--dim); font-weight: 400; }
html[data-motion='on'] .feed-row.fresh { animation: fresh 1.6s ease-out; }
@keyframes fresh { from { background: rgba(11, 125, 102, 0.1); } }
.two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: start; }

/* ── faq ── */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform 0.2s; font-style: normal; color: var(--muted); background: #fff; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 700px; }

/* ── page shells ── */
.page { padding-top: 56px; padding-bottom: 40px; }
.page h1 { font-size: clamp(38px, 5vw, 58px); letter-spacing: -0.045em; line-height: 1.02; }
.page .lede { color: var(--muted); font-size: 17px; margin: 14px 0 0; max-width: 660px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 20px; }
.search { flex: 1; min-width: 240px; height: 46px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line); background: #fff; outline: none; box-shadow: var(--shadow); }
.search:focus { border-color: var(--acc-line); box-shadow: 0 0 0 4px var(--acc-soft); }
.chips { display: flex; gap: 3px; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: #fff; flex-wrap: wrap; box-shadow: var(--shadow); }
.chips button { border: 0; background: none; padding: 0 14px; height: 36px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.chips button.on { background: var(--ink); color: #fff; }

/* launch */
.launch-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 36px; align-items: start; }
.form { padding: 28px; display: grid; gap: 18px; }
.form h3 { font-size: 17px; }
.form .sep { border-top: 1px solid var(--line); margin: 6px 0 0; padding-top: 22px; display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.form .sep p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label.f { display: block; font-size: 13.5px; font-weight: 600; }
label.f .hint { font-weight: 400; color: var(--dim); margin-left: 6px; }
.inp { display: block; width: 100%; margin-top: 7px; height: 46px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--card-2); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
textarea.inp { height: auto; padding: 12px 16px; resize: vertical; min-height: 84px; }
.inp:focus { border-color: var(--acc-line); background: #fff; box-shadow: 0 0 0 4px var(--acc-soft); }
.inp::placeholder { color: var(--dim); }
.drop { margin-top: 7px; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); background: var(--card-2); cursor: pointer; }
.drop:hover { border-color: var(--acc-line); }
.drop .thumb { width: 64px; height: 64px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--dim); background-size: cover; background-position: center; flex: none; }
.drop .thumb svg { width: 22px; height: 22px; }
.drop p { margin: 0; font-size: 13.5px; color: var(--muted); }
.drop p b { color: var(--ink); font-weight: 600; }
.sol-inp { position: relative; display: block; }
.sol-inp span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); margin-top: 3.5px; font: 13px var(--mono); color: var(--dim); }
.form .actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
.err { color: var(--neg); font-size: 14px; }
.side-col { display: grid; gap: 14px; position: sticky; top: 88px; }
.notice { padding: 18px 20px; font-size: 13.5px; color: var(--muted); }
.notice b { color: var(--ink); font-weight: 600; }
.notice.warn { border-color: rgba(214, 150, 30, 0.3); background: #fffaf0; }

/* the perp lineup builder */
.lineup { display: grid; gap: 6px; }
.lrow { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 8px 8px 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card-2); }
.lrow .ix { font: 600 12px var(--mono); color: var(--dim); }
.lrow select { height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; padding: 0 10px; outline: none; min-width: 0; width: 100%; font-weight: 600; }
.lrow select:focus { border-color: var(--acc-line); }
.ls { display: flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; }
.ls button { border: 0; background: none; height: 30px; padding: 0 11px; border-radius: 7px; font: 600 12.5px var(--mono); color: var(--dim); }
.ls button.on.long { background: var(--pos-soft); color: var(--pos); }
.ls button.on.short { background: var(--neg-soft); color: var(--neg); }
.lv { display: flex; align-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; height: 38px; }
.lv button { border: 0; background: none; width: 28px; height: 100%; color: var(--muted); font-size: 16px; }
.lv button:hover { color: var(--ink); }
.lv b { min-width: 28px; text-align: center; font: 600 13px var(--mono); }
.lrow .acts { display: flex; gap: 2px; }
.lrow .acts button { border: 0; background: none; width: 28px; height: 32px; border-radius: 8px; color: var(--dim); display: grid; place-items: center; }
.lrow .acts button:hover { color: var(--ink); background: rgba(6, 32, 28, 0.05); }
.lrow .acts button[disabled] { opacity: 0.3; cursor: default; }
.lrow .acts svg { width: 14px; height: 14px; }
.lineup-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lineup-tools .count { margin-left: auto; font: 12.5px var(--mono); color: var(--dim); }

/* the "Your coin" preview */
.preview { padding: 22px; }
.preview .ph { display: flex; justify-content: space-between; align-items: start; }
.preview .ph .tag { margin-top: 4px; }
.preview .who { display: flex; align-items: center; gap: 12px; }
.preview .who .name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.preview .who .tick { font: 12.5px var(--mono); color: var(--muted); }
.preview .desc { color: var(--muted); font-size: 14px; margin: 12px 0 0; min-height: 21px; }
.pv-gates { margin-top: 16px; border-top: 1px solid var(--line); }
.pv-gates div { display: grid; grid-template-columns: 26px 1fr auto 34px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pv-gates div .ix { font: 11.5px var(--mono); color: var(--dim); }
.pv-gates div .mb i, .pv-gates div .mb img.mi { width: 20px; height: 20px; font-size: 8px; }
.pv-gates div .lev { text-align: right; }
.preview .kv { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; font-size: 13.5px; }
.preview .kv span { color: var(--muted); }
.preview .kv b { font-weight: 600; text-align: right; }
.progress { display: grid; gap: 10px; padding: 22px 24px; }
.progress .p { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--dim); }
.progress .p i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.progress .p.on { color: var(--ink); }
.progress .p.on i { border-color: var(--acc); border-top-color: transparent; }
html[data-motion='on'] .progress .p.on i { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress .p.done { color: var(--muted); }
.progress .p.done i { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.success { padding: 40px; text-align: center; }
.success .avatar { margin: 0 auto; }
.success h2 { margin-top: 22px; }
.success p { color: var(--muted); margin: 12px auto 26px; max-width: 480px; }
.success .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* coin page */
.back { font-size: 14px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.back:hover { color: var(--ink); }
.coin-head { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.coin-head h1 { font-size: clamp(34px, 4.4vw, 50px); }
.coin-head .tick { font: 15px var(--mono); color: var(--muted); margin-top: 4px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.copy { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; font: 12px var(--mono); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.copy:hover { color: var(--ink); border-color: var(--line-2); }
.copy svg { width: 12px; height: 12px; }
.coin-head .ext { margin-left: auto; display: flex; gap: 8px; }
.coin-desc { color: var(--muted); margin: 18px 0 0; max-width: 680px; }
.coin-main { display: grid; grid-template-columns: 0.95fr 1fr; gap: 14px; margin-top: 26px; align-items: start; }
.coin-main .stage-card { position: sticky; top: 88px; overflow: hidden; }
.stage-card { padding: 34px; }
.coin-side { display: grid; gap: 12px; }
.coin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.coin-stats .stat .v { font-size: 26px; }
.pot-card { padding: 20px 22px; }
.pot-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pot-card .k { font-size: 13px; color: var(--muted); }
.pot-card .v { font: 600 26px var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pot-card .v small { font: 400 14px var(--sans); color: var(--muted); }
.pot-card p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.chart-card { padding: 20px 20px 8px; margin-top: 12px; }
.chart-card .head { display: flex; justify-content: space-between; align-items: baseline; }
.chart-card svg { width: 100%; height: 200px; display: block; margin-top: 8px; }
.panel { margin-top: 12px; }
.panel .ph { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 6px; flex-wrap: wrap; }
.panel .ph p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.you { background: var(--acc-soft) !important; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font: 13px var(--mono); color: var(--dim); margin-top: 12px; }

/* ── footer: slim, like listly.lol ── */
footer.foot { margin-top: 80px; padding: 0 0 34px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.foot-links button { background: none; border: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.foot-links button:hover { color: var(--ink); }
.foot .risk { font-size: 12.5px; color: var(--dim); margin: 12px 0 0; max-width: 620px; }
.home footer.foot { margin-top: 0; }

/* ── toast & modal ── */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; z-index: 90; padding: 11px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(6, 32, 28, 0.35); backdrop-filter: blur(4px); }
.modal .box { width: 100%; max-width: 380px; padding: 24px; }
.modal h3 { font-size: 20px; }
.modal p { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.wallet-opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--card-2); text-align: left; font-weight: 600; }
.wallet-opt:hover { border-color: var(--acc-line); background: #fff; }
.wallet-opt .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #ab9ff2; }
.wallet-opt .ic svg { width: 20px; height: 20px; }
.wallet-opt small { margin-left: auto; color: var(--dim); font-weight: 400; font-size: 12px; }
.modal .close { margin-top: 12px; width: 100%; }

/* ── responsive ── */
@media (max-width: 1060px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; }
  .orb-wrap { width: min(100%, 440px); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .coins { grid-template-columns: repeat(2, 1fr); }
  .two, .launch-grid, .levs, .coin-main { grid-template-columns: 1fr; }
  .levs { gap: 30px; }
  .side-col, .coin-main .stage-card { position: static; }
  .coin-main .stage-card { max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 940px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav.open .nav-links { display: flex; position: absolute; top: 66px; left: 0; right: 0; justify-self: stretch; flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-lg); }
  .nav.open .nav-links a { padding: 12px 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .wallet-sum { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .steps, .coins { grid-template-columns: 1fr; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .sec { padding-top: 72px; }
  .sec-head { flex-direction: column; align-items: start; }
  .stat .v { font-size: 26px; }
  .lrow { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .lrow .lv { grid-column: 2; justify-self: start; }
  .lrow .acts { grid-column: 3; }
  .nav { padding-left: 16px; height: 56px; }
  .nav-right .btn-light { height: 40px; padding: 0 14px; font-size: 13.5px; }
  .nav-right .icon-btn:not(.menu-btn) { display: none; }
  .coin-pill { flex-wrap: wrap; border-radius: 22px; }
  .cp-ca { display: none; }
  .coin-pill .cp-btn + .cp-btn { display: none; }
  .dial-gates .chip { height: 24px; padding: 0 8px 0 7px; font-size: 10px; }
  .dial-gates .chip b { display: none; }
  .dial-gates .open .chip { height: 26px; font-size: 10.5px; }
  .dial-gates .open .chip b { display: inline; }
  .stage-card { padding: 18px; }
  .dial-core b { font-size: 17px; }
  .dial-core .avatar.lg { width: 46px; height: 46px; border-radius: 13px; font-size: 16px; }
  .foot-row { flex-direction: column; align-items: start; }
  .hero-grid { padding-top: 76px; padding-bottom: 72px; }
  /* a tall phone stretches the ribbons upright across the copy: keep them soft there */
  .silk { opacity: 0.5; }
}

input[type='number']::-webkit-outer-spin-button, input[type='number']::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type='number'] { -moz-appearance: textfield; appearance: textfield; }
