:root {
  --purple: #836EF9;
  --purple-2: #B8A9FF;
  --purple-3: #DDD7FE;
  --deep: #200052;
  --berry: #A0055D;
  --pink: #E0479E;
  --bg: #06030D;
  --bg-2: #0E0820;
  --ink: #F4F1FF;
  --muted: #A49DC4;
  --line: rgba(184, 169, 255, .13);
  --line-2: rgba(184, 169, 255, .28);
  --glass: rgba(255, 255, 255, .03);
  --glass-2: rgba(255, 255, 255, .06);
  --ok: #3EE6A8;
  --warn: #FFB547;
  --bad: #FF5C8A;
  --r: 22px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --display: "Space Grotesk", Inter, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 15.5px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.025em; margin: 0; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { width: 1em; height: 1em; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
::selection { background: rgba(131, 110, 249, .45); }

/* ---------------------------------------------------------------- ambience */
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; }
.aurora span { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(100px); animation: drift 30s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: radial-gradient(circle, rgba(131, 110, 249, .75), transparent 62%); top: -28vmax; left: -18vmax; }
.aurora span:nth-child(2) { background: radial-gradient(circle, rgba(160, 5, 93, .55), transparent 62%); bottom: -34vmax; right: -22vmax; animation-duration: 36s; }
.aurora span:nth-child(3) { background: radial-gradient(circle, rgba(32, 0, 82, .95), transparent 68%); top: 25%; left: 30%; animation-duration: 44s; }
@keyframes drift { to { transform: translate(8vmax, 7vmax) scale(1.18); } }
.grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(184, 169, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(184, 169, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aurora span, .ring, .fw-spin, .core { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 48px); background: rgba(6, 3, 13, .55); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 19px var(--display); }
.brand b { color: var(--purple-2); font-weight: 700; }
.brand-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 14px rgba(131, 110, 249, .75)); }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); font-weight: 500; padding: 7px 12px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap; }
.menu-btn { display: none; }
.menu-btn svg { width: 18px; height: 18px; }
.mnav {
  position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 4px;
  padding: 12px clamp(16px, 4vw, 48px) 18px; background: #0B0618; backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
}
.mnav > a { padding: 12px 14px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.mnav > a:hover { background: var(--glass-2); }
.mnav-social { display: flex; gap: 10px; padding: 10px 14px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.top.open .mnav { display: flex; animation: mnav-in .22s var(--ease); }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1100px) {
  .nav, .top .top-right > .tg-btn { display: none; }
  .menu-btn { display: inline-flex; }
}
.nav a:hover, .nav a.on { color: var(--ink); background: var(--glass-2); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.net {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; font-size: 13px;
  background: var(--glass); border: 1px solid var(--line); color: var(--muted);
}
.net i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.net.ok i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px;
  border-radius: 12px; font-weight: 600; white-space: nowrap; transition: transform .15s, box-shadow .25s, background .25s, opacity .2s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, #9784FF, var(--purple) 35%, #6A4FF0 60%, var(--berry));
  background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 10px 34px -10px rgba(131, 110, 249, .9), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover:not(:disabled) { background-position: 100% 0; box-shadow: 0 14px 44px -8px rgba(131, 110, 249, 1), inset 0 1px 0 rgba(255, 255, 255, .32); }
.btn-ghost { background: var(--glass); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--glass-2); border-color: var(--line-2); }
.btn-danger { background: rgba(255, 92, 138, .1); color: var(--bad); border: 1px solid rgba(255, 92, 138, .3); }
.btn-danger:hover { background: rgba(255, 92, 138, .18); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.link { color: var(--purple-2); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- hero */
main { padding: 0 clamp(16px, 4vw, 48px); max-width: 1200px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(48px, 8vw, 96px) 0 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 99px; font-size: 13px;
  background: rgba(131, 110, 249, .1); border: 1px solid rgba(131, 110, 249, .3); color: var(--purple-3); margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.8s infinite; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: .98; }
.grad {
  background: linear-gradient(100deg, var(--purple-3), var(--purple) 40%, var(--pink) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 560px; margin: 22px 0 30px; color: var(--muted); font-size: 17.5px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.socials { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.socials-label { font-size: 13px; color: var(--muted, #9a93b8); margin-right: 2px; }
.ticks { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg { color: var(--ok); width: 17px; height: 17px; }
.demo-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 10px 22px 0; padding: 6px 14px; border-radius: 99px; font-size: 13px;
  color: var(--warn); background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .3);
}
.demo-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }

.hero-art { display: grid; place-items: center; }
.orb { position: relative; width: min(420px, 80vw); aspect-ratio: 1; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(184, 169, 255, .25); }
.ring.r1 { inset: 4%; border-color: rgba(184, 169, 255, .35); border-top-color: var(--purple-2); animation: spin 18s linear infinite; }
.ring.r2 { inset: 17%; border-style: dashed; border-color: rgba(224, 71, 158, .35); animation: spin 26s linear infinite reverse; }
.ring.r3 { inset: 30%; border-color: rgba(131, 110, 249, .5); box-shadow: 0 0 80px rgba(131, 110, 249, .35) inset; animation: spin 12s linear infinite; border-left-color: var(--pink); }
@keyframes spin { to { transform: rotate(360deg); } }
.core {
  position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2C1466, #120827 70%); border: 1px solid var(--line-2);
  box-shadow: 0 0 60px rgba(131, 110, 249, .6), 0 0 140px rgba(160, 5, 93, .35); animation: breathe 5s ease-in-out infinite;
}
.core svg { width: 52%; height: 52%; filter: drop-shadow(0 0 18px rgba(131, 110, 249, .9)); }
@keyframes breathe { 50% { transform: scale(1.05); box-shadow: 0 0 90px rgba(131, 110, 249, .8), 0 0 180px rgba(160, 5, 93, .45); } }
.float {
  position: absolute; display: flex; flex-direction: column; padding: 10px 14px; border-radius: 14px; font-size: 12px;
  background: rgba(14, 8, 32, .75); border: 1px solid var(--line-2); backdrop-filter: blur(10px); color: var(--muted);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8); animation: bob 6s ease-in-out infinite;
}
.float b { font-size: 18px; color: var(--ink); }
.f1 { top: 12%; left: -4%; }
.f2 { top: 46%; right: -8%; animation-delay: -2s; }
.f3 { bottom: 8%; left: 8%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.stat { padding: 20px 22px; background: rgba(10, 6, 22, .85); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 6px; }
.stat .k { color: var(--muted); font-size: 13px; }
.stat .v { font-size: clamp(17px, 2.1vw, 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- sections */
.section { padding: 80px 0 8px; }
.section-head { margin-bottom: 28px; max-width: 720px; }
.kicker { display: inline-block; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--purple-2); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 16.5px; }

/* spotlight on cards */
.pool, .step, .tcard, .pos, .doc-card { --mx: 50%; --my: 50%; }
.pool::after, .step::after, .tcard::after, .doc-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(131, 110, 249, .14), transparent 45%);
}
.pool:hover::after, .step:hover::after, .tcard:hover::after, .doc-card:hover::after { opacity: 1; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step { position: relative; padding: 26px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step-n { position: absolute; top: 18px; right: 22px; font: 600 44px var(--display); color: rgba(184, 169, 255, .08); }
.step-i, .ti {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--purple-2);
  background: linear-gradient(135deg, rgba(131, 110, 249, .25), rgba(160, 5, 93, .15)); border: 1px solid var(--line-2);
}
.step-i svg, .ti svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.step b { color: var(--ink); }

/* flywheel */
.flywheel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fw-copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.fw-copy p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.fw-copy b { color: var(--ink); }
.fw { width: 100%; height: auto; max-width: 460px; justify-self: center; overflow: visible; }
.fw-spin { transform-origin: 210px 210px; animation: spin 40s linear infinite; }
.fw-node rect { fill: rgba(14, 8, 32, .9); stroke: var(--line-2); }
.fw-node text, .fw-center text { fill: var(--ink); font: 600 15px var(--display); text-anchor: middle; }
.fw-node text.s { fill: var(--muted); font: 500 11px Inter; }
.fw-center circle { fill: url(#fwg); opacity: .18; stroke: var(--purple); }
.fw-center text { font-size: 17px; }

/* ---------------------------------------------------------------- pools */
.pools { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.pools > * { flex: 0 1 calc((100% - 36px) / 3); min-width: 0; }   /* 3 then 2, centered: no card left alone */
.pool {
  position: relative; padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); backdrop-filter: blur(12px); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.pool:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 70px -24px rgba(131, 110, 249, .6); }
.pool-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pairs { display: flex; flex: none; }
.av {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--display);
  border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--line);
}
.av + .av { margin-left: -12px; }
.av.mon { background: linear-gradient(135deg, var(--purple-3), var(--purple)); }
.av.mon svg { width: 22px; height: 22px; }
.av.mon path { fill: var(--deep); }
.pool-id { min-width: 0; }
.pool-name { font: 600 18px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-tag { font-size: 13px; color: var(--muted); }
.badge {
  margin-left: auto; flex: none; white-space: nowrap; padding: 5px 10px; border-radius: 99px; font: 600 12px var(--mono);
  background: rgba(131, 110, 249, .15); color: var(--purple-2); border: 1px solid rgba(131, 110, 249, .35);
}
.badge.hot { background: rgba(224, 71, 158, .14); color: #FF8BCB; border-color: rgba(224, 71, 158, .4); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .22); }
.kv div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kv span { font-size: 12px; color: var(--muted); }
.kv b { font: 500 15px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rewards { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rw {
  display: flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 10px; font-size: 12.5px;
  background: rgba(62, 230, 168, .07); border: 1px solid rgba(62, 230, 168, .22); color: #BFF5E0;
}
.rw i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 1.6s infinite; }
.rw.off { background: var(--glass); border-color: var(--line); color: var(--muted); }
.rw.off i { background: var(--muted); box-shadow: none; animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
.capbar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; margin: 6px 0 18px; }
.capbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--pink)); box-shadow: 0 0 12px rgba(224, 71, 158, .6); }
.capline { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.skeleton { height: 320px; border-radius: var(--r); background: linear-gradient(90deg, var(--glass), var(--glass-2), var(--glass)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- positions */
.positions { display: grid; gap: 14px; }
.pos {
  position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr auto; gap: 18px; align-items: center; padding: 20px 22px;
  border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: border-color .3s;
}
.pos:hover { border-color: var(--line-2); }
.pos .t { font: 600 16px var(--display); display: flex; align-items: center; gap: 8px; }
.pos .t .av { width: 34px; height: 34px; font-size: 11px; }
.pos .s { font-size: 13px; color: var(--muted); }
.lockbar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-top: 8px; }
.lockbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--purple-2)); }
.earn b { font: 500 16px var(--mono); display: block; color: #BFF5E0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.empty { padding: 36px; text-align: center; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--muted); }

/* ---------------------------------------------------------------- trust / faq / final */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tcard { position: relative; overflow: hidden; padding: 24px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); transition: border-color .3s; }
.tcard:hover { border-color: var(--line-2); }
.tcard h3 { font-size: 17px; margin-bottom: 8px; }
.tcard p { color: var(--muted); font-size: 14.5px; }
.sources { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sources .k { color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 12px; border-radius: 99px; background: rgba(131, 110, 249, .12); border: 1px solid rgba(131, 110, 249, .3); font-size: 13px; }
.contract-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.contract-links a { font: 12px var(--mono); color: var(--purple-2); padding: 6px 10px; border-radius: 8px; background: var(--glass); border: 1px solid var(--line); }

.faq { min-width: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 28px; align-items: start; }
.help-card {
  position: sticky; top: 96px; padding: 28px; border-radius: 24px; text-align: center; border: 1px solid var(--line-2);
  background: radial-gradient(120% 90% at 50% 0%, rgba(131, 110, 249, .22), transparent 60%), var(--glass);
}
.help-card img { width: 150px; height: auto; margin: -8px auto 6px; filter: drop-shadow(0 12px 30px rgba(131, 110, 249, .45)); }
.help-card h3 { font-size: 22px; margin-bottom: 8px; }
.help-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.help-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
details {
  border-radius: 16px; border: 1px solid var(--line); background: var(--glass); margin-bottom: 10px; transition: border-color .3s, background .3s;
}
details[open] { border-color: var(--line-2); background: var(--glass-2); }
summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 500 20px var(--mono); color: var(--purple-2); transition: transform .3s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p, details > div { padding: 0 20px 18px; color: var(--muted); }
.faq .btn { margin-top: 10px; }

.final {
  margin: 80px 0 0; padding: 64px 24px; text-align: center; border-radius: 32px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(131, 110, 249, .35), transparent 65%), linear-gradient(180deg, rgba(32, 0, 82, .6), rgba(14, 8, 32, .4));
  border: 1px solid var(--line-2);
}
.final h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 12px; }
.final p { color: var(--muted); margin-bottom: 26px; }

/* ---------------------------------------------------------------- footer */
.foot {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding: 56px clamp(16px, 4vw, 48px) 32px;
  padding-inline: max(clamp(16px, 4vw, 48px), calc(50% - 600px + clamp(16px, 4vw, 48px)));   /* aligned with main */
  margin-top: 80px; border-top: 1px solid var(--line); background: rgba(6, 3, 13, .6); font-size: 14px;
}
.foot-brand p { margin-top: 12px; max-width: 280px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols b { font-family: var(--display); margin-bottom: 4px; }
.foot-cols a { color: var(--muted); }
.foot-cols a:hover { color: var(--ink); }
.foot-note { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal-bg { position: absolute; inset: 0; background: rgba(4, 2, 10, .72); backdrop-filter: blur(8px); animation: fade .2s; }
.sheet {
  position: relative; width: min(490px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px;
  border-radius: 26px; background: linear-gradient(180deg, #170E30, #0D0819); border: 1px solid rgba(131, 110, 249, .32);
  box-shadow: 0 30px 100px -20px rgba(131, 110, 249, .55); animation: rise .3s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 10px; color: var(--muted); }
.x:hover { background: var(--glass-2); color: var(--ink); }
.sheet-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sheet-head h3 { font-size: 22px; }
.field { display: block; margin-bottom: 14px; }
.row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.input {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px;
  background: rgba(0, 0, 0, .32); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.input:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(131, 110, 249, .16); }
.input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 500 26px var(--mono); }
.chip { padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; background: rgba(131, 110, 249, .18); color: var(--purple-2); }
.unit { font-weight: 600; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.seg button, .locks button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--line); text-align: left; transition: border-color .2s, background .2s, box-shadow .2s;
}
.seg button:hover, .locks button:hover { border-color: var(--line-2); }
.seg button span, .locks button span { font: 600 13px var(--mono); color: var(--purple-2); }
.seg button.on, .locks button.on {
  background: rgba(131, 110, 249, .14); border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple) inset, 0 8px 26px -10px rgba(131, 110, 249, .85);
}
.pairbox {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border-radius: 12px;
  background: rgba(131, 110, 249, .07); border: 1px dashed rgba(131, 110, 249, .4); font-size: 14px;
}
.pairbox .muted { margin-left: auto; font-size: 12px; }
.locks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 16px; }
.locks i { font-style: normal; font-size: 11px; color: var(--muted); }
.summary { display: grid; gap: 9px; padding: 15px; border-radius: 14px; background: rgba(0, 0, 0, .28); margin-bottom: 16px; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 10px; }
.summary span { color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------------------------------------------------------------- toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.toast {
  padding: 12px 14px; border-radius: 14px; background: #170E30; border: 1px solid var(--line-2); font-size: 14px;
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .8); animation: rise .25s; display: flex; gap: 10px; align-items: flex-start;
}
.toast.ok { border-color: rgba(62, 230, 168, .45); }
.toast.bad { border-color: rgba(255, 92, 138, .5); }
.toast a { color: var(--purple-2); text-decoration: underline; }

/* ================================================================ docs */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; max-width: 1200px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 0; }
.doc-nav { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; }
.doc-nav h4 { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--purple-2); margin: 22px 0 8px; }
.doc-nav h4:first-child { margin-top: 0; }
.doc-nav a { display: block; padding: 6px 12px; border-radius: 9px; color: var(--muted); font-size: 14.5px; border-left: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.doc-nav a:hover { color: var(--ink); background: var(--glass); }
.doc-nav a.on { color: var(--ink); background: rgba(131, 110, 249, .12); border-left-color: var(--purple); }
#doc-menu { display: none; }
.doc { min-width: 0; padding-bottom: 40px; }
.doc-hero { padding: 24px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.doc-hero h1 { font-size: clamp(36px, 5vw, 58px); margin: 10px 0 14px; }
.doc-hero p { color: var(--muted); font-size: 17.5px; max-width: 680px; }
.doc section { padding: 44px 0 8px; border-bottom: 1px solid var(--line); }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.doc h2 .ti { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.doc h2 .ti svg { width: 20px; height: 20px; }
.doc h3 { font-size: 20px; margin: 30px 0 10px; }
.doc p, .doc li { color: #CFC9E6; }
.doc p { margin-bottom: 14px; max-width: 760px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; max-width: 760px; }
.doc li { margin-bottom: 6px; }
.doc b, .doc strong { color: var(--ink); }
.doc code { font: 13.5px var(--mono); padding: 2px 6px; border-radius: 6px; background: rgba(131, 110, 249, .14); color: var(--purple-3); }
.doc a:not(.btn) { color: var(--purple-2); }
.doc a:not(.btn):hover { text-decoration: underline; }
.doc pre {
  font: 13.5px/1.6 var(--mono); padding: 18px 20px; border-radius: 16px; overflow-x: auto; margin: 0 0 18px;
  background: rgba(0, 0, 0, .4); border: 1px solid var(--line); color: var(--purple-3);
}
.doc pre .c { color: #7E77A0; }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 22px; }
.doc-card { position: relative; overflow: hidden; padding: 20px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
a.doc-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.doc-card .ti { width: 40px; height: 40px; margin-bottom: 12px; }
.doc-card .ti svg { width: 20px; height: 20px; }
.doc-card b { display: block; font: 600 16px var(--display); margin-bottom: 4px; color: var(--ink); }
.doc-card span { color: var(--muted); font-size: 14px; }
.callout {
  display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; margin: 0 0 18px; max-width: 780px;
  background: rgba(131, 110, 249, .08); border: 1px solid rgba(131, 110, 249, .3);
}
.callout svg { flex: none; width: 22px; height: 22px; color: var(--purple-2); margin-top: 2px; }
.callout p { margin: 0; }
.callout.warn { background: rgba(255, 181, 71, .07); border-color: rgba(255, 181, 71, .3); }
.callout.warn svg { color: var(--warn); }
.tbl { width: 100%; max-width: 780px; border-collapse: separate; border-spacing: 0; margin: 0 0 20px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tbl th, .tbl td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--purple-2); background: rgba(131, 110, 249, .08); }
.tbl td { color: #CFC9E6; background: rgba(255, 255, 255, .015); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; font-family: var(--mono); }
.tbl .yes { color: var(--ok); }
.tbl .no { color: var(--bad); }
.timeline { list-style: none; padding: 0 !important; margin: 18px 0 24px; max-width: 780px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--purple), var(--pink)); opacity: .5; }
.timeline li { position: relative; padding: 0 0 22px 56px; }
.timeline li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 600 14px var(--mono); color: var(--ink); background: #170E30; border: 1px solid var(--line-2); box-shadow: 0 0 20px rgba(131, 110, 249, .35);
}
.timeline li > b:first-child { display: block; font: 600 17px var(--display); margin-bottom: 4px; padding-top: 8px; }
.bars { display: grid; gap: 8px; max-width: 520px; margin: 0 0 20px; }
.bars div { display: grid; grid-template-columns: 90px 1fr 54px; align-items: center; gap: 12px; font-size: 13.5px; }
.bars span { color: var(--muted); font-family: var(--mono); }
.bars i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--berry), var(--pink)); }
.bars em { font-style: normal; text-align: right; font-family: var(--mono); color: var(--ink); }
.addr { display: inline-flex; align-items: center; gap: 8px; font: 13px var(--mono); padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); color: var(--purple-3); word-break: break-all; }
.copy { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--muted); }
.copy:hover { background: var(--glass-2); color: var(--ink); }
.copy.done { color: var(--ok); }
.copy svg { width: 15px; height: 15px; }
.glossary { display: grid; grid-template-columns: 180px 1fr; gap: 10px 22px; max-width: 780px; }
.glossary dt { font-weight: 600; color: var(--ink); }
.glossary dd { margin: 0; color: #CFC9E6; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta, .ticks, .socials { justify-content: center; }
  .hero-art { order: -1; }
  .orb { width: min(320px, 72vw); }
  .flywheel { grid-template-columns: 1fr; }
  .pools > * { flex-basis: calc((100% - 18px) / 2); }
  .faq-grid { grid-template-columns: 1fr; }
  .help-card { position: static; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .pos { grid-template-columns: 1fr 1fr; }
  .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .docs { grid-template-columns: 1fr; gap: 0; }
  .doc-nav { position: fixed; top: 64px; left: 0; bottom: 0; width: min(300px, 86vw); max-height: none; z-index: 25; padding: 20px; background: #0B0618; border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform .3s var(--ease); }
  .doc-nav.open { transform: none; }
  #doc-menu { display: inline-flex; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .net span { display: none; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pools > * { flex-basis: 100%; }
  .grad-banner .gb-top { flex-direction: column; gap: 4px; }
  .trust { grid-template-columns: 1fr; }
  .pos { grid-template-columns: 1fr; }
  .locks { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .float { display: none; }
  .glossary { grid-template-columns: 1fr; gap: 2px 0; }
  .glossary dd { margin-bottom: 10px; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 9px 10px; }
}
.doc-hero .doc-cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .doc-hero .doc-cards { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================ identity: the Twins */
img.brand-mark { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(131, 110, 249, .65)); }
.orb .glow {
  position: absolute; inset: 18%; border-radius: 50%; filter: blur(30px);
  background: radial-gradient(circle, rgba(131, 110, 249, .65), rgba(160, 5, 93, .25) 55%, transparent 70%);
  animation: breathe-glow 5s ease-in-out infinite;
}
@keyframes breathe-glow { 50% { transform: scale(1.12); opacity: .8; } }
.orb .mascot {
  position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); animation: bob 6s ease-in-out infinite;
}
.float { z-index: 2; }
.step-art { display: block; width: 150px; height: 150px; object-fit: contain; margin: -6px 0 10px -8px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); transition: transform .4s var(--ease); }
.step:hover .step-art { transform: rotate(-4deg) scale(1.06); }
.final { padding-top: 24px; }
.final-art { width: 190px; height: 190px; object-fit: contain; margin: 0 auto 6px; display: block; filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .5)); animation: bob 6s ease-in-out infinite; }
.empty img { display: block; width: 140px; height: 140px; object-fit: contain; margin: 0 auto 10px; opacity: .95; }
.doc-hero { position: relative; }
.doc-mascot { position: absolute; right: -10px; top: -6px; width: 210px; height: 210px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); animation: bob 6s ease-in-out infinite; pointer-events: none; }
.doc-hero h1, .doc-hero > p { max-width: calc(100% - 200px); }
@media (max-width: 1000px) {
  .doc-mascot { position: static; width: 140px; height: 140px; display: block; }
  .doc-hero h1, .doc-hero > p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .orb .mascot, .orb .glow, .final-art, .doc-mascot { animation: none !important; } }

/* ================================================================ preloader: the twins + a capsule progress bar */
.preload {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; background: radial-gradient(circle at 50% 42%, #1B0B3F, var(--bg) 60%);
  transition: opacity .5s var(--ease), visibility .5s; animation: preload-out .5s 5s forwards;   /* never stuck without JS */
}
.preload.done { opacity: 0; visibility: hidden; }
@keyframes preload-out { to { opacity: 0; visibility: hidden; } }
.preload img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(131, 110, 249, .7)); animation: hop .9s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1.06, .94); }
  45% { transform: translateY(-26px) scale(.96, 1.04); }
  60% { transform: translateY(-28px) scale(1, 1) rotate(-4deg); }
}
.capsule {
  position: relative; width: 190px; height: 22px; border-radius: 99px; overflow: hidden; border: 2px solid #3A1E7A;
  background: linear-gradient(90deg, rgba(131, 110, 249, .18) 50%, rgba(221, 215, 254, .14) 50%);
  box-shadow: 0 0 24px rgba(131, 110, 249, .35), inset 0 2px 0 rgba(255, 255, 255, .08);
}
.capsule::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #3A1E7A; }
.capsule i {
  position: absolute; inset: 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--purple) 0 50%, var(--purple-3) 50% 100%); background-size: 190px 100%;
  animation: fill 1.6s var(--ease) infinite;
}
@keyframes fill { 0% { width: 0; } 70% { width: 100%; } 100% { width: 100%; opacity: 0; } }
.ptext { font: 500 13px var(--mono); color: var(--muted); letter-spacing: .04em; min-height: 1.2em; }
@media (prefers-reduced-motion: reduce) { .preload img, .capsule i { animation: none !important; } .capsule i { width: 100%; } }

/* ================================================================ 404 */
.lost { min-height: calc(100vh - 70px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px 60px; max-width: 760px; }
.lost-art { width: min(300px, 70vw); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); animation: bob 6s ease-in-out infinite; }
.lost-code {
  font-size: clamp(64px, 12vw, 120px); line-height: 1; margin-top: -10px; font-weight: 700;
  background: linear-gradient(180deg, var(--purple-3), rgba(131, 110, 249, .25)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lost h1 { font-size: clamp(30px, 5vw, 48px); margin: 10px 0 14px; }
.lost > p { color: var(--muted); font-size: 17px; max-width: 520px; margin-bottom: 26px; }
.lost .cta { justify-content: center; }
.lost-cope { margin-top: 28px; font-style: italic; font-size: 14px; }

/* real token icons + solo pools */
.av.img { padding: 0; overflow: hidden; background: #120827; }
.av.img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.badge.solo { background: rgba(62, 230, 168, .1); color: #9FF2D3; border-color: rgba(62, 230, 168, .35); }
.pool.solo { background: linear-gradient(180deg, rgba(131, 110, 249, .12), rgba(255, 255, 255, .015)); border-color: rgba(131, 110, 249, .3); }

/* ================================================================ graduation lock */
.grad-banner {
  padding: 20px 22px; margin: 0 0 18px; border-radius: var(--r); border: 1px solid rgba(131, 110, 249, .4);
  background: linear-gradient(120deg, rgba(131, 110, 249, .16), rgba(160, 5, 93, .1)); backdrop-filter: blur(10px);
}
.grad-banner.done { display: flex; gap: 12px; flex-wrap: wrap; border-color: rgba(62, 230, 168, .45); background: rgba(62, 230, 168, .08); }
.grad-banner .gb-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.grad-banner b { font-family: var(--display); font-size: 17px; }
.grad-banner p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.gradbar { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.gradbar.big { height: 12px; }
.gradbar i {
  display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--pink), #FFB547);
  background-size: 200% 100%; animation: grad-flow 3s linear infinite; box-shadow: 0 0 16px rgba(224, 71, 158, .6);
}
@keyframes grad-flow { to { background-position: -200% 0; } }
.gradbox { margin: 4px 0 16px; }
.gradline { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--purple-3); margin-bottom: 6px; }
.gradbox small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.gradnote {
  padding: 11px 14px; margin: 0 0 12px; border-radius: 12px; font-size: 13px; line-height: 1.5;
  background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .32); color: #FFE0B0;
}
.locked-pill { padding: 7px 12px; border-radius: 10px; font-size: 12.5px; background: rgba(131, 110, 249, .14); border: 1px solid rgba(131, 110, 249, .4); color: var(--purple-3); white-space: nowrap; }
.badge.lp { background: rgba(255, 181, 71, .1); color: #FFD08A; border-color: rgba(255, 181, 71, .4); }
.pool.lp { border-style: dashed; border-color: rgba(255, 181, 71, .35); }
@media (prefers-reduced-motion: reduce) { .gradbar i { animation: none; } }

/* docs simulator */
.sim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 780px; margin: 6px 0 16px; }
.sim label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.sim label span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); color: var(--ink); }
.sim input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 500 18px var(--mono); }
.sim label span:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(131, 110, 249, .15); }
.sim-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 780px; margin-bottom: 14px; }
.sim-cards div { padding: 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.sim-cards span { font-size: 12px; color: var(--muted); }
.sim-cards b { font-size: 17px; }
@media (max-width: 760px) { .sim, .sim-cards { grid-template-columns: 1fr 1fr; } }

/* pre-launch + community links */
.rw.plan { background: rgba(131, 110, 249, .1); border-color: rgba(131, 110, 249, .32); color: var(--purple-3); }
.rw.plan i { background: var(--purple-2); box-shadow: 0 0 8px var(--purple-2); }
.launch-pill { color: #9FF2D3; background: rgba(62, 230, 168, .08); border-color: rgba(62, 230, 168, .32); }
.launch-pill i { background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 1.8s infinite; }
.tg-btn svg { width: 17px; height: 17px; color: #59B6F0; }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 14px; font-size: 14px;
  color: var(--muted); border: 1px dashed var(--line-2); }
.soon svg { width: 17px; height: 17px; color: #59B6F0; }
@media (max-width: 760px) { .top .tg-btn { display: none; } }

/* ---------------------------------------------------------------- small phones */
.doc pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.docs > *, .doc { min-width: 0; }
@media (max-width: 520px) {
  .top { gap: 10px; padding-inline: 14px; }
  .top .net { display: none; }
  .brand { font-size: 17px; }
  #connect { padding: 9px 14px; font-size: 14px; }
  .sim { grid-template-columns: 1fr; }
  .sim-cards { grid-template-columns: 1fr 1fr; }
  .statbar b, .statbar strong { font-size: 18px; }
}
@media (max-width: 380px) {
  #connect { font-size: 0; padding: 9px 12px; }
  #connect::after { content: "Connect"; font-size: 14px; }
}
#doc-menu { gap: 6px; }
#doc-menu svg { width: 16px; height: 16px; }
@media (max-width: 520px) {
  .doc-menu-label { display: none; }
  .top-right .btn-primary { padding: 9px 14px; font-size: 14px; }
}
