/* SENTRYHOOD — design system shared by every page (home, token, docs, 404 and the app's footer/modals).
   Near-black glass, Robinhood green #D97F59 + neon #F5A989 phosphor highlights, Geist at tight tracking, subtle film grain.
   Old token names (--night, --ghost, --gold …) stay as aliases so older markup keeps working. */
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/instrument-sans-var.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-var.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  /* palette */
  --bg: #0A0D10; --bg-2: #0E1216; --bg-3: #13181C; --bg-4: #1A2025; --bg-5: #232B31;
  --tx: #F5F9FB; --tx-2: #C9D3DA; --grey: #8796A0; --grey-2: #5F6C76; --grey-3: #3A454E;
  --line: rgba(245, 249, 251, .075); --line-2: rgba(245, 249, 251, .13); --line-3: rgba(245, 249, 251, .2);
  --rh: #D97F59; --neon: #F5A989; --gold-art: #E8B86B; --red: #FF5D5D; --amber: #F2B84B;
  --glow: 0 0 18px rgba(245, 169, 137, .35);
  --glass: linear-gradient(180deg, rgba(25, 30, 31, .78), rgba(13, 16, 17, .82));
  --glass-in: inset 0 1px 0 rgba(255, 255, 255, .055), inset 0 0 0 1px rgba(255, 255, 255, .02), inset 0 -40px 80px -60px rgba(245, 169, 137, .08);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 12px 30px -18px rgba(0, 0, 0, .7);
  /* aliases (older markup) */
  --night: var(--bg); --night-2: var(--bg-2); --night-3: var(--bg-3); --night-4: var(--bg-4);
  --ghost: var(--tx); --mist: var(--bg-3); --mint: #FDDDD0; --green-deep: #83452B;
  --gold: var(--rh); --gold-300: var(--neon); --cream: var(--tx); --white: #fff;
  --green: var(--rh); --green-ink: var(--neon); --red-ink: var(--red); --warn: var(--amber);
  --ink: var(--tx); --ink-2: var(--tx-2); --ink-3: var(--grey); --ink-line: var(--line);
  --on: var(--tx); --on-2: var(--tx-2); --on-3: var(--grey); --on-line: var(--line);
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-2xl: 28px; --r-full: 999px;
  --ease: cubic-bezier(.19, 1, .22, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); --spring: cubic-bezier(.2, .9, .3, 1.15);
  --wrap: 1180px; --gut: 16px; --nav-h: 64px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gut: 28px; --nav-h: 76px; } }
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 88px; background: #040605; }
body { margin: 0; background: var(--bg-body, var(--bg)); color: var(--tx); font-family: var(--sans); font-size: 15px; line-height: 1.6; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--neon); color: var(--bg); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 8px; }
.mono, code, kbd { font-family: var(--mono); font-feature-settings: 'zero' 1; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--neon); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* film grain over everything (compositor-only jitter, 6 fps) */
.grain { position: fixed; inset: -50%; z-index: 400; pointer-events: none; opacity: .035; contain: strict;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; will-change: transform; }
@keyframes grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -4%); } 50% { transform: translate(-4%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); } }

/* ---------- colour helpers ---------- */
.up, .ok { color: var(--neon); } .down, .bad { color: var(--red); } .flat, .muted { color: var(--grey); } .warn { color: var(--amber); }
.ph { color: var(--neon); text-shadow: 0 0 14px rgba(245, 169, 137, .38); }

/* ---------- type ---------- */
.display { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; font-weight: 500; letter-spacing: -.048em; text-wrap: balance; }
.display .dim, .h2 .dim { color: var(--grey); }
.h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; font-weight: 500; letter-spacing: -.042em; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.lead { font-size: 16px; line-height: 1.7; color: var(--tx-2); letter-spacing: -.01em; }
@media (min-width: 768px) { .lead { font-size: 16.5px; } .h3 { font-size: 21px; } }
.kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--neon); letter-spacing: -.005em; }
.kick::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--neon); }
.hl { color: var(--neon); }
.words .w { display: inline-block; will-change: transform; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tx); text-decoration: none; transition: color .2s, gap .3s var(--ease); }
.tlink svg { width: 15px; height: 15px; }
.tlink:hover { color: var(--neon); gap: 12px; }

/* ---------- buttons (pills) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: var(--r-full); border: 0; font-size: 14px; font-weight: 500; letter-spacing: -.012em; text-decoration: none; white-space: nowrap; cursor: pointer; isolation: isolate;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--white, .btn--cream, .btn--gold, .btn--ink { background: #F5F9FB; color: #0A0D10; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 10px 30px -12px rgba(255, 255, 255, .35); }
.btn--white:hover, .btn--cream:hover, .btn--gold:hover, .btn--ink:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 14px 40px -10px rgba(245, 169, 137, .45); }
.btn--green { background: var(--rh); color: #021004; box-shadow: 0 0 0 1px rgba(245, 169, 137, .4) inset, 0 12px 34px -12px rgba(217, 127, 89, .7); }
.btn--green:hover { background: var(--neon); }
.btn--ghost, .btn--navy { background: rgba(38, 44, 45, .62); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--ghost:hover, .btn--navy:hover { background: rgba(48, 56, 57, .78); box-shadow: inset 0 0 0 1px var(--line-3), inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn--line { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1px rgba(245, 169, 137, .55), 0 0 22px -6px rgba(245, 169, 137, .45); }
.btn--danger { background: rgba(255, 93, 93, .14); color: var(--red); box-shadow: inset 0 0 0 1px rgba(255, 93, 93, .35); }
.btn:active { transform: scale(.975); }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover .arrow-d { transform: translateY(2px); }
.btn .arrow-d { transition: transform .35s var(--ease); }

/* pills, chips */
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 500; background: rgba(245, 249, 251, .06); color: var(--tx-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.pill--green, .pill--ok, .pill--gold { background: rgba(217, 127, 89, .12); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(245, 169, 137, .22); }
.pill--warn { background: rgba(242, 184, 75, .1); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(242, 184, 75, .25); }
.pill--bad { background: rgba(255, 93, 93, .1); color: var(--red); box-shadow: inset 0 0 0 1px rgba(255, 93, 93, .25); }
.pill--example { background: rgba(242, 184, 75, .1); color: var(--amber); font-size: 10.5px; letter-spacing: .08em; font-weight: 600; }
.dot-live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); flex: none; }
.dot-live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--neon); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* glass panel */
.glass { position: relative; background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--glass-in), var(--shadow); }
.glass--hl { border-color: rgba(245, 169, 137, .55); box-shadow: var(--glass-in), 0 0 0 1px rgba(245, 169, 137, .18), 0 0 34px -8px rgba(245, 169, 137, .4), var(--shadow); }
.card { position: relative; background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--glass-in); padding: 20px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 120; height: var(--nav-h); transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 16, .86), rgba(10, 13, 16, .45) 70%, rgba(10, 13, 16, 0)); opacity: 1; pointer-events: none; transition: opacity .4s; }
.nav.is-scrolled { background: rgba(10, 13, 16, .62); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled::before { opacity: 0; }
.nav__bar { display: flex; align-items: center; gap: 36px; height: 100%; max-width: none; padding: 0 var(--gut); }
@media (min-width: 768px) { .nav__bar { padding: 0 40px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 21px; letter-spacing: -.045em; color: var(--tx); flex: none; }
.brand img, .brand svg { width: 30px; height: 30px; flex: none; transition: transform .6s var(--spring), filter .4s; }
.brand__mark { position: relative; display: inline-block; flex: none; width: 32px; height: 32px; margin: -1px 0; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); transition: transform .6s var(--spring), filter .4s; }
.brand:hover .brand__mark { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(245, 169, 137, .45)); }
.footer .brand__mark { width: 44px; height: 44px; }
.bx-brand .brand__mark { width: 30px; height: 30px; }
.brand__mark--lg, .bx-cn__head .brand__mark { width: 48px; height: 48px; }
.soon-mark.brand__mark { width: 64px; height: 64px; }
.dm-brand .brand__mark { width: 26px; height: 26px; }
.brand:hover img, .brand:hover svg { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 10px rgba(245, 169, 137, .55)); }
.nav__links { display: none; list-style: none; gap: 30px; }
.nav__links a { position: relative; font-size: 13.5px; color: rgba(245, 249, 251, .78); text-decoration: none; transition: color .2s; padding: 10px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); box-shadow: 0 0 8px var(--neon); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.xpill { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 17px; border-radius: var(--r-full); text-decoration: none; font-size: 13px; color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-3); transition: box-shadow .3s, background-color .3s; }
.xpill svg { width: 14px; height: 14px; }
.xpill:hover { background: rgba(245, 249, 251, .06); box-shadow: inset 0 0 0 1px rgba(245, 169, 137, .5), 0 0 20px -6px rgba(245, 169, 137, .5); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(245, 249, 251, .06); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-2); text-decoration: none; transition: background-color .2s; }
.icon-btn:hover { background: rgba(245, 249, 251, .12); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: grid; }
@media (min-width: 980px) { .nav__links { display: flex; } .menu-btn { display: none; } }
@media (max-width: 420px) { .xpill span { display: none; } .xpill { width: 38px; padding: 0; justify-content: center; } }
.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 119; display: flex; flex-direction: column; gap: 2px; padding: 20px var(--gut) 32px; background: rgba(10, 13, 16, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); overflow-y: auto; animation: menuIn .4s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
.menu a { padding: 14px 4px; font-size: 22px; letter-spacing: -.035em; text-decoration: none; color: var(--tx); border-bottom: 1px solid var(--line); }
.menu .menu__social { display: flex; gap: 10px; margin-top: 22px; }
.menu .menu__social a { font-size: 14px; padding: 10px 16px; border: 0; border-radius: var(--r-full); box-shadow: inset 0 0 0 1px var(--line-3); }

/* ---------- footer (over a monochrome living version of the hero) ---------- */
.footer { position: relative; isolation: isolate; margin-top: 40px; color: var(--grey); font-size: 13.5px; overflow: hidden; background: var(--footer-bg, var(--bg)); }
.footer__art { position: relative; height: clamp(220px, 30vw, 420px); overflow: hidden; }
.footer__art .lv, .footer__art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer__art > img { filter: grayscale(1) contrast(1.15) brightness(.8); }
.footer__art .lv { opacity: .78; }
.footer__art::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 13, 16, 0) 30%, rgba(10, 13, 16, 0) 62%, var(--bg) 100%), linear-gradient(90deg, var(--bg), transparent 14%, transparent 86%, var(--bg)); }
.footer__ph { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 100%, rgba(245, 249, 251, .1), transparent 70%), repeating-linear-gradient(90deg, rgba(245, 249, 251, .04) 0 1px, transparent 1px 7px); }
.footer__logo { position: absolute; left: 50%; top: 3%; z-index: 2; width: clamp(110px, 13vw, 190px); height: auto; transform: translateX(-50%); color: rgba(245, 249, 251, .55); pointer-events: none; filter: drop-shadow(0 0 18px rgba(245, 169, 137, .12)); }
.footer__logo path, .footer__logo rect, .footer__logo circle { vector-effect: non-scaling-stroke; }
.footer__body { position: relative; z-index: 2; padding: 8px 0 28px; }
.footer__grid { display: grid; gap: 30px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { color: var(--grey); line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.footer__col h3 { font-size: 13px; font-weight: 500; color: var(--tx); margin-bottom: 4px; }
.footer__col a { text-decoration: none; color: var(--grey); width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--tx); }
.footer__col a .ext { display: inline-block; width: 11px; height: 11px; margin-left: 4px; vertical-align: -1px; }
.footer__status { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 12.5px; color: var(--tx-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--grey); }
.footer__bottom b { color: var(--tx-2); font-weight: 500; }
.footer__bottom a { color: var(--grey); text-decoration: none; }
.footer__bottom a:hover { color: var(--tx); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }

/* ---------- inner page head ---------- */
.page-top { position: relative; padding: calc(var(--nav-h) + 72px) 0 56px; overflow: hidden; }
.page-top .wrap { position: relative; z-index: 1; }
.page-top__glow { position: absolute; inset: -20% -10% auto; height: 520px; z-index: 0; pointer-events: none; background: radial-gradient(40% 60% at 50% 0%, rgba(217, 127, 89, .14), transparent 70%); }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--grey); margin-bottom: 20px; }
.crumbs a { color: var(--grey); text-decoration: none; } .crumbs a:hover { color: var(--tx); }

/* ---------- FAQ accordion (home, token, docs) ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; cursor: pointer; font-size: 16px; color: var(--tx); letter-spacing: -.02em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; color: var(--grey); transition: transform .45s var(--ease), color .2s; }
.faq details[open] summary::after { transform: rotate(135deg); color: var(--tx); }
.faq summary:hover { color: #fff; } .faq summary:hover::after { color: var(--neon); }
.faq .faq__a { overflow: hidden; }
.faq p { padding: 0 2px 22px; max-width: 640px; color: var(--grey); font-size: 15px; line-height: 1.75; }
.faq p a { color: var(--tx); }

/* ---------- modal, toast (core.js) ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(3, 4, 5, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--glass), var(--bg-2); color: var(--tx); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 30px 26px 26px; box-shadow: var(--glass-in), 0 50px 120px -30px rgba(0, 0, 0, .9); animation: pop .45s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal__x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(245, 249, 251, .06); color: var(--tx); display: grid; place-items: center; }
.modal__x svg { width: 15px; height: 15px; }
.modal h2 { font-size: 24px; letter-spacing: -.035em; font-weight: 500; }
.modal p { color: var(--grey); font-size: 15px; }
.modal .soon-mark { width: 60px; height: 60px; margin-bottom: 16px; filter: drop-shadow(0 0 18px rgba(245, 169, 137, .4)); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 320; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: rgba(18, 22, 23, .92); color: var(--tx); font-size: 14px; padding: 12px 18px; border-radius: var(--r-full); border: 1px solid rgba(245, 169, 137, .4); box-shadow: 0 0 30px -8px rgba(245, 169, 137, .45), 0 20px 40px -14px rgba(0, 0, 0, .7); transition: transform .5s var(--spring), opacity .25s; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.wl-list { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.wl { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(245, 249, 251, .03); color: var(--tx); text-decoration: none; text-align: left; }
.wl img { width: 32px; height: 32px; border-radius: 9px; }

/* ---------- small shared UI used by core.js renderers ---------- */
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(245, 249, 251, .04) 25%, rgba(245, 249, 251, .1) 50%, rgba(245, 249, 251, .04) 75%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 36px 18px; color: var(--grey); }
.state__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(245, 249, 251, .06); color: var(--neon); }
.state__icon svg { width: 22px; height: 22px; }
.state b { color: var(--tx); font-size: 16px; font-weight: 500; }
.state p { max-width: 420px; font-size: 14px; }
.ava { position: relative; width: 36px; height: 36px; border-radius: 10px; flex: none; overflow: hidden; background: var(--bg-4); color: var(--neon); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.ava img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--grey); } .kv b { font-weight: 500; text-align: right; color: var(--tx); }
.kv a { color: var(--neon); text-decoration: none; }
.spark { width: 100%; height: 100%; overflow: visible; }
.odo { display: inline-flex; overflow: hidden; height: 1.1em; line-height: 1.1em; vertical-align: bottom; }
.odo__d { display: inline-block; height: 1.1em; overflow: hidden; }
.odo__d > span { display: flex; flex-direction: column; transition: transform 1.2s var(--ease); }
.odo__d i { font-style: normal; height: 1.1em; }
.lc { position: relative; } .lc svg { overflow: visible; }
.lc__tip { position: absolute; top: 0; z-index: 3; min-width: 150px; padding: 10px 12px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 12.5px; pointer-events: none; }
.bc { display: flex; align-items: flex-end; gap: 3px; } .bc__col { flex: 1; height: 100%; display: flex; align-items: flex-end; } .bc__bar { width: 100%; border-radius: 3px 3px 0 0; background: var(--rh); }
.bc__x { display: flex; justify-content: space-between; font-size: 11px; color: var(--grey); margin-top: 6px; }

/* scroll reveals (core.js). No JS → visible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
}

/* ---------- backdrop system (pages with body[data-backdrop]): aurora smoke canvas, art-deco line work, accents ---------- */
body[data-backdrop] { --bg-body: transparent; --footer-bg: transparent; }
#bd { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; pointer-events: none; }
#bd.bd-still { background: radial-gradient(60% 50% at 20% 0%, rgba(217, 127, 89, .08), transparent 70%), radial-gradient(50% 40% at 85% 10%, rgba(146, 61, 24, .07), transparent 70%), #040605; }
.bd-deco { position: fixed; left: 0; right: 0; top: -240px; height: calc(100vh + 480px); z-index: -1; pointer-events: none; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke-width='1'%3E%3Cg stroke='%23E8B86B' stroke-opacity='.09'%3E%3Cpath d='M0 240A120 120 0 0 1 120 120A120 120 0 0 1 240 240'/%3E%3Cpath d='M30 240A90 90 0 0 1 120 150A90 90 0 0 1 210 240'/%3E%3Cpath d='M60 240A60 60 0 0 1 120 180A60 60 0 0 1 180 240'/%3E%3Cpath d='M90 240A30 30 0 0 1 150 240'/%3E%3C/g%3E%3Cg stroke='%233CFF7A' stroke-opacity='.06'%3E%3Cpath d='M120 0V120M0 120L120 0L240 120'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 50%, transparent 35%, #000 92%); mask-image: radial-gradient(75% 65% at 50% 50%, transparent 35%, #000 92%); }
body[data-backdrop] .footer__art { -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 66%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent, #000 32%, #000 66%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
body[data-backdrop] .footer__art::after { display: none; }
/* footer starfield */
body[data-backdrop] .footer::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1px 1px at 22px 34px, rgba(255, 255, 255, .55), transparent), radial-gradient(1px 1px at 140px 90px, rgba(255, 205, 184, .5), transparent), radial-gradient(1.5px 1.5px at 260px 150px, rgba(255, 236, 200, .45), transparent), radial-gradient(1px 1px at 330px 40px, rgba(255, 255, 255, .4), transparent), radial-gradient(1px 1px at 70px 180px, rgba(245, 169, 137, .45), transparent);
  background-size: 380px 220px; animation: stars 5s ease-in-out infinite alternate; }
@keyframes stars { to { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { body[data-backdrop] .footer::before { animation: none; } }

/* Telegram pill next to Follow on X */
.nav__actions .tgpill { margin-right: 8px; }
.tgpill svg { width: 15px; height: 15px; }
@media (max-width: 420px) { .nav__actions .tgpill { margin-right: 4px; } }

/* =====================================================================
   SITE CHROME v2 (Troya layout): header, buy dropdown, numbered menu, footer, dialogs.
   Prefixed .sh- so the app's older classes are untouched. Shared by every page that uses the partials.
   ===================================================================== */
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
:root { --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif; --acc: #F5A989; --acc-2: #F9C6B1; --chrome: #FDDDD0; --panel: #0D1115; --sh-pad: 43px; }
@media (max-width: 900px) { :root { --sh-pad: 20px; } }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; text-transform: none; color: var(--acc-2);
  background: linear-gradient(100deg, #FDDDD0 0%, #F7BBA1 45%, #FFF4F0 60%, #F5A989 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }

/* header */
.sh-hd { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 80px; display: flex; align-items: center; padding: 0 var(--sh-pad); transition: background .35s, height .35s, box-shadow .35s; }
.sh-hd::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: linear-gradient(180deg, rgba(10, 13, 16, .94), rgba(10, 13, 16, .72)); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(245, 249, 251, .06); }
.sh-hd.is-scrolled { height: 68px; } .sh-hd.is-scrolled::before { opacity: 1; }
.sh-wm { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; color: var(--tx); text-decoration: none; position: relative; z-index: 2; }
.sh-wm__a { font-family: var(--serif); font-size: 17px; letter-spacing: .01em; line-height: .9; text-transform: uppercase; }
.sh-wm__b { font-weight: 700; font-size: 19px; letter-spacing: -.045em; margin-left: 15px; line-height: .95; text-transform: uppercase; }
.sh-wm__c { font-family: var(--mono); font-size: 7.5px; letter-spacing: .42em; margin-left: 32px; margin-top: 3px; color: var(--tx-2); }
.sh-wm__b b { color: var(--acc); font-weight: 700; }
.sh-hd__r { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.sh-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(245, 249, 251, .2); color: var(--tx); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; background: rgba(10, 13, 16, .35); transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); white-space: nowrap; cursor: pointer; font-family: var(--sans); }
.sh-pill:hover { border-color: rgba(245, 169, 137, .6); background: rgba(245, 169, 137, .06); }
.sh-pill--white { background: #FFFFFF; color: #0A0D10; border-color: transparent; height: 36px; padding: 0 18px; }
.sh-pill--white:hover { background: #fff; color: #0A0D10; box-shadow: 0 0 0 4px rgba(245, 169, 137, .16); }
.sh-ico { width: 34px; height: 34px; display: inline-grid; place-items: center; color: var(--tx); border-radius: 999px; transition: background .2s, color .2s; }
.sh-ico:hover { color: var(--acc); background: rgba(245, 249, 251, .05); } .sh-ico svg { width: 17px; height: 17px; }
.sh-buy { position: relative; }
.sh-buy__btn { height: 38px; padding: 0 14px 0 5px; gap: 9px; border: 0; color: #0A0D10; background: linear-gradient(180deg, #F9C6B1, #F5A989 55%, #BD6C4A); box-shadow: 0 0 0 1px rgba(253, 221, 208, .55) inset, 0 0 26px -4px rgba(245, 169, 137, .55); }
.sh-buy__btn:hover { background: linear-gradient(180deg, #FDDDD0, #F7BBA1 55%, #E38E6A); color: #0A0D10; }
.sh-buy__btn .tk { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF4F0, #F5A989 40%, #83452B 100%); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(4, 20, 10, .3); }
.sh-buy__btn .tk svg { width: 16px; height: 16px; color: #0A0D10; }
.sh-buy__btn .car { width: 12px; height: 12px; transition: transform .3s var(--ease); } .sh-buy.is-open .car { transform: rotate(180deg); }
.sh-buy__pop { position: absolute; right: -10px; top: calc(100% + 10px); width: 360px; max-width: calc(100vw - 24px); padding: 8px; border-radius: 16px; background: rgba(11, 15, 18, .97); border: 1px solid rgba(245, 249, 251, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(245, 169, 137, .05); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .22s, transform .3s var(--ease); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.sh-buy.is-open .sh-buy__pop { opacity: 1; transform: none; pointer-events: auto; }
.sh-buy__it { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 11px; color: var(--tx); text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.sh-buy__it:hover { background: rgba(245, 249, 251, .04); }
.sh-buy__it--best { background: rgba(245, 169, 137, .07); border-color: rgba(245, 169, 137, .32); }
.sh-buy__it b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.sh-buy__it small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--grey); margin-top: 2px; }
.sh-buy__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #13181C; border: 1px solid rgba(245, 249, 251, .1); color: var(--acc); }
.sh-buy__ic svg { width: 18px; height: 18px; }
.sh-buy__tag { font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; background: var(--acc); color: #0A0D10; }
.sh-buy__arr { width: 14px; height: 14px; color: var(--grey); }
.sh-ca { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 11px; border: 1px dashed rgba(245, 249, 251, .16); font-family: var(--mono); font-size: 11.5px; color: var(--tx-2); min-width: 0; }
.sh-ca__k { color: var(--acc); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; }
.sh-ca__v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-ca__cp { border: 0; background: none; color: var(--tx); font: 700 10.5px/1 var(--sans); letter-spacing: .1em; cursor: pointer; padding: 4px 2px; }
.sh-ca__cp:hover { color: var(--acc); }
.sh-ca .ca-soon-t { color: var(--tx-2); }
.sh-burger { width: 44px; height: 38px; border: 0; background: none; cursor: pointer; position: relative; color: var(--tx); margin-left: 4px; }
.sh-burger i { position: absolute; left: 10px; right: 10px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease), opacity .2s; }
.sh-burger i:nth-child(1) { top: 14px; } .sh-burger i:nth-child(2) { top: 22px; }
.sh-burger[aria-expanded="true"] i:nth-child(1) { top: 18px; transform: rotate(45deg); } .sh-burger[aria-expanded="true"] i:nth-child(2) { top: 18px; transform: rotate(-45deg); }
@media (max-width: 1100px) { .sh-hd .sh-hide-m { display: none; } }
@media (max-width: 640px) { .sh-hd { height: 64px; } .sh-hd.is-scrolled { height: 58px; } .sh-hd .sh-hide-s { display: none; } .sh-buy__btn { height: 34px; padding-right: 10px; font-size: 10.5px; } .sh-buy__btn .tk { width: 24px; height: 24px; } .sh-buy__pop { position: fixed; right: 12px; left: 12px; width: auto; top: 62px; } }

/* full-screen numbered menu */
.sh-menu { position: fixed; inset: 0; z-index: 110; background: rgba(5, 8, 10, .985); display: grid; grid-template-columns: 1fr 1fr; padding: 120px var(--sh-pad) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; }
.sh-menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.sh-menu__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; align-content: start; gap: 2px; counter-reset: m; }
.sh-menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 7px 0; color: var(--tx); text-decoration: none; font-weight: 700; font-size: clamp(30px, 4.3vw, 58px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease), opacity .5s, color .2s; }
.sh-menu.is-open .sh-menu__list a { transform: none; opacity: 1; }
.sh-menu__list a span { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--acc); min-width: 24px; transform: translateY(-1.1em); }
.sh-menu__list a em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; text-transform: none; color: var(--acc-2); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease); font-size: .75em; }
.sh-menu__list a:hover { color: #fff; } .sh-menu__list a:hover em { opacity: 1; transform: none; }
.sh-menu__list a[aria-current="page"] { color: var(--acc); }
.sh-menu__side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; gap: 30px; padding-bottom: 10px; }
.sh-menu__art { width: min(360px, 32vw); aspect-ratio: 3 / 4; position: relative; border-radius: 4px; overflow: hidden; opacity: .85; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 50%, transparent 100%); mask-image: radial-gradient(70% 60% at 50% 45%, #000 50%, transparent 100%); }
.sh-menu__meta { font: 500 11px/1.8 var(--mono); color: var(--grey); letter-spacing: .06em; }
.sh-menu__meta a { color: var(--tx); text-decoration: none; border-bottom: 1px solid rgba(245, 249, 251, .25); }
.sh-menu__meta a:hover { color: var(--acc); }
.sh-menu__cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .sh-menu { grid-template-columns: 1fr; padding-top: 88px; } .sh-menu__side { align-items: flex-start; text-align: left; } .sh-menu__art { display: none; } .sh-menu__cta { justify-content: flex-start; } .sh-menu__list a { font-size: 30px; padding: 6px 0; } }
html.sh-lock, html.sh-lock body { overflow: hidden; }

/* link with arrow + underline (Troya "GATE A COIN ↗") */
.sh-a { display: inline-flex; align-items: center; gap: 8px; color: var(--tx); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .2s, background-size .4s var(--ease); }
.sh-a::after { content: ''; width: 9px; height: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8L8 2M3.5 2H8v4.5' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8L8 2M3.5 2H8v4.5' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.sh-a:hover { color: var(--acc); } .sh-a:hover::after { transform: translate(2px, -2px); }
.sh-a--plain::after { display: none; }

/* dialogs */
.sh-dlg { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(2, 3, 3, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.sh-dlg.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.sh-dlg__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: #0B0F12; border: 1px solid rgba(245, 169, 137, .22); border-radius: 22px; padding: 30px 30px 26px; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 60px -30px rgba(245, 169, 137, .4); transform: translateY(16px) scale(.98); transition: transform .45s var(--ease); }
.sh-dlg.is-open .sh-dlg__box { transform: none; }
.sh-dlg__x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(245, 249, 251, .2); background: none; color: var(--tx); cursor: pointer; display: grid; place-items: center; }
.sh-dlg__x:hover { border-color: var(--acc); color: var(--acc); } .sh-dlg__x svg { width: 14px; height: 14px; }
.sh-dlg h2 { margin: 6px 0 14px; font-size: 34px; font-weight: 700; letter-spacing: -.045em; line-height: .98; text-transform: uppercase; }
.sh-dlg ul { margin: 0 0 22px; padding-left: 18px; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--tx-2); }
.sh-dlg ul b { color: var(--tx); font-weight: 600; }
.sh-dlg__ft { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sh-k { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.sh-k i { font-style: normal; } .sh-k .ln { width: 36px; height: 1px; background: currentColor; opacity: .7; }

/* footer */
.sh-ft { position: relative; z-index: 2; background: #05080A; border-top: 1px solid rgba(245, 249, 251, .07); padding: 22px var(--sh-pad) 26px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.sh-ft a { color: var(--tx); text-decoration: none; transition: color .2s; } .sh-ft a:hover { color: var(--acc); }
.sh-ft__pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding: 8px 0 22px; border-bottom: 1px solid rgba(245, 249, 251, .08); }
.sh-ft__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding-top: 22px; }
.sh-ft__l, .sh-ft__r { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sh-ft__r { justify-content: flex-end; }
.sh-ft .sh-ca { margin: 0; border-style: solid; border-radius: 999px; padding: 10px 16px; font-size: 11px; text-transform: none; letter-spacing: 0; max-width: 340px; }
.sh-ft__note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 10px; color: var(--grey); letter-spacing: .12em; }
.sh-ft__note b { color: var(--tx-2); font-weight: 600; }
@media (max-width: 900px) { .sh-ft__row { grid-template-columns: 1fr; justify-items: center; text-align: center; } .sh-ft__l, .sh-ft__r { justify-content: center; } .sh-ft__note { justify-content: center; text-align: center; } }
