/* Dazzel — black + chrome theme (dystopian) */
:root {
  --bg: #060607;
  --paper: #0f0f12;
  --ink: #ededf0;
  --ink-2: #c4c4cb;
  --muted: #85858f;
  --faint: #55555e;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.12);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9d9de 38%, #8d8d96 62%, #e9e9ee 100%);
  --silver: #d8d8de;
  --up: #7ee2a8;
  --down: #ff6b5e;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: #e9e9ee; color: #0a0a0b; }
.muted { color: var(--muted); }
.sm { font-size: 11px; }
code, pre { font-family: var(--mono); }
.bi { display: inline-block; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -3px; }
.crow .nmw { display: flex; align-items: center; gap: 14px; }
.crow .nmw .bi { width: 22px; height: 22px; color: var(--ink-2); }
.mrow .nm { display: flex; align-items: center; gap: 10px; }
.mrow .nm .bi { width: 14px; height: 14px; color: var(--muted); }
.dd-menu li { display: flex; align-items: center; gap: 10px; }
.dd-btn .bi { color: #fff; }

/* hero backdrop: photo + fog + ash + grain */
.hero-bg { position: absolute; left: 0; right: 0; top: 0; height: 1180px; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6,6,7,.92) 0%, rgba(6,6,7,.55) 45%, rgba(6,6,7,.2) 75%, rgba(6,6,7,.55) 100%),
  linear-gradient(180deg, rgba(6,6,7,.35) 0%, transparent 30%, rgba(6,6,7,.6) 70%, var(--bg) 100%); }
.hb-img { position: absolute; inset: -4%; background: url(/img/bg/megacity-bg.jpg) 72% 30% / cover no-repeat; filter: grayscale(.25) contrast(1.08);
  animation: kenburns 38s ease-in-out infinite alternate; transform-origin: 70% 40%; }
/* giant cat hologram that frames the Top up card: ears above it, glow around its sides, a blur of its face through the glass */
.hb-cat { position: absolute; z-index: 1; width: 740px; aspect-ratio: 1; left: calc(50% + 337px - 370px); top: -24px; background: url(/img/bg/holo-cat.jpg) center / contain no-repeat;
  mix-blend-mode: screen; opacity: .95; animation: holo-float 7s ease-in-out infinite; }
@keyframes holo-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@media (max-width: 1100px) { .hb-cat { display: none; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(-1.5%,-1%,0); } }
.fog { position: absolute; inset: -20% -40%; opacity: .5; mix-blend-mode: screen; pointer-events: none; }
.fog.f1 { background: radial-gradient(40% 18% at 30% 70%, rgba(200,200,210,.16), transparent 70%), radial-gradient(35% 14% at 75% 60%, rgba(200,200,210,.12), transparent 70%); animation: fog-a 46s linear infinite alternate; }
.fog.f2 { background: radial-gradient(45% 20% at 60% 82%, rgba(220,220,228,.14), transparent 70%), radial-gradient(30% 12% at 15% 50%, rgba(220,220,228,.08), transparent 70%); animation: fog-b 60s linear infinite alternate; }
@keyframes fog-a { to { transform: translate3d(12%, -2%, 0); } }
@keyframes fog-b { to { transform: translate3d(-14%, 3%, 0); } }
#ash { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain { position: absolute; inset: -50%; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* promo bar */
.promo { position: relative; z-index: 2; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px; height: 36px; padding: 0 16px; color: var(--ink-2); font-size: 12.5px; white-space: nowrap;
  background: linear-gradient(90deg, #0b0b0d, #18181c 50%, #0b0b0d); border-bottom: 1px solid var(--line); }
.promo-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.promo-dot::after, .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, to { opacity: 0; transform: scale(2.4); } }
.promo-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.promo-sep { width: 1px; height: 12px; background: var(--line-2); }
.promo-text b { font-weight: 500; color: var(--ink); }
.promo-live { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.promo-arrow { transition: transform .2s; }
.promo:hover .promo-arrow { transform: translateX(3px); }
.promo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.12) 48%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.12) 52%, transparent 65%);
  transform: translate(-100%); animation: sheen-sweep 6.5s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes sheen-sweep { 0% { transform: translate(-100%); } 28%, to { transform: translate(100%); } }

/* frame + nav */
.frame { max-width: 1212px; margin: 0 auto; padding: 0 60px 40px; position: relative; z-index: 1; }
.nav { display: flex; align-items: center; gap: 26px; height: 80px; margin: 0 -32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.brand img, .foot-brand img { display: block; }
.tabs { display: flex; gap: 20px; font-size: 14px; }
.tabs a { color: var(--muted); padding: 6px 0; position: relative; transition: color .15s; }
.tabs a:hover, .tabs a.on { color: var(--ink); }
.tabs a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff; }
.btn-ghost { margin-left: auto; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); backdrop-filter: blur(8px); font-size: 13.5px; cursor: pointer; transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 416px; gap: 48px; padding: 96px 0 64px; align-items: start; }
.hero-copy { animation: rise-in 1s var(--ease) both; }
h1 { font-size: 80px; line-height: .98; letter-spacing: -.05em; font-weight: 560; margin: 14px 0 28px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 mark { background: none; color: inherit; position: relative; }
h1 mark::after { content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: line-in 1.4s .4s var(--ease) both; }
@keyframes line-in { from { transform: scaleX(0); } }
.lede { font-size: 17px; color: var(--ink-2); margin: 0 0 30px; max-width: 470px; }
.note-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.note-link:hover { color: #fff; border-color: #fff; }
.stats { display: flex; gap: 44px; margin-top: 44px; }
.stat-num { font-family: var(--mono); font-size: 38px; letter-spacing: -.04em; line-height: 1.1; color: #fff; }
.stat-num small { font-size: 16px; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.stat-cap { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.buy { background: rgba(14,14,17,.72); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--line-2); border-radius: 22px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); animation: rise-in 1s .12s var(--ease) both; }
.buy-tab { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.buy-tab span { display: inline-block; padding: 2px 0 12px; font-size: 14px; position: relative; }
.buy-tab span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; }
.buy label { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 9px; }
.amt { display: flex; align-items: center; gap: 6px; height: 74px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(0,0,0,.45); transition: border-color .2s, box-shadow .2s; }
.amt:focus-within { border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.amt span { font-size: 26px; color: var(--muted); align-self: flex-start; margin-top: 15px; }
.amt input { border: 0; background: none; outline: none; font-family: var(--mono); font-size: 36px; letter-spacing: -.03em; width: 100%; min-width: 0; color: #fff; }
.breakdown { margin: 16px 0 0; font-size: 13px; display: grid; gap: 7px; }
.breakdown div { display: flex; justify-content: space-between; color: var(--muted); }
.breakdown dd { margin: 0; color: var(--ink-2); font-family: var(--mono); font-size: 12.5px; }
.breakdown .tot { border-top: 1px dashed var(--line-2); padding-top: 9px; color: var(--ink); }
.breakdown .tot dd { color: #fff; }
.breakdown .save dd { color: var(--up); }
.buy-err { color: var(--down); font-size: 12.5px; min-height: 18px; margin: 8px 0 6px; }
.btn-lime { position: relative; overflow: hidden; width: 100%; height: 50px; border: 0; border-radius: 999px; color: #0a0a0b; font-size: 15px; font-weight: 600; cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #d8d8de 55%, #a9a9b2 100%); box-shadow: 0 10px 30px -10px rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.25); transition: transform .15s, box-shadow .2s; }
.btn-lime::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.8) 50%, transparent 65%); transform: translateX(-100%); transition: transform .7s var(--ease); }
.btn-lime:hover::after { transform: translateX(100%); }
.btn-lime:hover { box-shadow: 0 14px 40px -10px rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.25); }
.btn-lime:active { transform: translateY(1px); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pillars article { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: rgba(12,12,15,.6); backdrop-filter: blur(10px); animation: rise-in .9s var(--ease) both; }
.pillars article:nth-child(2) { animation-delay: .1s; } .pillars article:nth-child(3) { animation-delay: .2s; }
.pillars h3 { font-size: 14px; font-weight: 500; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.pillars h3 i { width: 5px; height: 5px; background: #fff; border-radius: 50%; box-shadow: 0 0 10px #fff; }
.pillars p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } }

/* demo */
h2 { font-size: 40px; letter-spacing: -.045em; line-height: 1.1; font-weight: 560; margin: 0 0 24px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-sec { padding-top: 96px; }
.demo { display: grid; grid-template-columns: 462px 1fr; border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #121216, #0b0b0d); box-shadow: 0 50px 100px -50px rgba(0,0,0,.9); }
.demo-l { padding: 28px 26px; border-right: 1px solid var(--line); min-height: 400px; display: flex; flex-direction: column; background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.05), transparent 60%); }
.demo-r { padding: 24px 26px; }
.cap { font-size: 11px; color: var(--muted); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.prompt { font-size: 28px; line-height: 1.35; letter-spacing: -.025em; margin: 16px 0 22px; min-height: 80px; max-width: 360px; color: #fff; }
.prompt .cur { display: inline-block; width: 2px; height: .95em; background: #fff; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.key-row { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.key-row code { font-size: 13.5px; color: var(--silver); }
.snip { margin-top: 14px; font-size: 12px; color: var(--muted); }
.snip summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.snip summary::before { content: '▸'; font-size: 9px; transition: transform .15s; }
.snip[open] summary::before { transform: rotate(90deg); }
.snip pre { margin: 10px 0 0; padding: 14px; background: #08080a; border: 1px solid var(--line); border-radius: 12px; font-size: 11.5px; line-height: 1.65; color: var(--ink-2); white-space: pre-wrap; }
.ans-head { display: flex; align-items: center; gap: 12px; }
.streaming { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--up); opacity: 0; transition: opacity .2s; }
.streaming.on { opacity: 1; }
.answer { font-size: 16px; line-height: 1.65; margin: 14px 0 0; min-height: 106px; color: var(--ink-2); }
.answer span { animation: fadein .3s both; }
@keyframes fadein { from { opacity: 0; filter: blur(3px); } }
.price-box { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.pb-head { display: flex; justify-content: space-between; align-items: center; }
.dd { position: relative; }
.dd-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; font-size: 12.5px; cursor: pointer; color: var(--ink-2); }
.dd.right .dd-btn { color: var(--muted); font-size: 11.5px; }
.spark { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(from 0deg, var(--mc, #d97757) 0 25%, transparent 0 50%, var(--mc, #d97757) 0 75%, transparent 0); mask: radial-gradient(circle, transparent 2px, #000 2.5px); }
.dd-menu { position: absolute; top: 100%; left: 0; z-index: 5; margin: 6px 0 0; padding: 5px; list-style: none; background: #141418; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); min-width: 200px; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: .15s; }
.dd.right .dd-menu { left: auto; right: 0; }
.dd.open .dd-menu { opacity: 1; transform: none; pointer-events: auto; }
.dd-menu li { padding: 8px 10px; border-radius: 7px; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.dd-menu li:hover, .dd-menu li.on { background: rgba(255,255,255,.06); color: #fff; }
.pb-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; margin-top: 12px; }
.arrow { font-size: 24px; color: var(--faint); padding-bottom: 14px; }
.big { font-size: 46px; letter-spacing: -.04em; line-height: 1.15; margin-top: 4px; color: var(--muted); }
.green { color: #fff; text-shadow: 0 0 30px rgba(255,255,255,.25); }
.odo { display: flex; align-items: flex-start; height: 1.15em; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo .col { display: flex; flex-direction: column; transition: transform .8s var(--ease); }
.odo .col span, .odo .fix { height: 1.15em; line-height: 1.15em; text-align: center; }
.saving { display: flex; justify-content: space-between; margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(126,226,168,.25); background: rgba(126,226,168,.06); border-radius: 12px; font-size: 13px; color: var(--up); font-family: var(--mono); }

/* book + buys */
.book-sec { display: grid; grid-template-columns: 1fr 303px; gap: 20px; padding: 72px 32px 0; }
.card { background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.card-head .muted { font-weight: 400; font-size: 12px; font-family: var(--mono); }
.dot { position: relative; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 10px; vertical-align: 1px; }
.book-cols { display: flex; justify-content: space-between; padding: 12px 20px 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.brow { position: relative; display: flex; justify-content: space-between; padding: 8px 20px; font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.brow .fill { position: absolute; top: 1px; bottom: 1px; right: 0; background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.08)); border-left: 1px solid rgba(255,255,255,.18); transition: width 1s var(--ease); z-index: 0; }
.brow > span { position: relative; z-index: 1; }
.brow .v, .brow.best { color: #fff; }
.brow.best .fill, .brow:hover .fill { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.17)); }
.buys ul { list-style: none; margin: 0; padding: 0; height: 262px; overflow: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.buys li { display: flex; justify-content: space-between; padding: 9px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.buys li.new { animation: slidein .6s both; background: rgba(255,255,255,.04); }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }
.buys small { display: block; color: var(--faint); font-size: 11px; line-height: 1.4; }
.buys .r { text-align: right; color: #fff; }
.buys .r small { color: var(--up); }

/* bands */
.band { position: relative; border-top: 1px solid var(--line); padding: 110px 0; }
.band.slim { padding: 84px 0; }
.inner { position: relative; z-index: 1; max-width: 1088px; margin: 0 auto; }
.sub { color: var(--muted); font-size: 13px; margin: -10px 0 34px; }
.sub.wide { font-size: 15px; color: var(--ink-2); max-width: 540px; margin: -8px 0 40px; line-height: 1.65; }
.band-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.band-bg::before { content: ''; position: absolute; inset: -5%; background: var(--scene) center / cover no-repeat; opacity: .32; filter: grayscale(.4); animation: kenburns 40s ease-in-out infinite alternate; }
.band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(6,6,7,.55) 25%, rgba(6,6,7,.55) 75%, var(--bg)); }

.cat-head { display: grid; grid-template-columns: 1fr 220px 1fr; align-items: center; padding: 10px 24px; border-bottom: 1px solid var(--line-2); color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.cat-head span:last-child { text-align: right; }
.cat-head input { border: 1px solid var(--line-2); background: #08080a; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; letter-spacing: 0; text-transform: none; outline: none; color: var(--ink); font-family: var(--sans); }
.cat-head input:focus { border-color: rgba(255,255,255,.35); }
.crow { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--line); transition: background .2s; }
.crow:last-child { border-bottom: 0; }
.crow:hover { background: rgba(255,255,255,.03); }
.crow b { display: block; font-weight: 450; font-size: 15px; color: #fff; }
.crow small { color: var(--faint); font-size: 11.5px; font-family: var(--mono); }
.crow .p { display: flex; align-items: center; gap: 12px; }
.crow s { color: var(--faint); font-family: var(--mono); font-size: 13px; }
.crow strong { font-family: var(--mono); font-size: 17px; font-weight: 500; color: #fff; }
.pill { border: 1px solid rgba(126,226,168,.3); color: var(--up); padding: 1px 8px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; }
.cat-empty { padding: 30px 24px; color: var(--muted); font-size: 14px; }

.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 32px; }
.split-head h2 { margin: 0; }
.split-head .sub { margin: 0; max-width: 410px; font-size: 13.5px; line-height: 1.65; }
.acct { background: rgba(12,12,15,.78); backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: 26px; padding: 20px; box-shadow: 0 60px 120px -60px #000; }
.acct-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; font-size: 12.5px; font-family: var(--mono); color: var(--ink-2); }
.acct-bar code { border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: #0a0a0c; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 18px; min-height: 96px; }
.tile span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 6px; }
.tile b { font-family: var(--mono); font-weight: 400; font-size: 24px; letter-spacing: -.03em; color: #fff; }
.tile b small { font-size: 13px; color: var(--muted); }
.tile em { display: block; font-style: normal; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.tile.hl { border-color: rgba(255,255,255,.22); background: linear-gradient(180deg, #17171b, #0c0c0e); }
.panel { background: #0a0a0c; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; margin-top: 14px; }
.panel-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 16px; color: var(--ink-2); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; }
.bars div { flex: 1; background: linear-gradient(180deg, #f2f2f5, #6b6b73); border-radius: 2px 2px 0 0; position: relative; transform-origin: bottom; opacity: .85; transition: opacity .15s; }
.acct.in .bars div { animation: grow .9s var(--ease) both; }
.bars div:hover { opacity: 1; }
.bars div:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #fff; color: #0a0a0b; font-size: 11px; font-family: var(--mono); padding: 3px 7px; border-radius: 6px; white-space: nowrap; z-index: 2; }
@keyframes grow { from { transform: scaleY(0); } }
.mrow { display: grid; grid-template-columns: 1fr auto 70px; align-items: end; gap: 10px; padding: 10px 0 8px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.mrow:last-child { border-bottom: 0; }
.mrow .track { grid-column: 1 / 3; height: 2px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.mrow .track i { display: block; height: 100%; background: linear-gradient(90deg, #6b6b73, #fff); }
.mrow .rq { color: var(--faint); text-align: right; grid-row: 1 / 3; grid-column: 3; align-self: center; font-size: 12px; font-family: var(--mono); }
.mrow .nm { grid-column: 1; }
.mrow .amt2 { grid-column: 2; font-size: 13.5px; font-family: var(--mono); color: #fff; }

.with-link { display: flex; align-items: center; gap: 12px; position: relative; }
.anchor { color: var(--faint); display: inline-flex; -webkit-text-fill-color: currentColor; }
.anchor:hover { color: #fff; }
.toast { font-size: 12px; font-weight: 400; letter-spacing: 0; background: #fff; -webkit-text-fill-color: #0a0a0b; padding: 3px 8px; border-radius: 6px; opacity: 0; transition: opacity .2s; }
.toast.on { opacity: 1; }
.mig-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.mig-tabs button { background: none; border: 0; padding: 0 0 12px; font-size: 14px; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap; position: relative; transition: color .15s; }
.mig-tabs button:hover { color: var(--ink-2); }
.mig-tabs button.on { color: #fff; }
.mig-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; }
.code.lime { background: #0a0a0c; border-color: var(--line-2); }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.icon-btn { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; }
.icon-btn:hover { color: #fff; background: rgba(255,255,255,.06); }
.code pre { margin: 0; padding: 16px 0; font-size: 13.5px; line-height: 1.6; overflow-x: auto; color: var(--ink-2); }
.code pre .ln { display: block; padding: 0 16px; border-left: 2px solid transparent; }
.code pre .ln.add { background: rgba(126,226,168,.06); border-left-color: var(--up); color: #fff; }
.code pre .cm { color: var(--faint); }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); transition: border-color .2s, background .2s; }
.faq details:hover, .faq details[open] { border-color: var(--line-2); background: #121215; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 17px 20px; font-size: 14.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -4px 20px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.cta-line { font-size: 17px; margin: 0; color: var(--ink-2); }
.cta-line a { color: #fff; border-bottom: 1px solid #fff; }

/* footer with horizon scene */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 300px 0 30px; }
.foot .inner { position: relative; z-index: 1; }
.foot-bg { position: absolute; inset: 0; background: url(/img/bg/horizon.jpg) center 22% / cover no-repeat; opacity: .75; animation: kenburns 50s ease-in-out infinite alternate; }
.foot-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg) 0%, rgba(6,6,7,.1) 35%, rgba(6,6,7,.75) 75%, var(--bg)); }
.foot-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.foot-row a:hover { color: #fff; }
.foot-mail, .foot-x { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; }
.foot-legal { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 26px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.foot-legal p { max-width: 460px; margin: 0; text-align: right; font-size: 12px; line-height: 1.55; color: var(--faint); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fadein .2s; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: 100%; max-width: 400px; background: #111114; border: 1px solid var(--line-2); border-radius: 20px; padding: 26px; box-shadow: 0 40px 80px -20px #000; }
.modal-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-card h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; font-weight: 560; }
.modal-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.modal-card .field { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; background: #08080a; margin-bottom: 12px; outline: none; }
.modal-card .field:focus { border-color: rgba(255,255,255,.4); }
.modal-card .breakdown { margin: 0 0 18px; }
.modal-card .ok { color: var(--up); font-size: 13.5px; margin-top: 10px; }

/* beam border (silver) */
@property --beam-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.beam { position: relative; isolation: isolate; }
.beam::before { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--beam-angle), transparent 0%, transparent 82%, rgba(255,255,255,.25) 89%, #fff 95%, rgba(255,255,255,.4) 97.5%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam-spin 6s linear infinite; }
@keyframes beam-spin { to { --beam-angle: 360deg; } }
.demo.beam::before { animation-duration: 8s; }
.book.beam::before { animation-duration: 7s; animation-delay: -3s; }

/* scroll reveal */
/* sections stay put while scrolling; .in is only used to start in-view animations (bars) */

/* responsive */
@media (max-width: 1100px) {
  .frame { padding: 0 32px 40px; }
  .nav { margin: 0; }
  .hero { grid-template-columns: 1fr 360px; }
  h1 { font-size: 64px; }
  .demo { grid-template-columns: 1fr 1fr; }
  .inner { padding: 0 32px; }
  .book-sec { padding: 64px 0 0; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-bg { height: 1500px; }
  .demo { grid-template-columns: 1fr; }
  .demo-l { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .book-sec { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-row { flex-wrap: wrap; gap: 16px 28px; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .promo { gap: 8px; }
  .promo-text, .promo-text + .promo-sep { display: none; }
  .frame { padding: 0 16px 32px; }
  .nav { gap: 14px; height: 64px; }
  .brand span { display: none; }
  h1 { font-size: 46px; margin-bottom: 22px; }
  .lede { font-size: 15.5px; }
  .stats { gap: 26px; }
  .stat-num { font-size: 30px; }
  .buy { padding: 20px 18px; }
  .pillars { grid-template-columns: 1fr; }
  h2 { font-size: 30px; }
  .demo-sec { padding-top: 64px; }
  .demo-l, .demo-r { padding: 20px 18px; }
  .prompt { font-size: 22px; min-height: 64px; }
  .big { font-size: 34px; }
  .pb-row { gap: 8px; }
  .inner { padding: 0 16px; }
  .band { padding: 72px 0; }
  .cat-head { grid-template-columns: 1fr; gap: 8px; padding: 10px 16px; }
  .cat-head span:first-child, .cat-head span:last-child { display: none; }
  .crow { padding: 12px 16px; gap: 10px; }
  .crow s { display: none; }
  .crow strong { font-size: 15px; }
  .acct { padding: 12px; border-radius: 20px; }
  .acct-bar code { display: none; }
  .tile b { font-size: 21px; }
  .bars { gap: 2px; }
  .foot { padding-top: 200px; }
  .foot-legal { flex-direction: column; gap: 14px; }
  .foot-legal p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } [data-reveal] { opacity: 1; transform: none; } }
/* wallet sign-in + account */
.w-opts { display: grid; gap: 8px; margin: 4px 0; }
.w-opts button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.03); color: var(--ink); font-size: 14.5px; cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.w-opts button:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.w-opts button.busy { opacity: .55; pointer-events: none; }
.w-opts img, .w-opts .wi { width: 28px; height: 28px; border-radius: 8px; background: #1b1b20; flex: none; }
.w-opts em { margin-left: auto; font-style: normal; color: var(--muted); }
.w-opts .none { color: var(--muted); font-size: 13.5px; margin: 0; }
.w-opts .none a { color: #fff; border-bottom: 1px solid #fff; }
.acct-id { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; margin: 4px 0 14px; background: rgba(0,0,0,.3); }
.acct-id code { flex: 1; font-size: 14px; color: #fff; }
.breakdown dd.ok { color: var(--up); } .breakdown dd.bad { color: var(--down); }
.btn-ghost.wide { display: flex; justify-content: center; width: 100%; margin: 10px 0 0; height: 44px; align-items: center; }
.btn-ghost .dot-on { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px var(--up); margin-right: 8px; vertical-align: 1px; }

/* ---------- buy card tabs + sell pane ---------- */
.buy-tab { display: flex; gap: 22px; }
.buy-tab button { position: relative; background: none; border: 0; padding: 2px 0 12px; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .15s; }
.buy-tab button:hover { color: var(--ink-2); }
.buy-tab button.on { color: #fff; }
.buy-tab button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; }
.sell-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 16px; }
.sell-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 16px; background: rgba(0,0,0,.35); }
.sell-stat span { font-size: 12.5px; color: var(--muted); }
.sell-stat b { font-family: var(--mono); font-weight: 400; font-size: 20px; color: #fff; }
.amt.sm { height: 56px; margin-bottom: 14px; }
.amt.sm input { font-size: 26px; }
.amt.sm span { margin-top: 9px; font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.chips button { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; font-family: var(--mono); font-size: 12.5px; cursor: pointer; transition: border-color .15s; }
.chips button:hover { border-color: rgba(255,255,255,.35); }
.chips button.on { background: linear-gradient(180deg, #fff, #cfcfd6); color: #0a0a0b; border-color: #fff; }
.my-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.my-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.my-list button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; }
.my-list button:hover { color: #fff; }
.owed { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.owed b { color: var(--up); font-family: var(--mono); font-weight: 400; }
.prev-tag { font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px; margin-left: 10px; vertical-align: 2px; font-weight: 400; }
.brow.empty, .buys li.empty { cursor: default; color: var(--muted); font-size: 12.5px; }
.pill.flat { border-color: var(--line-2); color: var(--muted); }
.btn-lime:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }

/* ---------- checkout steps ---------- */
.pay-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; margin: 4px 0 16px; }
.pay-seg button { border: 0; background: none; color: var(--muted); padding: 9px 0; border-radius: 9px; font-family: var(--mono); font-size: 13px; cursor: pointer; }
.pay-seg button.on { background: linear-gradient(180deg, #fff, #cfcfd6); color: #0a0a0b; }
.due { padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,.35); margin: 0 0 14px; }
.due b { display: block; font-family: var(--mono); font-weight: 400; font-size: 22px; color: #fff; }
.due small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; font-family: var(--mono); word-break: break-all; }
.paste { display: flex; gap: 8px; margin-top: 10px; }
.paste .field { margin: 0; height: 40px; font-family: var(--mono); font-size: 12px; }
.paste .btn-ghost { flex: none; margin: 0; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: #fff; animation: spin .9s linear infinite; margin: 10px auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal-card p.center { text-align: center; }
.keybox { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid rgba(126,226,168,.35); background: rgba(126,226,168,.06); border-radius: 12px; margin: 10px 0 8px; }
.keybox code { flex: 1; font-size: 12.5px; color: #fff; word-break: break-all; }
.warn-sm { font-size: 12px; color: #ffcf8a; margin: 0 0 14px; }
.row-actions { display: flex; gap: 8px; margin-top: 12px; }
.row-actions > * { flex: 1; margin: 0; }

/* ---------- sell + refer band ---------- */
.refer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rg-col { border: 1px solid var(--line-2); border-radius: 20px; padding: 26px; background: rgba(12,12,15,.72); }
.rg-kick { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.rg-col h3 { font-size: 24px; letter-spacing: -.03em; font-weight: 560; margin: 0 0 14px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rg-steps { margin: 0 0 20px; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.rg-steps li { margin-bottom: 6px; }
.rg-steps b, .rg-p b { color: #fff; font-weight: 500; }
.rg-p { color: var(--ink-2); font-size: 14px; line-height: 1.65; margin: 0 0 20px; }
.rg-col .btn-ghost { margin-left: 0; }
.ref-box code { display: block; font-size: 12.5px; color: #fff; word-break: break-all; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; margin-bottom: 10px; background: rgba(0,0,0,.35); }
.ref-earn { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 860px) { .refer-grid { grid-template-columns: 1fr; } }
