/* Fomo App — site styles
   Palette from brand logo: dark navy #060510 + pale lavender #E9E7FF
   Style: Minimal / Swiss, Inter, subtle motion */

:root {
  --bg: #060510;
  --bg-elev: #0c0a1d;
  --card: #110f28;
  --card-hover: #171434;
  --border: #221f45;
  --border-strong: #322e5e;
  --fg: #edebff;
  --fg-soft: #c9c6e8;
  --muted: #9b97c4;
  --accent: #b8b2ff;
  --accent-strong: #7c74f5;
  --on-accent: #060510;
  --success: #4ade80;
  --danger: #f87171;
  --ring: #b8b2ff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --container: 1160px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0 0 var(--space-4); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--fg); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); }
.lead { font-size: 1.125rem; color: var(--fg-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-3); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-8) 0; }
.section--tight { padding: var(--space-7) 0; }
.section-head { max-width: 680px; margin-bottom: var(--space-6); }
.section-head p { color: var(--fg-soft); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,5,16,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--space-5); }
.nav-links a { color: var(--fg-soft); font-weight: 500; font-size: .95rem; padding: 8px 0; }
.nav-links a:hover { color: var(--fg); }
.nav .nav-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border); border-radius: 10px; color: var(--fg); }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--bg-elev); }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: var(--space-3) 0; }
.mobile-menu a { display: block; padding: 12px var(--space-5); color: var(--fg-soft); font-weight: 500; min-height: 44px; }
.mobile-menu a:hover { color: var(--fg); background: var(--card); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill); font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--fg); color: var(--on-accent); }
.btn--primary:hover { background: #fff; color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--fg); background: rgba(184,178,255,.06); }
.btn--accent { background: var(--accent-strong); color: #fff; }
.btn--accent:hover { background: #8d86ff; color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }

/* Hero */
.hero { position: relative; padding: var(--space-8) 0 var(--space-7); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(ellipse at 70% 30%, rgba(124,116,245,.18), transparent 55%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: var(--space-6); align-items: center; }
.hero-copy .lead { margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .9rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent); }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); }
@media (min-width: 900px) {
  .hero { padding: var(--space-9) 0 var(--space-8); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-8); }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); background: var(--bg-elev); }
.stat { text-align: left; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); }
.stat span { color: var(--muted); font-size: .875rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); padding: var(--space-6); } .stat strong { font-size: 1.9rem; } }

/* Cards / grids */
.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); color: var(--fg); transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
a.card:hover { border-color: var(--border-strong); background: var(--card-hover); transform: translateY(-2px); color: var(--fg); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .icon { width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(184,178,255,.1); color: var(--accent); margin-bottom: var(--space-4); }
.card .icon svg { width: 22px; height: 22px; }
.card .link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-4); font-size: .9rem; font-weight: 600; color: var(--accent); }
.card .link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .link svg { transform: translateX(3px); }

.chain-card { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); }
.chain-card .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--accent); box-shadow: 0 0 0 4px rgba(184,178,255,.12); }
.chain-ico { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(184,178,255,.1); border: 1px solid var(--border-strong); }
.chain-ico img { width: 20px; height: 20px; }
.chain-card h3 { margin: 0; font-size: 1rem; }
.chain-card p { font-size: .85rem; }

/* Split section */
.split { display: grid; gap: var(--space-6); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.split picture { display: block; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); } .split--flip > :first-child { order: 2; } }

/* Fees table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: .95rem; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--fg); }

/* Download */
.dl-card { text-align: left; }
.dl-card .badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(184,178,255,.12); color: var(--accent); margin-bottom: var(--space-3); }

/* Link lists */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--fg-soft); background: var(--card); font-weight: 500; min-height: 48px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.link-list a:hover { border-color: var(--border-strong); background: var(--card-hover); color: var(--fg); }
.link-list svg { width: 16px; height: 16px; color: var(--muted); flex: none; }

/* FAQ */
.faq { display: grid; gap: var(--space-3); max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--fg-soft); }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band { border: 1px solid var(--border); border-radius: 20px; padding: var(--space-7) var(--space-5); text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(124,116,245,.16), var(--bg-elev) 65%); }
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band .lead { margin: 0 auto var(--space-5); }
.cta-band .hero-actions { justify-content: center; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-7) 0 var(--space-6); background: var(--bg-elev); color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-5); margin-bottom: var(--space-6); }
.footer-grid h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); margin-bottom: var(--space-3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: var(--space-5); display: grid; gap: var(--space-3); }
.footer-bottom p { margin: 0; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }

/* Reveal (subtle, JS adds .in) */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* ---------- Canvas visuals ---------- */
.device-wrap { position: relative; display: grid; place-items: center; padding: var(--space-4) 0; }
.device-wrap::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(124,116,245,.28), rgba(124,116,245,0) 65%); filter: blur(10px); pointer-events: none; }
.device { position: relative; width: min(300px, 82%); aspect-ratio: 9 / 18.5; border-radius: 42px; background: #0c0a1d; border: 1px solid var(--border-strong); box-shadow: 0 0 0 7px #0f0d24, 0 0 0 8px #262250, 0 40px 90px rgba(6,5,16,.8), 0 0 60px rgba(124,116,245,.15); overflow: hidden; }
.device::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 12px; background: #060510; }
.device-screen { position: absolute; inset: 0; padding: 48px 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.token-row { display: flex; align-items: center; gap: 10px; padding: 2px 4px; }
.token-row .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #edebff, #7c74f5); flex: none; object-fit: cover; }
.token-row .name { font-weight: 700; font-size: .9rem; line-height: 1.1; }
.token-row .sub { font-size: .7rem; color: var(--muted); }
.token-row .pnl { margin-left: auto; color: var(--success); font-weight: 700; font-size: .85rem; }
.chart-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 10px 8px 6px; }
.chart-card canvas { width: 100%; height: 118px; display: block; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li { display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; font-size: .74rem; color: var(--fg-soft); animation: feedIn .45s var(--ease); }
.feed .av { width: 26px; height: 26px; border-radius: 50%; background: #b8b2ff; flex: none; object-fit: cover; border: 1px solid rgba(184,178,255,.4); }
.feed .tx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .tx strong { color: var(--fg); font-weight: 600; }
.feed .pnl { margin-left: auto; color: var(--success); font-weight: 700; flex: none; }
.buy-btn { margin-top: auto; background: var(--fg); color: var(--on-accent); text-align: center; font-weight: 700; font-size: .8rem; padding: 11px; border-radius: 999px; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.cv-wrap { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); border: 1px solid var(--border); background: radial-gradient(ellipse at 50% 50%, rgba(124,116,245,.10), var(--bg-elev) 72%); overflow: hidden; }
.cv-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Big quote (X is Y definition) ---------- */
.bigquote { padding: var(--space-8) 0; position: relative; }
.bigquote-inner { position: relative; max-width: 940px; margin: 0 auto; padding: var(--space-6) var(--space-5) var(--space-6) calc(var(--space-5) + 6px); border-left: 3px solid var(--accent); }
.bigquote-mark { position: absolute; left: 18px; top: -22px; font-size: 9rem; line-height: 1; font-weight: 700; color: rgba(184,178,255,.12); pointer-events: none; user-select: none; letter-spacing: -0.05em; }
.bigquote-q { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-4); }
.bigquote-a { font-size: clamp(1.45rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.28; letter-spacing: -0.02em; color: var(--fg); margin: 0; text-wrap: balance; max-width: 30ch; }
.bigquote-src { margin: var(--space-4) 0 0; color: var(--muted); font-size: .875rem; }
@media (min-width: 900px) { .bigquote-inner { padding-left: calc(var(--space-7) + 6px); } .bigquote-mark { left: 34px; } }

/* =====================================================================
   COLOR PASS — accent palette + chain brand colors (later rules win)
   ===================================================================== */
:root {
  --c-violet: #8b7cff; --c-cyan: #3ee0ff; --c-teal: #2ee6a6; --c-amber: #ffb547; --c-pink: #ff6ec7; --c-orange: #ff8a5b; --c-blue: #4f8bff;
  --sol-a: #9945ff; --sol-b: #14f195; --base-c: #0052ff; --bnb-c: #f0b90b; --monad-c: #836ef9; --eth-c: #627eea; --hood-c: #00c805;
  --grad-main: linear-gradient(90deg, #b8b2ff 0%, #3ee0ff 55%, #ff6ec7 100%);
  --grad-btn: linear-gradient(90deg, #7c74f5, #a855f7 60%, #ec4899);
}
.grad { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { background: linear-gradient(90deg, var(--c-cyan), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero: multi-hue orbs */
.hero::before { inset: -30% -10% auto; height: 130%; background:
  radial-gradient(ellipse at 75% 35%, rgba(124,116,245,.30), transparent 50%),
  radial-gradient(ellipse at 95% 85%, rgba(62,224,255,.16), transparent 45%),
  radial-gradient(ellipse at 10% 20%, rgba(255,110,199,.14), transparent 45%); }
.device-wrap::before { background: conic-gradient(from 180deg, rgba(124,116,245,.45), rgba(62,224,255,.35), rgba(255,110,199,.35), rgba(124,116,245,.45)); filter: blur(60px); opacity: .55; width: 78%; }
.device { box-shadow: 0 0 0 7px #0f0d24, 0 0 0 8px #2d2860, 0 40px 90px rgba(6,5,16,.85), 0 0 80px rgba(124,116,245,.28), 0 0 120px rgba(62,224,255,.12); }
.token-row .av { background: linear-gradient(135deg, #ff6ec7, #7c74f5); }
.buy-btn { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 24px rgba(168,85,247,.35); }
.feed li:nth-child(4n+1) .av { border-color: rgba(62,224,255,.7); box-shadow: 0 0 0 2px rgba(62,224,255,.18); }
.feed li:nth-child(4n+2) .av { border-color: rgba(255,110,199,.7); box-shadow: 0 0 0 2px rgba(255,110,199,.18); }
.feed li:nth-child(4n+3) .av { border-color: rgba(255,181,71,.7); box-shadow: 0 0 0 2px rgba(255,181,71,.18); }
.feed li:nth-child(4n+4) .av { border-color: rgba(46,230,166,.7); box-shadow: 0 0 0 2px rgba(46,230,166,.18); }

/* buttons */
.btn--accent { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 24px rgba(168,85,247,.28); }
.btn--accent:hover { background: var(--grad-btn); filter: brightness(1.1); color: #fff; }
.btn--ghost:hover { border-color: var(--c-cyan); background: rgba(62,224,255,.06); }

/* stats */
.stats { background: linear-gradient(135deg, rgba(124,116,245,.10), rgba(62,224,255,.06) 50%, rgba(255,110,199,.08)), var(--bg-elev); border-color: var(--border-strong); }
.stat strong { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(2) strong { background: linear-gradient(90deg, #3ee0ff, #2ee6a6); -webkit-background-clip: text; background-clip: text; }
.stat:nth-child(3) strong { background: linear-gradient(90deg, #ffb547, #ff6ec7); -webkit-background-clip: text; background-clip: text; }
.stat:nth-child(4) strong { background: linear-gradient(90deg, #2ee6a6, #3ee0ff); -webkit-background-clip: text; background-clip: text; }

/* tinted alternate sections */
.section--alt { background: radial-gradient(ellipse at 0% 0%, rgba(62,224,255,.07), transparent 45%), radial-gradient(ellipse at 100% 100%, rgba(255,110,199,.07), transparent 45%), var(--bg-elev) !important; }

/* feature cards: per-tone icons + hover glow line */
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--tone, var(--accent)); opacity: 0; transition: opacity .25s var(--ease); }
a.card:hover::before { opacity: 1; }
a.card:hover { box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--tone, var(--accent)) 45%, transparent); }
.card .icon { background: color-mix(in srgb, var(--tone, var(--accent)) 16%, transparent); color: var(--tone, var(--accent)); }
.card .link { color: var(--tone, var(--accent)); }
.tone-violet { --tone: #a78bfa; } .tone-cyan { --tone: #3ee0ff; } .tone-amber { --tone: #ffb547; }
.tone-teal { --tone: #2ee6a6; } .tone-pink { --tone: #ff6ec7; } .tone-orange { --tone: #ff8a5b; } .tone-blue { --tone: #4f8bff; }

/* chain cards: brand colors */
.chain-ico { border: 0; }
.ico-sol { background: linear-gradient(135deg, #9945ff, #14f195); }
.ico-base { background: #0052ff; }
.ico-bnb { background: #f0b90b; }
.ico-bnb img { filter: brightness(0) saturate(100%) invert(8%); }
.ico-monad { background: #836ef9; }
.ico-eth { background: linear-gradient(135deg, #627eea, #8fa3ff); }
.ico-hood { background: #00c805; }
.ico-hood img { filter: brightness(0) saturate(100%) invert(8%); }
.chain-card:hover { border-color: var(--tone, var(--border-strong)); }
.chain-card.tone-sol { --tone: #9945ff; } .chain-card.tone-base { --tone: #0052ff; } .chain-card.tone-bnb { --tone: #f0b90b; }
.chain-card.tone-monad { --tone: #836ef9; } .chain-card.tone-eth { --tone: #627eea; } .chain-card.tone-hood { --tone: #00c805; }

/* download cards */
.dl-card .badge { background: color-mix(in srgb, var(--tone, var(--accent)) 16%, transparent); color: var(--tone, var(--accent)); }

/* fees table accents */
td .fee-pos { color: var(--c-teal); font-weight: 700; } td .fee-zero { color: var(--c-cyan); font-weight: 700; } td .fee-off { color: var(--c-pink); font-weight: 700; }

/* big quote */
.bigquote-inner { border-left: 0; }
.bigquote-inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #3ee0ff, #b8b2ff, #ff6ec7); }
.bigquote-mark { background: linear-gradient(135deg, rgba(62,224,255,.28), rgba(255,110,199,.28)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigquote-a em { font-style: normal; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* canvas wrap + cta band */
.cv-wrap { background: radial-gradient(ellipse at 20% 20%, rgba(62,224,255,.10), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(255,110,199,.10), transparent 50%), var(--bg-elev); }
.cta-band { background: radial-gradient(ellipse at 20% 0%, rgba(124,116,245,.28), transparent 50%), radial-gradient(ellipse at 80% 100%, rgba(62,224,255,.18), transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(255,110,199,.10), transparent 60%), var(--bg-elev); border-color: var(--border-strong); }

/* link lists hover */
.link-list a:hover { border-color: var(--c-cyan); }
.link-list a:hover svg { color: var(--c-cyan); }

/* footer headings */
.footer-grid h4 { color: var(--accent); }

/* ---------- Article / inner pages ---------- */
.page-hero { padding: var(--space-7) 0 var(--space-6); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: var(--space-4); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--fg); }
.article { max-width: 780px; }
.article h2 { margin-top: var(--space-7); font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.article h3 { margin-top: var(--space-5); }
.article p, .article li { color: var(--fg-soft); }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 var(--space-4); }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--accent); }
.article .table-wrap { margin: var(--space-4) 0 var(--space-5); }
.verdict { display: grid; gap: var(--space-4); margin: var(--space-5) 0; }
@media (min-width: 720px) { .verdict { grid-template-columns: 1fr 1fr; } }
.verdict .card { --tone: var(--c-teal); }
.verdict .card.risk { --tone: var(--c-amber); }
.verdict .card h3 { display: flex; align-items: center; gap: 10px; color: var(--tone); margin-bottom: var(--space-3); }
.verdict .card h3 svg { width: 20px; height: 20px; }
.verdict .card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.verdict .card li { display: flex; gap: 10px; color: var(--fg-soft); font-size: .95rem; }
.verdict .card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tone); flex: none; margin-top: 9px; }
.callout { border: 1px solid var(--border-strong); border-left: 3px solid var(--c-pink); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); background: rgba(255,110,199,.05); margin: var(--space-5) 0; }
.callout strong { color: var(--fg); }
.fact-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: 10px; }
.fact-list li { display: grid; grid-template-columns: 150px 1fr; gap: var(--space-3); padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.fact-list li span:first-child { color: var(--muted); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
@media (max-width: 560px) { .fact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Centered hero ---------- */
.hero--center { padding-bottom: 0; }
.hero--center .hero-copy { text-align: center; max-width: 880px; margin: 0 auto; }
.hero--center h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero--center .lead { margin-left: auto; margin-right: auto; }
.hero--center .hero-actions, .hero--center .hero-trust { justify-content: center; }
.hero--center .device-wrap { margin-top: var(--space-6); padding-bottom: 0; align-items: end; }
.hero--center .device { width: min(320px, 78%); border-bottom-left-radius: 0; border-bottom-right-radius: 0; aspect-ratio: 9 / 14; }
.hero--center .device-wrap::before { top: 10%; }
@media (min-width: 900px) { .hero--center { padding-top: var(--space-8); } .hero--center .device-wrap { margin-top: var(--space-7); } }

/* ---------- Referral code chip ---------- */
.code-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: var(--space-5); padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: linear-gradient(90deg, rgba(124,116,245,.14), rgba(62,224,255,.08)); }
.code-chip-label { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.code-chip-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; color: var(--fg); }
.code-chip-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--fg); color: var(--on-accent); font-weight: 600; font-size: .85rem; transition: background .2s var(--ease); }
.code-chip-btn:hover { background: #fff; }
.code-chip-btn svg { width: 15px; height: 15px; }
.code-chip-off { font-size: .8rem; color: var(--c-teal); font-weight: 600; padding-right: 6px; }
.cta-band .code-chip { margin: 0 auto var(--space-5); }

/* ---------- Video blocks ---------- */
.hero--video { padding-bottom: var(--space-8); }
.hero-video, .page-video { position: relative; max-width: 1080px; margin: var(--space-6) auto 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-strong); background: #000; box-shadow: 0 30px 90px rgba(6,5,16,.8), 0 0 80px rgba(124,116,245,.22), 0 0 140px rgba(62,224,255,.10); aspect-ratio: 16 / 9; }
.hero-video video, .page-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-video { margin-top: var(--space-6); }
.video-sound { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(6,5,16,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--fg); font-weight: 600; font-size: .85rem; transition: background .2s var(--ease), border-color .2s var(--ease); }
.video-sound:hover { background: rgba(6,5,16,.9); border-color: var(--c-cyan); }
.video-sound svg { width: 18px; height: 18px; }
.video-sound .ico-on { display: none; }
.video-sound.is-on .ico-on { display: block; } .video-sound.is-on .ico-off { display: none; }
.split--ov { align-items: center; }
.split--ov .device-wrap { padding: var(--space-4) 0; }
.split--ov .device { width: min(300px, 82%); aspect-ratio: 9 / 18.5; border-radius: 42px; }
@media (min-width: 900px) { .hero--video .hero-video { margin-top: var(--space-7); } }
.page-video--portrait { aspect-ratio: 4 / 5; max-width: 460px; margin-left: 0; }
.page-video--portrait video { object-fit: cover; }

/* ---------- Steps (stylish numbered timeline) ---------- */
.steps { list-style: none; margin: var(--space-5) 0 var(--space-6); padding: 0; display: grid; gap: 0; position: relative; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding: 0 0 var(--space-5) 0; counter-increment: step; }
.steps li::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(184,178,255,.45), rgba(62,224,255,.12)); }
.steps li:last-child::before { display: none; }
.steps .num { position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #060510; background: var(--grad-main); box-shadow: 0 10px 30px -8px rgba(124,116,245,.6), inset 0 0 0 1px rgba(255,255,255,.35); }
.steps .num::after { content: counter(step); }
.steps .num svg { display: none; }
.steps .body { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4) var(--space-5); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.steps li:hover .body { border-color: var(--border-strong); transform: translateX(2px); }
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.steps h3 .tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(62,224,255,.12); color: var(--c-cyan); }
.steps p { margin: 0; color: var(--fg-soft); font-size: .95rem; }
.steps p + p { margin-top: 6px; }
.steps code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(184,178,255,.12); color: var(--fg); padding: 2px 8px; border-radius: 6px; font-size: .9em; letter-spacing: .06em; }
.steps li:nth-child(2) .num { background: linear-gradient(135deg, #3ee0ff, #2ee6a6); }
.steps li:nth-child(3) .num { background: linear-gradient(135deg, #ffb547, #ff8a5b); }
.steps li:nth-child(4) .num { background: linear-gradient(135deg, #ff6ec7, #a855f7); }
.steps li:nth-child(5) .num { background: linear-gradient(135deg, #2ee6a6, #3ee0ff); }
.steps li:nth-child(6) .num { background: linear-gradient(135deg, #b8b2ff, #7c74f5); }
@media (max-width: 560px) { .steps li { grid-template-columns: 44px 1fr; gap: var(--space-3); } .steps .num { width: 44px; height: 44px; border-radius: 14px; font-size: 1rem; } .steps li::before { left: 21px; top: 44px; } }

/* ---------- Store hero (android / ios) ---------- */
.store-hero { display: grid; gap: var(--space-6); align-items: center; }
.store-id { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.store-id img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 10px 30px rgba(6,5,16,.6), 0 0 0 1px var(--border-strong); }
.store-id .meta { font-size: .9rem; color: var(--muted); }
.store-id .meta strong { display: block; color: var(--fg); font-size: 1.05rem; }
.store-id .meta code { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: var(--fg-soft); }
.platform-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.35); color: #3ddc84; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--space-4); }
.platform-badge img { width: 18px; height: 18px; }
.btn--play { background: #fff; color: #060510; }
.btn--play:hover { background: #fff; color: #060510; box-shadow: 0 10px 30px -8px rgba(61,220,132,.6); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.shot { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong); background: #0c0a1d; box-shadow: 0 20px 50px rgba(6,5,16,.7), 0 0 40px rgba(61,220,132,.08); aspect-ratio: 1080 / 2337; transition: transform .25s var(--ease); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shots .shot:nth-child(2) { transform: translateY(-14px); }
.shot:hover { transform: translateY(-6px) scale(1.02); z-index: 1; }
.shots .shot:nth-child(2):hover { transform: translateY(-20px) scale(1.02); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: .75rem; color: var(--fg-soft); background: linear-gradient(180deg, rgba(6,5,16,0), rgba(6,5,16,.85)); text-align: center; }
@media (min-width: 900px) { .store-hero { grid-template-columns: 1.1fr .9fr; gap: var(--space-8); } }
.section-shots { padding-top: var(--space-4); }
.section-shots .shots { max-width: 900px; margin: 0 auto; }
.store-stats { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg-elev); overflow: hidden; }
.store-stats li { flex: 1 1 120px; padding: 12px 16px; border-right: 1px solid var(--border); text-align: center; }
.store-stats li:last-child { border-right: 0; }
.store-stats strong { display: inline-flex; align-items: center; gap: 4px; font-size: 1.05rem; color: var(--fg); font-weight: 700; letter-spacing: -0.01em; }
.store-stats strong svg { width: 14px; height: 14px; color: #ffb547; }
.store-stats span { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: var(--space-3); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--accent); }
.review-head .who strong { display: block; color: var(--fg); font-size: .95rem; }
.review-head .who span { font-size: .78rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; color: #ffb547; }
.stars svg.off { color: var(--border-strong); }
.review p { margin: 0; color: var(--fg-soft); font-size: .93rem; line-height: 1.55; }
.review .helpful { margin-top: auto; font-size: .75rem; color: var(--muted); }
.review.is-low { --tone: var(--c-amber); }
.reviews-note { color: var(--muted); font-size: .875rem; max-width: 70ch; }
/* screenshot captions sit below the image instead of covering it */
.section-shots .shot { aspect-ratio: auto; display: flex; flex-direction: column; }
.section-shots .shot picture { display: block; aspect-ratio: 1080 / 2337; }
.section-shots .shot figcaption { position: static; padding: 12px 14px 14px; background: var(--card); border-top: 1px solid var(--border); text-align: left; font-size: .8rem; line-height: 1.45; }
.platform-badge--ios { background: rgba(237,235,255,.08); border-color: rgba(237,235,255,.3); color: var(--fg); }
.btn--appstore { background: #fff; color: #060510; }
.btn--appstore:hover { background: #fff; color: #060510; box-shadow: 0 10px 30px -8px rgba(237,235,255,.5); }
.shots--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .shots--5 { grid-template-columns: repeat(3, 1fr); } .shots--5 .shot:nth-child(n+4) { display: none; } }

/* ---------- Download dialog ---------- */
.dlm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.dlm[hidden] { display: none; }
.dlm-backdrop { position: absolute; inset: 0; background: rgba(3,2,10,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dlm-card { position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 26px; background: linear-gradient(180deg, #0e0c22, #090817); border: 1px solid rgba(184,178,255,.28); box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px rgba(124,116,245,.25), 0 0 140px rgba(62,224,255,.08); padding: var(--space-6) var(--space-5) var(--space-5); animation: dlmIn .3s var(--ease); }
.dlm-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 20% 0%, rgba(124,116,245,.22), transparent 45%), radial-gradient(ellipse at 90% 100%, rgba(62,224,255,.12), transparent 45%); }
.dlm-card > * { position: relative; }
@keyframes dlmIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dlm-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(6,5,16,.6); color: var(--fg); display: grid; place-items: center; z-index: 2; }
.dlm-close svg { width: 18px; height: 18px; }
.dlm-close:hover { border-color: var(--accent); }
.dlm-head { text-align: center; margin-bottom: var(--space-5); }
.dlm-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: var(--space-4); }
.dlm-tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(6,5,16,.6); gap: 4px; }
.dlm-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .9rem; transition: background .2s var(--ease), color .2s var(--ease); }
.dlm-tab img { width: 16px; height: 16px; opacity: .8; }
.dlm-tab[aria-selected="true"] { background: var(--fg); color: var(--on-accent); }
.dlm-tab[aria-selected="true"] img { filter: brightness(0); opacity: 1; }
.dlm-body { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 760px) { .dlm-body { grid-template-columns: 260px 1fr; gap: var(--space-6); } }
.dlm-qr { text-align: center; }
.dlm-qr-box { position: relative; display: inline-block; padding: 12px; background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.dlm-qr-img { width: 196px; height: 196px; display: block; }
.dlm-qr-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 4px #fff; }
.dlm-qr-hint { margin: 12px 0 6px; color: var(--muted); font-size: .85rem; }
.dlm-qr-actions { display: inline-flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--fg-soft); }
.dlm-link { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; color: var(--fg); font-weight: 600; font-size: .85rem; padding: 6px 0; }
.dlm-link svg { width: 15px; height: 15px; }
.dlm-link:hover { color: var(--c-cyan); }
.dlm-store { width: 100%; min-height: 52px; font-size: 1rem; margin-bottom: var(--space-4); }
.dlm-perks { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: 10px; }
.dlm-perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-soft); font-size: .95rem; line-height: 1.45; }
.dlm-perks li b { color: var(--fg); }
.dlm-perks svg { width: 18px; height: 18px; flex: none; color: var(--c-teal); margin-top: 3px; }
.dlm-code { border: 1px solid rgba(184,178,255,.35); border-radius: 16px; padding: 14px 16px; background: linear-gradient(90deg, rgba(124,116,245,.16), rgba(62,224,255,.08)); }
.dlm-code-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.dlm-code-label span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 8px; }
.dlm-code-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dlm-code-row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.5rem; font-weight: 800; letter-spacing: .16em; color: var(--fg); background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dlm-code-note { margin: 10px 0 0; font-size: .82rem; color: var(--fg-soft); }
.dlm-steps-wrap { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); text-align: center; }
.dlm-steps-title { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-5); }
.dlm-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 720px; position: relative; }
.dlm-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 30px; height: 2px; background: linear-gradient(90deg, rgba(184,178,255,.35), rgba(62,224,255,.35), rgba(255,110,199,.35)); }
.dlm-steps li { position: relative; display: grid; justify-items: center; gap: 12px; font-size: .82rem; color: var(--fg-soft); line-height: 1.35; }
.dlm-steps .ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #0c0a1d; border: 1px solid var(--border-strong); box-shadow: 0 0 0 6px #090817, 0 0 30px rgba(124,116,245,.25); color: var(--accent); }
.dlm-steps .ic svg { width: 24px; height: 24px; }
.dlm-steps li:nth-child(2) .ic { color: var(--c-cyan); } .dlm-steps li:nth-child(4) .ic { color: var(--c-teal); }
.dlm-steps .is-code .ic { color: #060510; background: var(--grad-btn); border-color: transparent; box-shadow: 0 0 0 6px #090817, 0 0 34px rgba(168,85,247,.55); }
.dlm-steps .is-code b { color: var(--c-pink); letter-spacing: .08em; font-family: ui-monospace, Menlo, monospace; }
.dlm-guide { display: inline-block; margin-top: var(--space-5); font-size: .9rem; font-weight: 600; }
@media (max-width: 560px) { .dlm-card { padding: var(--space-6) var(--space-4) var(--space-4); border-radius: 20px; } .dlm-steps { gap: 4px; } .dlm-steps .ic { width: 48px; height: 48px; } .dlm-steps::before { top: 24px; } .dlm-steps li { font-size: .74rem; } }
body.dlm-open { overflow: hidden; }
/* fix: browser default figure margins were shrinking the screenshots */
.shot { margin: 0; }
.store-hero .shots { align-items: center; }
@media (min-width: 900px) { .store-hero { grid-template-columns: 1fr 1fr; } }
.dlm-store svg[hidden] { display: none; }
/* modal: mobile layout — steps first, big store button, code; no QR */
.dlm-card { display: flex; flex-direction: column; }
.dlm-head { order: 0; } .dlm-steps-wrap { order: 1; } .dlm-body { order: 2; }
@media (min-width: 760px) { .dlm-steps-wrap { order: 3; } }
@media (max-width: 759px) {
  .dlm { padding: 10px; align-items: end; }
  .dlm-card { max-height: calc(100vh - 20px); padding: 22px 16px 16px; border-radius: 22px; }
  .dlm-head { margin-bottom: 14px; }
  .dlm-head h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .dlm-qr { display: none !important; }
  .dlm-steps-wrap { margin: 0 0 16px; padding: 0; border-top: 0; }
  .dlm-steps-title { margin-bottom: 14px; font-size: .72rem; }
  .dlm-steps { gap: 4px; }
  .dlm-steps .ic { width: 46px; height: 46px; box-shadow: 0 0 0 4px #090817; }
  .dlm-steps .ic svg { width: 20px; height: 20px; }
  .dlm-steps::before { top: 23px; }
  .dlm-steps li { font-size: .72rem; gap: 8px; }
  .dlm-guide { margin-top: 10px; font-size: .85rem; }
  .dlm-store { min-height: 54px; font-size: 1.05rem; margin-bottom: 14px; }
  .dlm-code { padding: 12px 14px; }
  .dlm-code-row code { font-size: 1.35rem; }
  .dlm-code-note { font-size: .78rem; }
  .dlm-perks { gap: 8px; margin-bottom: 14px; }
  .dlm-perks li { font-size: .88rem; }
  .dlm-close { top: 10px; right: 10px; width: 36px; height: 36px; }
}
@media (max-width: 759px) { .dlm { align-items: center; } }

/* ---------- Phone screenshot slider ---------- */
.pslider { position: relative; width: min(330px, 88%); margin: 0 auto; }
.pslider-glow { position: absolute; inset: 8% -20% 8% -20%; border-radius: 50%; background: conic-gradient(from 180deg, rgba(124,116,245,.45), rgba(62,224,255,.35), rgba(255,110,199,.35), rgba(124,116,245,.45)); filter: blur(60px); opacity: .5; pointer-events: none; }
.pslider-frame { position: relative; aspect-ratio: 1080 / 2337; border-radius: 40px; overflow: hidden; background: #0c0a1d; border: 1px solid var(--border-strong); box-shadow: 0 0 0 7px #0f0d24, 0 0 0 8px #2d2860, 0 40px 90px rgba(6,5,16,.85), 0 0 80px rgba(124,116,245,.25); }
.pslide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.02); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.pslide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.pslide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pslider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; position: relative; }
.pslider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--border-strong); transition: width .25s var(--ease), background .25s var(--ease); }
.pslider-dot[aria-selected="true"] { width: 26px; background: var(--grad-main); }
.pslider-dot:hover { background: var(--accent); }
.store-hero .pslider { margin-top: var(--space-4); }

/* ---------- Dialog fixes + referral card redesign ---------- */
.dlm-qr-img[hidden] { display: none; }
.dlm-perks li .t { flex: 1; }
.dlm-perks li .t b { color: var(--fg); }
.dlm-head p { margin: 0 0 var(--space-4); color: var(--fg-soft); max-width: 46ch; margin-left: auto; margin-right: auto; }
.dlm-code { position: relative; border: 1px solid transparent; border-radius: 18px; padding: 16px 16px 14px; background: linear-gradient(#0e0c22, #0e0c22) padding-box, linear-gradient(120deg, #7c74f5, #3ee0ff 50%, #ff6ec7) border-box; box-shadow: 0 0 40px rgba(124,116,245,.18); }
.dlm-code-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.dlm-code-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.dlm-code-top code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.7rem; font-weight: 800; letter-spacing: .14em; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.dlm-code-top .btn { min-height: 44px; padding: 0 18px; }
.dlm-why { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.dlm-why li { display: flex; gap: 10px; font-size: .88rem; color: var(--fg-soft); line-height: 1.45; }
.dlm-why li b { color: var(--fg); }
.dlm-why li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--c-teal); }
.dlm-why-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.code-green { color: var(--c-teal); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; letter-spacing: .08em; }
.hl-green { color: var(--c-teal); font-weight: 800; }
@media (max-width: 759px) { .dlm-main .dlm-code { margin-bottom: 16px; } }
/* mobile: steps become a plain vertical list, no glow, no connector */
@media (max-width: 759px) {
  .dlm-steps { grid-template-columns: 1fr; gap: 8px; max-width: none; }
  .dlm-steps::before { display: none; }
  .dlm-steps li { grid-template-columns: 40px 1fr; align-items: center; justify-items: start; gap: 12px; text-align: left; font-size: .9rem; color: var(--fg-soft); padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: rgba(6,5,16,.35); }
  .dlm-steps li br { display: none; }
  .dlm-steps .ic, .dlm-steps .is-code .ic { width: 36px; height: 36px; border-radius: 10px; box-shadow: none; }
  .dlm-steps .ic svg { width: 18px; height: 18px; }
  .dlm-steps .is-code { border-color: rgba(168,85,247,.5); }
  .dlm-steps .is-code b { margin-left: 6px; }
  .dlm-steps-title { text-align: left; margin-bottom: 10px; }
  .dlm-guide { display: block; text-align: left; margin-top: 10px; }
}
@media (max-width: 759px) { .dlm-steps .nl { display: none; } .dlm-steps .is-code b { margin-left: 0; } }
.dlm-steps .is-code b { color: var(--c-teal); font-family: inherit; letter-spacing: .04em; font-weight: 800; }
/* dialog order: head → steps → platform tabs → body (both desktop and mobile) */
.dlm-head { order: 0; } .dlm-steps-wrap { order: 1; } .dlm-tabs-wrap { order: 2; text-align: center; margin-bottom: var(--space-5); } .dlm-body { order: 3; }
@media (min-width: 760px) {
  .dlm-steps-wrap { order: 1; margin: 0 0 var(--space-5); padding: 0 0 var(--space-5); border-top: 0; border-bottom: 1px solid var(--border); }
  .dlm-head { margin-bottom: var(--space-5); }
  .dlm-head p { margin-bottom: 0; }
  .dlm-steps-title { margin-bottom: var(--space-4); }
  .dlm-steps .ic { width: 52px; height: 52px; }
  .dlm-steps::before { top: 26px; }
  .dlm-guide { display: none; }
}
@media (max-width: 759px) { .dlm-tabs-wrap { margin-bottom: 14px; } .dlm-steps-wrap { margin-bottom: 14px; } }
/* mobile dialog: only what matters — title, steps, store button, code card */
@media (max-width: 759px) {
  .dlm-tabs-wrap, .dlm-perks, .dlm-guide { display: none !important; }
  .dlm-head h2 { font-size: 1.4rem; }
  .dlm-head p { font-size: .92rem; }
  .dlm-steps li { padding: 10px 12px; }
  .dlm-main .dlm-code { margin-bottom: 0; }
}
/* footer referral box */
.footer-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5); margin-bottom: var(--space-7); border-radius: var(--radius); border: 1px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, #7c74f5, #3ee0ff 50%, #ff6ec7) border-box; }
.footer-code-text strong { display: block; color: var(--fg); font-size: 1.05rem; margin-bottom: 4px; }
.footer-code-text span { color: var(--muted); font-size: .9rem; max-width: 52ch; display: block; }
.footer-code .code-chip { margin-top: 0; }
.footer-code-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.footer-code-actions .code-chip { margin-top: 0; }

/* =====================================================================
   MOBILE PASS — tighter type, compact cards, carousels, no overflow
   ===================================================================== */
@media (max-width: 640px) {
  h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); letter-spacing: -0.025em; }
  h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .lead { font-size: 1rem; }
  .section { padding: var(--space-7) 0; }
  .section--tight { padding: var(--space-5) 0; }
  .section-head { margin-bottom: var(--space-5); }
  .hero, .page-hero { padding: var(--space-6) 0 var(--space-6); }
  .hero--center { padding-bottom: var(--space-6); }
  .hero--center .hero-copy .lead { font-size: 1rem; }
  .hero-video { margin-top: var(--space-5); border-radius: 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-height: 44px; padding: 0 18px; font-size: .9rem; }
  .hero-trust { gap: 8px 16px; font-size: .85rem; }
  .eyebrow { font-size: .72rem; }
  .crumbs { font-size: .8rem; }

  /* referral chip: two clean rows */
  .code-chip { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "code btn" "off off"; row-gap: 6px; column-gap: 12px; padding: 12px 14px; border-radius: 16px; }
  .code-chip-label { grid-area: label; }
  .code-chip-code { grid-area: code; font-size: 1.25rem; align-self: center; }
  .code-chip-btn { grid-area: btn; }
  .code-chip-off { grid-area: off; padding: 0; }

  /* stats: 2x2 compact */
  .stats { padding: var(--space-4); gap: var(--space-3); }
  .stat strong { font-size: 1.35rem; }
  .stat span { font-size: .8rem; }
  .store-stats li { padding: 10px 8px; }
  .store-stats strong { font-size: .95rem; }
  .store-id img { width: 56px; height: 56px; border-radius: 16px; }
  .store-id .meta { font-size: .85rem; }

  /* feature cards with icons: icon left, text right */
  .grid--3 .card:has(> .icon) { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px; padding: 14px 16px; align-items: start; }
  .grid--3 .card:has(> .icon) .icon { grid-row: 1 / span 3; width: 40px; height: 40px; margin: 0; border-radius: 10px; }
  .grid--3 .card:has(> .icon) .icon svg { width: 20px; height: 20px; }
  .grid--3 .card:has(> .icon) h3 { grid-column: 2; font-size: 1rem; margin: 0; }
  .grid--3 .card:has(> .icon) p { grid-column: 2; font-size: .88rem; }
  .grid--3 .card:has(> .icon) .link { grid-column: 2; margin-top: 4px; font-size: .85rem; }
  .dl-card { padding: 16px; }
  .dl-card p { font-size: .9rem; }
  .chain-card { padding: 12px 14px; }
  .chain-ico { width: 36px; height: 36px; }
  .chain-card p { font-size: .82rem; }

  /* screenshot galleries become a swipeable row */
  .section-shots .shots, .shots--5 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .section-shots .shots::-webkit-scrollbar, .shots--5::-webkit-scrollbar { display: none; }
  .section-shots .shot, .shots--5 .shot { flex: 0 0 74%; scroll-snap-align: center; transform: none !important; }
  .section-shots .shot figcaption { font-size: .82rem; }
  .shots--5 .shot:nth-child(n+4) { display: flex; }

  /* steps: tighter */
  .steps li { grid-template-columns: 38px 1fr; gap: 10px; padding-bottom: 14px; }
  .steps .num { width: 38px; height: 38px; border-radius: 12px; font-size: .95rem; }
  .steps li::before { left: 18px; top: 38px; }
  .steps .body { padding: 12px 14px; }
  .steps h3 { font-size: .98rem; }
  .steps p { font-size: .9rem; }

  /* tables: fit the screen instead of clipping */
  table { min-width: 0; }
  th, td { padding: 10px 10px; font-size: .84rem; }
  .table-wrap { border-radius: 12px; }

  /* big quote */
  .bigquote { padding: var(--space-6) 0; }
  .bigquote-inner { padding: var(--space-4) var(--space-3) var(--space-4) var(--space-4); }
  .bigquote-a { font-size: 1.35rem; }
  .bigquote-mark { font-size: 6rem; top: -14px; left: 10px; }

  /* article / footer */
  .article h2 { margin-top: var(--space-6); }
  .callout { padding: var(--space-4); }
  .footer-code { padding: var(--space-4); }
  .footer-code-actions { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-4); }
  .reviews-note { font-size: .85rem; }
  .cta-band { padding: var(--space-6) var(--space-4); }
  .cv-wrap { aspect-ratio: 4 / 3; }
}
.hero-wordmark { display: block; width: 150px; height: auto; margin: 4px auto var(--space-4); }
@media (max-width: 640px) { .hero-wordmark { width: 120px; margin-bottom: 12px; } }
/* footer referral box on mobile: full-width CTAs */
@media (max-width: 640px) {
  .footer-code-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .footer-code-actions .code-chip { width: 100%; }
  .footer-code-actions .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .footer-code-actions .hero-actions .btn { width: 100%; }
  .footer-code-actions .hero-actions .btn--ghost { grid-column: 1 / -1; }
}
.ref-card { max-width: 520px; margin: 0 auto; }
.ref-card .dlm-code-top code { font-size: 2rem; }
@media (max-width: 640px) { .ref-card .dlm-code-top code { font-size: 1.6rem; } }
.steps code, .article code { color: var(--c-teal); background: rgba(46,230,166,.12); }

/* ---------- Referral page visuals ---------- */
.cv-wrap--dial { aspect-ratio: 2 / 1.15; margin-top: var(--space-4); max-width: 520px; margin-left: auto; margin-right: auto; }
.steps-split { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 900px) { .steps-split { grid-template-columns: 1fr 380px; gap: var(--space-7); } .steps-split .cv-wrap--signup { position: sticky; top: 90px; } }
.cv-wrap--signup { aspect-ratio: 9 / 13; max-width: 380px; margin: 0 auto; }
@media (max-width: 899px) { .cv-wrap--signup { order: -1; aspect-ratio: 9 / 11; } }
.sim { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg-elev); padding: var(--space-5); margin: var(--space-5) 0; display: grid; gap: var(--space-4); }
.sim-controls { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .sim-controls { grid-template-columns: 1fr 1fr; } }
.sim-controls label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.sim-controls output { color: var(--fg); font-family: ui-monospace, Menlo, monospace; text-transform: none; letter-spacing: 0; }
.sim input[type="range"] { width: 100%; accent-color: #3ee0ff; }
.sim-canvas { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.sim-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .sim-canvas { aspect-ratio: 4 / 3; } .sim { padding: var(--space-4); } }
.sim-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.sim-num { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); }
.sim-num span { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.sim-num strong { font-size: 1.3rem; font-family: ui-monospace, Menlo, monospace; color: var(--fg); }
.sim-num.is-saved { border-color: rgba(46,230,166,.5); background: rgba(46,230,166,.08); }
.sim-num.is-saved strong { color: var(--c-teal); }
.sim-note { margin: 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) { .sim-numbers { grid-template-columns: 1fr; } .sim-num strong { font-size: 1.15rem; } }
.cv-wrap--signup, .cv-wrap--dial { width: 100%; }
/* referral hero: title → code card → text on mobile; two columns on desktop */
.ref-hero { display: grid; gap: var(--space-5); grid-template-areas: "head" "card" "body"; }
.ref-head { grid-area: head; } .ref-card-col { grid-area: card; } .ref-body { grid-area: body; }
.ref-head h1 { margin-bottom: 0; }
@media (min-width: 900px) { .ref-hero { grid-template-columns: 1fr 1fr; grid-template-areas: "head card" "body card"; column-gap: var(--space-8); row-gap: var(--space-4); align-items: start; } .ref-head h1 { margin-bottom: var(--space-2); } }
@media (max-width: 899px) { .ref-card-col .cv-wrap--dial { display: none; } }
/* steps split: full-width container, steps get the room */
.steps-split { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .steps-split { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-8); } .steps-col { max-width: none; } }
/* mobile: store buttons side by side, Web button full width */
@media (max-width: 640px) {
  .hero-actions .btn { flex: 1 1 calc(50% - 5px); }
  .hero-actions .btn--ghost { flex-basis: 100%; }
  .cta-band .hero-actions .btn { flex: 1 1 calc(50% - 5px); }
}
.article .cv-wrap--signup { margin: var(--space-5) auto var(--space-6); max-width: 420px; aspect-ratio: 9 / 10; }
@media (min-width: 900px) { .article .cv-wrap--signup { position: relative; } }
@media (min-width: 900px) { .ref-hero { align-items: center; } .ref-card-col { align-self: center; } }
/* web page: browser terminal mockup */
.cv-wrap--term { width: 100%; aspect-ratio: 16 / 10.5; border-radius: 16px; box-shadow: 0 30px 80px rgba(6,5,16,.8), 0 0 60px rgba(124,116,245,.22); background: var(--bg-elev); }
@media (min-width: 900px) { .web-hero { grid-template-columns: 1fr 1.1fr; } }
@media (max-width: 640px) { .cv-wrap--term { aspect-ratio: 16 / 11; } }
@media (max-width: 640px) { .hero-actions .btn--half { flex-basis: calc(50% - 5px); } .hero-actions .btn--primary:first-child:has(+ .btn--half) { flex-basis: 100%; } }
/* mini article on the homepage */
.mini-article h3 { font-size: 1.25rem; margin-top: var(--space-6); }
.article-figure { margin: var(--space-5) 0 var(--space-6); }
.article-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border-strong); aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }
/* terminal page: wide canvas under the centered hero copy */
.term-hero { aspect-ratio: auto; background: transparent; border: 0; box-shadow: none; max-width: 1080px; }
.cv-wrap--term-wide { aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .cv-wrap--term-wide { aspect-ratio: 16 / 11; } }

/* ---------- Review page ---------- */
.verdict-card { border: 1px solid transparent; border-radius: 20px; padding: var(--space-5); background: linear-gradient(#0e0c22, #0e0c22) padding-box, linear-gradient(120deg, #7c74f5, #3ee0ff 50%, #2ee6a6) border-box; box-shadow: 0 0 50px rgba(124,116,245,.18); max-width: 520px; margin: 0 auto; }
.verdict-top { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.score-ring { width: 128px; height: 128px; flex: none; }
.score-ring canvas { width: 100%; height: 100%; display: block; }
.verdict-text strong { display: block; color: var(--fg); font-size: 1.05rem; line-height: 1.3; margin: 4px 0 6px; }
.score-bars { list-style: none; margin: 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.score-bars li { display: grid; grid-template-columns: 1fr 110px 36px; align-items: center; gap: 12px; font-size: .85rem; color: var(--fg-soft); }
.score-bar { height: 6px; border-radius: 999px; background: rgba(184,178,255,.14); overflow: hidden; }
.score-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #7c74f5, #3ee0ff, #2ee6a6); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.score-val { font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: var(--fg); text-align: right; }
.score-val.is-low { color: var(--c-amber); }
.rating-card { text-align: left; }
.rating-src { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.rating-src img { width: 16px; height: 16px; }
.rating-num { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--tone, var(--fg)); line-height: 1; }
.rating-num small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.rating-meta { display: block; margin-top: 8px; font-size: .82rem; color: var(--muted); }
.tweet-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-5); }
.tweet-filters button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--fg-soft); font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 8px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.tweet-filters button span { font-size: .72rem; color: var(--muted); background: rgba(184,178,255,.1); padding: 2px 7px; border-radius: 999px; }
.tweet-filters button:hover { border-color: var(--accent); color: var(--fg); }
.tweet-filters button[aria-pressed="true"] { background: var(--fg); color: var(--on-accent); border-color: var(--fg); }
.tweet-filters button[aria-pressed="true"] span { background: rgba(6,5,16,.12); color: var(--on-accent); }
.tweets { columns: 1; column-gap: var(--space-4); }
@media (min-width: 640px) { .tweets { columns: 2; } }
@media (min-width: 1000px) { .tweets { columns: 3; } }
.tweet { display: inline-block; width: 100%; margin: 0 0 var(--space-4); break-inside: avoid; }
.tweet[hidden] { display: none; }
.tweet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tweet-head img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--accent); }
.tweet-head .who { flex: 1; min-width: 0; }
.tweet-head .who strong { display: block; color: var(--fg); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tweet-head .who span { font-size: .78rem; color: var(--muted); }
.tweet-x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--fg); border: 1px solid var(--border); flex: none; }
.tweet-x svg { width: 15px; height: 15px; }
.tweet-x:hover { border-color: var(--accent); color: var(--fg); }
.tweet p { margin: 0 0 10px; color: var(--fg-soft); font-size: .92rem; line-height: 1.5; white-space: pre-line; }
.tweet[data-sentiment="negative"] { --tone: var(--c-amber); }
.tweet-link { font-size: .8rem; font-weight: 600; color: var(--accent); }
@media (max-width: 640px) { .verdict-card { padding: var(--space-4); } .score-ring { width: 104px; height: 104px; } .score-bars li { grid-template-columns: 1fr 80px 32px; font-size: .8rem; } .rating-num { font-size: 1.8rem; } }
@media (min-width: 960px) { .rating-cards--5 { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Fee calculator ---------- */
.feecalc { border: 1px solid transparent; border-radius: 20px; padding: var(--space-5); background: linear-gradient(#0e0c22, #0e0c22) padding-box, linear-gradient(120deg, #7c74f5, #3ee0ff 50%, #2ee6a6) border-box; box-shadow: 0 0 50px rgba(124,116,245,.18); max-width: 520px; margin: 0 auto; display: grid; gap: 14px; }
.feecalc-head strong { display: block; color: var(--fg); font-size: 1.05rem; }
.feecalc-row { display: grid; gap: 8px; }
.feecalc-row > span { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.feecalc-row output { color: var(--fg); font-family: ui-monospace, Menlo, monospace; letter-spacing: 0; text-transform: none; font-size: .95rem; }
.feecalc input[type="range"] { width: 100%; accent-color: #3ee0ff; }
.feecalc-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.feecalc-types label { position: relative; }
.feecalc-types input { position: absolute; opacity: 0; inset: 0; }
.feecalc-types span { display: block; text-align: center; padding: 9px 6px; border-radius: 10px; border: 1px solid var(--border-strong); font-size: .85rem; font-weight: 600; color: var(--fg-soft); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.feecalc-types input:checked + span { background: var(--fg); color: var(--on-accent); border-color: var(--fg); }
.feecalc-types input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.feecalc-code { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--fg-soft); cursor: pointer; }
.feecalc-code input { accent-color: #2ee6a6; width: 18px; height: 18px; }
.feecalc-code b { color: var(--c-teal); font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.feecalc-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feecalc-out div { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.feecalc-out span { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.feecalc-out strong { font-size: 1.25rem; font-family: ui-monospace, Menlo, monospace; color: var(--fg); }
.feecalc-out div:first-child strong { color: var(--c-teal); }
.feecalc-note { margin: 0; font-size: .8rem; color: var(--muted); }
.feecalc-bars { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.feecalc-bar { display: grid; grid-template-columns: 56px 1fr 62px; align-items: center; gap: 10px; font-size: .82rem; color: var(--fg-soft); }
.feecalc-bar i { display: block; height: 8px; border-radius: 999px; background: rgba(184,178,255,.28); width: 0; transition: width .5s var(--ease); }
.feecalc-bar[data-fc-bar="fomo"] i { background: linear-gradient(90deg, #7c74f5, #3ee0ff, #2ee6a6); }
.feecalc-bar b { text-align: right; font-family: ui-monospace, Menlo, monospace; color: var(--fg); }
@media (max-width: 640px) { .feecalc { padding: var(--space-4); } .feecalc-out strong { font-size: 1.1rem; } }
/* ---------- Copy trading page ---------- */
.cv-wrap--copyfeed { width: 100%; aspect-ratio: 9 / 12.2; max-width: 400px; margin: 0 auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(6,5,16,.8), 0 0 60px rgba(62,224,255,.14); background: var(--bg-elev); }
@media (max-width: 899px) { .cv-wrap--copyfeed { aspect-ratio: 9 / 11; max-width: 360px; } }
.article .cv-wrap--lag { aspect-ratio: 16 / 8; margin: var(--space-5) 0 var(--space-6); }
@media (max-width: 640px) { .article .cv-wrap--lag { aspect-ratio: 4 / 3.2; } }
.pick-grid .card { padding: var(--space-4) var(--space-5); }
.pick-grid .card h3 { font-size: 1.05rem; }
.pick-grid .card .icon { margin-bottom: var(--space-3); }
/* ---------- Perps page ---------- */
.ref-card-col .page-video { margin: 0 auto; }
.perps-calc { margin: var(--space-5) 0 var(--space-6); }
.feecalc-types--2 { grid-template-columns: repeat(2, 1fr); }
.feecalc select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--card); color: var(--fg); font: inherit; font-weight: 600; }
.feecalc-out--3 { grid-template-columns: repeat(3, 1fr); }
.feecalc-out .is-pos { color: var(--c-teal); } .feecalc-out .is-neg { color: #f87171; }
.pp-ladder { position: relative; height: 112px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.pp-ladder canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.feecalc-grid { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .feecalc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feecalc-out--3 { grid-template-columns: repeat(2, 1fr); } }
.perps-calc { max-width: none; }
/* ---------- Chain pages ---------- */
.cv-wrap--board { width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; box-shadow: 0 30px 80px rgba(6,5,16,.8), 0 0 60px rgba(0,200,5,.10); background: var(--bg-elev); }
@media (max-width: 640px) { .cv-wrap--board { aspect-ratio: 4 / 3.4; } }
.article .cv-wrap--board { margin: var(--space-5) 0 var(--space-6); }
.chain-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--card); font-weight: 600; font-size: .85rem; color: var(--fg); margin-bottom: var(--space-3); }
.chain-badge .chain-ico { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; }
.chain-badge .chain-ico img { width: 16px; height: 16px; }
/* homepage-style sections on inner pages: canvases inside a split keep their own box */
.split .cv-wrap--lag, .split .cv-wrap--board { margin: 0; }
.split .cv-wrap--lag { aspect-ratio: 4 / 3; }
.split .cv-wrap--board { aspect-ratio: 4 / 3.6; }
.article > .eyebrow { margin-bottom: var(--space-2); }
.cv-wrap--gas { width: 100%; aspect-ratio: 16 / 9.5; border-radius: 18px; box-shadow: 0 30px 80px rgba(6,5,16,.8), 0 0 60px rgba(98,126,234,.14); background: var(--bg-elev); }
@media (max-width: 640px) { .cv-wrap--gas, .split .cv-wrap--gas { aspect-ratio: 4 / 5.6; } }
.split .cv-wrap--gas { margin: 0; }
@media (min-width: 641px) { .split .cv-wrap--gas { aspect-ratio: 4 / 3.4; } }
.chain-badge .ico-eth { background: #627eea; } .chain-badge .ico-eth img { filter: brightness(0) invert(1); }
