/* ANANSA official website — modern dark Web3 theme (logo colours: gold, cyan, violet) */
:root {
  --bg: #050508;
  --bg-2: #0a0a10;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f8;
  --text-2: #b8b8c8;
  --muted: #7e7e90;
  --gold: #ffd000;
  --gold-2: #ffb800;
  --gold-deep: #d9a400;
  --gold-soft: rgba(255, 208, 0, 0.1);
  --cyan: #22d3ee;
  --violet: #a855f7;
  --green: #22c55e;
  --radius: 20px;
  --max: 1200px;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* Ambient aurora + grid texture behind every page */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(168, 85, 247, 0.16), transparent 60%),
    radial-gradient(800px 520px at -10% 10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(255, 208, 0, 0.07), transparent 60%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p + p { margin-top: 0.9em; }
strong { color: var(--text); font-weight: 600; }
::selection { background: rgba(255, 208, 0, 0.3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }

/* ---------- Floating glass header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.header-inner {
  display: flex; align-items: center; gap: 20px; height: 60px;
  padding: 0 10px 0 18px !important; max-width: calc(var(--max) - 24px);
  border-radius: 18px; border: 1px solid var(--line);
  background: rgba(10, 10, 16, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 2px; }
.brand img { border-radius: 50%; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.4)); }
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 500;
  padding: 8px 13px; border-radius: 12px; transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--text); background: var(--glass-2); }
.site-nav a.is-active { color: #111; background: linear-gradient(180deg, #ffe14d, var(--gold)); font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; background: var(--glass-2); border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; padding: 8px; cursor: pointer; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 12px; right: 12px; top: 80px;
    flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 18px; border: 1px solid var(--line);
    background: rgba(10, 10, 16, 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }
  .site-nav.is-open { display: flex; animation: dropIn 0.2s var(--ease); }
  .site-nav a { padding: 13px 14px; font-size: 16px; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 14px; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn::after { content: '→'; font-size: 16px; transition: transform 0.2s var(--ease); }
.btn[download]::after { content: '↓'; }
.btn:hover::after { transform: translateX(3px); }
.btn[download]:hover::after { transform: translateY(2px); }
.btn:active { transform: scale(0.98); }
.btn-gold {
  background: linear-gradient(180deg, #ffe14d 0%, var(--gold) 50%, var(--gold-2) 100%); color: #111;
  box-shadow: 0 10px 30px rgba(255, 196, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold::before {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn-gold:hover::before { left: 120%; }
.btn-gold:hover { box-shadow: 0 14px 40px rgba(255, 196, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.btn-ghost { background: var(--glass-2); color: var(--text); border-color: var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .hero .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Type & sections ---------- */
.section { padding: 96px 0; position: relative; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 208, 0, 0.25); background: var(--gold-soft);
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(42px, 7vw, 84px); font-weight: 700; }
h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--text-2); max-width: 760px; line-height: 1.6; }
.section-head { max-width: 800px; margin-bottom: 48px; }
.section-head p { color: var(--text-2); font-size: 17px; }
.gold-text {
  background: linear-gradient(100deg, #fff1a6 0%, var(--gold) 30%, var(--gold-2) 55%, #fff1a6 80%, var(--gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }
.grad-text { background: linear-gradient(90deg, #fff 0%, #c9c9ff 60%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Inner page hero */
.page-hero { padding: 88px 0 48px; position: relative; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 18px; max-width: 16ch; }
@media (max-width: 640px) { .page-hero { padding: 48px 0 28px; } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 80px 0 40px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--glass-2); color: var(--text); font-size: 13px; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #14f195, #9945ff); box-shadow: 0 0 10px rgba(20, 241, 149, 0.6); }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.hero-visual::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34, 211, 238, 0.35), rgba(168, 85, 247, 0.35), rgba(255, 208, 0, 0.25), rgba(34, 211, 238, 0.35));
  filter: blur(60px); opacity: 0.7; animation: spin 18s linear infinite;
}
/* inset:0 + margin:auto centres it exactly on the logo in both directions */
.hero-orbit { position: absolute; inset: 0; margin: auto; width: min(460px, 92%); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 208, 0, 0.3); animation: spin 50s linear infinite; }
.hero-orbit::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.hero-logo { position: relative; width: min(330px, 70%); aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.35)) drop-shadow(0 0 80px rgba(168, 85, 247, 0.3)); animation: spin 24s linear infinite; }
.hero-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(14, 14, 22, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); animation: float 6s ease-in-out infinite;
}
.hero-float b { font-family: var(--display); font-size: 18px; display: block; line-height: 1.1; }
.hero-float small { color: var(--muted); font-size: 12px; }
.hero-float .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }
.hero-float .ico svg { width: 18px; height: 18px; }
.hero-float.f1 { top: 8%; left: 0; }
.hero-float.f2 { top: 44%; right: -2%; animation-delay: -2s; }
.hero-float.f3 { bottom: 6%; left: 8%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.tagline-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tagline-row span { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--glass); }
@media (max-width: 900px) {
  .hero { padding: 36px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { order: -1; min-height: 320px; }
  .hero-logo { width: min(220px, 58%); }
  .hero-orbit { width: min(300px, 82%); }
  .hero-float { padding: 8px 11px; }
  .hero-float b { font-size: 15px; }
  .hero-float .ico { width: 28px; height: 28px; }
  .hero-float.f1 { top: 4%; left: 0; }
  .hero-float.f2 { top: 46%; right: 0; }
  .hero-float.f3 { bottom: 2%; left: 4%; }
}

/* Ticker */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.marquee-track span::after { content: '✦'; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Glass cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
/* gradient border that lights up on hover */
.card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.55), rgba(168, 85, 247, 0.35) 45%, rgba(34, 211, 238, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 0.35s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(168, 85, 247, 0.08); }
  .card:hover::before { opacity: 1; }
}
.card p { color: var(--text-2); font-size: 15.5px; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.18), rgba(255, 208, 0, 0.04));
  border: 1px solid rgba(255, 208, 0, 0.28); color: var(--gold);
  box-shadow: 0 0 24px rgba(255, 208, 0, 0.1);
}
.card-icon svg { width: 22px; height: 22px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--gold); font-weight: 600; font-size: 14px; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Bento grid (home ecosystem) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento .card { display: flex; flex-direction: column; }
.bento .b-wide { grid-column: span 2; }
.bento .b-feature { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 380px; overflow: hidden; }
.bento .b-feature::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.22), transparent 65%);
}
.bento .b-feature h3 { font-size: 30px; }
.bento .b-feature p { font-size: 17px; max-width: 420px; }
.bento .b-feature .card-icon { width: 60px; height: 60px; margin-bottom: auto; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .b-feature { grid-row: auto; min-height: 280px; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .b-wide, .bento .b-feature { grid-column: auto; } }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--text-2); background: var(--glass-2); letter-spacing: 0; font-family: var(--font); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-planned { color: #cdb6ff; border-color: rgba(168, 85, 247, 0.4); background: rgba(168, 85, 247, 0.12); }
.badge-live { color: #86efac; border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.12); }
.badge-live::before { box-shadow: 0 0 8px currentColor; animation: pulse 1.8s ease-in-out infinite; }
.badge-phase { color: var(--gold); border-color: rgba(255, 208, 0, 0.35); background: var(--gold-soft); }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Lists, notes ---------- */
.list { list-style: none; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 28px; color: var(--text-2); }
.list li::before {
  content: ''; position: absolute; left: 2px; top: 0.45em; width: 16px; height: 16px; border-radius: 5px;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
  border: 1px solid rgba(255, 208, 0, 0.3);
}
ol.list { counter-reset: n; }
ol.list li { counter-increment: n; }
ol.list li::before { content: counter(n); background: var(--gold-soft); color: var(--gold); font-size: 11px; font-weight: 700; display: grid; place-items: center; top: 0.3em; width: 20px; height: 20px; left: 0; }
.list.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
@media (max-width: 640px) { .list.cols-2 { grid-template-columns: 1fr; } }
.goal { margin-top: 18px; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255, 208, 0, 0.25); background: linear-gradient(90deg, rgba(255, 208, 0, 0.1), rgba(255, 208, 0, 0.02)); color: var(--text); font-size: 15px; }
.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.35); background: linear-gradient(90deg, rgba(168, 85, 247, 0.12), rgba(168, 85, 247, 0.03)); color: var(--text-2); font-size: 15px;
}
.note svg { flex-shrink: 0; color: #cdb6ff; margin-top: 2px; }
.note.warn { border-color: rgba(255, 208, 0, 0.35); background: linear-gradient(90deg, rgba(255, 208, 0, 0.12), rgba(255, 208, 0, 0.03)); }
.note.warn svg { color: var(--gold); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.02); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 255, 255, 0.03); }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
td.num, th.num { text-align: right; }
tbody tr:last-child td { border-bottom: none; }
tfoot td { font-weight: 700; color: var(--gold); background: rgba(255, 208, 0, 0.05); border-top: 1px solid var(--line-strong); border-bottom: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { position: relative; overflow: hidden; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.stat::after { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 208, 0, 0.16), transparent 70%); }
.stat-value { font-family: var(--display); font-size: clamp(22px, 3vw, 32px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 4px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, 0.025); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.stat-strip > div { padding: 28px 24px; text-align: center; }
.stat-strip > div + div { border-left: 1px solid var(--line); }
.stat-strip b { display: block; font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.02em; }
.stat-strip span { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div:nth-child(3) { border-left: none; }
  .stat-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Allocation bar chart (single hue, ranked, direct labels) ---------- */
.alloc-chart { display: grid; gap: 14px; }
.alloc-row { display: grid; grid-template-columns: 190px 1fr 74px; gap: 14px; align-items: center; position: relative; padding: 4px 0; border-radius: 10px; outline: none; }
.alloc-name { font-size: 14px; color: var(--text); }
.alloc-name small { display: block; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.alloc-track { height: 24px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); position: relative; }
.alloc-bar { height: 100%; border-radius: 4px 6px 6px 4px; background: linear-gradient(90deg, #b98a00, var(--gold-deep)); box-shadow: 0 0 18px rgba(217, 164, 0, 0.25); transition: filter 0.2s; }
.alloc-row:hover .alloc-bar, .alloc-row:focus-visible .alloc-bar { filter: brightness(1.25); }
.alloc-pct { font-family: var(--display); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.alloc-row .tip {
  position: absolute; left: 204px; top: -36px; z-index: 5; pointer-events: none; opacity: 0; transform: translateY(4px);
  background: #1a1a24; border: 1px solid var(--line-strong); color: var(--text); font-size: 13px; padding: 6px 10px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); transition: opacity 0.15s, transform 0.15s;
}
.alloc-row:hover .tip, .alloc-row:focus-visible .tip { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .alloc-row { grid-template-columns: 1fr 64px; gap: 6px 10px; }
  .alloc-name { grid-column: 1 / -1; }
  .alloc-row .tip { left: 0; }
}

/* Vesting cards */
.vest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .vest-grid { grid-template-columns: 1fr; } }
.vest-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vest-card h3 small { font-family: var(--font); font-size: 13px; color: var(--gold); font-weight: 600; }
.vest-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.vest-steps span { padding: 7px 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.vest-steps span b { color: var(--gold); font-weight: 600; }

/* ---------- Roadmap timeline ---------- */
.timeline { position: relative; display: grid; gap: 22px; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), var(--violet) 55%, var(--cyan)); opacity: 0.6; }
.phase { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
.phase-num {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px;
  background: #0d0d14; border: 1px solid rgba(255, 208, 0, 0.5); color: var(--gold); z-index: 1; box-shadow: 0 0 24px rgba(255, 208, 0, 0.15);
}
.phase:first-child .phase-num { background: linear-gradient(180deg, #ffe14d, var(--gold)); color: #111; border-color: transparent; }
.phase .card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- Pool split visual ---------- */
.split { display: flex; height: 60px; border-radius: 14px; overflow: hidden; gap: 3px; background: var(--bg); }
.split > div { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.split .s-spin { background: linear-gradient(180deg, #ffe14d, #ffd000); color: #111; }
.split .s-og { background: linear-gradient(180deg, #e5b300, #d9a400); color: #111; }
.split .s-rest { background: rgba(255, 255, 255, 0.06); color: var(--text-2); }
.split-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.split-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.025); transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: rgba(255, 208, 0, 0.3); background: rgba(255, 208, 0, 0.03); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 20px; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 64px 40px; text-align: center; border: 1px solid rgba(255, 208, 0, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}
.cta-band::before {
  content: ''; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from 0deg, rgba(255, 208, 0, 0.18), rgba(168, 85, 247, 0.16), rgba(34, 211, 238, 0.14), rgba(255, 208, 0, 0.18));
  filter: blur(60px); animation: spin 20s linear infinite;
}
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
@media (max-width: 640px) { .cta-band { padding: 40px 20px; } }

/* ---------- Whitepaper reader ---------- */
.wp-layout { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; padding: 40px 0 80px; }
.wp-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.wp-toc h4 { color: var(--muted); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 8px; }
.wp-toc ol { list-style: none; display: grid; gap: 2px; }
.wp-toc a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: 14px; transition: background 0.2s, color 0.2s; }
.wp-toc a:hover { background: var(--glass-2); color: var(--text); }
.wp-toc a.is-current { color: #111; background: linear-gradient(180deg, #ffe14d, var(--gold)); font-weight: 600; }
.wp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.wp-doc { max-width: 800px; min-width: 0; }
.wp-doc section { scroll-margin-top: 100px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.wp-doc h2 { font-size: clamp(26px, 3vw, 34px); }
.wp-doc h3 { margin-top: 26px; color: var(--text); }
.wp-doc p, .wp-doc li { color: var(--text-2); }
.wp-doc .table-wrap { margin: 18px 0; }
.wp-doc .list { margin: 14px 0; }
.math { font-family: 'Space Grotesk', ui-monospace, monospace; font-size: 18px; color: var(--text); background: rgba(255, 208, 0, 0.04); border: 1px solid rgba(255, 208, 0, 0.2); border-radius: 14px; padding: 16px 20px; margin: 14px 0; display: grid; gap: 6px; }
.wp-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 22px 0 10px; }
.wp-mobile-toc { display: none; margin-bottom: 20px; }
.wp-mobile-toc select { width: 100%; padding: 13px 14px; border-radius: 14px; background: rgba(14, 14, 22, 0.92); color: var(--text); border: 1px solid var(--line-strong); font: inherit; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (max-width: 900px) {
  .wp-layout { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .wp-toc { display: none; }
  .wp-mobile-toc { display: block; position: sticky; top: 90px; z-index: 10; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 60px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.4)); }
.site-footer::after {
  content: 'ANANSA'; position: absolute; left: 50%; bottom: -0.22em; transform: translateX(-50%); z-index: 0; pointer-events: none;
  font-family: var(--display); font-weight: 700; font-size: clamp(90px, 20vw, 280px); letter-spacing: 0.04em; line-height: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-grid, .disclaimer { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-tag { font-family: var(--display); color: var(--gold); font-weight: 600; margin: 14px 0 6px; letter-spacing: 0.04em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.disclaimer { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); padding-bottom: clamp(40px, 10vw, 140px); }
.disclaimer strong { color: var(--text-2); }

/* ---------- Scroll reveal (added by site.js; content is visible without JS) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo { animation-duration: 60s; }
  .hero-orbit, .hero-visual::before, .hero-float, .marquee-track, .gold-text, .cta-band::before { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 2-column stat strip (dividers between cells only) */
.stat-strip.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stat-strip.cols-2 > div:nth-child(odd) { border-left: none; }
.stat-strip.cols-2 > div:nth-child(n + 3) { border-top: 1px solid var(--line); }

/* ---------- Desktop: hero + ticker fill exactly one screen under the header ---------- */
/* header = 84px (12px padding + 60px bar + 12px), ticker = 64px */
@media (min-width: 901px) {
  .hero {
    min-height: calc(100vh - 84px - 64px);
    min-height: calc(100svh - 84px - 64px);
    display: flex; align-items: center;
    padding: 12px 0;
  }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 32px; }
  /* scale with screen height so it never overflows on shorter laptops */
  .hero h1 { font-size: clamp(40px, min(6vw, 8.6vh), 84px); margin: 12px 0 16px; }
  .hero .lead { font-size: clamp(16px, 2.2vh, 20px); margin-bottom: clamp(18px, 3vh, 30px); }
  .hero .btn-row { flex-wrap: nowrap; gap: 10px; }
  .hero .btn { padding: 12px 18px; font-size: 14.5px; white-space: nowrap; }
  .tagline-row { margin-top: clamp(14px, 2.4vh, 26px); }
  .hero-visual { min-height: min(460px, 62vh); }
  .hero-logo { width: min(330px, 70%, 38vh); }
  .hero-orbit { width: min(460px, 94%, 56vh); }
  .hero-float.f1 { top: 10%; left: 2%; }
  .hero-float.f3 { bottom: 8%; left: 6%; }
}
