/* ==========================================================================
   SupplyFun — theme & layout
   Dark "terminal lime" theme: near-black canvas, lime primary, mint support.
   ========================================================================== */

:root {
  --bg: #0a0e09;
  --bg-soft: #0f150d;
  --panel: #121a10;
  --panel-2: #172114;
  --line: rgba(214, 255, 170, 0.10);
  --line-strong: rgba(214, 255, 170, 0.22);
  --text: #eef5e9;
  --text-dim: #9fb096;
  --text-faint: #6c7a65;
  --lime: #b6f34e;
  --lime-deep: #8fd426;
  --mint: #4ade80;
  --amber: #fbbf24;
  --rose: #fb7185;
  --sky: #7dd3fc;
  --ink: #0b1006;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(182, 243, 78, 0.25), 0 8px 40px -8px rgba(182, 243, 78, 0.35);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(182, 243, 78, 0.09), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(74, 222, 128, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

img, svg { max-width: 100%; display: block; }

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

.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; }

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { box-shadow: var(--glow); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn-dark { background: var(--panel-2); color: var(--text); border-color: var(--line); }
.btn-dark:hover { border-color: var(--line-strong); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 9, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo .mark { width: 32px; height: 32px; }
.logo em { font-style: normal; color: var(--lime); }

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 100px 0 80px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  margin-bottom: 22px;
}
.hero h1 .hl {
  color: var(--lime);
  position: relative;
}
.hero p.lede { color: var(--text-dim); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

/* Contract address bar */
.ca-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 7px 7px 18px;
  margin-bottom: 30px;
}
.ca-bar .ca-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  flex: none;
}
.ca-bar code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.ca-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--lime);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.ca-copy:hover { box-shadow: var(--glow); }
.ca-copy:active { transform: scale(0.97); }

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ca-chip:hover { border-color: var(--lime); color: var(--lime); }
.ca-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.ca-chip b { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em; color: var(--lime); flex: none; }

.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--text-faint); font-size: 13.5px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--ink);
  font-family: var(--font-display);
}
.hero-trust .avatars span:first-child { margin-left: 0; }

/* Floating illustration cluster */
.hero-art { position: relative; min-height: 420px; }
.art-card {
  position: absolute;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  animation: floaty 7s ease-in-out infinite;
}
.art-card.a { top: 4%; left: 2%; width: 240px; animation-delay: 0s; }
.art-card.b { top: 34%; right: 0; width: 250px; animation-delay: -2.4s; }
.art-card.c { bottom: 0; left: 6%; width: 220px; animation-delay: -4.8s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .art-card { animation: none; }
}

.art-card .art-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.art-card h4 { font-size: 15px; margin-bottom: 4px; }
.art-card p { font-size: 12.5px; color: var(--text-dim); line-height: 1.45; }
.art-card .art-meter {
  margin-top: 12px; height: 6px; border-radius: 3px;
  background: rgba(214, 255, 170, 0.12);
  overflow: hidden;
}
.art-card .art-meter i { display: block; height: 100%; border-radius: 3px; background: var(--lime); }

/* --------------------------------------------------------------------------
   Stats bar
   -------------------------------------------------------------------------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 34px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.stat span { font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }

/* --------------------------------------------------------------------------
   Handle marquee (social proof)
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.marquee-track {
  display: flex; gap: 14px; width: max-content;
  animation: scrollx 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13.5px; color: var(--text-dim);
  white-space: nowrap;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.chip.pending .dot { background: var(--amber); }
.chip b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step .num {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 15px; }
.step .step-art { margin-top: 24px; height: 120px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; }

/* --------------------------------------------------------------------------
   Feature deep dives
   -------------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.feature-copy p { color: var(--text-dim); font-size: 16px; margin-bottom: 20px; }
.feature-copy ul { list-style: none; display: grid; gap: 12px; }
.feature-copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); }
.feature-copy li::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(182, 243, 78, 0.14);
  color: var(--lime);
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  margin-top: 2px;
}
.feature-visual {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  min-height: 300px;
  display: grid;
  place-items: center;
}

/* --------------------------------------------------------------------------
   Launch gallery
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab.active { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.token-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.token-card:hover {
  border-color: rgba(182, 243, 78, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.token-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.token-avatar {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  color: var(--ink);
  flex: none;
}
.token-id b { display: block; font-family: var(--font-display); font-size: 16px; }
.token-id span { font-size: 13px; color: var(--text-faint); }
.badge {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.badge.claimed { background: rgba(74, 222, 128, 0.14); color: var(--mint); }
.badge.unclaimed { background: rgba(251, 191, 36, 0.14); color: var(--amber); }
.badge.boosted { background: rgba(125, 211, 252, 0.14); color: var(--sky); }
.badge.airdrop { background: rgba(251, 113, 133, 0.14); color: var(--rose); }

.token-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 14px;
}
.token-metrics div { font-size: 13px; color: var(--text-faint); }
.token-metrics b { display: block; font-size: 15px; color: var(--text); font-weight: 600; font-family: var(--font-display); }
.token-metrics .up b { color: var(--mint); }
.token-metrics .down b { color: var(--rose); }

.milestone { font-size: 12px; color: var(--text-faint); }
.milestone .bar {
  height: 7px; border-radius: 4px;
  background: rgba(214, 255, 170, 0.1);
  overflow: hidden;
  margin-top: 7px;
}
.milestone .bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.milestone .row { display: flex; justify-content: space-between; }
.milestone .row b { color: var(--lime); font-weight: 600; }

.gallery-more { margin-top: 36px; text-align: center; }
.empty-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-faint);
  padding: 60px 0;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Milestone liquidity section
   -------------------------------------------------------------------------- */
.mile-panel {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 48px;
}
.mile-track { position: relative; margin: 44px 0 12px; }
.mile-line {
  height: 8px; border-radius: 4px;
  background: rgba(214, 255, 170, 0.1);
  overflow: hidden;
}
.mile-line i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  border-radius: 4px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mile-nodes { display: flex; justify-content: space-between; margin-top: 18px; }
.mile-node { text-align: center; flex: 1; position: relative; }
.mile-node::before {
  content: "";
  position: absolute;
  top: -31px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--panel);
  border: 3px solid var(--line-strong);
  transition: all 0.4s ease;
}
.mile-node.hit::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 16px rgba(182, 243, 78, 0.5); }
.mile-node b { display: block; font-family: var(--font-display); font-size: 15px; }
.mile-node span { font-size: 12px; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   Big CTA
   -------------------------------------------------------------------------- */
.cta-panel {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(182, 243, 78, 0.14), transparent 70%),
    linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 8px);
  padding: 80px 32px;
}
.cta-panel h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 16px; }
.cta-panel p { color: var(--text-dim); font-size: 17px; max-width: 520px; margin: 0 auto 34px; }
.cta-panel .hero-ctas { justify-content: center; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--bg-soft); position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p { color: var(--text-faint); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text-dim); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--lime); }
.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-dim);
  transition: all 0.15s ease;
}
.footer-social a:hover { border-color: var(--lime); color: var(--lime); }
.disclaimer { font-size: 12px; color: var(--text-faint); max-width: 760px; margin-top: 20px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Wallet modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 8, 4, 0.7);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(420px, calc(100% - 40px));
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}
.modal-backdrop.open .modal { transform: none; }
.modal h3 { font-size: 20px; margin-bottom: 6px; }
.modal > p { font-size: 14px; color: var(--text-dim); margin-bottom: 22px; }
.wallet-option {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease;
  margin-bottom: 10px;
}
.wallet-option:hover { border-color: var(--lime); }
.wallet-option .w-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 16px;
}
.wallet-option small { margin-left: auto; font-size: 12px; color: var(--text-faint); font-weight: 400; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none;
  color: var(--text-faint); font-size: 20px; cursor: pointer;
}
.modal { position: relative; }

/* --------------------------------------------------------------------------
   Forms (launch / claim pages)
   -------------------------------------------------------------------------- */
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 14px; }
.page-hero p { color: var(--text-dim); font-size: 17px; max-width: 560px; }

.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 640px;
}
.form-grid { display: grid; gap: 22px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 600;
  margin-bottom: 8px;
}
.field .hint { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--lime);
}
.field textarea { resize: vertical; min-height: 90px; }

.escrow-preview {
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
}
.escrow-preview .row { display: flex; justify-content: space-between; }
.escrow-preview b { color: var(--lime); font-family: var(--font-display); }

.layout-2col { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding-bottom: 96px; }
.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.side-card h4 { font-size: 16px; margin-bottom: 14px; }
.side-card ol { padding-left: 18px; display: grid; gap: 10px; color: var(--text-dim); font-size: 14px; }

/* Claim page verify flow */
.verify-steps { display: grid; gap: 14px; max-width: 640px; }
.verify-step {
  display: flex; gap: 16px; align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.verify-step .v-num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--text-dim);
}
.verify-step.done .v-num { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.verify-step b { display: block; font-family: var(--font-display); font-size: 15px; }
.verify-step span { font-size: 13.5px; color: var(--text-dim); }
.verify-step .btn { margin-left: auto; }

/* Toast */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 80px);
  background: var(--panel-2);
  border: 1px solid var(--lime);
  color: var(--text);
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 999px;
  z-index: 120;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow);
}
.toast.show { transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; margin-top: 12px; }
  .steps { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .feature-row.flip .feature-copy { order: 0; }
  .token-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-2col { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-actions { margin-left: 0; }
  .nav-inner { justify-content: space-between; }
  .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 10px 0; font-size: 15px; color: var(--text-dim); }
}

@media (min-width: 981px) { .nav-mobile { display: none !important; } }

@media (max-width: 620px) {
  .token-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .art-card.a { left: 0; width: 210px; }
  .art-card.b { width: 220px; }
  .art-card.c { left: 6%; width: 200px; }
  .mile-panel { padding: 28px 20px; }
  .mile-node span { display: none; }
  .form-panel { padding: 24px 18px; }
  .form-grid .two { grid-template-columns: 1fr; }
}
