/* ==========================================================================
   PM Countdown: pages/bnbhub.css. The BNB hub's own pieces (BNB hub plan Wave 2, docs/bnbhub/06 D6 and 09a section 6).
   Loaded after btchub.css, which owns the hub layout, the Now module and the nav layer. Every rule here is a bnh- class
   (or the one hub line .bh-now-foot) so the Bitcoin and Solana hubs cannot change when this file does. Colours are the
   site's theme tokens only, so the light and dark toggle moves everything; BNB yellow is not used for meaning anywhere.
   ========================================================================== */
.bh-now-foot{margin:10px 0 0;font-size:12.5px;color:var(--ink-3)}
.bnh-answers{margin-top:10px;font-size:14.5px;color:var(--ink-2)}
.bnh-answers a{color:var(--brand-ink);font-weight:600}

/* the three sale steps */
.bh-sec ol.bnh-steps{margin:10px 0 0;padding-left:1.4em;list-style:decimal}
.bh-sec ol.bnh-steps li{list-style:decimal;margin-top:8px;line-height:1.6;color:var(--prose)}

/* Mark's lines */
.bnh-quote{margin:18px 0 0;padding:12px 16px;border-left:3px solid var(--brand);background:var(--surface-2);border-radius:0 var(--r-sm) var(--r-sm) 0;
  font-size:15px;line-height:1.55;color:var(--ink);max-width:68ch}
.bnh-quote span{display:block;margin-top:4px;font-size:13px;font-weight:600;color:var(--ink-3)}

/* wallets: three panels */
.bnh-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:6px}
.bnh-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:16px 16px 14px;box-shadow:var(--shadow)}
.bnh-card .hb-h3{margin-top:0}
.bnh-card p{margin:8px 0 0;font-size:14.5px;line-height:1.6;color:var(--prose)}
@media (max-width:900px){.bnh-cards{grid-template-columns:1fr}}

/* the supply meter */
.bnh-meter{margin:6px 0 4px}
.bnh-meter-bar{display:block;height:12px;border-radius:999px;background:var(--chip);border:1px solid var(--line-3);overflow:hidden}
.bnh-meter-bar i{display:block;height:100%;background:var(--brand)}
.bnh-meter-dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 0}
.bnh-meter-dl div{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 12px}
.bnh-meter-dl dt{font-size:12.5px;color:var(--ink-3)}
.bnh-meter-dl dd{margin:4px 0 0;font-size:15px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
@media (max-width:720px){.bnh-meter-dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* the price chart, drawn at build time as inline SVG */
.bnh-chart{margin:18px 0 0;padding:14px 14px 12px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.bnh-chart-h{font-size:13.5px;color:var(--ink-2);margin:4px 0 6px}
.bnh-chart-h b{color:var(--ink)}
.bnh-svg{display:block;width:100%;height:auto;aspect-ratio:720/300;margin-bottom:12px}
.bnh-svg text{font:500 11px var(--sans);fill:var(--ink-3)}
.bnh-grid line{stroke:var(--line);stroke-width:1}
.bnh-line{fill:none;stroke:var(--brand);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.bnh-last{fill:var(--brand);stroke:var(--paper);stroke-width:2}
.bnh-ath{stroke:var(--warn);stroke-width:1.5;stroke-dasharray:5 4}
.bnh-svg .bnh-ath-t{fill:var(--warn-ink);font-weight:700}
.bnh-pin circle,.bnh-pin rect,.bnh-pin path{fill:var(--paper);stroke:var(--ink);stroke-width:1.6}
.bnh-svg .bnh-pin text{fill:var(--ink);font-weight:800;font-size:11px}
.bnh-chart-note{font-size:12.5px;line-height:1.5;color:var(--ink-3);margin-top:2px}
.bh-sec ol.bnh-pins{margin:10px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
.bh-sec ol.bnh-pins li{list-style:none;font-size:14px;line-height:1.5;color:var(--prose);display:flex;gap:8px;align-items:baseline}
.bnh-pin-n{flex:0 0 auto;min-width:22px;height:22px;display:inline-grid;place-items:center;font-size:12px;font-weight:800;color:var(--ink);
  border:1.6px solid var(--ink);background:var(--paper)}
.bnh-pin-n.bnh-pin--co{border-radius:50%}
.bnh-pin-n.bnh-pin--ch{border-radius:2px}
.bnh-pin-n.bnh-pin--lg{border-radius:2px;border-style:double;border-width:3px}
.bnh-pin-n.bnh-pin--mk{border-radius:2px 2px 9px 9px}
@media (max-width:720px){.bh-sec ol.bnh-pins{grid-template-columns:1fr}}
.bnh-closes{margin-top:16px}
.bnh-closes summary{cursor:pointer;font-weight:600;color:var(--brand-ink)}
.bnh-closes summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}

/* paragraphs that follow each other inside a section, and a table or list followed by prose */
.bh-sec .wrap--mid > p:not(.eyebrow){margin-top:12px}
.bh-sec .wrap--mid > .table-wrap + p,.bh-sec .wrap--mid > ol + p,.bh-sec .wrap--mid > .bnh-cards + p{margin-top:14px}
.bh-sec ol.bnh-pins li b{white-space:nowrap;color:var(--ink)}
.bh-sec .sh-table a{color:var(--brand-ink);font-weight:600}
