/* Quant. White app pages with black bands (Pair) and dark product tiles with hairlines (usepaid). One accent: the blue of the logo. */
:root {
  --bg: #fff; --ink: #1d1d1f; --ink2: #424245; --dim: #6e6e73; --card: #f5f5f7; --line: rgba(0, 0, 0, .08); --line2: rgba(0, 0, 0, .14);
  --night: #0a0a0a; --tile: #141414; --tile2: #1a1a1a; --hair: rgba(255, 255, 255, .08); --hair2: rgba(255, 255, 255, .16);
  --w70: rgba(255, 255, 255, .7); --w45: rgba(255, 255, 255, .45); --w25: rgba(255, 255, 255, .25);
  --gold: #38a9f6; --gold-ink: #0b6fbe; --ok: #1f8f4e; --bad: #c2362b;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); --nav: 60px;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scrollbar-width: thin; scrollbar-color: #c7c7cc transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c7c7cc; border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #8e8e93; background-clip: content-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--ink); color: #fff; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .2s, box-shadow .3s, background .2s, color .2s, transform .2s var(--ease); }
.pill:hover { border-color: rgba(0, 0, 0, .3); }
.pill.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.solid:hover { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.pill.inv { background: #fff; border-color: #fff; color: #000; }
.pill.inv:hover { box-shadow: 0 12px 40px -12px rgba(255, 255, 255, .5); }
.pill.xl { height: 52px; padding: 0 28px; font-size: 17px; }
.pill.wide { width: 100%; }
.pill:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line2); font-size: 13px; color: var(--ink2); background: #fff; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: rgba(0, 0, 0, .3); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* nav */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); display: flex; align-items: center; gap: 14px; padding: 0 28px; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--line); transition: background .4s, color .4s, border-color .4s; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 650; letter-spacing: -.035em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; background: #000; flex: none; }
.tnav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; }
.tnav a { font-size: 14px; color: var(--ink2); transition: color .2s; }
.tnav a:hover, .tnav a.on { color: var(--ink); }
.act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 6px 0 12px; border-radius: 99px; border: 1px solid var(--line2); font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.ca b { font-weight: 500; color: var(--dim); }
.ca button { height: 24px; padding: 0 10px; border-radius: 99px; background: var(--card); font-family: var(--sans); font-size: 12px; font-weight: 500; }
.ca button.ok { color: var(--ok); }
.ib { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid transparent; transition: border-color .2s; }
.ib:hover { border-color: var(--line2); }
.ib svg { width: 15px; height: 15px; }
.burger { display: none; }
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease); }
.top.ondark { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; --navbg: #0a0a0a; }
.ondark .tnav a { color: rgba(255, 255, 255, .66); }
.ondark .tnav a:hover { color: #fff; }
.ondark .pill { border-color: rgba(255, 255, 255, .2); }
.ondark .pill.solid { background: #fff; border-color: #fff; color: #000; }
.ondark .ca { border-color: rgba(255, 255, 255, .2); }
.ondark .ca b { color: var(--w45); }
.ondark .ca button { background: rgba(255, 255, 255, .1); }
.sheet { position: fixed; inset: 0; z-index: 45; background: #fff; padding: 84px 24px 30px; display: flex; flex-direction: column; gap: 2px; transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s linear .55s; }
.sheet.on { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.sheet a { font-size: 34px; font-weight: 650; letter-spacing: -.035em; padding: 6px 0; }
html.sheet-on, html.sheet-on body { overflow: hidden; }
html.sheet-on .top { background: #fff; color: var(--ink); border-color: var(--line); --navbg: #fff; }
html.sheet-on .top .pill.solid { background: var(--ink); color: #fff; border-color: var(--ink); }

/* page shells */
.page { padding: calc(var(--nav) + 44px) clamp(16px, 4vw, 40px) 0; max-width: 1280px; margin: 0 auto; min-height: 70vh; }
.page.home { padding: 0; max-width: none; }
.h-page { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.lead { color: var(--dim); font-size: 17px; line-height: 1.5; max-width: 560px; }
.pagehead { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 40px; align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }

/* ------------------------------------------------------------ home: dark hero with product tiles */
.hero { background: var(--night); color: #fff; padding: calc(var(--nav) + 76px) clamp(16px, 4vw, 40px) 90px; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(38px, 6.2vw, 84px); line-height: 1.01; letter-spacing: -.048em; font-weight: 650; max-width: 14ch; margin: 0 auto; }
.hero h1 .w { display: inline-block; white-space: nowrap; }
.hero h1 .c { display: inline-block; text-align: center; }
.hero h1 .c.b { color: var(--gold); font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.hero .sub { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.45; color: var(--w45); max-width: 600px; margin: 22px auto 0; }
.tiles { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; max-width: 1200px; margin: 64px auto 0; text-align: left; }
.tile { position: relative; background: var(--tile); border: 1px solid var(--hair); border-radius: 28px; padding: 24px 24px 64px; overflow: hidden; }
.tile .tf { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--w70); }
.tile .tf a { color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.tile .tf a::after { content: "→"; transition: transform .3s var(--ease); }
.tile .tf a:hover::after { transform: translateX(4px); }
.kvrow { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 20px; }
.kvrow div { display: flex; flex-direction: column; gap: 2px; }
.kvrow span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--w45); }
.kvrow b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.reg { display: grid; grid-template-columns: repeat(26, 1fr); gap: 5px; }
.reg i { aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: .1; transform: scale(.7); transition: opacity .35s, transform .45s var(--ease), background .35s; }
.reg i.s { animation: sup 1.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.reg i.one { background: var(--gold); opacity: 1; transform: none; }
.reg i.zero { opacity: .16; transform: scale(.55); }
@keyframes sup { 0%, 100% { opacity: .12; transform: scale(.6); } 50% { opacity: .55; transform: scale(.95); } }
.out { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--w45); min-height: 62px; word-break: break-all; }
.out b { color: #fff; font-weight: 500; }
.out .g { color: var(--gold); }
.ask { border: 1.5px solid #fff; border-radius: 99px; height: 50px; display: flex; align-items: center; padding: 0 18px; font-size: 15.5px; white-space: nowrap; overflow: hidden; }
.ask em { font-style: normal; display: inline-block; width: 1.5px; height: 20px; background: #fff; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ans { margin-top: 10px; background: var(--tile2); border-radius: 16px; padding: 14px 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ans.on { opacity: 1; transform: none; }
.ans b { display: block; font-size: 16px; font-weight: 600; }
.ans span { display: block; color: var(--w45); font-size: 13.5px; margin-top: 2px; }
.ans .t { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.plist { margin-top: 16px; display: flex; flex-direction: column; }
.plist div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--w70); }
.plist div span:last-child { font-family: var(--mono); font-size: 11.5px; color: var(--w45); }
.plist div.hit { color: #fff; }
.plist div.hit span:last-child { color: var(--gold); }

/* bands */
.band { padding: clamp(84px, 10vw, 140px) clamp(16px, 4vw, 40px); }
.band.dark { background: #000; color: #fff; }
.band.grey { background: var(--card); }
.band > .in { max-width: 1200px; margin: 0 auto; }
.band h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.042em; font-weight: 700; text-align: center; }
.band .sub { text-align: center; color: var(--dim); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; margin: 16px auto 0; max-width: 600px; }
.band.dark .sub { color: rgba(255, 255, 255, .55); }
.center { display: flex; justify-content: center; }
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--card); margin: 40px auto 34px; position: relative; }
.toggle button { position: relative; z-index: 1; height: 38px; padding: 0 22px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--dim); transition: color .3s; }
.toggle button.on { color: var(--ink); }
.toggle .knob { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 99px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: transform .45s var(--ease), width .45s var(--ease); }
.grey .toggle, .page .toggle.onwhite { background: #e9e9ee; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 34px; font-size: 17px; }
.more::after { content: "→"; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px); }
.empty { display: grid; justify-items: center; gap: 18px; padding: 56px 20px; text-align: center; border-radius: 24px; background: var(--card); }
.empty p { font-size: 19px; color: var(--ink2); }
.band .empty { margin-top: 44px; }

/* coin cards */
.coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.coin { display: block; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px 10px 14px; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.coin:hover { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.coin .art { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #111; }
.coin .art img { width: 100%; height: 100%; object-fit: cover; }
.coin .st { position: absolute; right: 8px; top: 8px; height: 22px; padding: 0 9px; border-radius: 99px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 11px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.coin .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--w45); }
.coin .st.live::before { background: #3ddc84; }
.coin .st.measuring::before, .coin .st.queued::before { background: var(--gold); animation: blink 1.2s steps(2) infinite; }
.coin .fp { display: grid; grid-template-columns: repeat(32, 1fr); gap: 2px; margin: 10px 4px 0; }
.coin .fp i { height: 4px; border-radius: 1px; background: #e4e4e8; }
.coin .fp i.o { background: var(--gold); }
.coin .nm { display: flex; align-items: baseline; gap: 8px; margin: 10px 4px 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.coin .nm span { overflow: hidden; text-overflow: ellipsis; }
.coin .nm small { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: var(--dim); text-transform: uppercase; }
.coin .mc { margin: 4px 4px 0; display: flex; align-items: baseline; gap: 6px; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.coin .mc small { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--dim); letter-spacing: .08em; }
.coin .mc .cp { margin-left: auto; }
.cp { height: 22px; padding: 0 9px; border-radius: 99px; background: var(--card); font-size: 11px; font-weight: 500; color: var(--ink2); white-space: nowrap; flex: none; }
.cp:hover { background: #e9e9ee; }
.cp.ok { color: var(--ok); }

/* rules + machine time */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 64px; align-items: start; }
.rules div { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.rules div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.rules b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.rules span { display: block; color: rgba(255, 255, 255, .55); font-size: 16px; margin-top: 6px; max-width: 460px; }
.mt { background: #111; border-radius: 24px; padding: 26px 28px; }
.mt .hd { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); padding-bottom: 12px; }
.mt .r { display: grid; grid-template-columns: 90px 1fr 84px; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mt .r .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mt .r .bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.mt .r span:last-child { text-align: right; }
.mt .ft { margin-top: 14px; color: rgba(255, 255, 255, .45); font-size: 13.5px; }

/* programs table */
.progs { margin-top: 56px; border-top: 1px solid var(--line2); }
.progs .p { display: grid; grid-template-columns: 240px 1fr 110px 110px; gap: 24px; align-items: baseline; padding: 22px 6px; border-bottom: 1px solid var(--line2); transition: background .3s; }
.progs .p:hover { background: rgba(0, 0, 0, .025); }
.progs .p b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.progs .p p { color: var(--ink2); font-size: 15.5px; line-height: 1.5; }
.progs .p span { font-family: var(--mono); font-size: 12px; color: var(--dim); text-align: right; white-space: nowrap; }
.progs .ph { display: grid; grid-template-columns: 240px 1fr 110px 110px; gap: 24px; padding: 12px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line2); }
.progs .ph span:nth-child(n+3) { text-align: right; }

.endcta .pill { margin-top: 36px; }

/* footer */
.foot { padding: 48px clamp(16px, 4vw, 40px) 44px; border-top: 1px solid var(--line); }
.foot .in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; }
.foot .links { display: flex; gap: 22px; font-size: 14px; color: var(--ink2); margin-left: auto; }
.foot .links a:hover { color: var(--ink); }
.foot p { flex-basis: 100%; color: var(--dim); font-size: 13px; max-width: 760px; }

/* reveal */
.up { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ forms (launch) */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 16px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.panel.dark { background: var(--ink); color: #f5f5f7; border-color: var(--ink); position: sticky; top: calc(var(--nav) + 16px); }
.fld { margin-top: 18px; }
.fld:first-child { margin-top: 0; }
.fld > label, .lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.fld > label small, .lbl small { font-weight: 400; color: var(--dim); margin-left: 6px; font-size: 13.5px; }
.inp { width: 100%; background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; outline: 0; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.inp:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
textarea.inp { resize: vertical; min-height: 92px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop, .fld > label.drop { display: flex; margin: 0; gap: 16px; align-items: center; padding: 14px; border: 1px dashed var(--line2); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover { border-color: rgba(0, 0, 0, .35); background: rgba(255, 255, 255, .6); }
.drop .ph { width: 68px; height: 68px; border-radius: 14px; background: #e9e9ee; display: grid; place-items: center; overflow: hidden; flex: none; }
.drop .ph img { width: 100%; height: 100%; object-fit: cover; }
.drop .ph svg { width: 22px; height: 22px; color: var(--dim); }
.drop b { display: block; font-size: 15.5px; font-weight: 600; }
.drop span { display: block; font-size: 13.5px; color: var(--dim); }
.vars { display: flex; flex-direction: column; gap: 8px; }
.var { display: grid; grid-template-columns: 1fr 150px 36px; gap: 8px; }
.var button { border-radius: 10px; color: var(--dim); font-size: 18px; }
.var button:hover { color: var(--bad); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.note { margin-top: 12px; font-size: 13.5px; color: var(--dim); line-height: 1.5; }
.warn { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #eaf5fe; border: 1px solid #bfe0fb; color: #0b4a80; font-size: 13.5px; line-height: 1.5; }
.talk { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.talk:empty { display: none; }
.talk .m { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.talk .m.u { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.talk .m.a { align-self: flex-start; background: #fff; border: 1px solid var(--line2); border-bottom-left-radius: 4px; }
.talk .plan { align-self: flex-start; font-family: var(--mono); font-size: 11.5px; color: var(--dim); padding: 8px 12px; border: 1px dashed var(--line2); border-radius: 12px; line-height: 1.7; }
.talk .plan b { color: var(--ink); font-weight: 500; }
.panel.dark .talk .m.u { background: #fff; color: #000; }
.panel.dark .talk .m.a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: #f5f5f7; }
.panel.dark .talk .plan { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .55); }
.panel.dark .talk .plan b { color: #fff; }
.panel.dark .inp { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.panel.dark .inp:focus { border-color: #fff; box-shadow: none; }
.panel.dark .chip { background: transparent; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .75); }
.panel.dark .chip:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.panel.dark .note { color: rgba(255, 255, 255, .5); }
.cap { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .55); }
.bigv { font-size: 54px; font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 18px 0 6px; font-variant-numeric: tabular-nums; }
.kv { margin-top: 18px; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.kv > div > span:first-child { color: rgba(255, 255, 255, .55); }
.kv > div > span:last-child { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.msg { margin-top: 12px; font-size: 13.5px; color: var(--dim); line-height: 1.5; min-height: 20px; }
.msg.err { color: var(--bad); }

/* ------------------------------------------------------------ coin page */
.chead { display: grid; grid-template-columns: 112px 1fr auto; gap: 24px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.chead img { width: 112px; height: 112px; border-radius: 24px; object-fit: cover; background: #111; }
.chead h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.045em; font-weight: 700; line-height: 1.02; }
.chead h1 small { font-family: var(--mono); font-size: .32em; font-weight: 500; letter-spacing: .08em; color: var(--dim); margin-left: 10px; vertical-align: middle; }
.chead h1.sup { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: clamp(22px, 2.6vw, 32px); }
.chead h1.sup span { animation: supt 3s ease-in-out infinite; }
.chead h1.sup span:nth-child(2n) { animation-delay: -1s; }
.chead h1.sup span:nth-child(3n) { animation-delay: -2s; }
@keyframes supt { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.chead .desc { color: var(--ink2); margin-top: 8px; max-width: 640px; }
.chead .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; background: var(--card); font-size: 12.5px; font-weight: 500; color: var(--ink2); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1f8f4e; }
a.tag:hover { background: #e9e9ee; }
.cstat { text-align: right; }
.cstat b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.cstat span { font-size: 13px; color: var(--dim); }
.caline { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink2); word-break: break-all; justify-content: flex-end; }
.ctwo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.panel h3 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.panel h3 span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.panel.dark h3 span { color: rgba(255, 255, 255, .5); }
.grid256 { display: grid; grid-template-columns: repeat(32, 1fr); gap: 3px; }
.grid256 i { aspect-ratio: 1; border-radius: 2px; background: #e4e4e8; }
.grid256 i.o { background: var(--gold-ink); }
.grid256 i.x { background: #ececf0; animation: blink 1.6s steps(2) infinite; animation-delay: var(--d, 0s); }
.ft2 { width: 100%; border-collapse: collapse; margin-top: 18px; font-family: var(--mono); font-size: 12.5px; }
.ft2 th { text-align: left; font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 0 0 8px; }
.ft2 td { padding: 8px 0; border-top: 1px solid var(--line2); vertical-align: top; word-break: break-all; }
.ft2 td:first-child { color: var(--dim); width: 108px; white-space: nowrap; }
.ft2 a { text-decoration: underline; text-underline-offset: 3px; }
.qasm { margin-top: 14px; font-size: 13px; }
.qasm summary { cursor: pointer; color: var(--dim); }
.qasm pre { font-family: var(--mono); font-size: 11px; color: var(--ink2); white-space: pre-wrap; max-height: 220px; overflow: auto; background: #fff; border-radius: 12px; padding: 12px; margin: 10px 0 0; scrollbar-width: thin; }
.meter .bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; margin: 12px 0 10px; }
.meter .bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transition: transform 1.2s var(--ease); }
.meter .cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.asktools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lock { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(56, 169, 246, .12); border: 1px solid rgba(56, 169, 246, .3); color: #a9d8fb; font-size: 13.5px; line-height: 1.5; }
.jobs { margin-top: 16px; }
.job { padding: 18px 0; border-top: 1px solid var(--line2); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.job:first-child { border-top: 0; }
.job .jt b { display: block; font-size: 17px; font-weight: 600; }
.job .jt span { display: block; font-size: 12.5px; color: var(--dim); margin-top: 3px; }
.job .jt .js { display: inline-flex; margin-top: 8px; }
.job .big { font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; display: block; }
.job .res { font-size: 14.5px; color: var(--ink2); line-height: 1.6; word-break: break-word; }
.job .res b { color: var(--ink); font-weight: 600; }
.job .jm { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 8px; word-break: break-all; }
.job .q { color: var(--dim); font-size: 13.5px; margin-bottom: 6px; }
.gauge { position: relative; height: 8px; background: #e4e4e8; border-radius: 4px; margin: 12px 0 26px; }
.gauge i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 4px; }
.gauge em { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--gold-ink); font-style: normal; }
.gauge em::after { content: attr(data-l); position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; color: var(--dim); white-space: nowrap; }
.hist { display: flex; gap: 6px; align-items: flex-end; height: 56px; margin: 10px 0 22px; }
.hist i { flex: 1; background: #d9d9de; border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.hist i.hit { background: var(--ink); }
.hist i span { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--dim); font-style: normal; white-space: nowrap; }

/* search (coins) */
.searchrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.searchrow .inp { max-width: 420px; border-radius: 99px; padding: 10px 18px; }
.searchrow .toggle { margin: 0 0 0 auto; }

/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .3); display: grid; place-items: center; padding: 20px; }
.modal .box { background: #fff; border-radius: 24px; padding: 26px; width: min(400px, 100%); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .4); }
.modal h3 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.modal p { color: var(--dim); font-size: 14.5px; margin: 6px 0 16px; }
.modal .wl { display: flex; flex-direction: column; gap: 8px; }
.modal .wl a, .modal .wl button { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 14px; font-size: 15px; font-weight: 500; text-align: left; }
.modal .wl a:hover, .modal .wl button:hover { border-color: rgba(0, 0, 0, .35); }
.modal .wl img { width: 24px; height: 24px; border-radius: 6px; }
.modal .wl small { margin-left: auto; color: var(--dim); font-size: 12.5px; font-weight: 400; }
.modal .x { margin-top: 12px; width: 100%; height: 44px; border-radius: 99px; color: var(--dim); font-size: 14.5px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 110; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 99px; font-size: 14px; transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .coins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 36px; }
  .two { grid-template-columns: 1fr; }
  .panel.dark { position: static; }
  .progs .p, .progs .ph { grid-template-columns: 180px 1fr 90px; }
  .progs .p span:nth-child(3), .progs .ph span:nth-child(3) { display: none; }
}
@media (max-width: 860px) {
  .tnav, .top .ca, .top .ib.x { display: none; }
  .burger { display: block; }
  .top { padding: 0 14px; gap: 8px; }
  .page { padding: calc(var(--nav) + 24px) 14px 0; }
  .hero { padding: calc(var(--nav) + 44px) 14px 56px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .tiles { margin-top: 40px; }
  .tile { border-radius: 22px; padding: 18px 18px 56px; min-height: 0; }
  .tile .tf { left: 18px; right: 18px; }
  .reg { grid-template-columns: repeat(13, 1fr); }
  .coins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pagehead { grid-template-columns: 1fr; gap: 14px; }
  .ctwo { grid-template-columns: 1fr; }
  .chead { grid-template-columns: 76px 1fr; gap: 16px; }
  .chead img { width: 76px; height: 76px; border-radius: 18px; }
  .cstat { grid-column: 1 / -1; text-align: left; }
  .caline { justify-content: flex-start; }
  .job { grid-template-columns: 1fr; gap: 10px; }
  .progs .p, .progs .ph { grid-template-columns: 1fr 70px; gap: 6px 12px; }
  .progs .p p { grid-column: 1 / -1; grid-row: 2; }
  .progs .ph span:nth-child(2) { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .var { grid-template-columns: 1fr 110px 32px; }
  .mt .r { grid-template-columns: 76px 1fr 70px; font-size: 15px; }
  .foot .links { margin-left: 0; flex-wrap: wrap; }
  .panel { padding: 18px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .up { opacity: 1; transform: none; }
  .reg i.s, .chead h1.sup span { animation: none; }
}

/* ------------------------------------------------------------ Quant's own shape (v3): a lattice behind the hero, buttons with electrons, section heads to the left, dark sections as inset panels */
.hero { position: relative; }
.hero > * { position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 8%, #000, transparent 78%); mask-image: radial-gradient(ellipse 62% 52% at 50% 8%, #000, transparent 78%); }
.hero::after { content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 620px; transform: translateX(-50%); z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(56, 169, 246, .2), transparent); }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.qb { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 17px; font-weight: 500; white-space: nowrap; transition: border-color .35s, box-shadow .45s, transform .35s var(--ease); }
.qb.inv { background: #fff; color: #000; border-color: #fff; }
.qb::before, .qb::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--gold); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.qb:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(56, 169, 246, .3), 0 0 38px -6px rgba(56, 169, 246, .75); }
.qb:hover::before { opacity: .55; transform: translate(-6px, -3px); }
.qb:hover::after { opacity: .55; transform: translate(6px, 3px); }
.qb:active { transform: scale(.98); }
.qb .e { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px var(--gold), 0 0 20px 7px rgba(56, 169, 246, .55); offset-path: var(--path); offset-rotate: 0deg; offset-distance: 0%; opacity: 0; transition: opacity .35s; pointer-events: none; }
.qb:hover .e { opacity: 1; animation: orbit 1.7s linear infinite; }
.qb:hover .e.b { animation-delay: -.85s; }
@keyframes orbit { to { offset-distance: 100%; } }
.qb .lb { position: relative; display: inline-flex; }
.qb .lb .c { display: inline-block; text-align: center; white-space: pre; }
.qb .lb .c.b { font-family: var(--mono); color: var(--gold-ink); }
.qb:not(.inv) .lb .c.b { color: var(--gold); }

.bh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.band .bh h2 { text-align: left; font-size: clamp(30px, 3.7vw, 50px); font-weight: 650; letter-spacing: -.04em; max-width: 18ch; }
.bh p { color: var(--dim); font-size: 16.5px; line-height: 1.5; max-width: 420px; }
.bh .toggle { margin: 0; }
.band { padding: clamp(64px, 8vw, 110px) clamp(16px, 4vw, 40px); }
.band.line { border-top: 1px solid var(--line); }
.band .empty { margin-top: 0; }
.band.dark { background: transparent; color: #fff; padding: 0 clamp(10px, 1.6vw, 20px); }
.band.dark > .in { max-width: 1400px; background: var(--night); border-radius: 36px; padding: clamp(40px, 6vw, 88px) clamp(22px, 6vw, 100px); position: relative; overflow: hidden; }
.band.dark > .in::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 50% 70% at 100% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 70% at 100% 0%, #000, transparent 75%); }
.band.dark > .in > * { position: relative; }
.how { margin-top: 0; }
.mt { background: var(--tile); border: 1px solid var(--hair); }
.progs { margin-top: 0; }
.endcta { margin: clamp(64px, 8vw, 110px) 0; }
.endcta > .in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.endcta h2 { text-align: left; font-size: clamp(32px, 4.4vw, 60px); max-width: 12ch; margin-bottom: 30px; }
.endcta img { width: min(300px, 30vw); height: auto; flex: none; }
@media (max-width: 860px) {
  .band.dark > .in { border-radius: 26px; }
  .endcta > .in { flex-direction: column-reverse; align-items: flex-start; }
  .endcta img { width: 150px; margin-left: -14px; }
  .bh { margin-bottom: 28px; }
  .qb { height: 48px; padding: 0 22px; font-size: 16px; }
}
