/* Vice Suite pages — shared styles (hub + tickers + charts).
   Design language mirrors the Liquidity Theory app (lt-styles.css):
   same surface/border tokens, tight radii (4/6px), ambient neon glow field
   with the faint 44px candle-grid, card lift + accent ring on hover,
   fadeSlideIn entry. Geist Mono everywhere. */

:root {
  --bg: #08070f;
  --bg2: #0d0b18;
  --bg3: #14121f;
  --bg4: #1d1a30;
  --border: #272235;
  --border2: #363049;
  --border3: #4b4566;
  --text: #f6f5fb;
  --text2: #a8a3bb;
  --text3: #8b85a3;
  --teal: #00d4d4;
  --pink: #ff2e88;
  --gold: #e7b53a;
  --green: #21d196;
  --purple: #a855f7;
  --blurple: #5865F2;
  --teal-glow: rgba(0, 212, 212, 0.22);
  --pink-glow: rgba(255, 46, 136, 0.24);
  --radius: 4px;
  --radius-lg: 6px;
  --radius-sm: 2px;
  --grad-flamingo: linear-gradient(155deg, #ff6cae 0%, #ff2e88 55%, #d61f6f 100%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* The app's ambient neon glow field + faint candle-grid (content-area--home). */
  background-image:
    radial-gradient(900px 480px at 82% -10%, rgba(0, 212, 212, 0.12), transparent 60%),
    radial-gradient(820px 540px at 8% 4%, rgba(255, 46, 136, 0.09), transparent 58%),
    radial-gradient(760px 560px at 50% 120%, rgba(168, 85, 247, 0.10), transparent 60%),
    linear-gradient(rgba(168, 120, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 120, 220, 0.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ── entry animation (the app's fadeSlideIn) ─────────────── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeSlideIn 0.3s ease both; }
.d1 { animation-delay: 50ms; }
.d2 { animation-delay: 100ms; }
.d3 { animation-delay: 150ms; }
.d4 { animation-delay: 200ms; }
.d5 { animation-delay: 250ms; }
.d6 { animation-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation-duration: 0.15s; animation-name: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ── top bar ─────────────────────────────────────────────── */
.top {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.top > a { display: flex; align-items: center; gap: 10px; }
.vt-flamingo {
  display: inline-block; flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--grad-flamingo);
  -webkit-mask: url(vice-terminal-64.png?v=1) center / contain no-repeat;
  mask: url(vice-terminal-64.png?v=1) center / contain no-repeat;
  filter: drop-shadow(0 0 4px var(--pink-glow));
}
.top-name { font-weight: 700; font-size: 14px; letter-spacing: 0.3px; white-space: nowrap; }
.top-name strong { color: var(--pink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top-link {
  font-size: 13px; color: var(--text2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 150ms ease; white-space: nowrap;
}
.top-link:hover { color: var(--teal); }
.top-link svg, .top-link i { width: 15px; height: 15px; }
@media (max-width: 620px) { .top-link span { display: none; } }

/* ── hero ────────────────────────────────────────────────── */
.hero { padding: 56px 0 64px; }
.hero-kicker { font-size: 13px; color: var(--text3); margin-bottom: 18px; }
.hero-kicker strong { color: var(--pink); font-weight: 600; }
.hero-kicker a:hover { color: var(--teal); }
h1 {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.5px;
  max-width: 720px;
}
/* The brand's one gradient phrase — flowing like water: a seamless
   teal→purple→pink loop drifting through the letters. */
h1 .grad {
  background: linear-gradient(90deg, var(--teal), var(--purple), var(--pink), var(--purple), var(--teal));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradFlow 8s linear infinite;
}
@keyframes gradFlow {
  from { background-position: 0% 50%; }
  to { background-position: -200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  h1 .grad { animation: none; }
}
h1 .teal { color: var(--teal); }
h1 .pink { color: var(--pink); }
h1 .gold { color: var(--gold); }
.hero-sub { margin-top: 20px; max-width: 600px; color: var(--text2); font-size: 16px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--border3);
  color: var(--text); background: transparent;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out);
}
.btn i, .btn svg { width: 16px; height: 16px; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover i[data-lucide="arrow-right"], .btn:hover svg.lucide-arrow-right { transform: translateX(3px); }
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: var(--teal); box-shadow: 0 0 20px var(--teal-glow); }
  .btn-solid-teal:hover { box-shadow: 0 0 24px var(--teal-glow); }
  .btn-solid-pink:hover { border-color: var(--pink); box-shadow: 0 0 24px var(--pink-glow); }
  .btn-solid-gold:hover { border-color: var(--gold); box-shadow: 0 0 24px rgba(231, 181, 58, 0.3); }
  .btn-gold:hover { border-color: var(--gold); box-shadow: 0 0 20px rgba(231, 181, 58, 0.25); }
}
.btn-solid-teal { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.btn-solid-pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-solid-gold { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-gold { border-color: var(--gold); color: var(--gold); }

/* ── sections ────────────────────────────────────────────── */
.section { padding: 0 0 72px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.section-head p { color: var(--text3); font-size: 13.5px; margin-top: 6px; max-width: 620px; }

/* ── offering cards (hub) — the app's course-card interaction ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  --caccent: var(--teal);
  position: relative;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg4) 32%, var(--bg3)) 0%, var(--bg3) 90px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 32px -24px rgba(0, 0, 0, 0.9);
  padding: 24px 22px 22px;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}
.card.c-teal { --caccent: var(--teal); }
.card.c-pink { --caccent: var(--pink); }
.card.c-gold { --caccent: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-icon { border-color: var(--caccent); }
  .card:hover {
    border-color: var(--caccent);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04),
                0 10px 26px -12px color-mix(in srgb, var(--caccent) 55%, transparent),
                0 0 0 1px color-mix(in srgb, var(--caccent) 22%, transparent);
  }
}
.card:active { transform: translateY(-1px) scale(0.99); }

.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.card-icon {
  width: 38px; height: 38px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border2);
  background: var(--bg2);
  color: var(--caccent);
}
.card-icon i, .card-icon svg { width: 18px; height: 18px; }

/* "Discord bot" chip — the two bots wear this next to their icon. */
.bot-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2px;
  color: #b6bffa;
  border: 1px solid rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.12);
  border-radius: 999px;
  padding: 3px 10px;
}
.bot-badge svg { width: 13px; height: 13px; fill: #b6bffa; }

.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.card .card-tag { font-size: 12px; color: var(--caccent); font-weight: 600; margin-top: 3px; }
.card p.desc { color: var(--text2); font-size: 13.5px; margin-top: 14px; }
.card ul {
  list-style: none; margin: 16px 0 20px; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.card li {
  font-size: 12.5px; color: var(--text2);
  position: relative; padding-left: 15px;
}
.card li::before {
  content: ''; position: absolute;
  left: 0; top: 7.5px;
  width: 5px; height: 5px; border-radius: 1px;
  background: var(--caccent);
}
code, .card li code {
  font-family: inherit; font-size: 12px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1px 6px; color: var(--text);
  white-space: nowrap;
}
.card .btn { justify-content: center; }
.card .note { font-size: 11.5px; color: var(--text3); margin-top: 10px; text-align: center; }

/* Liquidity Theory lockup on the Academy card */
.lt-lockup {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg2);
  padding: 12px 14px; margin-top: 16px;
}
.lt-lockup svg { width: 34px; height: 30px; flex-shrink: 0; color: #f2f4f4; }
.lt-lockup-name { font-size: 13.5px; font-weight: 700; letter-spacing: -0.2px; }
.lt-lockup-sub { font-size: 10.5px; color: var(--text3); margin-top: 1px; }

/* ── discord member-list mock ────────────────────────────── */
.mock-sidebar {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg2); padding: 12px 14px;
  margin-top: 16px; font-size: 12.5px;
  display: flex; flex-direction: column; gap: 9px;
}
.mock-sidebar.big { font-size: 13.5px; padding: 16px 18px; gap: 4px; max-width: 340px; box-shadow: 0 16px 44px -16px rgba(0,0,0,0.72); }
.mock-label { font-size: 11px; color: var(--text3); margin-bottom: 6px; }
.mock-row { display: flex; align-items: center; gap: 8px; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-name { font-weight: 600; }
.mock-app {
  margin-left: auto; font-size: 9.5px; font-weight: 700;
  background: var(--blurple); color: #fff; border-radius: 3px; padding: 1px 5px;
}
.mock-status { font-size: 11px; color: var(--text3); padding: 0 0 8px 16px; }

/* ── deep-dive reference blocks ──────────────────────────── */
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg3); padding: 22px 22px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 10px 28px -24px rgba(0, 0, 0, 0.85);
  transition: border-color 180ms ease;
}
.ref-card:hover { border-color: var(--border2); }
.ref-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ref-card .ref-sub { font-size: 12px; color: var(--text3); margin-bottom: 10px; }
.cmd-row {
  display: flex; gap: 14px; align-items: baseline;
  padding: 8px 0;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
}
.cmd-row:first-of-type { border-top: 0; }
.cmd-row code { flex-shrink: 0; }
.cmd-row span { color: var(--text2); }
.cmd-row .right { margin-left: auto; text-align: right; color: var(--text3); }

/* steps (how it works) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg3); padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 10px 28px -24px rgba(0, 0, 0, 0.85);
  transition: border-color 180ms ease;
}
.step:hover { border-color: var(--border2); }
.step-num { font-size: 12px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.step h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 12.5px; color: var(--text2); }

/* screenshots gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr; } }
.shot { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg3); overflow: hidden; transition: border-color 180ms ease; }
.shot:hover { border-color: var(--border2); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 12px 16px; font-size: 12px; color: var(--text2);
  border-top: 1px solid var(--border);
}
.shot figcaption code { font-size: 11.5px; }
.shot.wide { grid-column: 1 / -1; }

/* inline pill list (venues, timeframes) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  font-size: 12px; color: var(--text2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 3px 12px; background: var(--bg3);
}
.pill strong { color: var(--text); font-weight: 600; }

/* ── footer ──────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 26px 0 40px; }
.foot-inner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--text3);
}
.foot-inner .vt-flamingo { width: 22px; height: 22px; }
.foot-inner strong { color: var(--pink); }
.foot-links { margin-left: auto; display: flex; gap: 18px; }
.foot-links a { color: var(--text3); transition: color 150ms ease; }
.foot-links a:hover { color: var(--teal); }

/* ── Discord window mock (.dmock) ─────────────────────────────
   A faithful miniature of Discord's dark UI to showcase the bots in
   practice. Discord's own palette on purpose — this block depicts
   Discord, not the Vice Terminal surface. Sans-serif inside for the
   same reason; commands render in the site mono. */
.dmock {
  display: flex; overflow: hidden;
  margin-top: 44px;
  max-width: 860px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: #313338; color: #dbdee1;
  font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px; line-height: 1.4; text-align: left;
  box-shadow: 0 16px 44px -16px rgba(0, 0, 0, 0.72);
}
.dmock-side {
  width: 180px; flex-shrink: 0;
  background: #2b2d31; padding: 0 8px 12px;
  border-right: 1px solid #26272b;
}
.dmock-server {
  font-weight: 700; font-size: 13px; color: #f2f3f5;
  padding: 12px 10px; margin-bottom: 6px;
  border-bottom: 1px solid #26272b;
  display: flex; align-items: center; gap: 7px;
}
.dmock-server .vt-flamingo { width: 16px; height: 16px; filter: none; }
.dmock-chanlabel { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; color: #949ba4; padding: 8px 10px 3px; }
.dmock-chan {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 4px;
  color: #949ba4; font-weight: 500;
}
.dmock-chan::before { content: '#'; color: #80848e; font-weight: 400; }
.dmock-chan.active { background: #404249; color: #fff; }
.dmock-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dmock-chat-head {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid #26272b;
  font-weight: 700; color: #f2f3f5;
}
.dmock-chat-head::before { content: '#'; color: #80848e; font-weight: 400; font-size: 16px; }
.dmock-msgs { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 16px; }
.dmsg { display: flex; gap: 11px; min-width: 0; }
.dmsg-av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
}
.dmsg-body { min-width: 0; }
.dmsg-name { font-weight: 600; color: #f2f3f5; font-size: 13.5px; }
.dmsg-app {
  display: inline-block; background: #5865F2; color: #fff;
  font-size: 9px; font-weight: 700; border-radius: 3px;
  padding: 1px 4px; margin-left: 5px; vertical-align: 1.5px;
}
.dmsg-time { font-size: 10.5px; color: #949ba4; margin-left: 6px; }
.dmsg-text { color: #dbdee1; margin-top: 2px; overflow-wrap: anywhere; }
.dmsg-text .vc-cmd {
  font-family: 'Geist Mono', ui-monospace, Menlo, monospace;
  font-size: 12px; background: #1e1f22; border-radius: 4px; padding: 2px 6px;
}
.dmsg-img {
  display: block; width: 100%; max-width: 440px;
  margin-top: 7px; border-radius: 6px; border: 1px solid #26272b;
}
.dmock-members {
  width: 210px; flex-shrink: 0;
  background: #2b2d31; border-left: 1px solid #26272b;
  padding: 10px 8px 14px;
}
.dmock-mhead { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; color: #949ba4; padding: 8px 8px 4px; }
.dmember { display: flex; align-items: center; gap: 9px; padding: 4px 8px; border-radius: 4px; }
.dmember-av {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: #fff;
}
.dmember-dot {
  position: absolute; right: -3px; bottom: -3px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid #2b2d31;
}
.dmember-info { min-width: 0; }
.dmember-name {
  font-weight: 600; font-size: 12.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dmember-status {
  font-size: 10px; color: #949ba4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dmember-app {
  margin-left: auto; flex-shrink: 0;
  background: #5865F2; color: #fff;
  font-size: 8.5px; font-weight: 700; border-radius: 3px; padding: 1px 4px;
}
@media (max-width: 900px) { .dmock-side { display: none; } }
@media (max-width: 640px) {
  .dmock--members .dmock-chat { display: none; }
  .dmock--members .dmock-members { width: 100%; border-left: 0; }
}

/* ── in-page chart-bot demo (charts page) ────────────────── */
.demo {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg3); padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 44px -28px rgba(0, 0, 0, 0.9);
}
.demo-bar { display: flex; gap: 10px; align-items: center; }
.demo-prefix {
  font-weight: 700; color: var(--pink);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 9px 12px; font-size: 14px;
}
.demo-input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--text);
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 10px 14px; outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.demo-input:focus { border-color: var(--pink); box-shadow: 0 0 16px var(--pink-glow); }
.demo-run { padding: 10px 22px; }
.demo-run:disabled { opacity: 0.55; cursor: wait; }
.demo-egs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.demo-eg {
  font: inherit; font-size: 12px; color: var(--text2);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 12px; cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
}
.demo-eg:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .demo-eg:hover { color: var(--text); border-color: var(--pink); }
}
.demo-chart {
  position: relative;
  margin-top: 14px;
  height: clamp(380px, 52vw, 620px);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #0d1117; overflow: hidden;
}
.demo-msg { margin-top: 10px; font-size: 12px; color: var(--text3); white-space: pre-line; min-height: 18px; }
.demo-msg--err { color: var(--pink); }
@media (max-width: 560px) {
  .demo-bar { flex-wrap: wrap; }
  .demo-input { flex: 1 1 calc(100% - 54px); } /* full row beside the vc chip */
  .demo-run { flex: 1 1 100%; }
}

/* ── polish pass: focus, selection, page accents, mobile rhythm ── */
a:focus-visible, button:focus-visible, .demo-eg:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
.demo-input:focus-visible { outline: none; } /* it has its own focus ring */
::selection { background: rgba(0, 212, 212, 0.28); color: var(--text); }

/* per-page accent (tickers page runs gold) */
.pg-gold .step-num { color: var(--gold); }
.pg-gold .hero-kicker a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .hero { padding: 44px 0 48px; }
  .section { padding: 0 0 48px; }
  .section-head { margin-bottom: 22px; }
  .hero-ctas { margin-top: 26px; }
  .dmock { margin-top: 32px; }
  .card { padding: 20px 18px; }
  .demo-input { font-size: 16px; } /* ≥16px stops iOS zooming the page on focus */
  .foot-inner { row-gap: 8px; }
  .foot-links { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  .cmd-row { flex-wrap: wrap; row-gap: 2px; }
  .cmd-row .right { margin-left: 0; text-align: left; }
  .demo-chart { height: 400px; }
}

/* real coin marks as member-list avatars */
.dmember-av svg.coin { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }

/* anchored sections shouldn't land flush against the viewport edge */
section[id] { scroll-margin-top: 24px; }

/* demo loading skeleton — lives inside .demo-chart until the first render */
.demo-skel {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px; text-align: center;
  color: var(--text3); font-size: 12.5px;
  pointer-events: none;
  animation: skelPulse 1.6s ease-in-out infinite;
}
@keyframes skelPulse { 50% { opacity: 0.45; } }

/* live-demo caption under the tickers-page member-list mock */
.dmock-note { margin-top: 12px; font-size: 12px; color: var(--text3); max-width: 560px; }

/* ── scroll-reveal (below-fold companion to the on-load .reveal) ── */
.sr { opacity: 0; transform: translateY(14px); transition: opacity 420ms ease, transform 420ms var(--ease-out); }
.sr.sr-d1 { transition-delay: 70ms; }
.sr.sr-d2 { transition-delay: 140ms; }
.sr-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
}

/* live-price flash when a ticker value changes */
.tick-flash { animation: tickFlash 600ms ease-out; }
@keyframes tickFlash { 0% { filter: brightness(1.7); } 100% { filter: none; } }
@media (prefers-reduced-motion: reduce) { .tick-flash { animation: none; } }

/* gallery images open full-size */
.shot > a { display: block; }

/* live server-count stat (charts hero) */
.hero-stat {
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text3);
}
.hero-stat b { color: var(--text); font-weight: 700; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #23a55a;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
