:root {
  --bg: #0B0B0C;
  --surface: #141417;
  --surface-2: #1C1C21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #F5F5F7;
  --text-2: #C9C9D1;
  --muted: #9A9AA4;
  --dim: #66666F;
  --accent: #D9FF3A;
  --accent-ink: #0B0B0C;
  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --sans: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(900px 500px at 50% -120px, rgba(217, 255, 58, 0.10), transparent 60%);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* Titles breathe between white and the eye's green, out of phase with each other. */
.name, .section-head h2, .step h3, .fee h3, .gname, .modal-title, .docs-head h1, .chapter h2 {
  animation: titleShift 6s ease-in-out infinite;
}

.section-head h2, .fee h3, .step:nth-child(even) h3, .gcard:nth-child(even) .gname, .chapter:nth-child(even) h2 { animation-delay: -3s; }

@keyframes titleShift {
  0%, 100% { color: var(--text); text-shadow: 0 0 0 rgba(217, 255, 58, 0); }
  50% { color: var(--accent); text-shadow: 0 0 22px rgba(217, 255, 58, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .name, .section-head h2, .step h3, .fee h3, .gname, .modal-title, .docs-head h1, .chapter h2 { animation: none; }
}

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--accent); }
.tiny { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 255, 58, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-mark {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(217, 255, 58, 0.45));
}

.nav-links { display: flex; gap: 28px; }

.nav-links a { font-size: 14px; color: var(--muted); padding: 10px 0; }

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }

.net {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 13px;
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-secondary { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.3); }

.btn-primary {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 18px;
  box-shadow: 0 0 0 1px rgba(217, 255, 58, 0.6), 0 20px 60px rgba(217, 255, 58, 0.22);
}

.btn-primary small { font-size: 10.5px; letter-spacing: 0.1em; font-weight: 500; opacity: 0.75; }

.btn-primary small b { font-weight: 600; }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(217, 255, 58, 0.7), 0 26px 70px rgba(217, 255, 58, 0.3); }

.btn-tall { align-self: stretch; padding: 16px 22px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }

.linklike { background: none; border: none; padding: 0; cursor: pointer; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.linklike:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 56px;
}

.hero-media { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.tile-xl {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tile-xl::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 40%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.tile-glyph-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tile-glyph { width: 46%; height: 46%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }

.sigil { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }

.tile-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text);
}

.tile-badge.tl { left: 16px; top: 16px; }
.tile-badge.tr { right: 16px; top: 16px; }

.tile-caption { margin: 0; font-size: 10.5px; letter-spacing: 0.16em; color: var(--dim); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.2em; color: var(--accent); }

.name {
  margin: 12px 0 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.name.swap { animation: nameIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }

@keyframes nameIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.name-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 15px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--accent);
}

.sponsor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }

.sponsor-body { flex: 1; min-width: 0; }

.sponsor-l { font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }

.sponsor-addr { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-size: 15px; }

.earn-chip {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.earn-chip b { color: var(--accent); font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }

.stat { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }

.stat-l { font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }

.stat-v { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }

.stat-v small { font-size: 12px; color: var(--muted); font-family: var(--mono); font-weight: 400; }

.cta { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.note { margin: 12px 0 0 0; font-size: 10.5px; letter-spacing: 0.08em; color: var(--dim); }

.rise { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-copy .rise:nth-child(1) { animation-delay: 0.05s; }
.hero-copy .rise:nth-child(3) { animation-delay: 0.12s; }
.hero-copy .rise:nth-child(4) { animation-delay: 0.18s; }
.hero-copy .rise:nth-child(5) { animation-delay: 0.24s; }
.hero-copy .rise:nth-child(6) { animation-delay: 0.3s; }
.hero-copy .rise:nth-child(7) { animation-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- marquee ---------- */

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }

.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; font-size: 11.5px; letter-spacing: 0.12em; color: var(--muted); white-space: nowrap; }

.marquee-track b { color: var(--text); font-weight: 500; text-transform: uppercase; }

.tile-eye { color: var(--accent); filter: drop-shadow(0 0 30px rgba(217, 255, 58, 0.45)); }

.gallery-empty {
  margin-top: 16px;
  padding: 28px;
  border-radius: 22px;
  border: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.gallery-empty p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 520px; }

[hidden] { display: none !important; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section { padding-top: 104px; }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-2); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }

.step {
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.step-n { font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }

.step h3, .fee h3 { margin: 44px 0 0 0; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }

.step p { margin: 10px 0 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); }

.chip {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(217, 255, 58, 0.35);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.fee {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 16px;
  padding: 32px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.fee-l { font-size: 11px; letter-spacing: 0.16em; color: var(--accent); }

.fee h3 { margin-top: 14px; font-size: 28px; }

.fee p { margin: 12px 0 0 0; font-size: 15px; line-height: 1.65; }

.fee-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; }

.fee-house { flex: 1; background: rgba(255, 255, 255, 0.28); }

.fee-sponsor { flex: 1; background: var(--accent); }

.fee-legend { display: flex; justify-content: space-between; margin-top: 14px; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }

.fee-legend span { display: inline-flex; align-items: center; gap: 8px; }

.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-house { background: rgba(255, 255, 255, 0.28); }
.sw-sponsor { background: var(--accent); }

/* ---------- gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }

.gcard {
  position: relative;
  padding: 14px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gcard:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.gcard.now { border-color: rgba(217, 255, 58, 0.6); box-shadow: 0 0 0 1px rgba(217, 255, 58, 0.25), 0 30px 80px rgba(217, 255, 58, 0.10); }

.gtile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.gtile .tile-glyph { width: 42%; height: 42%; }

.gtile .sigil { font-size: 40px; }

.gbadge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(8px);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--text);
}

.gcard.now .gbadge { background: var(--accent); color: var(--accent-ink); }

.gname { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.05; }

.gticker { margin-top: 4px; font-size: 12px; color: var(--accent); }

.grows { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }

.grow { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--text-2); }

.grow span:first-child { color: var(--dim); letter-spacing: 0.12em; font-size: 9.5px; }

.gearn { margin-top: 12px; display: inline-block; padding: 7px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 11px; color: var(--accent); letter-spacing: 0.06em; }

.gearn.none { color: var(--dim); }

.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }

.big-stat { padding: 24px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }

.big-v { font-family: var(--display); font-weight: 700; font-size: 36px; letter-spacing: -0.03em; }

.big-stat .stat-l { margin-top: 8px; }

/* ---------- footer ---------- */

.footer { margin-top: 104px; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--line); }

.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.footer-links { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--muted); }

.footer-links a:hover { color: var(--text); }

.legal { margin: 22px 0 0 0; font-size: 13px; color: var(--dim); }

/* ---------- settling overlay ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.overlay.open { display: flex; }

.modal {
  width: min(720px, 100%);
  padding: 44px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 160px rgba(0, 0, 0, 0.7);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.modal-title { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 7vw, 88px); letter-spacing: -0.04em; line-height: 1; }

.blink { animation: pulse 1s ease-in-out infinite; }

.swap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 8px; }

.strike { font-size: 18px; letter-spacing: 0.1em; color: var(--dim); text-decoration: line-through; }

.swap-new { padding: 14px 22px; border-radius: 16px; border: 1px dashed rgba(217, 255, 58, 0.5); color: var(--accent); font-size: 18px; letter-spacing: 0.14em; }

.swap-new.revealed { border-style: solid; border-color: var(--accent); background: rgba(217, 255, 58, 0.08); }

.swap-new .tiny, .swap-old .tiny { margin-top: 6px; }

.progress { width: 100%; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }

.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 70;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- docs ---------- */

.docs-head { padding-top: 72px; max-width: 980px; }

.docs-head h1 {
  margin: 14px 0 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.docs-head .sub { margin: 18px 0 0 0; font-size: 19px; line-height: 1.5; color: var(--muted); }

.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 56px; }

.toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; }

.toc a { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); padding: 10px 12px; border-radius: 10px; }

.toc a:hover { color: var(--text); background: var(--surface); }

.doc { max-width: 720px; }

.chapter { padding: 44px 0 52px 0; border-top: 1px solid var(--line); }

.chapter:first-child { border-top: none; padding-top: 0; }

.chapter-no { font-size: 11px; letter-spacing: 0.2em; color: var(--accent); }

.chapter h2 { margin: 10px 0 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -0.03em; }

.chapter p { margin: 18px 0 0 0; font-size: 16px; line-height: 1.75; color: var(--text-2); }

.chapter h3 { margin: 32px 0 0 0; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }

.chapter .mono { color: var(--accent); font-size: 0.92em; }

.quote { margin: 26px 0 0 0; padding: 20px 24px; border-radius: 18px; background: var(--surface); border-left: 3px solid var(--accent); font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--text); }

.quote cite { display: block; margin-top: 10px; font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }

.map, .params { margin-top: 26px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }

.map-row { display: grid; grid-template-columns: 1fr 1fr; }

.map-row + .map-row, .param + .param { border-top: 1px solid var(--line); }

.map-row > div { padding: 14px 18px; font-size: 14px; line-height: 1.5; color: var(--text-2); }

.map-row > div + div { border-left: 1px solid var(--line); }

.map-head > div { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--muted); background: var(--surface); }

.param { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 14px 18px; font-size: 14px; color: var(--text-2); }

.param b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; color: var(--accent); text-align: right; }

.note { margin-top: 26px; padding: 22px 26px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: var(--text-2); }

.note .mono { display: block; margin-bottom: 8px; font-size: 10px; letter-spacing: 0.16em; color: var(--accent); }

.faq { margin-top: 12px; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: '+'; font-family: var(--mono); color: var(--accent); }

.faq details[open] summary::after { content: '–'; }

.faq p { margin-top: 12px; font-size: 15px; }

.gloss { margin: 22px 0 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.gloss > div { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }

.gloss dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }

.gloss dd { margin: 6px 0 0 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* ---------- wallet & buy flow ---------- */

#connect-btn.connected { border-color: rgba(217, 255, 58, 0.45); }
#connect-btn.connected .dot { margin-right: 2px; }
#connect-btn.wrong { border-color: rgba(255, 107, 107, 0.7); color: #FF9B9B; }

.modal-form { text-align: left; align-items: stretch; gap: 14px; }

.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.modal-form .eyebrow { align-self: flex-start; }

.modal-title.small { font-size: clamp(30px, 4vw, 44px); animation: none; color: var(--text); }

.buy-wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.buy-wallet:hover { color: var(--text); }

.field { display: flex; flex-direction: column; gap: 8px; }

.field > span { font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.field input::placeholder { color: var(--dim); }

.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 255, 58, 0.14); }

.field small { font-size: 10px; color: var(--dim); text-align: right; }

.ticker-input { display: flex; align-items: stretch; }

.ticker-input b {
  display: flex;
  align-items: center;
  padding: 0 4px 0 16px;
  border: 1px solid var(--line-strong);
  border-right: none;
  border-radius: 14px 0 0 14px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 500;
}

.ticker-input input { border-radius: 0 14px 14px 0; font-family: var(--mono); letter-spacing: 0.06em; }

.buy-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-2);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.buy-summary div { display: flex; justify-content: space-between; gap: 12px; }

.buy-summary b { color: var(--text); font-weight: 500; text-align: right; }

.buy-status { min-height: 18px; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }

.buy-status.err { color: #FF8A8A; }

.buy-status.pending { color: var(--accent); }

.buy-status a { color: var(--accent); text-decoration: underline; }

.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 4px; }

.btn-primary.btn-inline { flex-direction: row; align-items: center; font-size: 15px; padding: 14px 20px; }

.btn[disabled] { opacity: 0.5; cursor: wait; transform: none; }

.modal-form .note { margin: 0; }

.wallet-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.wallet-addr { padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; }

.wallet-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

.wallet-opt:hover { border-color: var(--line-strong); }

.wallet-opt.danger { color: #FF9B9B; }

.wallet-opt img, .wallet-ph { width: 28px; height: 28px; border-radius: 8px; background: var(--bg); flex: none; }

.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .net { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; }
  .tile-xl { max-width: 380px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .fee { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .gloss { grid-template-columns: 1fr; }
  .map-row { grid-template-columns: 1fr; }
  .map-row > div + div { border-left: none; border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .sponsor-card { flex-wrap: wrap; }
  .modal { padding: 28px 20px; }
}
