:root {
  --bg: #ffffff;
  --bg-page: #ffffff;
  --panel: #f8f8f8;
  --bg-panel: #f8f8f8;
  --bg-elevated: #ffffff;
  --line: rgba(17, 17, 17, 0.08);
  --divider: rgba(17, 17, 17, 0.08);
  --text: #111111;
  --text-primary: #111111;
  --muted: rgba(17, 17, 17, 0.6);
  --text-muted: rgba(17, 17, 17, 0.6);
  --faint: rgba(17, 17, 17, 0.45);
  --text-subtle: rgba(17, 17, 17, 0.45);
  --accent: #ea0029;
  --accent-hover: #c80023;
  --accent-soft: rgba(234, 0, 41, 0.08);
  --ink: #ffffff;
  --accent-contrast: #ffffff;
  --radius-panel: 8px;
  --radius-card: 12px;
  --radius-float: 16px;
  --radius-pill: 999px;
  --max: 1200px;
  --float-shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --header-offset: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  background: var(--bg-page);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: Poppins, "PingFang SC", system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-offset);
}

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

main { flex: 1; }

.btn-accent,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s;
}

.btn-accent {
  background: #111;
  border-color: #111;
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(17, 17, 17, 0.15);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-lg { padding: 15px 28px; font-size: 16px; }

.hero {
  padding: clamp(40px, 6vw, 118px) 0 clamp(24px, 4vw, 48px);
  background: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(234, 0, 41, 0.15);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-kicker .live,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(234, 0, 41, 0.15);
  flex-shrink: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 48px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 16px 0 14px;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 22px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-meta strong { color: var(--text-primary); font-weight: 600; }

.float-card {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  box-shadow: var(--float-shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.token-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.token-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 0;
  flex-shrink: 0;
  background: #26a17b;
  padding: 0;
}

.token-avatar-lg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.token-title h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.token-title p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: 8px;
  overflow: hidden;
}

.price-cell {
  background: #fff;
  padding: 14px 10px;
  text-align: center;
}

.price-cell .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 6px;
}

.price-cell .value {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.stats-bar {
  margin: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-cell {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat-cell:last-child { border-right: 0; }

.stat-cell .label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-cell .value {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--text-primary);
}

.section {
  padding: clamp(48px, 8vw, 80px) 0;
  background: #fff;
}

.section-tight { padding-top: 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card,
.step {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-panel);
  padding: 24px 20px;
  transition: background 0.25s, transform 0.25s;
}

.card:hover {
  background: #fff;
  transform: translateY(-4px);
}

.card h3,
.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.card p,
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step .num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.mid-cta { padding: 0 0 80px; background: #fff; }

.mid-card {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mid-card h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
}

.mid-card p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.final {
  padding: 0 0 80px;
  background: #fff;
}

.final-card {
  text-align: center;
  background: #111;
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(40px, 6vw, 64px) 28px;
}

.final-card h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
}

.final-card p {
  margin: 0 auto 24px;
  max-width: 48ch;
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 16px;
}

.final-card .btn-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.final-card .btn-accent:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.final-meta {
  margin-top: 16px;
  font-size: 13px;
  color: hsla(0, 0%, 100%, 0.5);
}

.toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (max-width: 960px) {
  .hero-grid,
  .cards,
  .steps { grid-template-columns: 1fr 1fr; }

  .stats-inner { grid-template-columns: 1fr 1fr; }

  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .hero-grid,
  .cards,
  .steps,
  .stats-inner { grid-template-columns: 1fr; }

  .stat-cell { border-right: 0; }

  .mid-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
