/* ANONX: shared tokens and components, plus the public site.
   Charcoal base, one violet hue. Mobile first. */

:root {
  --bg: #1b1a20;
  --surface: #24232b;
  --raised: #2e2c37;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.17);

  --ink: #f2f0f7;
  --muted: #a9a5b8;
  --faint: #7d798f;

  --violet: #7a58f5;      /* fills */
  --violet-hi: #8a6bff;   /* fill hover */
  --violet-ink: #c1b1ff;  /* violet text on dark */
  --violet-wash: rgba(122, 88, 245, 0.16);

  --green: #19fb9b;       /* Solana accent */
  --cyan: #45c6ff;
  --grad: linear-gradient(115deg, #9c7bff 0%, #7a58f5 38%, #45c6ff 72%, #19fb9b 100%);
  --grad-soft: linear-gradient(115deg, rgba(156,123,255,0.9), rgba(69,198,255,0.85), rgba(25,251,155,0.8));

  --ok: #74d4a8;
  --warn: #efc270;
  --bad: #ff8792;

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 22px;

  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--violet-ink); outline-offset: 2px; border-radius: 4px; }

.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  padding: 8px 12px; border-radius: var(--r-s);
  background: var(--violet); color: #fff;
}
.skip:focus { top: 12px; }

.icon { flex: none; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 720px; }

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.wordmark--quiet { color: var(--faint); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
}
.brand__mark {
  width: 28px; height: 28px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(178, 255, 209, 0.18);
}
.brand--quiet .brand__mark { width: 24px; height: 24px; opacity: 0.85; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
  background: transparent; color: var(--ink);
  font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.28); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
.btn--primary { background: var(--violet); border-color: transparent; color: #fff; }
.btn--primary:hover { background: var(--violet-hi); border-color: transparent; }

/* Landing-only button treatments */
.btn--glow {
  position: relative; overflow: hidden; border: 0;
  background-image: var(--grad); background-size: 180% 180%; color: #0e0b1a; font-weight: 700;
  box-shadow: 0 8px 30px -8px rgba(122, 88, 245, 0.7), 0 2px 10px -4px rgba(25, 251, 155, 0.5);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background-position 0.6s var(--ease);
}
.btn--glow:hover {
  background-position: 100% 50%; transform: translateY(-1px);
  box-shadow: 0 14px 44px -10px rgba(122, 88, 245, 0.85), 0 4px 16px -4px rgba(25, 251, 155, 0.6);
}
.btn--glow::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease);
}
.btn--glow:hover::after { left: 130%; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--violet-ink); }

.grad {
  background: var(--grad); background-size: 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.btn--danger { color: var(--bad); border-color: rgba(255, 135, 146, 0.35); }
.btn--danger:hover { background: rgba(255, 135, 146, 0.1); border-color: rgba(255, 135, 146, 0.55); }

.textbtn {
  padding: 0; border: 0; background: none;
  color: var(--violet-ink); font-weight: 500; font-size: 0.9rem;
}
.textbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Fields ----------------------------------------------------------- */
.field { display: grid; gap: 6px; }
.field__label { font-size: 0.85rem; color: var(--muted); }
.field__help { font-size: 0.82rem; color: var(--faint); }

.input {
  box-sizing: border-box; width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
  background: var(--bg); color: var(--ink); line-height: 46px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.input::placeholder { color: var(--faint); }
.input:hover { border-color: rgba(255, 255, 255, 0.28); }
.input:focus { outline: none; border-color: var(--violet-hi); box-shadow: 0 0 0 3px var(--violet-wash); }
textarea.input {
  height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.45; resize: vertical;
}
select.input {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select.input:focus { background-image:
  linear-gradient(45deg, transparent 50%, var(--violet-ink) 50%),
  linear-gradient(135deg, var(--violet-ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-error { color: var(--bad); font-size: 0.9rem; }
[hidden] { display: none !important; }

/* ---- Pills ------------------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: var(--muted);
  font-size: 0.75rem; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.pill--violet { background: var(--violet-wash); color: var(--violet-ink); }
.pill--ok { background: rgba(116, 212, 168, 0.14); color: var(--ok); }
.pill--warn { background: rgba(239, 194, 112, 0.14); color: var(--warn); }
.pill--bad { background: rgba(255, 135, 146, 0.14); color: var(--bad); }

/* ======================================================================
   Public site
   ====================================================================== */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(27, 26, 32, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.nav__links { display: none; gap: 30px; font-size: 0.94rem; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
@media (min-width: 760px) { .nav__links { display: flex; } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: 52px 0; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; padding-bottom: 60px; }
.hero h1 {
  font-size: clamp(2.2rem, 1rem + 5.2vw, 4rem); max-width: 16ch;
  letter-spacing: -0.025em; line-height: 1.04; font-weight: 700;
}
.hero h1 .grad { font-weight: 700; }
.lead { margin-top: 22px; max-width: 50ch; color: var(--muted); font-size: 1.12rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); color: var(--violet-ink);
  font-size: 0.8rem; font-weight: 500; backdrop-filter: blur(8px);
}
.hero__kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 0 rgba(25, 251, 155, 0.55);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 251, 155, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(25, 251, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 251, 155, 0); }
}

/* Hero stats */
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 26px; margin: 38px 0 0; }
.stats div { display: grid; gap: 2px; }
.stats dt {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stats dd { margin: 0; color: var(--faint); font-size: 0.82rem; max-width: 16ch; line-height: 1.35; }

/* Hero background: blobs + grid + orb + grain + cursor spotlight */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.blob--1 {
  width: 54vw; height: 54vw; max-width: 620px; max-height: 620px; top: -16%; right: -10%;
  background: radial-gradient(closest-side, rgba(122, 88, 245, 0.6), transparent 70%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.blob--2 {
  width: 44vw; height: 44vw; max-width: 500px; max-height: 500px; top: 20%; left: -16%;
  background: radial-gradient(closest-side, rgba(69, 198, 255, 0.4), transparent 70%);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.blob--3 {
  width: 40vw; height: 40vw; max-width: 440px; max-height: 440px; bottom: -22%; right: 18%;
  background: radial-gradient(closest-side, rgba(25, 251, 155, 0.28), transparent 70%);
  animation: drift-c 26s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(-7%, 9%, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(9%, -7%, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(-6%, -10%, 0) scale(1.15); } }

.hero__grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(130% 90% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(130% 90% at 50% 0%, #000 35%, transparent 78%);
}

.hero__orb {
  position: absolute; top: -8%; right: -24%; width: min(72vw, 420px); height: auto;
  object-fit: contain; opacity: 0.62; mix-blend-mode: screen;
  filter: saturate(1.2); will-change: transform;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 38%, rgba(0,0,0,0.35) 58%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000 38%, rgba(0,0,0,0.35) 58%, transparent 72%);
  animation: float-orb 7s ease-in-out infinite alternate;
}
@keyframes float-orb { from { transform: translateY(-8px); } to { transform: translateY(14px); } }

.hero__grain {
  position: absolute; inset: 0; opacity: 0.35; 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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.hero__spot {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; opacity: 0;
  left: var(--mx, 50%); top: var(--my, 30%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(138, 107, 255, 0.18), transparent 70%);
  transition: opacity 0.4s var(--ease);
}
[data-spotlight]:hover .hero__spot { opacity: 1; }

/* "What you don't need" strike list */
.nope {
  list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px;
  font-size: 0.86rem; font-weight: 500;
}
.nope li {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.025); color: var(--faint);
}
.nope s { text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.nope__yes {
  border-color: rgba(25, 251, 155, 0.35) !important; color: var(--green) !important;
  background: rgba(25, 251, 155, 0.08) !important;
}

/* Hero coin showcase (replaces the old calculator slip) */
.showcase {
  position: relative; max-width: 440px; width: 100%; justify-self: center;
  padding: 22px 22px 20px; border-radius: calc(var(--r-l) + 4px);
  background: linear-gradient(180deg, rgba(46,44,55,0.75), rgba(27,26,32,0.9));
  border: 1px solid var(--line); backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}
.showcase__glow {
  position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--grad); background-size: 200% 200%; filter: blur(26px); opacity: 0.4;
  animation: hue 8s ease infinite;
}
.showcase__tag {
  display: inline-flex; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03);
  color: var(--violet-ink); font-size: 0.8rem; font-weight: 500;
}
.stage {
  position: relative; display: grid; place-items: center; gap: 18px;
  padding: 18px 10px 8px; min-height: 280px;
}
.stage__ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.stage__ring--a {
  width: 210px; height: 210px;
  border-color: rgba(138, 107, 255, 0.35);
  box-shadow: 0 0 40px rgba(122, 88, 245, 0.25), inset 0 0 30px rgba(122, 88, 245, 0.08);
  animation: spin-slow 22s linear infinite;
}
.stage__ring--b {
  width: 250px; height: 250px; border-style: dashed; border-color: rgba(25, 251, 155, 0.2);
  animation: spin-slow 34s linear infinite reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.stage__mascot {
  position: relative; z-index: 1; width: min(56vw, 200px); height: min(56vw, 200px);
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 20px 50px -18px rgba(122, 88, 245, 0.85), 0 0 0 3px rgba(255,255,255,0.08);
  animation: float-orb 5.5s ease-in-out infinite alternate;
}
.stage__mascot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}
.stage__mascot.is-swapping img { opacity: 0; transform: scale(0.86) rotate(-8deg); }
.stage__meta { position: relative; z-index: 1; text-align: center; display: grid; gap: 4px; }
.stage__meta strong {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.4vw, 1.7rem);
  letter-spacing: -0.02em;
}
.stage__meta span { color: var(--violet-ink); font-weight: 600; font-size: 1.05rem; }
.stage__meta small { color: var(--faint); font-size: 0.8rem; }
.showcase__fields {
  display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; margin-top: 18px;
}
.showcase__fields .input { background: rgba(255,255,255,0.04); }
.showcase__note { margin: 12px 0 0; color: var(--faint); font-size: 0.82rem; text-align: center; }
@media (min-width: 940px) { .showcase { justify-self: end; } }

/* Coin wall under the hero */
.wall {
  position: relative; z-index: 1; overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.wall__track { display: inline-flex; gap: 14px; white-space: nowrap; animation: marquee 40s linear infinite; will-change: transform; }
.wall:hover .wall__track { animation-play-state: paused; }
.wall__coin {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(36,35,43,0.8); backdrop-filter: blur(8px);
}
.wall__coin img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.wall__coin div { display: grid; line-height: 1.2; }
.wall__coin strong { font-size: 0.92rem; font-weight: 600; }
.wall__coin span { color: var(--violet-ink); font-size: 0.8rem; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (min-width: 940px) {
  .hero { padding-block: 92px 0; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; padding-bottom: 92px; }
  .hero__orb { top: -4%; right: -2%; width: 540px; opacity: 0.72; }
}


/* Token studio: a warm paper proof mounted on the dark reference shelf. */
.proof { width: min(100%, 420px); min-width: 0; justify-self: center; padding: 18px;
  border-radius: 5px; color: #24241f; background: #f2efe5; box-shadow: 5px 6px 0 #11110f; color-scheme: light; }
.proof__head, .proof__serial, .proof__caption span, .shelf__label span, .shelf__item small, .shelf__item i {
  font: 600 .69rem/1.35 ui-monospace, monospace; letter-spacing: .05em; }
.proof__head { display: flex; justify-content: space-between; gap: 12px; text-transform: uppercase; padding-bottom: 12px; }
.proof__print { position: relative; display: grid; place-items: center; padding: 18px 12px 30px;
  background: repeating-linear-gradient(0deg, transparent 0 7px, #2020160a 7px 8px), #dcd9cd; }
.proof__print img { display: block; width: min(60%, 205px); height: auto; aspect-ratio: 1; object-fit: cover;
  border: 5px solid #fffdf6; transform: rotate(-3deg); box-shadow: 2px 3px 0 #24241f30;
  transition: opacity .2s ease, transform .2s ease; }
.proof__print.is-swapping img { opacity: 0; transform: rotate(-8deg) scale(.9); }
.proof__serial { position: absolute; right: 8px; bottom: 5px; font-size: .61rem; }
.proof__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 15px 0 13px; border-bottom: 1px solid #aba99e; }
.proof__caption strong { min-width: 0; overflow-wrap: anywhere; font: bold clamp(1.5rem, 3vw, 2.3rem)/1.03 Georgia, serif; letter-spacing: -.05em; }
.proof__caption span { overflow-wrap: anywhere; color: #444337; }
.proof__fields { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 12px; padding-top: 14px; }
.proof__fields .field { min-width: 0; }
.proof__fields .field__label, .proof__note { color: #55544c; }
.proof__fields .input { min-width: 0; border: 1px solid #b7b4a8; border-radius: 3px; background: #faf8f1; color: #24241f; }
.proof :focus-visible, .shelf :focus-visible { outline: 3px solid #916aff; outline-offset: 2px; }
.proof__note { margin: 10px 0 0; font-size: .78rem; }
.shelf { position: relative; background: #19191b; border-block: 1px solid var(--line); }
.shelf__inner { display: grid; grid-template-columns: 1.05fr repeat(4, 1fr); }
.shelf__inner--ten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shelf__inner--ten .shelf__label {
  grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.shelf__label, .shelf__item { padding: 16px 12px; }
.shelf__label { display: grid; align-content: center; gap: 3px; }
.shelf__label span, .shelf__item small { color: #b2b0aa; }
.shelf__item { position: relative; display: flex; align-items: center; gap: 10px; text-align: left; color: #f2efe5;
  background: transparent; border: 0; border-inline-start: 1px solid var(--line); cursor: pointer; font: inherit; }
.shelf__inner--ten .shelf__item { border-top: 1px solid var(--line); }
.shelf__inner--ten .shelf__item:nth-child(2n) { border-inline-start: 0; }
.shelf__item img { width: 42px; height: 42px; border-radius: 3px; object-fit: cover; }
.shelf__item span { display: grid; line-height: 1.15; gap: 4px; min-width: 0; }
.shelf__item strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf__item i { position: absolute; top: 4px; right: 6px; font-size: .56rem; color: #aaa89f; }
.shelf__item:hover, .shelf__item[aria-pressed=true] { background: #2a2927; }
.shelf__item[aria-pressed=true] { box-shadow: inset 0 -3px #e2d496; }
@media (min-width: 900px) {
  .shelf__inner--ten { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shelf__inner--ten .shelf__item:nth-child(2n) { border-inline-start: 1px solid var(--line); }
  .shelf__inner--ten .shelf__item:nth-child(5n+2) { border-inline-start: 0; }
}
@media (max-width: 820px) {
  .shelf__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf__label { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; }
  .shelf__item { border: 0; border-top: 1px solid var(--line); border-inline-start: 0; }
}

/* Bands */
.band { padding-block: 64px; }
.band--tint { background: #201f26; border-block: 1px solid var(--line); }
.band h2 { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.75rem); margin-bottom: 28px; }
@media (min-width: 940px) { .band { padding-block: 88px; } }

.spec { margin: 0; }
.spec__row { display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--line); }
.spec__row:last-child { border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; font-size: 1.05rem; }
.spec dd { margin: 0; color: var(--muted); max-width: 62ch; }
@media (min-width: 760px) {
  .spec__row { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding-block: 24px; }
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--violet-ink);
}
.steps h3 { font-family: var(--text); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; margin-bottom: 6px; }
.steps p { color: var(--muted); max-width: 34ch; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; } }

.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 18px; cursor: pointer; list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--violet-ink); border-bottom: 2px solid var(--violet-ink);
  transform: rotate(45deg); transition: transform 0.2s var(--ease);
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { padding-bottom: 20px; color: var(--muted); max-width: 62ch; }

.footer { border-top: 1px solid var(--line); padding-block: 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer__links { display: flex; gap: 22px; color: var(--muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--ink); }

/* Sign in */
.signin { padding-block: 56px 96px; }
.signin__panel {
  padding: 28px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
}
.signin h1 { font-size: clamp(1.3rem, 1rem + 1.6vw, 1.7rem); margin-bottom: 6px; }
.signin__tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 26px; border-radius: var(--r-s); background: var(--bg); }
.signin__tabs [role="tab"] {
  flex: 1; min-height: 40px; padding: 0 6px; border: 0; border-radius: 8px; background: none;
  color: var(--muted); font-weight: 600; font-size: 0.82rem;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
@media (min-width: 480px) {
  .signin__tabs [role="tab"] { font-size: 0.95rem; padding: 0 10px; }
}
.signin__tabs [role="tab"].is-current { background: var(--raised); color: var(--ink); }
.signin__form { display: grid; gap: 16px; }
.signin__note { font-size: 0.9rem; }
.btn--wide { width: 100%; }
.signin__or { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--faint); font-size: 0.85rem; }
.signin__or::before, .signin__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signin__widget { display: flex; justify-content: center; min-height: 48px; }
.signin .form-error { margin-top: 4px; }
@media (min-width: 760px) { .signin { padding-block: 96px 140px; } .signin__panel { padding: 44px; } }

/* ---- Nav scroll state ------------------------------------------------- */
.nav { transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.nav.is-scrolled { background: rgba(27, 26, 32, 0.94); border-bottom-color: var(--line-strong); }

/* ---- Scroll reveal ---------------------------------------------------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Watch / video ---------------------------------------------------- */
.watch { display: grid; gap: 24px; }
.watch h2 { margin-bottom: 10px; }
.watch__copy p { max-width: 42ch; }
.player {
  margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, 0.85), 0 0 60px -30px var(--violet-wash);
}
.player::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); border-radius: inherit;
}
.player video { display: block; width: 100%; height: auto; background: #000; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .watch { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 48px; }
}

/* ======================================================================
   Landing extras: bento, timeline, CTA
   ====================================================================== */
@keyframes hue { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.band__title {
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem); max-width: 20ch; letter-spacing: -0.02em; margin-bottom: 12px;
}

.empty-block {
  margin-top: 32px; padding: 36px 24px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--r-l);
}
.empty-block p { color: var(--muted); max-width: 42ch; margin: 0 auto 18px; }

/* Public launches board */
.board-lead { max-width: 52ch; margin-top: 8px; }
.board-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px;
}
.board-tabs__btn {
  appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--muted); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font: inherit; font-weight: 500;
}
.board-tabs__btn.is-on, .board-tabs__btn[aria-selected="true"] {
  color: var(--ink); border-color: var(--violet); background: var(--violet-wash);
}
.coin-board { display: grid; gap: 12px; }
.coin-tile {
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.03); overflow: hidden;
}
.coin-tile__main {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px;
  width: 100%; padding: 16px; color: inherit; text-align: left;
  appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit;
}
.coin-tile__main:hover { background: rgba(255, 255, 255, 0.03); }
.coin-tile__main:disabled { cursor: default; opacity: 0.7; }
.coin-tile__art {
  width: 72px; height: 72px; border-radius: 16px; object-fit: cover;
  background: #121218; border: 1px solid var(--line);
}
.coin-tile__body { min-width: 0; display: grid; gap: 8px; align-content: start; }
.coin-tile__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.coin-tile__title span { color: var(--violet-ink); font-weight: 600; }
.coin-tile__desc {
  margin: 0; color: var(--muted); font-size: 0.9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.coin-tile__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.coin-tile__stats span { display: block; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.coin-tile__stats strong { font-size: 0.95rem; }
.coin-tile__stats .is-up { color: #7ddea2; }
.coin-tile__stats .is-down { color: #ff8792; }
.coin-tile__links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  padding: 0 16px 14px;
}
.coin-tile__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--violet-wash);
  color: var(--violet-ink); font: inherit; font-size: 0.88rem; font-weight: 600;
  text-decoration: none;
}
.coin-tile__btn:hover { border-color: var(--violet); }
.coin-tile__btn--ghost {
  background: transparent; color: var(--muted); font-weight: 500;
}
.coin-tile__hint { font-size: 0.8rem; }
@media (min-width: 800px) {
  .coin-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.is-chart-open { overflow: hidden; }
.chart-modal[hidden] { display: none !important; }
.chart-modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: end center;
}
.chart-modal__backdrop {
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(4, 4, 8, 0.72); cursor: pointer;
}
.chart-modal__panel {
  position: relative; z-index: 1; width: min(100%, 960px);
  height: min(88vh, 720px); margin: 0; display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid var(--line-strong); border-radius: 18px 18px 0 0;
  background: #0c0c12; overflow: hidden;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.45);
}
.chart-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.chart-modal__head h2 {
  margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chart-modal__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.chart-modal__x {
  appearance: none; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.chart-modal__x:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.chart-modal__frame-wrap { min-height: 0; background: #000; }
.chart-modal__frame { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 720px) {
  .chart-modal { place-items: center; padding: 24px; }
  .chart-modal__panel { border-radius: 18px; height: min(82vh, 680px); }
}

/* Bento feature grid */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-l);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line); transform-style: preserve-3d;
  transition: border-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.tile:hover { border-color: var(--line-strong); }
.tile__glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%; left: var(--gx, 50%); top: var(--gy, 0%);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s var(--ease);
  background: radial-gradient(closest-side, var(--violet-wash), transparent 70%); pointer-events: none;
}
.tile:hover .tile__glow { opacity: 1; }
.tile__ico {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 13px; color: var(--violet-ink);
  background: var(--violet-wash); border: 1px solid var(--line-strong);
}
.tile h3 { font-family: var(--text); font-weight: 600; font-size: 1.12rem; letter-spacing: 0; margin-bottom: 8px; }
.tile p { color: var(--muted); max-width: 42ch; }
.tile__art {
  position: absolute; right: -14%; bottom: -14%; width: 72%; max-width: 280px; height: auto;
  opacity: 0.55; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000 40%, transparent 72%);
}
.tile--lead { display: flex; flex-direction: column; }
.tile--lead p { position: relative; z-index: 1; }
.tile__bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 20px; }
.tile__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--grad-soft); opacity: 0.85; }
.tile__sync { display: flex; align-items: center; gap: 14px; margin-top: 20px; color: var(--muted); font-size: 0.9rem; font-family: var(--mono); }
.tile__link { flex: 1; height: 2px; background: var(--grad); border-radius: 2px; position: relative; }
.tile__link::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green); transform: translateY(-50%);
  animation: travel 2.6s var(--ease) infinite;
}
@keyframes travel { 0% { left: 0; } 50% { left: calc(100% - 8px); } 100% { left: 0; } }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--lead { grid-row: span 2; }
  .tile--wide, .tile--sync { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile--lead { grid-column: 1; grid-row: span 2; }
  .tile--wide { grid-column: span 2; }
  .tile--sync { grid-column: 1 / -1; }
}

/* How it works: timeline */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.flow li {
  position: relative; padding: 24px 24px 24px 72px; border-radius: var(--r-m);
  background: rgba(255,255,255,0.02); border: 1px solid var(--line);
}
.flow__n {
  position: absolute; left: 22px; top: 24px; font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.flow h3 { font-family: var(--text); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; margin-bottom: 4px; }
.flow p { color: var(--muted); }
@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .flow li {
    border: 0; background: none; padding: 0 20px 0 0;
    border-top: 2px solid var(--line-strong);
  }
  .flow li::before {
    content: ""; position: absolute; top: -2px; left: 0; width: 40%; height: 2px; background: var(--grad);
  }
  .flow__n { position: static; display: block; margin: 20px 0 10px; font-size: 1.4rem; }
}

/* Closing CTA */
.cta__inner {
  position: relative; overflow: hidden;
  display: grid; gap: 18px; justify-items: center; text-align: center;
  padding: 64px 28px; border: 1px solid var(--line-strong); border-radius: var(--r-l);
  background:
    radial-gradient(120% 160% at 50% -30%, rgba(122,88,245,0.35), transparent 60%),
    linear-gradient(180deg, rgba(46,44,55,0.6), var(--surface));
  transform-style: preserve-3d;
}
.cta__inner p { max-width: 46ch; }
.cta h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.8rem); letter-spacing: -0.02em; }
.cta__orb {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -60%; left: 50%;
  transform: translateX(-50%); background: var(--grad); filter: blur(90px); opacity: 0.25;
  animation: hue 10s ease infinite;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__orb, .blob, .wall__track, .showcase__glow, .stage__ring, .stage__mascot, .cta__orb, .tile__link::after { animation: none; }
}
