:root {
  --black: #090a0b;
  --ink: #121417;
  --white: #f8fafc;
  --muted: #a8b0bb;
  --line: rgba(248, 250, 252, 0.16);
  --lime: #b7ff2a;
  --coral: #ff4e64;
  --cyan: #2ee9ff;
  --gold: #ffc947;
  --panel: rgba(18, 20, 23, 0.82);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 201, 71, 0.22), transparent 28rem),
    linear-gradient(180deg, #090a0b 0%, #151611 45%, #090a0b 100%);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 11, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 154px;
  height: 52px;
  overflow: hidden;
}

.brand img {
  width: 154px;
  height: auto;
  transform: translateY(-1px);
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--lime);
}

.nav-cta,
.button,
.icon-button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.nav-cta {
  padding: 11px 17px;
  background: var(--lime);
  color: var(--black);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(20px, 4vw, 72px);
  min-height: calc(100vh - 74px);
  padding: 42px clamp(18px, 5vw, 72px) 36px;
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 11vw, 128px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.1;
}

.hero-text,
.section p,
footer p {
  color: #dbe1e8;
  font-size: 18px;
  line-height: 1.55;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(18px, 2.1vw, 23px);
}

.hero-actions,
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  font-size: 15px;
}

.button.primary {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 0 26px rgba(183, 255, 42, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(248, 250, 252, 0.06);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.contract-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 20, 23, 0.76);
}

.contract-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-box strong {
  min-width: 0;
  overflow: hidden;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  min-width: 58px;
  min-height: 38px;
  background: var(--coral);
  color: var(--white);
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.hero-art img {
  position: absolute;
  right: min(-6vw, -24px);
  bottom: -38px;
  width: min(640px, 52vw);
  max-width: none;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.5));
}

.ticker-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #f8fafc;
  color: var(--black);
}

.ticker-band div {
  padding: 24px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgba(9, 10, 11, 0.16);
}

.ticker-band div:last-child {
  border-right: 0;
}

.ticker-band span,
.burn-meter span,
.token-grid span {
  display: block;
  margin-bottom: 7px;
  color: #56606d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-band strong {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

.section {
  padding: clamp(64px, 10vw, 118px) clamp(18px, 5vw, 72px);
}

.grid-section,
.tiers-section,
.burn-section,
.community {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.section-copy {
  max-width: 680px;
}

.tool-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--lime);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: rgba(248, 250, 252, 0.08);
  color: var(--white);
  font: inherit;
  line-height: 1.45;
}

textarea:focus {
  border-color: var(--lime);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 14px 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
}

.segmented button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.segmented button.active {
  background: var(--white);
  color: var(--black);
}

.output {
  min-height: 84px;
  margin: 16px 0 0;
  padding: 16px;
  border-left: 5px solid var(--coral);
  background: rgba(255, 78, 100, 0.12);
  color: var(--white);
  font-weight: 800;
}

.burn-section {
  background: #f8fafc;
  color: var(--black);
}

.burn-section p {
  color: #374151;
}

.burn-meter {
  padding: 32px;
  border: 2px solid #090a0b;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--black);
}

.burn-meter strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.9;
}

.burn-meter p {
  margin: 0;
  color: #1f2937;
  font-weight: 800;
}

.tiers {
  display: grid;
  gap: 10px;
}

.tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.06);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.tier span {
  color: var(--muted);
  font-size: 13px;
}

.tier.active {
  border-color: transparent;
  background: var(--coral);
}

.tier.active span {
  color: var(--white);
}

.tokenomics {
  background: #101113;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.token-grid article {
  min-height: 186px;
  padding: 24px;
  background: #101113;
}

.token-grid article span {
  color: var(--lime);
  font-size: 36px;
}

.token-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.community {
  background: linear-gradient(90deg, #090a0b 0%, #18130b 100%);
}

footer {
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--black);
}

footer p {
  max-width: 1040px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--lime);
  font-weight: 900;
}

.subpage-hero {
  padding: clamp(72px, 12vw, 150px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.subpage-hero h1 {
  max-width: 980px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.links-grid a,
.links-grid div {
  min-height: 142px;
  padding: 22px;
  background: #101113;
}

.links-grid a:hover,
.links-grid a:focus-visible {
  background: #171a1d;
}

.links-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.links-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.15;
}

.risk-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.risk-list article {
  padding: clamp(24px, 4vw, 44px);
  background: #101113;
}

.risk-list h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
}

.risk-list p {
  max-width: 920px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .topbar {
    gap: 12px;
  }

  .brand {
    width: 122px;
  }

  .brand img {
    width: 122px;
  }

  .nav {
    display: none;
  }

  .hero,
  .grid-section,
  .tiers-section,
  .burn-section,
  .community {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-art {
    min-height: 410px;
    order: -1;
  }

  .hero-art img {
    right: 50%;
    bottom: -56px;
    width: min(560px, 112vw);
    transform: translateX(50%);
  }

  .ticker-band,
  .token-grid,
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 64px;
  }

  .nav-cta {
    padding: 10px 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 340px;
  }

  .hero-actions,
  .community-actions {
    display: grid;
  }

  .contract-box {
    grid-template-columns: 1fr auto;
  }

  .contract-box span {
    grid-column: 1 / -1;
  }

  .ticker-band,
  .token-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .ticker-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(9, 10, 11, 0.16);
  }

  .segmented {
    grid-template-columns: 1fr;
  }
}
