/* VEILROLL home v3 (layout type of the user's reference sonnarh.com, our subject and palette)
   Hero: the 3D courier stands in front of a two-line billboard headline; small copy left, stat cards right,
   a floating CA pill at the bottom of every screen.
   Then: ticker row, a statement that fills word by word, split section with the 3D roll card,
   pinned horizontal steps, bento of working pieces, pinned run log, numbers, marquee, doors, FAQ, token card,
   and a close where the courier assembles out of dust.
   Palette: near-black stage, paper white, two greys for the second half of each headline, one cobalt accent. */
.home { --stage: #050608; --g1: #c8cad0; --g2: #353943; --card: #0b0c10; background: var(--stage); }
.home .wrap { --wrap: min(1320px, 100% - 96px); }

/* header over the hero */
.home .top { position: fixed; inset: 0 0 auto; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.home .top.solid { background: rgba(5, 6, 8, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.home .top .wrap { height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; }
.home .brand { font-weight: 500; text-transform: lowercase; letter-spacing: -.04em; font-size: 30px; font-stretch: 100%; gap: 12px; }
.home .brand img { width: 36px; height: 36px; }
.home .nav { margin: 0; gap: 44px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.home .nav a { position: relative; padding: 6px 0; }
.home .nav a[aria-current="page"]::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -8px; height: 1px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.home .hdr-ctas { justify-self: end; align-items: center; gap: 10px; }
.xbtn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--paper); }
.xbtn svg { width: 16px; height: 16px; }
.xbtn:hover { border-color: var(--paper); }
.try { display: inline-flex; align-items: center; height: 46px; padding: 0 36px; background: #fff; color: #000; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform .16s var(--ease); }
.try:active { transform: scale(.98); }

/* ---------- HERO ---------- */
.hero { position: relative; height: max(100svh, 780px); overflow: hidden; isolation: isolate; }
.mega { position: absolute; left: 0; right: 0; top: 17vh; z-index: 1; text-align: center; font-weight: 500; text-transform: lowercase;
  font-size: clamp(64px, 11.6vw, 196px); line-height: .84; letter-spacing: -.068em; pointer-events: none; }
.mega > span { display: block; white-space: nowrap; }
.mega .l1 { color: var(--g1); display: flex; align-items: center; justify-content: center; gap: .32em; }
.mega .l2 { color: var(--g2); transform: translateX(.08em); }
.mega .dash { display: inline-block; width: .36em; height: .07em; background: currentColor; }
.mega .w { display: inline-block; }
.bust { position: absolute; z-index: 2; left: 50%; top: 13vh; width: clamp(380px, 45vw, 690px); margin: 0; transform: translateX(-50%); }
.bust img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 62%, transparent 94%); mask-image: linear-gradient(#000 62%, transparent 94%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.bust .glow { position: absolute; left: 50%; top: 2%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(71, 102, 255, .34), rgba(71, 102, 255, .08) 60%, transparent); filter: blur(10px); }
.bust .scan { position: absolute; left: 6%; right: 6%; top: 0; height: 3px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(159, 176, 255, .95), transparent); box-shadow: 0 0 24px 6px rgba(71, 102, 255, .55); }
.hero-left { position: absolute; z-index: 3; left: 48px; bottom: 9vh; width: 330px; display: grid; gap: 22px; }
.rate { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-dim); }
.hero-lede { font-size: 15px; line-height: 1.5; color: var(--paper); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { border: 1px solid var(--line-2); border-radius: 99px; padding: 9px 18px; font-size: 13px; color: var(--paper); }
.hero-ctas { display: flex; align-items: center; gap: 36px; }
.box { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 40px; background: #2a2d34; color: var(--paper); text-decoration: none; font-weight: 500; white-space: nowrap;
  border-bottom: 2px solid var(--accent); transition: background .2s, transform .16s var(--ease); }
.box:hover { background: #343844; }
.box:active, .play:active { transform: scale(.98); }
.play { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: var(--paper); font-size: 16px; cursor: pointer; }
.play svg { width: 10px; height: 12px; }
.play:hover { color: var(--accent-ink); }
.hero-right { position: absolute; z-index: 3; right: 22px; bottom: 15vh; display: grid; justify-items: end; gap: 10px; }
.thumb { position: relative; display: block; width: 120px; height: 128px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #1a2140, #07080b 70%); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s var(--ease); }
.thumb:hover img { transform: scale(1.06); }
.thumb .arrow { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .3); }
.thumb .arrow svg { width: 10px; height: 10px; }
.cards { display: flex; gap: 20px; }
.hc { width: 138px; height: 130px; border: 1px solid var(--line-2); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(10, 12, 16, .5);
  border-right-color: rgba(71, 102, 255, .7); }
.hc b { align-self: flex-end; font-size: 30px; font-weight: 400; line-height: 1; }
.hc span { font-size: 12px; color: var(--paper-dim); line-height: 1.25; }
.hero-rule { position: absolute; left: 6%; right: 6%; bottom: 33vh; height: 1px; z-index: 0; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }

/* ---------- PAYS IN + STATEMENT ---------- */
.paysin { padding: 120px 0 20px; text-align: center; }
.paysin .k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); margin-bottom: 30px; }
.tickers { list-style: none; margin: 0; padding: 0 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; font-size: 18px; font-weight: 600; color: var(--paper-dim); }
.tickers li { display: flex; align-items: center; gap: 10px; }
.tickers li::before { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.statement { position: relative; min-height: 78vh; display: grid; place-items: center; padding: 80px 24px; overflow: hidden; }
.side-bust { position: absolute; left: -3vw; top: 6vh; width: min(36vw, 520px); height: auto; z-index: 0;
  -webkit-mask-image: linear-gradient(#000 60%, transparent 92%); mask-image: linear-gradient(#000 60%, transparent 92%); }
.fill-text { position: relative; z-index: 1; max-width: 1060px; text-align: center; text-transform: uppercase; font-weight: 600; font-size: clamp(30px, 4.4vw, 64px);
  line-height: .98; letter-spacing: -.05em; color: var(--paper); }
.js .fill-text .fw { color: var(--g2); transition: color .25s; }
.js .fill-text .fw.lit { color: var(--paper); }

/* ---------- headings shared ---------- */
.sec { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.dual { font-size: clamp(40px, 5vw, 76px); line-height: .9; letter-spacing: -.06em; font-weight: 600; text-transform: uppercase; color: var(--g2); }
.dual span { color: var(--paper); }
.dual.big { font-size: clamp(46px, 7.2vw, 118px); margin-top: 18px; }
.dual.stack span { display: block; }
.under { display: inline-block; justify-self: start; color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.under:hover { color: var(--accent-ink); }

/* ---------- SPLIT with the roll card ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 60px 0 140px; }
.split-copy { display: grid; gap: 26px; align-content: start; }
.split-copy p { color: var(--paper-dim); max-width: 46ch; font-size: 15px; }
.meter { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 10px; font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; max-width: 380px; }
.meter b { font-size: 40px; color: var(--paper); font-weight: 500; letter-spacing: -.04em; }
.meter .bar { grid-column: 1 / -1; height: 2px; background: var(--line); }
.meter .bar i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.rollcard { position: relative; height: min(78vh, 660px); border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 70% at 70% 0%, rgba(71, 102, 255, .38), transparent 60%), linear-gradient(180deg, #4a5060 0%, #1b1e26 46%, #08090c 100%); }
.stage { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.stage.grab { cursor: grabbing; }
.stage canvas { width: 100%; height: 100%; }
.vlabel { position: absolute; left: 0; top: 0; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper);
  background: rgba(5, 6, 8, .6); border: 1px solid var(--line-2); padding: 6px 9px; border-radius: 99px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .4s; }
.vlabel.down { color: var(--accent-ink); border-color: rgba(71, 102, 255, .5); }
.stage.gl-on .vlabel { opacity: 1; }

/* ---------- 01 HOW (pinned horizontal) ---------- */
.how { padding: 60px 0 40px; overflow: hidden; }
.track-wrap { margin-top: 70px; perspective: 1400px; }
.track { list-style: none; margin: 0; padding: 0 48px; display: flex; gap: 28px; width: max-content; }
.step { width: 440px; min-height: 470px; border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #121419, #08090c); transform-origin: 0 50%; will-change: transform; }
.step .num { font-size: 124px; font-weight: 600; line-height: .8; letter-spacing: -.06em; color: #1e2128; margin-bottom: 26px; }
.step h3 { font-size: 40px; letter-spacing: -.05em; font-weight: 600; }
.step p { color: var(--paper-dim); font-size: 15px; max-width: 34ch; }
.step code { margin-top: auto; display: block; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: #07080a; font-size: 13px; line-height: 1.7; color: var(--paper-dim); }
.step code em { font-style: normal; color: var(--accent-ink); }
.step code b { color: var(--ok); font-weight: 500; }
.track-bar { margin: 46px 48px 0; height: 1px; background: var(--line); }
.track-bar i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- 02 CAPS bento ---------- */
.caps { padding: 140px 0 60px; }
.caps-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.caps-head p { color: var(--paper-dim); font-size: 16px; }
.bento { margin-top: 60px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cell { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #0e1015, var(--card)); padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.cell h3 { font-size: 26px; letter-spacing: -.04em; font-weight: 600; margin: 12px 0 6px; }
.cell > p { color: var(--mute); font-size: 14px; max-width: 60ch; }
.chip { align-self: flex-start; margin-top: 20px; font-size: 11px; color: var(--accent-ink); border: 1px solid rgba(71, 102, 255, .4); border-radius: 6px; padding: 5px 9px; }
.ui { border-radius: 14px; border: 1px solid var(--line); background: #07080a; padding: 16px; flex: 1; min-height: 210px; min-width: 0; }
.c-ledger { grid-column: span 4; }
.c-lookup { grid-column: span 2; }
.c-math { grid-column: span 6; }
.c-ask { grid-column: span 2; }
.c-honest { grid-column: span 4; }
.ledger-ui { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.lcol header { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.lcol header em { font-style: normal; color: var(--paper-dim); text-transform: none; letter-spacing: 0; }
.lcol.veiled header em { color: var(--accent-ink); }
.rows { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.rows li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.rows span { color: var(--mute); }
.rows i { font-style: normal; color: var(--mute); }
.rows b { font-weight: 500; color: var(--paper); overflow: hidden; text-overflow: ellipsis; }
.veiled .rows b { color: var(--accent-ink); }
.rows em { font-style: normal; color: var(--paper-dim); }
.lookup-ui { display: grid; align-content: center; gap: 12px; font-size: 13px; }
.lookup-ui .in { border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; color: var(--paper); }
.lookup-ui .arrow-d { color: var(--mute); font-size: 11px; padding-left: 14px; }
.lookup-ui .arrow-d::before { content: "\2193  "; color: var(--accent-ink); }
.lookup-ui .outk { border: 1px solid rgba(71, 102, 255, .45); background: rgba(71, 102, 255, .08); border-radius: 8px; padding: 12px 14px; color: var(--accent-ink); line-height: 1.6; word-break: break-all; }
.math-ui { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.math-ui .col { display: grid; gap: 10px; align-content: start; padding: 4px; min-width: 0; }
.math-ui .who { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.mbtn { justify-self: start; height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--paper); cursor: pointer; font-size: 14px; transition: border-color .2s, background .2s, transform .16s var(--ease); }
.mbtn:hover:not([disabled]) { border-color: var(--accent); background: rgba(71, 102, 255, .12); }
.mbtn:active:not([disabled]) { transform: scale(.98); }
.mbtn[disabled] { opacity: .35; cursor: not-allowed; }
.math-ui .out { display: block; min-height: 84px; padding: 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 11.5px; line-height: 1.6; color: var(--mute); word-break: break-all; }
.math-ui .out b { color: var(--paper); font-weight: 500; }
.okc { color: var(--ok); }
.bad { color: #ff8d7a; }
.ask-ui { display: grid; align-content: center; gap: 10px; font-size: 12.5px; }
.ask-ui .t { color: var(--accent-ink); }
.ask-ui .cmd { border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 10px; color: var(--paper); overflow-wrap: anywhere; }
.ask-ui ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--mute); }
.ask-ui li { padding: 6px 10px; border-radius: 4px; }
.ask-ui li.on { background: var(--accent); color: #fff; }
.honest-ui { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; font-size: 13px; }
.honest-ui > div { border-radius: 10px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.honest-ui .hid { border: 1px solid rgba(122, 215, 168, .35); }
.honest-ui .pub { border: 1px dashed rgba(255, 141, 122, .35); }
.honest-ui .lab { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.honest-ui b { color: var(--ok); font-weight: 500; }
.honest-ui s { color: #ff8d7a; text-decoration: none; }

/* ---------- 03 SESSION (pinned) ---------- */
.session { position: relative; }
.sess-pin { min-height: 100vh; display: grid; align-items: center; padding: 60px 0; }
.sess-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.sess-copy { display: grid; gap: 24px; }
.sess-copy p:not(.sec) { color: var(--paper-dim); max-width: 34ch; }
.dual.stack { font-size: clamp(48px, 6.4vw, 100px); }
.sess-bar { width: 240px; height: 1px; background: var(--line-2); }
.sess-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.term { border-radius: 16px; border: 1px solid var(--line-2); background: #0a0b0e; overflow: hidden; min-width: 0;
  box-shadow: 0 0 0 1px rgba(71, 102, 255, .08), 0 40px 140px -20px rgba(71, 102, 255, .35); }
.term-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.term-top i { width: 11px; height: 11px; border-radius: 50%; background: #2a2d35; }
.term-top span { margin-left: 12px; }
.term-body { list-style: none; margin: 0; padding: 22px 22px 30px; font-size: 13.5px; line-height: 1.9; min-height: 470px; color: var(--paper-dim); }
.term-body li { white-space: pre-wrap; overflow-wrap: anywhere; }
.js .term-body li { opacity: .1; transition: opacity .3s; }
.js .term-body li.on { opacity: 1; }
.term-body .cmd { color: var(--paper); }
.term-body .dim { color: var(--mute); }
.term-body .ask { color: var(--warn); }
.term-body .ok { color: var(--ok); }

/* ---------- numbers + marquee ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 100px; }
.nums .n { padding: 56px 26px 50px; display: grid; gap: 20px; }
.nums .n + .n { border-left: 1px solid var(--line); }
.nums b { font-size: clamp(56px, 7vw, 104px); font-weight: 400; line-height: .9; letter-spacing: -.05em; font-family: var(--sans); }
.nums span { font-size: 14px; color: var(--paper-dim); line-height: 1.35; }
.nums em { font-style: normal; color: var(--mute); }
.marquee { overflow: hidden; padding: 70px 0 40px; }
.mq-row { display: flex; align-items: center; gap: 4vw; width: max-content; font-size: clamp(64px, 11vw, 180px); font-weight: 600; letter-spacing: -.06em; text-transform: uppercase; line-height: .9; }
.mq-row span { color: var(--paper); }
.mq-row span.o { color: transparent; -webkit-text-stroke: 1.5px #3a3e48; }
.mq-row i { font-style: normal; color: var(--accent); font-size: .3em; }

/* ---------- 04 START ---------- */
.start { padding: 120px 0 40px; }
.start .sub { margin-top: 18px; color: var(--paper-dim); }
.start .sub b { color: var(--paper); font-weight: 500; }
.doors { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { display: grid; gap: 14px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #0e1015, var(--card)); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.door:hover { border-color: rgba(71, 102, 255, .6); transform: translateY(-4px); }
.door .who { font-size: 11px; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .1em; }
.door h3 { font-size: 32px; letter-spacing: -.05em; font-weight: 600; }
.door code { display: block; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: #07080a; font-size: 12.5px; color: var(--paper-dim); }
.door .go { font-size: 13px; color: var(--paper); border-bottom: 1px solid var(--line-2); justify-self: start; padding-bottom: 3px; }
.st { width: 100%; border-collapse: collapse; margin-top: 40px; }
.st td { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--paper-dim); }
.st td:last-child { text-align: right; width: 110px; }

/* ---------- 05 FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 140px 0 60px; }
.faq h2 { margin-top: 18px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.03em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--accent-ink); font-weight: 400; font-size: 1.2em; line-height: .9; transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { color: var(--paper-dim); padding: 0 0 24px; max-width: 62ch; }

/* ---------- 06 TOKEN ---------- */
.token { padding: 100px 0; }
.tok-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; padding: 56px; border-radius: 26px; border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 100% 0%, rgba(71, 102, 255, .22), transparent 60%), linear-gradient(135deg, #0e1015, #08090c); }
.tok-l { display: grid; gap: 22px; align-content: center; min-width: 0; }
.tok-name { display: flex; align-items: center; gap: 22px; min-width: 0; }
.tok-name img { width: 92px; height: 92px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 3%; background: radial-gradient(circle at 50% 35%, #26306a, #07080b 72%); border: 1px solid var(--line-2); }
.tok-name h2 { font-size: clamp(48px, 7vw, 104px); letter-spacing: -.065em; font-weight: 600; line-height: .9; overflow-wrap: anywhere; }
.state { display: flex; align-items: center; gap: 10px; color: var(--accent-ink); }
.state i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tok-p { color: var(--paper-dim); max-width: 46ch; }
.tok-r { border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; background: rgba(5, 6, 8, .6); display: grid; gap: 16px; min-width: 0; }
.tok-r dl { margin: 0; }
.tok-r dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tok-r dt { color: var(--mute); }
.tok-r dd { margin: 0; color: var(--paper); text-align: right; }
.ca-row { display: flex; gap: 10px; }
.ca-box { flex: 1; min-width: 0; border: 1px solid var(--line-2); border-radius: 10px; padding: 15px 14px; font-size: 13px; color: var(--accent-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-box.pending { color: var(--mute); }
.copy { border: 0; border-radius: 10px; background: #fff; color: #000; padding: 0 20px; font-weight: 500; cursor: pointer; }
.copy[disabled] { opacity: .35; cursor: not-allowed; }
.tok-links { display: flex; gap: 10px; flex-wrap: wrap; }
.ghostbtn { border: 1px solid var(--line-2); border-radius: 99px; padding: 10px 18px; font-size: 14px; text-decoration: none; }
.ghostbtn:hover { border-color: var(--paper); }
.ghostbtn[aria-disabled="true"] { color: var(--mute); pointer-events: none; }
.fine { font-size: 11.5px; color: var(--mute); line-height: 1.5; }

/* ---------- CLOSE ---------- */
.close { position: relative; height: 100vh; min-height: 820px; overflow: hidden; }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.close-in { position: absolute; left: 0; right: 0; bottom: 7vh; text-align: center; display: grid; justify-items: center; gap: 22px; padding: 0 24px; z-index: 1; }
.mega2 { font-size: clamp(56px, 11vw, 190px); font-weight: 600; letter-spacing: -.07em; line-height: .86; text-transform: uppercase; color: var(--g2); }
.mega2 span { color: var(--paper); }
.close-in p:not(.sec) { color: var(--paper-dim); }
.close-ctas { display: flex; align-items: center; gap: 30px; }
.whitebtn { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; background: #fff; color: #000; text-decoration: none; font-size: 14px; }

/* ---------- footer ---------- */
.foot2 { border-top: 1px solid var(--line); padding-top: 50px; overflow: hidden; }
.f-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.f-p { color: var(--mute); margin-top: 10px; font-size: 14px; }
.f-top nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: var(--paper-dim); }
.f-top nav a { text-decoration: none; }
.f-top nav a:hover { color: var(--paper); }
.f-word { margin: 40px 0 -5vw; text-align: center; font-size: 25vw; font-weight: 600; letter-spacing: -.075em; line-height: .8; color: #101217; user-select: none; }

/* ---------- floating CA pill ---------- */
.capill { position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px);
  padding: 7px 7px 7px 18px; border-radius: 99px; border: 1px solid rgba(71, 102, 255, .5); background: rgba(8, 9, 12, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 40px rgba(71, 102, 255, .2); }
.capill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.capill b { color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
#lb-ca { font-size: 12.5px; color: var(--paper-dim); max-width: 44ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#lb-copy { border: 0; border-radius: 99px; background: #fff; color: #000; padding: 8px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.capill .pl { font-size: 13px; color: var(--paper); text-decoration: none; padding: 6px 4px; white-space: nowrap; }
.capill .pl:hover { color: var(--accent-ink); }
.capill .pl[aria-disabled="true"] { display: none; }
.capill .px { width: 34px; height: 34px; border-radius: 50%; background: #1a1d24; display: grid; place-items: center; color: var(--paper); flex: none; }
.capill .px svg { width: 13px; height: 13px; }

/* ---------- video dialog ---------- */
.vid { width: min(1100px, 92vw); padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: #000; overflow: hidden; }
.vid::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(6px); }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vclose { position: absolute; right: 10px; top: 10px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- intro states (only with JS and motion allowed) ---------- */
.js.motion .mega .w, .js.motion .mega .dash { opacity: 0; }
.js.motion .bust { opacity: 0; }
.js.motion .hero-left > *, .js.motion .hero-right > * { opacity: 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .home .nav { gap: 26px; }
  .hero-right .thumb { display: none; }
  .split, .sess-grid, .faq, .tok-card, .caps-head { grid-template-columns: 1fr; }
  .c-ledger, .c-lookup, .c-ask, .c-honest { grid-column: span 6; }
}
@media (max-width: 860px) {
  .home .wrap { --wrap: calc(100% - 32px); }
  .home .top .wrap { height: 70px; grid-template-columns: 1fr auto; }
  .home .brand { font-size: 24px; }
  .try { padding: 0 18px; height: 40px; }
  .xbtn { width: 40px; height: 40px; }
  .hero { height: auto; padding: 96px 0 40px; display: flex; flex-direction: column; }
  .mega { position: relative; top: 0; font-size: 17vw; }
  .bust { position: relative; left: auto; top: auto; transform: none; width: 92vw; margin: -16vw auto 0; }
  .hero-left, .hero-right { position: relative; left: auto; right: auto; bottom: auto; width: auto; padding: 0 16px; }
  .hero-left { margin-top: -20vw; }
  .hero-right { justify-items: stretch; margin-top: 26px; }
  .cards { gap: 12px; }
  .hc { flex: 1; width: auto; height: 110px; }
  .hero-rule { display: none; }
  .hero-ctas { gap: 26px; }
  .paysin { padding-top: 60px; }
  .tickers { gap: 10px 22px; font-size: 15px; }
  .statement { min-height: 80vh; }
  .side-bust { width: 60vw; opacity: .35; }
  .split { padding-bottom: 80px; }
  .rollcard { height: 70vh; }
  .track { padding: 0 16px; flex-direction: column; width: auto; }
  .step { width: auto; min-height: 0; }
  .step .num { font-size: 80px; }
  .track-bar { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > * { grid-column: auto !important; }
  .ledger-ui, .math-ui, .honest-ui { grid-template-columns: minmax(0, 1fr); }
  .term-body { font-size: 11.5px; min-height: 0; padding: 16px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums .n:nth-child(3) { border-left: 0; }
  .nums .n:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nums .n { padding: 34px 16px; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .tok-card { padding: 26px 18px; }
  .ca-row { flex-direction: column; }
  .copy { height: 46px; }
  .close { height: 100vh; min-height: 700px; }
  .close-ctas { flex-direction: column; gap: 16px; }
  .capill { gap: 8px; padding-left: 14px; bottom: 12px; }
  #lb-ca { max-width: 13ch; }
  #lb-chart { display: none; }
  .f-word { margin-bottom: -3vw; }
}
@media (max-width: 460px) {
  .capill .pl { display: none; }
}
