/* ==========================================================================
   X TOKEN — 2026 Interface System
   Full rebuild: layout, motion, and component design language.
   ========================================================================== */

/* -------------------------------- Fonts -------------------------------- */
@font-face { font-family: 'Suisse Intl'; src: url('/assets/SuisseIntl-Regular-BMlNK7ry.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Suisse Intl'; src: url('/assets/SuisseIntl-Medium-bU0eqo_A.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Suisse Intl'; src: url('/assets/SuisseIntl-SemiBold-D24yLH6B.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Suisse Intl'; src: url('/assets/SuisseIntl-Bold-DNpvdXht.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Suisse Intl'; src: url('/assets/SuisseIntl-Black-BB-gyAik.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Suisse Intl Mono'; src: url('/assets/SuisseIntl-Light-BrYxuc5I.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

/* ------------------------------- Tokens --------------------------------- */
:root {
  --bg-0: #05070a;
  --bg-1: #0a0d12;
  --bg-2: #10141b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --ink-0: #f4f6fa;
  --ink-1: #aab0bd;
  --ink-2: #6b7280;
  --accent-0: #63f3c0;
  --accent-1: #4c8bff;
  --accent-2: #b26bff;
  --accent-grad: linear-gradient(115deg, var(--accent-0) 0%, var(--accent-1) 52%, var(--accent-2) 100%);
  --danger: #ff5c72;
  --warn: #ffb648;
  --ok: #63f3c0;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-2: cubic-bezier(.65, 0, .35, 1);
  --font: 'Suisse Intl', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Suisse Intl Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  --shell-max: 1280px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--bg-0); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-0);
  background: var(--bg-0);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

img, svg { display: block; max-width: 100%; }
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font-family: inherit; color: inherit; }

::selection { background: var(--accent-1); color: #04070c; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-1); }

/* ------------------------------ Utilities -------------------------------- */
.shell { width: 100%; max-width: var(--shell-max); margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); }
.mono { font-family: var(--mono); letter-spacing: .01em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-0);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent-0);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-0);
  animation: pulse-dot 2.2s var(--ease) infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: .03s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .09s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .15s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .21s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .27s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .33s; }

/* ------------------------------ Background fx ---------------------------- */
#fx-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .55;
}
.fx-vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 82% -10%, rgba(76, 139, 255, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(99, 243, 192, .09), transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--bg-0) 96%);
}
.fx-noise {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent-0); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--border-strong);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cursor-ring.is-active { width: 54px; height: 54px; border-color: var(--accent-0); background: rgba(99, 243, 192, .06); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ------------------------------- App shell -------------------------------- */
#app { position: relative; z-index: 3; min-height: 100vh; display: flex; flex-direction: column; }

/* -------------------------------- Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(5, 7, 10, .72);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex-shrink: 0; display: block;
}
.brand-mark .x-logo-img, .x-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-logo-img--lg { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.x-logo-img--social { width: 18px; height: 18px; object-fit: cover; border-radius: 4px; }

.nav-primary { display: flex; align-items: center; gap: 4px; }
.nav-primary a {
  padding: 10px 16px; font-size: 14px; color: var(--ink-1); border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-primary a:hover { color: var(--ink-0); background: var(--surface); }
.nav-primary a.is-active { color: var(--ink-0); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; padding: 10px; }
.nav-toggle svg { width: 18px; height: 18px; }

/* Mobile drawer for the public site nav */
.public-drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.public-drawer.is-open { visibility: visible; }
.public-drawer__backdrop { position: absolute; inset: 0; background: rgba(5,7,10,.78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.public-drawer.is-open .public-drawer__backdrop { opacity: 1; }
.public-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--bg-1); border-left: 1px solid var(--border);
  padding: 20px 22px 28px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(0,0,0,.6);
}
.public-drawer.is-open .public-drawer__panel { transform: translateX(0); }
.public-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.public-drawer__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.public-drawer__nav a { padding: 14px 12px; font-size: 15.5px; color: var(--ink-1); border-radius: var(--radius-s); border-bottom: 1px solid var(--border); transition: color .2s var(--ease), background .2s var(--ease); }
.public-drawer__nav a:hover { color: var(--ink-0); background: var(--surface); }
.public-drawer__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* -------------------------------- Buttons --------------------------------- */
.btn {
  --btn-fg: var(--ink-0);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--btn-fg);
  cursor: pointer;
  isolation: isolate;
  transition: transform .35s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; }

.btn-primary {
  --btn-fg: #04070c;
  border: none;
  background: var(--accent-grad);
  box-shadow: 0 10px 30px -12px rgba(76, 139, 255, .55);
}
.btn-primary:hover { box-shadow: 0 16px 38px -12px rgba(76, 139, 255, .75); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(115deg, var(--accent-2), var(--accent-0));
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn-primary:hover::after { opacity: 1; }

.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: var(--border); }

.btn-line { background: transparent; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-danger { border-color: rgba(255,92,114,.4); color: var(--danger); }
.btn-danger:hover { background: rgba(255,92,114,.08); }

/* -------------------------------- Cards ------------------------------------ */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px;
  position: relative;
  overflow: clip;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 60px -34px rgba(0,0,0,.6);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.card-glow::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--accent-grad); opacity: 0; transition: opacity .4s var(--ease);
}
.card-interactive:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 76px -30px rgba(0,0,0,.65); }
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(20px);
}

/* ------------------------------- Hero --------------------------------- */
.hero { position: relative; padding: clamp(56px, 12vw, 132px) 0 clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-weight: 750;
  margin: 20px 0 22px;
}
.hero-copy p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-1); max-width: 560px; line-height: 1.6; }
.hero-cta-row { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin-top: 22px; }
.hero-note svg { width: 14px; height: 14px; color: var(--accent-0); }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; }
.stat-strip .stat { background: var(--bg-0); padding: 20px 22px; }
.stat .num { font-family: var(--mono); font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.01em; }
.stat .label { font-size: 12px; color: var(--ink-2); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }

/* Orbital / node visual for hero right side */
.hero-visual {
  position: relative; width: min(88vw, 340px); aspect-ratio: 1/1;
  display: grid; place-items: center; margin-inline: auto;
  contain: layout style;
}
.hero-aurora {
  position: absolute; inset: -8%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 120deg, rgba(99,243,192,.14), rgba(76,139,255,.12), rgba(178,107,255,.14), rgba(99,243,192,.14));
  filter: blur(28px); animation: hero-aurora 14s linear infinite;
}
@keyframes hero-aurora { to { transform: rotate(360deg); } }
.hero-mesh {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(circle at 20% 30%, rgba(99,243,192,.08) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(76,139,255,.07) 0 1px, transparent 1px);
  background-size: 28px 28px, 36px 36px;
  animation: hero-mesh-drift 20s linear infinite;
}
@keyframes hero-mesh-drift { to { background-position: 28px 28px, -36px 36px; } }
.hero-rings { position: absolute; inset: 0; pointer-events: none; }
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(99,243,192,.14);
  animation: hero-ring-spin linear infinite;
}
.hero-ring--1 { inset: 4%; opacity: .5; animation-duration: 48s; }
.hero-ring--2 { inset: 14%; opacity: .65; border-style: dashed; border-color: rgba(76,139,255,.18); animation-duration: 32s; animation-direction: reverse; }
.hero-ring--3 { inset: 24%; opacity: .4; border-color: rgba(178,107,255,.16); animation-duration: 22s; }
@keyframes hero-ring-spin { to { transform: rotate(360deg); } }
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particle {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-0); box-shadow: 0 0 10px var(--accent-0);
  top: 50%; left: 50%;
  animation: hero-particle 6s var(--ease) infinite;
  animation-delay: calc(var(--i) * -.65s);
  opacity: .7;
}
.hero-particle:nth-child(3n+1) { background: var(--accent-1); box-shadow: 0 0 10px var(--accent-1); }
.hero-particle:nth-child(3n+2) { background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
@keyframes hero-particle {
  0% { transform: rotate(calc(var(--i) * 36deg)) translateX(0) scale(.4); opacity: 0; }
  20% { opacity: .85; }
  100% { transform: rotate(calc(var(--i) * 36deg + 360deg)) translateX(min(38vw, 130px)) scale(.2); opacity: 0; }
}
.hero-core {
  position: relative; z-index: 2; width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(0);
}
.hero-core-glow {
  position: absolute; inset: -40%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(76,139,255,.28), transparent 70%);
  animation: hero-glow 4.5s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes hero-glow {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.08); }
}
.hero-logo-img {
  position: relative; z-index: 1; width: 96px; height: 96px; object-fit: contain;
  border-radius: 18px; display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}
@media (prefers-reduced-motion: reduce) {
  .hero-ring, .hero-aurora, .hero-mesh, .hero-particle, .hero-core-glow { animation: none !important; }
}

/* --------------------------- Marquee ticker ------------------------------- */
.ticker-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; background: var(--bg-1); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 34s linear infinite; }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-1); white-space: nowrap; }
.ticker-item img { width: 18px; height: 18px; border-radius: 50%; }
.ticker-item .chg { color: var(--ok); }
.ticker-item .chg.down { color: var(--danger); }

/* ------------------------------- Sections --------------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -.02em; margin-top: 16px; line-height: 1.08; font-weight: 700; }
.section-head p { color: var(--ink-1); margin-top: 16px; font-size: 16px; line-height: 1.65; }
.section-head.center { margin-inline: auto; text-align: center; }

.divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); margin: 0 0 8px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-l); overflow: hidden; }
.feature-card { background: var(--bg-0); padding: 32px 28px; transition: background .35s var(--ease); position: relative; }
.feature-card:hover { background: var(--bg-1); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-strong); border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: 20px; }
.feature-icon svg { width: 22px; height: 22px; color: var(--accent-0); }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.feature-card p { font-size: 14px; color: var(--ink-1); line-height: 1.6; }
.feature-card .idx { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* Process / How it works */
.process-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-rail::before {
  content: ''; position: absolute; top: 27px; left: 4%; right: 4%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
}
.process-step { position: relative; }
.process-step .n {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-0); border: 1px solid var(--border-strong);
  font-family: var(--mono); font-weight: 600; margin-bottom: 20px; position: relative; z-index: 2;
}
.process-step:hover .n { border-color: var(--accent-0); box-shadow: 0 0 0 4px rgba(99,243,192,.1); }
.process-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--ink-1); line-height: 1.6; }

/* Tokenomics */
.tokenomics-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.tokenomics-card {
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 40px 80px -40px rgba(0,0,0,.65);
}
.pie-wrap { position: relative; aspect-ratio: 1/1; max-width: 320px; margin: 0 auto; }
.pie-glow {
  position: absolute; inset: -12%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(76,139,255,.32), rgba(178,107,255,.14) 45%, transparent 72%);
  filter: blur(26px);
}
.pie-orbit { position: absolute; inset: 3%; border: 1px dashed var(--border-strong); border-radius: 50%; z-index: 0; animation: spin 70s linear infinite; pointer-events: none; }
.pie-wrap canvas { position: relative; z-index: 1; }
.pie-center { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pie-center .t1 { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; }
.pie-center .t2 { font-family: var(--mono); font-size: 30px; font-weight: 700; margin-top: 8px; letter-spacing: -.01em; }
.alloc-list { display: flex; flex-direction: column; gap: 14px; }
.alloc-row {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border);
  border-radius: var(--radius-m); background: var(--surface); flex-wrap: wrap;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.alloc-row:hover { border-color: var(--border-strong); background: var(--surface-strong); transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(0,0,0,.5); }
.alloc-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; box-shadow: 0 0 10px currentColor; }
.alloc-row .name { font-size: 14px; font-weight: 600; flex: 1; }
.alloc-row .pct { font-family: var(--mono); font-size: 14px; color: var(--ink-1); }
.alloc-row .bar { flex-basis: 100%; height: 5px; border-radius: 4px; background: var(--border); margin-top: 4px; overflow: hidden; }
.alloc-row .bar > span { display: block; height: 100%; border-radius: 4px; width: 0; transition: width 1.1s var(--ease-2); }

/* Progress module (presale) */
.presale-countdown {
  margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-m);
  border: 1px solid rgba(99,243,192,.22); background: rgba(99,243,192,.05);
}
.presale-countdown__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 6px; }
.presale-countdown__date { font-size: 15px; font-weight: 600; color: var(--ink-0); margin-bottom: 14px; line-height: 1.4; }
.presale-countdown__timer { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.presale-countdown__unit { min-width: 54px; text-align: center; padding: 10px 8px; border-radius: var(--radius-s); background: var(--bg-0); border: 1px solid var(--border); }
.presale-countdown__unit span { display: block; font-size: 22px; font-weight: 700; line-height: 1; color: var(--accent-0); }
.presale-countdown__unit small { display: block; margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.presale-countdown__sep { font-family: var(--mono); font-size: 18px; color: var(--ink-2); margin-top: -10px; }
.presale-countdown__note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.presale-countdown--compact {
  margin-top: 14px; padding: 14px 16px; display: grid; gap: 10px;
}
.presale-countdown--compact .presale-countdown__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.presale-countdown--compact .presale-countdown__label { margin: 0; }
.presale-countdown--compact .presale-countdown__date { margin: 0; font-size: 14px; }
.presale-countdown--compact .presale-countdown__timer { font-size: 20px; font-weight: 700; color: var(--accent-0); }
.presale-countdown--compact .presale-countdown__note { margin-top: 2px; }
.progress-card .presale-countdown { margin-top: 0; margin-bottom: 18px; }
.hero-copy .presale-countdown { margin-top: 22px; max-width: 420px; }
#dash-content > .presale-countdown { margin-bottom: 24px; max-width: 520px; }
.progress-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; }
.progress-meta .amount { font-family: var(--mono); font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.01em; }
.progress-meta .of { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.progress-bar-track { height: 10px; border-radius: 999px; background: var(--border); overflow: hidden; margin: 22px 0 14px; position: relative; }
.progress-bar-fill { height: 100%; border-radius: inherit; background: var(--accent-grad); position: relative; transition: width 1.2s var(--ease-2); }
.progress-bar-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.progress-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.recent-orders { display: flex; flex-direction: column; gap: 10px; }
.recent-orders h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 4px; }
#recent-orders-list { display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--border); font-size: 13px; }
.order-row--enter { animation: order-row-in .42s var(--ease) both; }
@keyframes order-row-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.order-row .tk { font-family: var(--mono); color: var(--ink-1); }
.order-row .amt { color: var(--accent-0); font-family: var(--mono); font-weight: 600; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-l); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; background: transparent; border: none; width: 100%; text-align: left; font-size: 15.5px; font-weight: 600; color: var(--ink-0); transition: background .25s var(--ease); }
.faq-q:hover { background: var(--surface); }
.faq-plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-strong); position: relative; flex-shrink: 0; transition: transform .35s var(--ease), border-color .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--ink-1); transition: opacity .25s var(--ease); }
.faq-plus::before { top: 50%; left: 5px; right: 5px; height: 1px; transform: translateY(-50%); }
.faq-plus::after { left: 50%; top: 5px; bottom: 5px; width: 1px; transform: translateX(-50%); }
.faq-item.is-open .faq-plus { transform: rotate(135deg); border-color: var(--accent-0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-1); font-size: 14.5px; line-height: 1.7; }

/* CTA banner */
.cta-banner { border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px); position: relative; overflow: clip; border: 1px solid var(--border); background: radial-gradient(1100px 400px at 20% 0%, rgba(76,139,255,.16), transparent 60%), var(--bg-1); text-align: center; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; margin-bottom: 16px; }
.cta-banner p { color: var(--ink-1); max-width: 520px; margin: 0 auto 30px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--ink-2); font-size: 13.5px; margin-top: 14px; max-width: 280px; line-height: 1.6; }
.footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-1); padding: 6px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--ink-0); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; gap: 12px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.socials a:hover { border-color: var(--accent-0); transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; }

/* --------------------------------- Forms ----------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 12.5px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.field .hint { font-size: 12px; color: var(--ink-2); }
.field .error { font-size: 12px; color: var(--danger); }
.input, select.input {
  appearance: none;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--ink-0);
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.input::placeholder { color: var(--ink-2); }
.input:focus { border-color: var(--accent-1); background: var(--bg-0); }
.input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.input[type="number"]::-webkit-outer-spin-button,
.input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-group { position: relative; display: flex; align-items: center; }
.input-group .input { padding-right: 84px; }
.input-suffix { position: absolute; right: 12px; z-index: 2; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: var(--surface-strong); padding: 5px 10px; border-radius: 6px; pointer-events: none; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-1); }
.checkbox-row input { margin-top: 2px; accent-color: var(--accent-0); }

/* Icon-leading inputs (auth forms) */
.input-icon-group { position: relative; display: flex; align-items: center; }
.input-icon-group > .icon { position: absolute; left: 15px; color: var(--ink-2); pointer-events: none; transition: color .25s var(--ease); z-index: 1; }
.input-icon-group > .icon svg { width: 16px; height: 16px; }
.input-icon-group .input { padding-left: 44px; }
.input-icon-group:focus-within > .icon { color: var(--accent-1); }
.input-icon-group.has-toggle .input { padding-right: 44px; }
.input-toggle-visibility {
  position: absolute; right: 6px; background: none; border: none; color: var(--ink-2);
  cursor: pointer; padding: 8px; display: flex; border-radius: 8px; transition: color .2s var(--ease), background .2s var(--ease);
}
.input-toggle-visibility:hover { color: var(--ink-0); background: var(--surface-strong); }
.input-toggle-visibility svg { width: 16px; height: 16px; }
.pw-strength { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; margin-top: 10px; }
.pw-strength > span { display: block; height: 100%; width: 0%; background: var(--danger); transition: width .3s var(--ease), background .3s var(--ease); }
.pw-strength-label { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; transition: color .2s var(--ease); }

/* Decorative ambient visual behind the auth quote panel */
.auth-side-visual { position: absolute; inset: 0; z-index: 1; opacity: .9; pointer-events: none; }
.auth-side-visual .orbit-ring { position: absolute; border: 1px solid var(--border); border-radius: 50%; top: 50%; left: 78%; }
.auth-side-visual .orbit-ring.r1 { width: 380px; height: 380px; margin: -190px 0 0 -190px; animation: spin 80s linear infinite; }
.auth-side-visual .orbit-ring.r2 { width: 260px; height: 260px; margin: -130px 0 0 -130px; border-style: dashed; animation: spin 55s linear infinite reverse; }
.auth-side-visual .orbit-ring.r3 { width: 150px; height: 150px; margin: -75px 0 0 -75px; animation: spin 34s linear infinite; }
.auth-side-visual .glow { position: absolute; top: 30%; left: 82%; width: 320px; height: 320px; margin: -160px 0 0 -160px; background: radial-gradient(circle, rgba(76,139,255,.28), transparent 70%); filter: blur(30px); }

/* --------------------------------- Auth ------------------------------------ */
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; }
.auth-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; padding: 60px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--border); overflow: hidden; }
.auth-side .brand { position: relative; z-index: 2; }
.auth-side-quote { position: relative; z-index: 2; max-width: 420px; }
.auth-side-quote p { font-size: 22px; line-height: 1.4; letter-spacing: -.01em; }
.auth-side-quote .who { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.auth-form-col { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 8px; }
.auth-box .sub { color: var(--ink-1); font-size: 14.5px; margin-bottom: 32px; }
.auth-switch { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--ink-2); }
.auth-switch a { color: var(--accent-0); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0; color: var(--ink-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--border); }
.banner-msg { padding: 12px 14px; border-radius: var(--radius-s); font-size: 13px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.banner-msg.error { background: rgba(255,92,114,.08); border: 1px solid rgba(255,92,114,.3); color: #ffb3bd; }
.banner-msg.success { background: rgba(99,243,192,.08); border: 1px solid rgba(99,243,192,.3); color: #b6f8e0; }
.banner-msg.info { background: rgba(76,139,255,.08); border: 1px solid rgba(76,139,255,.3); color: #bcd4ff; }

/* -------------------------------- Dashboard --------------------------------- */
.dash-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.dash-sidebar { border-right: 1px solid var(--border); padding: 24px 18px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.dash-sidebar .brand { padding: 8px 10px 28px; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-s); color: var(--ink-1); font-size: 14px; font-weight: 500; transition: background .25s var(--ease), color .25s var(--ease); }
.dash-nav a svg { width: 17px; height: 17px; flex-shrink: 0; }
.dash-nav a:hover { background: var(--surface); color: var(--ink-0); }
.dash-nav a.is-active { background: var(--surface-strong); color: var(--ink-0); }
.dash-nav a.is-active svg { color: var(--accent-0); }
.dash-nav .grp-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding: 18px 14px 8px; }
.sidebar-user { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-grad); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #04070c; flex-shrink: 0; }
.sidebar-user .who { flex: 1; min-width: 0; }
.sidebar-user .who .name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .who .mail { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dash-main { padding: 32px clamp(20px, 4vw, 48px) 80px; min-width: 0; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.dash-topbar h1 { font-size: 24px; letter-spacing: -.01em; }
.dash-topbar .sub { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.mobile-topbar { display: none; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; background: rgba(5,7,10,.85); backdrop-filter: blur(14px); }
.mobile-topbar button { background: none; border: none; color: var(--ink-0); }

/* Mobile bottom tab bar — dashboard only */
.mobile-tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  grid-template-columns: repeat(5, 1fr); gap: 0;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(8,10,14,.92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}
.mobile-tabbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 8px 4px; border-radius: var(--radius-s); color: var(--ink-2); font-size: 10.5px; font-weight: 600;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.mobile-tabbar__icon svg { width: 20px; height: 20px; }
.mobile-tabbar__item.is-active { color: var(--ink-0); background: var(--surface); }
.mobile-tabbar__item.is-active .mobile-tabbar__icon svg { color: var(--accent-0); }
.mobile-tabbar__item.is-accent.is-active { color: var(--accent-0); }
.mobile-tabbar__item.is-accent.is-active .mobile-tabbar__icon svg { color: var(--accent-0); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi-card { padding: 22px; }
.kpi-card .lbl { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .07em; display: flex; align-items: center; justify-content: space-between; }
.kpi-card .lbl svg { width: 15px; height: 15px; color: var(--ink-2); }
.kpi-card .val { font-family: var(--mono); font-size: 26px; font-weight: 700; margin-top: 10px; letter-spacing: -.01em; }
.kpi-card .delta { font-size: 12px; margin-top: 8px; color: var(--ink-2); }
.kpi-card .delta.up { color: var(--ok); }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.panel { padding: 26px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-head h3 { font-size: 15.5px; font-weight: 600; }
.panel-head a, .panel-head button.link { font-size: 12.5px; color: var(--accent-0); background: none; border: none; cursor: pointer; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--border); color: var(--ink-1); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table .strong { color: var(--ink-0); font-weight: 600; }
.table-wrap { overflow-x: auto; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.pending { color: var(--warn); background: rgba(255,182,72,.1); }
.badge.approved { color: var(--ok); background: rgba(99,243,192,.1); }
.badge.rejected, .badge.declined { color: var(--danger); background: rgba(255,92,114,.1); }
.badge.processing { color: var(--accent-1); background: rgba(76,139,255,.1); }

.empty-state { text-align: center; padding: 48px 24px; color: var(--ink-2); }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 16px; opacity: .6; }
.empty-state p { font-size: 14px; }

/* Purchase wizard — animated multi-step buy flow */
.wizard-head { display: flex; align-items: flex-start; margin-bottom: 8px; padding: 12px 10px 6px; overflow-x: auto; overflow-y: visible; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; width: 96px; overflow: visible; position: relative; z-index: 1; }
.wizard-step .dot {
  width: 40px; height: 40px; min-width: 40px; min-height: 40px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px;
  color: var(--ink-2); background: var(--bg-1); transition: border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
  position: relative; z-index: 2; flex-shrink: 0; box-sizing: border-box; overflow: hidden;
}
.wizard-step.is-active .dot { border-color: var(--accent-0); color: var(--ink-0); box-shadow: 0 0 0 4px rgba(99,243,192,.12); transform: scale(1.04); }
.wizard-step.is-done .dot { background: var(--accent-grad); border-color: transparent; color: #04070c; box-shadow: none; transform: none; }
.wizard-step.is-done .dot svg { width: 14px; height: 14px; display: block; flex-shrink: 0; }
.wizard-step .lbl { font-size: 11.5px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; text-align: center; transition: color .3s var(--ease); }
.wizard-step.is-active .lbl, .wizard-step.is-done .lbl { color: var(--ink-1); }
.wizard-line { flex: 1; height: 1px; background: var(--border); position: relative; margin: 20px 2px 0; overflow: hidden; border-radius: 2px; z-index: 0; }
.wizard-line > span { position: absolute; inset: 0; background: var(--accent-grad); width: 0%; transition: width .6s var(--ease-2); }
.wizard-viewport { overflow: hidden; margin: 0 -2px; transition: height .35s var(--ease-2); }
.wizard-track { display: flex; width: 400%; transition: transform .55s var(--ease-2); will-change: transform; align-items: flex-start; }
.wizard-panel { width: 25%; flex-shrink: 0; padding: 2px; align-self: flex-start; }
.wizard-panel h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.wizard-panel .desc { font-size: 13px; color: var(--ink-2); margin-bottom: 20px; }
.wizard-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wizard-mobile-bar {
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--border);
}
.wizard-mobile-meta { text-align: center; flex: 1; min-width: 0; }
.wizard-mobile-step { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.wizard-mobile-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-0); margin-top: 2px; }
.wizard-arrow {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--bg-1); color: var(--ink-0); display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}
.wizard-arrow:hover:not(:disabled) { border-color: var(--accent-0); background: rgba(99,243,192,.06); }
.wizard-arrow:disabled { opacity: .35; cursor: not-allowed; }
.wizard-arrow svg { width: 18px; height: 18px; }
.wizard-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.wizard-summary-row:last-child { border-bottom: none; }
.wizard-summary-row .k { color: var(--ink-2); }
.wizard-summary-row .v { font-family: var(--mono); color: var(--ink-0); font-weight: 600; }
.success-check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: rgba(99,243,192,.12); border: 1px solid rgba(99,243,192,.4);
  display: grid; place-items: center; animation: pop-in .45s var(--ease);
}
.success-check svg { width: 26px; height: 26px; }
.success-check svg path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: draw-check .5s .12s var(--ease) forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@keyframes pop-in { from { transform: scale(.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 640px) {
  .wizard-step { width: 68px; }
  .wizard-step .lbl { display: block; font-size: 9.5px; }
  .wizard-head { gap: 0; scrollbar-width: none; padding: 12px 10px 8px; overflow-x: auto; overflow-y: visible; }
  .wizard-step.is-active .dot { box-shadow: 0 0 0 3px rgba(99,243,192,.1); transform: scale(1.02); }
  .wizard-head::-webkit-scrollbar { display: none; }
  .wizard-line { min-width: 12px; }
  .wizard-line::after {
    content: '›'; position: absolute; right: -2px; top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1;
  }
}

/* Amount input: crypto ↔ token toggle + quick presets */
.amount-mode-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.amount-mode-label { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.input-unit-switch { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-0); }
.input-unit-switch button {
  border: none; background: none; color: var(--ink-2); font-size: 12.5px; font-weight: 700;
  font-family: var(--mono); padding: 8px 16px; border-radius: 999px; cursor: pointer; min-width: 52px;
  transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.input-unit-switch button.is-active { color: var(--ink-0); background: var(--surface-strong); box-shadow: 0 0 0 1px var(--border-strong); }
.input-unit-switch--3 button { min-width: 46px; padding: 8px 12px; font-size: 12px; }
.copy-field__row .input.copy-field__val { border: none; background: transparent; padding: 0; min-height: 0; box-shadow: none; }
.input-group--lg .input { font-size: 22px; font-weight: 700; font-family: var(--mono); padding: 16px 88px 16px 18px; }
.input-group--lg .input-suffix { right: 16px; font-size: 15px; font-weight: 700; padding: 6px 12px; }

/* Full-height buy flow */
.buy-flow {
  display: flex; flex-direction: column; max-width: 720px; margin: 0 auto;
}
.buy-flow__head { flex-shrink: 0; padding-bottom: 8px; overflow: visible; }
.buy-flow__title h1 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 4px; }
.buy-flow__title .sub { font-size: 13px; color: var(--ink-2); }
.buy-flow__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.buy-flow__actions {
  flex-shrink: 0; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--border);
}
.payment-verify-note p { font-size: 13px; color: var(--ink-1); line-height: 1.55; margin: 0 0 12px; text-align: center; }

/* Order cards — mobile transactions */
.order-cards { display: none; flex-direction: column; gap: 12px; }
.order-card {
  border: 1px solid var(--border); border-radius: var(--radius-m); padding: 16px; background: var(--bg-0);
}
.order-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.order-card__id { font-size: 14px; font-weight: 700; }
.order-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 14px; }
.order-card__grid .k { display: block; font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.order-card__grid .v { display: block; font-size: 13.5px; color: var(--ink-0); }
.buy-flow__actions-row { display: flex; gap: 10px; align-items: stretch; }
.buy-flow__actions-row .btn { flex: 1; }
.buy-flow__actions-row .btn-ghost { flex: 0 0 auto; min-width: 96px; }
.buy-flow__step-meta { text-align: center; font-size: 13px; color: var(--ink-2); padding: 8px 0; }
.amount-convert-hint { font-family: var(--mono); font-size: 12.5px; color: var(--accent-0); margin-top: 8px; min-height: 18px; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.quick-amt {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-1);
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-1); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.quick-amt:hover { border-color: var(--accent-0); color: var(--ink-0); }
.quick-amt.is-active { border-color: var(--accent-0); color: var(--accent-0); background: rgba(99,243,192,.08); }

/* Auth — mobile top bar when sidebar is hidden */
.auth-mobile-top { display: none; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--bg-1); }
.auth-form-card {
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: clamp(24px, 5vw, 36px);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -34px rgba(0,0,0,.55);
}
@media (max-width: 900px) {
  .auth-body { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-mobile-top { display: flex; }
  .auth-form-col { padding: 24px 20px 40px; align-items: flex-start; }
  .auth-box { max-width: 100%; }
}

/* Buy view */
.buy-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.crypto-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.crypto-pill { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--bg-1); cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.crypto-pill img { width: 22px; height: 22px; border-radius: 50%; }
.crypto-pill .tk { font-size: 13px; font-weight: 600; }
.crypto-pill.is-active { border-color: var(--accent-0); background: rgba(99,243,192,.06); }
.quote-box { border: 1px solid var(--border); border-radius: var(--radius-m); padding: 20px; background: var(--bg-1); margin-top: 4px; }
.quote-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 13.5px; color: var(--ink-1); }
.quote-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 16px; font-weight: 700; color: var(--ink-0); }
.quote-row .v { font-family: var(--mono); }
.bonus-strip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-s); background: rgba(99,243,192,.07); border: 1px solid rgba(99,243,192,.25); margin: 16px 0; }
.bonus-strip .b-badge { font-family: var(--mono); font-weight: 700; color: var(--ok); font-size: 13px; flex-shrink: 0; background: rgba(99,243,192,.12); padding: 4px 8px; border-radius: 6px; line-height: 1.2; }
.bonus-strip p { font-size: 12.5px; color: var(--ink-1); line-height: 1.5; margin: 0; }
.deposit-box { text-align: center; padding: 24px; }
.deposit-box .qaddr { font-family: var(--mono); font-size: 12.5px; word-break: break-all; background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 12px; margin: 14px 0; }

/* Payment sheet / copy fields / verification */
.copy-field { margin-bottom: 14px; }
.copy-field__label { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.copy-field__row {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--bg-0);
}
.copy-field__row--addr { align-items: center; }
.copy-field__val { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink-0); word-break: break-all; line-height: 1.35; padding: 0; margin: 0; align-self: center; }
.copy-field__btn { flex-shrink: 0; white-space: nowrap; }
.payment-warn {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 16px 0;
  border-radius: var(--radius-s); background: rgba(255,182,72,.08); border: 1px solid rgba(255,182,72,.25);
}
.payment-warn svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--warn); margin-top: 1px; }
.payment-warn p { font-size: 12.5px; color: var(--ink-1); line-height: 1.55; margin: 0; }
.payment-sheet__head { margin-bottom: 20px; }
.payment-sheet__head h3 { font-size: 18px; font-weight: 700; margin: 10px 0 8px; }
.payment-sheet__sub { font-size: 13.5px; color: var(--ink-1); line-height: 1.6; }
.payment-sheet { display: flex; flex-direction: column; min-height: 0; flex: 1; max-height: inherit; }
.payment-sheet__scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; padding: 20px 20px 8px;
}
.payment-sheet__footer {
  flex-shrink: 0; padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border); background: var(--bg-1);
}
.payment-sheet__footer .payment-actions { margin-top: 0; }
.payment-sheet__footer .btn-ghost[data-close-modal] { margin-top: 8px; }
.verify-steps { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.verify-step {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-s);
  border: 1px solid var(--border); background: var(--bg-0); opacity: .55; transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.verify-step.is-active { opacity: 1; border-color: rgba(99,243,192,.35); background: rgba(99,243,192,.05); }
.verify-step.is-done { opacity: 1; }
.verify-step.is-error { border-color: rgba(255,92,114,.4); background: rgba(255,92,114,.06); }
.verify-step__n {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700; border: 1px solid var(--border); background: var(--bg-1);
  overflow: hidden; box-sizing: border-box;
}
.verify-step.is-done .verify-step__n { background: var(--accent-grad); border-color: transparent; color: #04070c; }
.verify-step.is-active .verify-step__n { border-color: var(--accent-0); color: var(--accent-0); background: var(--bg-1); }
.verify-step__n svg { width: 14px; height: 14px; }
.payment-qr { display: none; margin-top: 14px; flex-direction: column; align-items: center; justify-content: center; width: 100%; text-align: center; }
.payment-qr__label { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; width: 100%; }
.payment-qr img { display: block; margin: 0 auto; border-radius: var(--radius-s); border: 1px solid var(--border); background: #fff; padding: 8px; }
@media (min-width: 901px) {
  .payment-qr { display: flex; }
  .buy-flow__body { overflow-x: hidden; scrollbar-width: none; }
  .buy-flow__body::-webkit-scrollbar { display: none; }
  .wizard-head { overflow: visible; }
}
.input-sm { padding: 8px 10px; font-size: 13px; min-height: 0; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.admin-meta { font-size: 13px; color: var(--ink-2); }
.admin-meta strong { color: var(--ink-0); font-family: var(--mono); }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.admin-pagination__info { font-size: 13px; color: var(--ink-2); }
.admin-bulk-card { margin-bottom: 18px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--bg-0); }
.admin-bulk-card h4 { font-size: 14px; margin-bottom: 12px; }
.admin-bulk-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 860px) { .admin-bulk-grid { grid-template-columns: 1fr; } }
.verify-step strong { display: block; font-size: 13.5px; }
.verify-step small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.payment-polling { text-align: center; padding: 8px 0; }
.payment-polling p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.payment-actions { margin-top: 8px; }
body.modal-open { overflow: hidden; }

/* Staking */
.stake-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 4px; }
.stake-tier { padding: 14px 10px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-s); cursor: pointer; background: var(--bg-1); transition: border-color .2s var(--ease); }
.stake-tier.is-active { border-color: var(--accent-0); background: rgba(99,243,192,.06); }
.stake-tier .p { font-size: 13px; font-weight: 700; }
.stake-tier .apy { font-family: var(--mono); font-size: 11.5px; color: var(--accent-0); margin-top: 4px; }

/* Steps guide */
.tab-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab-pill { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; color: var(--ink-1); cursor: pointer; background: var(--bg-1); }
.tab-pill.is-active { border-color: var(--accent-0); color: var(--ink-0); background: rgba(99,243,192,.08); }
.step-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-m); margin-bottom: 12px; background: var(--surface); }
.step-card .n { font-family: var(--mono); font-weight: 700; color: var(--accent-0); flex-shrink: 0; }
.step-card h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--ink-1); line-height: 1.6; }

/* Public how-to page */
.howto-page { padding: 112px 0 80px; min-height: calc(100vh - 200px); }
.howto-page__inner { max-width: 1080px; }
.howto-page__head { margin-bottom: 36px; text-align: left; }
.howto-page__head h1 { font-size: clamp(28px, 3.5vw, 40px); margin: 12px 0; letter-spacing: -.02em; }
.howto-page__head .lead { max-width: 560px; margin: 0; }
.howto-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 28px; align-items: start; }
.howto-sidebar__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.howto-nav { display: flex; flex-direction: column; gap: 8px; }
.howto-nav__item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px;
  border-radius: var(--radius-m); border: 1px solid var(--border); background: var(--bg-1);
  color: var(--ink-1); font-size: 13.5px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.howto-nav__item:hover { border-color: var(--border-strong); color: var(--ink-0); }
.howto-nav__item.is-active { border-color: var(--accent-0); background: rgba(99,243,192,.08); color: var(--ink-0); }
.howto-nav__idx { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent-0); flex-shrink: 0; }
.howto-nav__text { line-height: 1.35; }
.howto-panel { min-height: 320px; }
.howto-page__cta { margin-top: 24px; text-align: center; }
@media (max-width: 860px) {
  .howto-layout { grid-template-columns: 1fr; }
  .howto-nav { flex-direction: row; flex-wrap: wrap; }
  .howto-nav__item { flex: 1 1 calc(50% - 4px); min-width: 140px; }
  .howto-nav__idx { display: none; }
}

/* Modal / toast */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,7,10,.7); backdrop-filter: blur(4px); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .25s var(--ease); }
.modal-overlay.is-open { opacity: 1; }
.modal-box { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 28px; max-width: 460px; width: 100%; transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); max-height: min(92vh, 720px); overflow-y: auto; }
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); }
.modal-overlay--sheet { align-items: flex-end; padding: 0 0 calc(10px + env(safe-area-inset-bottom, 0px)); }
.modal-overlay--sheet .modal-box--sheet {
  max-width: 100%; width: 100%; border-radius: var(--radius-l) var(--radius-l) 0 0;
  max-height: min(86vh, 720px); transform: translateY(100%);
  padding: 0; display: flex; flex-direction: column; overflow: hidden;
}
.modal-overlay--sheet.is-open .modal-box--sheet { transform: translateY(0); }
.modal-overlay--sheet::before {
  content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--border-strong);
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2; pointer-events: none;
}
.modal-overlay--sheet .payment-sheet__scroll { padding-top: 28px; }
.modal-overlay--full { padding: 0; align-items: stretch; justify-content: stretch; }
.modal-box--full {
  max-width: none; width: 100%; max-height: none; height: 100%; border-radius: 0;
  padding: 0; display: flex; flex-direction: column; overflow: hidden;
  transform: none;
}
.modal-overlay--full.is-open .modal-box--full { transform: none; }
.modal-overlay--full .payment-sheet__scroll { padding-top: 32px; }
@media (min-width: 721px) {
  .modal-overlay--full .payment-sheet__scroll { max-width: 640px; margin-inline: auto; width: 100%; }
  .modal-overlay--full .payment-sheet__footer { max-width: 640px; margin-inline: auto; width: 100%; }
}
.admin-balance-input { width: 88px; padding: 6px 8px; font-size: 13px; min-height: 0; }
.admin-country { font-size: 13px; white-space: nowrap; }
.admin-country--ip { font-size: 11.5px; color: var(--ink-2); }
.admin-country--empty { color: var(--ink-2); }
.admin-order-date { font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 14px 18px; border-radius: var(--radius-s); background: var(--bg-1); border: 1px solid var(--border-strong); font-size: 13.5px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); min-width: 260px; display: flex; align-items: center; gap: 10px; animation: toast-in .35s var(--ease); }
.toast.success { border-color: rgba(99,243,192,.4); }
.toast.error { border-color: rgba(255,92,114,.4); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.loader-dot-row { display: flex; gap: 5px; align-items: center; justify-content: center; padding: 40px; }
.loader-dot-row span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-0); animation: loader-bounce 1s ease-in-out infinite; }
.loader-dot-row span:nth-child(2) { animation-delay: .15s; }
.loader-dot-row span:nth-child(3) { animation-delay: .3s; }
@keyframes loader-bounce { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-6px); opacity: 1; } }

/* Mobile nav for dashboard */
.mobile-nav-drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-nav-drawer.is-open { display: block; }
.mobile-nav-drawer .backdrop { position: absolute; inset: 0; background: rgba(5,7,10,.75); }
.mobile-nav-drawer .panel { position: absolute; top: 0; left: 0; bottom: 0; width: 280px; background: var(--bg-1); border-right: 1px solid var(--border); padding: 20px; }

/* ---------------------------------- Responsive ------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-rail { grid-template-columns: repeat(2, 1fr); }
  .process-rail::before { display: none; }
  .tokenomics-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .mobile-topbar { display: flex; }
  .mobile-tabbar { display: grid; }
  .dash-main { padding: 20px 18px calc(80px + env(safe-area-inset-bottom, 0px)); }
  .dash-main--buy {
    padding: 0;
    height: calc(100dvh - 53px - 62px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 53px - 62px - env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    overscroll-behavior: none;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }
  .dash-main--buy .buy-flow {
    flex: 1; max-width: none; margin: 0; min-height: 0; height: 100%;
    border: none; border-radius: 0; padding: 0; background: var(--bg-0);
    display: flex; flex-direction: column;
  }
  .dash-main--buy .buy-flow__head { padding: 14px 18px 0; flex-shrink: 0; overflow: visible; }
  .dash-main--buy .buy-flow__body { flex: 1 1 auto; padding: 0 18px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .dash-main--buy .buy-flow__actions {
    flex-shrink: 0; margin: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(10,13,18,.96); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
  }
  .dash-main--buy .buy-flow__actions .btn-lg { min-height: 50px; font-size: 15px; }
  .toast-stack {
    bottom: auto; top: calc(53px + env(safe-area-inset-top, 0px) + 10px);
    right: 12px; left: 12px; align-items: stretch;
  }
  .toast-stack .toast { min-width: 0; width: 100%; }
  body.modal-open .toast-stack { top: calc(env(safe-area-inset-top, 0px) + 12px); }
  .tx-table-wrap { display: none; }
  .order-cards { display: flex; }
  .mobile-nav-drawer { display: none !important; }
  .mobile-topbar button { display: none; }
}
@media (max-width: 860px) {
  .nav-primary { display: none; }
  .hide-on-mobile-nav { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .site-header .shell { gap: 12px; }
  .brand { font-size: 16px; }
}
@media (max-width: 720px) {
  .shell { padding-inline: clamp(24px, 7vw, 36px); }
  .hero { padding-top: clamp(40px, 10vw, 72px); }
  .hero-copy h1 { padding-inline: 2px; }
  .hero-copy p.lead { padding-inline: 2px; max-width: none; }
  .hero-cta-row { margin-top: 28px; }
  .section-head { padding-inline: 2px; }
  .section-head p { padding-inline: 0; }
  .stat-strip { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .progress-card { grid-template-columns: 1fr; padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .crypto-select-grid { grid-template-columns: repeat(2, 1fr); }
  .stake-tiers { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .process-rail { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .wizard-summary-row { font-size: 13px; }
  .hero-grid { gap: 32px; }
  .hero-visual { width: min(72vw, 280px); }
  .tokenomics-card { padding: 20px; }
  .pie-wrap { max-width: 280px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .kpi-grid { grid-template-columns: 1fr; }
  .stake-tiers { grid-template-columns: repeat(2, 1fr); }
  .crypto-select-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dash-topbar { align-items: flex-start; }
  .dash-topbar h1 { font-size: 21px; }
  .card { padding: 18px; }
  .quote-box { padding: 16px; }
  .auth-form-col { padding: 24px; }
  .modal-box { padding: 22px; }
  .stat-strip .stat .num { font-size: clamp(22px, 7vw, 30px); }
  .wizard-step { width: 56px; padding: 0 3px; }
  .wizard-step .dot { width: 34px; height: 34px; min-width: 34px; min-height: 34px; font-size: 12.5px; }
  .public-drawer__panel { padding: 18px 18px 24px; }
}
