:root {
  --bg: #080a07;
  --bg-soft: #0d100c;
  --surface: #11150f;
  --surface-2: #171c14;
  --surface-3: #20271b;
  --text: #f3f6ed;
  --text-soft: #c0c7b6;
  --muted: #858d7d;
  --lime: #d9ff19;
  --lime-soft: #b7e900;
  --lime-dark: #6f8c00;
  --red: #ff3926;
  --line: rgba(231, 245, 217, 0.12);
  --line-strong: rgba(217, 255, 25, 0.35);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 34px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 4%, rgba(179, 229, 0, 0.12), transparent 29rem),
    radial-gradient(circle at 4% 38%, rgba(255, 57, 38, 0.055), transparent 24rem),
    var(--bg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #090b07;
  background: var(--lime);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #090b07;
  background: var(--lime);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  position: relative;
  padding: 130px 0;
}

.kicker {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 10, 7, 0.74);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(8, 10, 7, 0.92);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid rgba(217, 255, 25, 0.5);
  border-radius: 12px;
}

.brand > span {
  display: grid;
  gap: 3px;
}

.brand strong {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.primary-nav a {
  color: #cbd1c4;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-nav > a:not(.nav-buy):not(.nav-chart):hover {
  color: var(--lime);
}

.primary-nav .nav-chart,
.primary-nav .nav-buy {
  padding: 11px 17px;
  border-radius: 999px;
}

.primary-nav .nav-chart {
  border: 1px solid var(--line);
}

.primary-nav .nav-chart:hover {
  border-color: rgba(217, 255, 25, 0.6);
}

.primary-nav .nav-buy {
  color: #0a0c08;
  background: var(--lime);
}

.primary-nav .nav-buy:hover {
  background: #e6ff58;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(217, 255, 25, 0.033) 1px, transparent 1px),
    linear-gradient(rgba(217, 255, 25, 0.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, #000 15%, transparent 92%);
}

.hero::after {
  content: "";
  position: absolute;
  top: 8%;
  right: -18%;
  z-index: -3;
  width: 58vw;
  height: 58vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(217, 255, 25, 0.16), rgba(217, 255, 25, 0.035) 42%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.hero-word {
  position: absolute;
  top: 90px;
  right: -0.04em;
  z-index: -1;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(150px, 25vw, 410px);
  line-height: 0.8;
  letter-spacing: -0.09em;
  -webkit-text-stroke: 1px rgba(217, 255, 25, 0.085);
  user-select: none;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #0a0c08;
  background: var(--lime);
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.eyebrow span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0c08;
  box-shadow: 0 0 0 4px rgba(10, 12, 8, 0.12);
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6.6vw, 104px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero-intro {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 21px;
  height: 21px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #090b07;
  background: var(--lime);
  box-shadow: 0 14px 44px rgba(217, 255, 25, 0.16);
}

.button-primary:hover {
  background: #e5ff54;
  box-shadow: 0 18px 54px rgba(217, 255, 25, 0.24);
}

.button-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(17, 21, 15, 0.58);
}

.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(23, 28, 20, 0.86);
}

.button-dark {
  color: var(--text);
  border-color: rgba(10, 12, 8, 0.28);
  background: #0c0e0a;
}

.contract-block {
  max-width: 680px;
  margin-top: 35px;
}

.contract-caption {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contract-value {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 13px 12px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 21, 15, 0.74);
}

.contract-value code {
  min-width: 0;
  flex: 1;
  color: #d9dfd2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--lime);
  border: 0;
  border-radius: 9px;
  background: rgba(217, 255, 25, 0.08);
  cursor: pointer;
}

.copy-button svg {
  width: 16px;
  height: 16px;
}

.copy-button span {
  font-size: 11px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  padding: 26px 0 24px;
}

.logo-stage {
  position: relative;
  isolation: isolate;
  padding: 14px;
  background: linear-gradient(145deg, #e6ff35, #aacf00);
  clip-path: polygon(8% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 9%);
  box-shadow: var(--shadow);
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(7, 9, 5, 0.16);
  clip-path: inherit;
  pointer-events: none;
}

.logo-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: polygon(6% 0, 100% 0, 100% 91%, 91% 100%, 0 100%, 0 7%);
}

.logo-stage-border {
  position: absolute;
  inset: -12px 12px 12px -12px;
  z-index: -1;
  border: 1px solid rgba(217, 255, 25, 0.4);
  clip-path: polygon(8% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 9%);
}

.logo-stamp {
  position: absolute;
  right: -18px;
  bottom: 42px;
  z-index: 2;
  padding: 12px 18px;
  color: #fff;
  background: var(--red);
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: -0.04em;
  transform: rotate(-5deg);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.36);
}

.hero-art-label {
  position: absolute;
  z-index: 3;
  color: #c8d0bf;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.15em;
}

.hero-art-label-top {
  top: 0;
  right: -13px;
  text-align: right;
}

.hero-art-label-bottom {
  bottom: 0;
  left: -22px;
}

.market-board {
  margin-top: 82px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(13, 16, 12, 0.88);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.market-board-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.market-board-header > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.market-board-header strong {
  font-size: 14px;
}

.market-board-header > span {
  color: var(--muted);
  font-size: 11px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(217, 255, 25, 0.08), 0 0 18px rgba(217, 255, 25, 0.45);
}

.market-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
}

.market-grid > div {
  min-width: 0;
  padding: 22px 24px 24px;
  border-right: 1px solid var(--line);
}

.market-grid > div:last-child {
  border-right: 0;
}

.market-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-grid dd {
  margin: 0;
  color: var(--text);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.market-price-cell dd {
  color: var(--lime);
}

.market-grid dd.positive {
  color: #8ef58d;
}

.market-grid dd.negative {
  color: #ff7668;
}

.market-board.is-error .live-indicator,
.market-board.is-error .market-board-header > span {
  color: #ff8479;
}

.market-board.is-error .live-indicator i {
  background: #ff6254;
  box-shadow: 0 0 0 5px rgba(255, 98, 84, 0.08);
}

/* Story */
.story {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(217, 255, 25, 0.035), transparent 38%),
    var(--bg-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.section-label {
  padding-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.story-heading h2,
.section-top h2,
.ecosystem-copy h2,
.principles-heading h2,
.buy-intro h2,
.community-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.story-heading h2 {
  font-size: clamp(46px, 5.4vw, 76px);
}

.story-heading h2 span,
.section-top h2 span,
.ecosystem-copy h2 span,
.principles-heading h2 span,
.buy-intro h2 span,
.community-copy h2 span {
  color: var(--lime);
}

.story-copy {
  padding-top: 36px;
}

.story-copy p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.story-copy .story-lead {
  color: var(--text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.55;
}

.story-copy blockquote {
  position: relative;
  margin: 36px 0 0;
  padding: 20px 0 0 24px;
  color: var(--lime);
  border-left: 2px solid var(--red);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* Tokenomics */
.tokenomics {
  overflow: hidden;
}

.tokenomics::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -16rem;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(217, 255, 25, 0.1), transparent 68%);
  pointer-events: none;
}

.section-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 58px;
}

.section-top h2 {
  font-size: clamp(48px, 6vw, 82px);
}

.section-top > p {
  margin: 0 0 4px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.tokenomics-bento {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.token-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(23, 28, 20, 0.92), rgba(13, 16, 12, 0.96));
  overflow: hidden;
}

.token-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -65px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(217, 255, 25, 0.09), transparent 68%);
}

.token-card-supply {
  grid-row: 1 / 3;
  min-height: 556px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #0b0e08;
  border-color: transparent;
  background:
    linear-gradient(rgba(8, 10, 7, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 10, 7, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, #e0ff2e, #b7e900);
  background-size: 34px 34px, 34px 34px, auto;
}

.token-card-supply::before {
  content: "1B";
  position: absolute;
  top: 34px;
  right: 24px;
  color: rgba(9, 12, 7, 0.1);
  font-family: var(--display);
  font-size: clamp(130px, 18vw, 250px);
  line-height: 0.78;
  letter-spacing: -0.1em;
}

.token-card-tax,
.token-card-pool {
  min-height: 270px;
}

.token-card-burn {
  grid-column: 2 / 4;
  min-height: 270px;
  background:
    linear-gradient(110deg, rgba(255, 57, 38, 0.12), transparent 48%),
    linear-gradient(145deg, rgba(23, 28, 20, 0.95), rgba(13, 16, 12, 0.98));
}

.card-index {
  position: absolute;
  top: 27px;
  right: 28px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.token-card-supply .card-index {
  color: rgba(9, 12, 7, 0.5);
}

.card-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.token-card-supply .card-label {
  color: rgba(9, 12, 7, 0.58);
}

.token-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(30px, 3.1vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.token-card-supply strong {
  max-width: 100%;
  color: #090b07;
  font-size: clamp(42px, 5vw, 72px);
  overflow-wrap: anywhere;
}

.token-card > span:last-of-type {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 540px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.token-card-supply > span:last-of-type {
  color: rgba(9, 12, 7, 0.68);
  font-weight: 600;
}

.supply-bar {
  position: relative;
  z-index: 1;
  height: 11px;
  margin-top: 31px;
  border: 1px solid rgba(9, 12, 7, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.supply-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: #0a0c08;
}

.token-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(17, 21, 15, 0.7);
}

.token-note svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--lime);
}

.token-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.token-note strong {
  color: var(--text);
}

/* Ecosystem */
.ecosystem {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 255, 25, 0.08), transparent 22rem),
    var(--bg-soft);
}

.ecosystem-shell {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(217, 255, 25, 0.035), transparent 42%),
    var(--surface);
  overflow: hidden;
}

.ecosystem-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 80px);
}

.ecosystem-copy h2 {
  margin-bottom: 28px;
  max-width: 12ch;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.02;
}

.ecosystem-copy > p:not(.kicker) {
  max-width: 590px;
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}

.ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  font-size: 20px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.ecosystem-visual {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 30px);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(217, 255, 25, 0.02), transparent 40%),
    #0a0d09;
}

.ecosystem-card {
  position: relative;
  border: 1px solid rgba(231, 245, 217, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    rgba(14, 18, 13, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.network-card {
  display: grid;
  align-content: space-between;
  padding: 28px;
}

.network-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.network-card-header img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 22px;
  background: var(--lime);
  padding: 10px;
}

.network-card-header span,
.pair-card-copy span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network-card-header strong,
.pair-card-copy strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 2.2vw, 38px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.network-card p {
  margin: 24px 0 0;
  max-width: 34ch;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.pair-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
}

.pair-card-copy small {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
}

.pair-card img {
  width: clamp(120px, 15vw, 168px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(231, 245, 217, 0.08);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
}

/* Principles */
.principles-heading {
  max-width: 900px;
  margin-bottom: 60px;
}

.principles-heading h2 {
  font-size: clamp(48px, 6vw, 82px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  min-height: 330px;
  padding: 34px 34px 40px 0;
  border-right: 1px solid var(--line);
}

.principle + .principle {
  padding-left: 34px;
}

.principle:last-child {
  border-right: 0;
}

.principle > span {
  display: block;
  margin-bottom: 70px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.principle h3 {
  margin: 0 0 17px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.principle p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* Buy */
.buy-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 255, 25, 0.08), transparent 24rem),
    radial-gradient(circle at 82% 22%, rgba(255, 57, 38, 0.05), transparent 20rem),
    var(--bg);
}

.buy-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
  padding: clamp(28px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    var(--surface);
  box-shadow: var(--shadow);
}

.buy-intro .kicker {
  color: var(--lime);
}

.buy-intro h2 {
  font-size: clamp(50px, 6vw, 82px);
}

.buy-intro h2 span {
  color: var(--text);
  -webkit-text-stroke: 0;
}

.buy-intro > p:last-child {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}

.buy-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.buy-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.buy-steps li > span {
  padding-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.buy-steps strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.buy-steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.buy-cta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.buy-section .button-primary {
  color: #090b07;
  background: var(--lime);
  box-shadow: 0 18px 42px rgba(9, 12, 7, 0.24);
}

.buy-section .button-primary:hover {
  color: #090b07;
  background: #e7ff74;
}

/* Community */
.community {
  background: var(--bg-soft);
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.community-copy h2 {
  font-size: clamp(48px, 5.6vw, 78px);
}

.community-copy > p:last-child {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}

.social-grid {
  display: grid;
  gap: 12px;
}

.social-card {
  display: grid;
  grid-template-columns: 58px 1fr 30px;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 16px 22px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.social-card:hover {
  border-color: rgba(217, 255, 25, 0.42);
  background: var(--surface-2);
  transform: translateX(5px);
}

.social-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #0a0c08;
  border-radius: 14px;
  background: var(--lime);
  font-size: 25px;
  font-weight: 700;
}

.social-icon svg {
  width: 27px;
  height: 27px;
}

.telegram-icon {
  color: #fff;
  background: #269ed8;
}

.chart-icon {
  color: #fff;
  background: var(--red);
}

.social-card div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.social-card div:nth-child(2) span {
  color: var(--muted);
  font-size: 11px;
}

.social-card div:nth-child(2) strong {
  font-size: 18px;
}

.social-card b {
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
}

.safety-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 4px;
  padding: 24px;
  border: 1px solid rgba(255, 57, 38, 0.25);
  border-radius: 18px;
  background: rgba(255, 57, 38, 0.055);
}

.safety-banner svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #ff6d5f;
}

.safety-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.safety-banner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 55px 0 32px;
  border-top: 1px solid var(--line);
  background: #050604;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
}

.footer-brand div {
  display: grid;
  gap: 5px;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.04em;
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  max-width: 690px;
  margin: 0;
  color: #6f766a;
  font-size: 11px;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  text-align: right;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  padding: 12px 18px;
  color: #090b07;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

/* Responsive */
@media (max-width: 1100px) {
  .primary-nav {
    gap: 17px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 52px;
  }

  .market-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .market-grid > div {
    border-bottom: 1px solid var(--line);
  }

  .market-grid > div:nth-child(3n) {
    border-right: 0;
  }

  .market-grid > div:nth-child(n + 4) {
    border-bottom: 0;
  }

  .story-grid {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .story-copy {
    grid-column: 2;
    padding-top: 0;
  }

  .tokenomics-bento {
    grid-template-columns: 1fr 1fr;
  }

  .token-card-supply {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 390px;
  }

  .token-card-burn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 100px 0;
  }

  .menu-button {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 auto;
    max-height: calc(100vh - 78px);
    display: grid;
    gap: 0;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 10, 7, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow-y: auto;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .primary-nav .nav-chart,
  .primary-nav .nav-buy {
    margin-top: 12px;
    padding: 14px 18px;
    border-bottom: 0;
    text-align: center;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding-top: 128px;
  }

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

  .hero-art {
    justify-self: center;
    width: min(88vw, 510px);
    margin-top: 18px;
  }

  .hero-art-label-top {
    right: 2px;
  }

  .hero-art-label-bottom {
    left: 0;
  }

  .section-top,
  .ecosystem-shell,
  .buy-shell,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .section-top {
    gap: 28px;
  }

  .ecosystem-visual {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ecosystem-links {
    gap: 14px 22px;
  }

  .buy-cta {
    grid-column: auto;
    margin-top: 0;
  }

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

  .principle,
  .principle + .principle {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle > span {
    margin-bottom: 34px;
  }

  .safety-banner {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .primary-nav {
    inset-block-start: 72px;
    max-height: calc(100vh - 72px);
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 112px 0 70px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions,
  .buy-cta {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .contract-value {
    align-items: stretch;
  }

  .contract-value code {
    align-self: center;
  }

  .copy-button span {
    display: none;
  }

  .market-board {
    margin-top: 60px;
  }

  .market-board-header {
    min-height: 0;
    display: grid;
    gap: 9px;
    padding: 18px;
  }

  .market-board-header > div {
    justify-content: space-between;
  }

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

  .market-grid > div,
  .market-grid > div:nth-child(3n) {
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .market-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .market-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .market-grid dd {
    font-size: 18px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-copy {
    grid-column: auto;
  }

  .story-heading h2,
  .section-top h2,
  .ecosystem-copy h2,
  .principles-heading h2,
  .buy-intro h2,
  .community-copy h2 {
    font-size: clamp(42px, 13vw, 61px);
  }

  .tokenomics-bento {
    grid-template-columns: 1fr;
  }

  .token-card-supply,
  .token-card-burn {
    grid-column: auto;
  }

  .token-card-supply {
    min-height: 350px;
  }

  .token-card {
    min-height: 250px;
  }

  .token-note {
    align-items: flex-start;
  }

  .ecosystem-shell {
    border-radius: 24px;
  }

  .ecosystem-copy {
    padding: 34px 25px 44px;
  }

  .ecosystem-copy h2 {
    max-width: none;
  }

  .ecosystem-visual {
    min-height: 0;
    gap: 14px;
    padding: 18px;
  }

  .network-card,
  .pair-card {
    padding: 22px;
  }

  .network-card-header {
    align-items: flex-start;
  }

  .network-card-header img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .pair-card {
    grid-template-columns: 1fr;
  }

  .pair-card img {
    width: 116px;
  }

  .social-card {
    grid-template-columns: 52px 1fr 24px;
    padding: 14px 17px 14px 14px;
  }

  .social-icon {
    width: 52px;
    height: 52px;
  }

  .footer-top,
  .footer-bottom {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   V4 — cleaner modern hero, ecosystem and buy section
   ========================================================= */
.hero {
  min-height: auto;
  padding: 154px 0 92px;
  background:
    radial-gradient(circle at 84% 22%, rgba(217, 255, 25, 0.11), transparent 26rem),
    radial-gradient(circle at 10% 70%, rgba(255, 57, 38, 0.045), transparent 24rem);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(217, 255, 25, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(217, 255, 25, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 5%, transparent 86%);
}

.hero::after {
  top: 2%;
  right: -10%;
  width: 48vw;
  height: 48vw;
  opacity: 0.78;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.82fr);
  gap: clamp(56px, 7vw, 112px);
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(60px, 6.25vw, 98px);
  line-height: 0.94;
}

.hero-intro {
  max-width: 650px;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 520px);
}

.hero-token-card {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(231, 245, 217, 0.13);
  border-radius: 32px;
  background:
    linear-gradient(155deg, rgba(217, 255, 25, 0.055), transparent 38%),
    rgba(14, 18, 13, 0.94);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.hero-token-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -145px;
  top: -145px;
  border-radius: 50%;
  background: rgba(217, 255, 25, 0.13);
  filter: blur(55px);
  pointer-events: none;
}

.hero-card-head,
.hero-chain-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-card-head {
  min-height: 42px;
  margin-bottom: 18px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d7ddcf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(217, 255, 25, 0.08), 0 0 18px rgba(217, 255, 25, 0.5);
}

.hero-mini-link {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero-mini-link b {
  color: var(--lime);
  font-size: 14px;
}

.hero-mini-link:hover {
  color: var(--text);
}

.hero-logo-frame {
  position: relative;
  z-index: 1;
  padding: 9px;
  border: 1px solid rgba(217, 255, 25, 0.24);
  border-radius: 26px;
  background: rgba(217, 255, 25, 0.045);
}

.hero-logo-frame > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 19px;
}

.hero-ticker-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(7, 10, 6, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.28);
}

.hero-ticker-badge span {
  color: #c8d0bf;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-ticker-badge strong {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero-chain-row {
  margin-top: 17px;
  padding: 16px 4px 3px;
}

.hero-chain-id {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-chain-id img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  padding: 7px;
  border-radius: 14px;
  background: var(--lime);
}

.hero-chain-id div {
  display: grid;
  gap: 3px;
}

.hero-chain-id small,
.hero-token-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-chain-id strong {
  font-size: 15px;
}

.hero-live-chip {
  padding: 7px 10px;
  color: var(--lime);
  border: 1px solid rgba(217, 255, 25, 0.22);
  border-radius: 999px;
  background: rgba(217, 255, 25, 0.055);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-token-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 11, 7, 0.64);
  overflow: hidden;
}

.hero-token-stats > div {
  min-width: 0;
  padding: 15px 14px;
  border-right: 1px solid var(--line);
}

.hero-token-stats > div:last-child {
  border-right: 0;
}

.hero-token-stats span {
  display: block;
  margin-bottom: 7px;
  white-space: nowrap;
}

.hero-token-stats strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-manifesto {
  margin: 17px 0 0;
  padding: 2px 3px 0;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-manifesto strong {
  color: var(--lime);
}

.market-board {
  margin-top: 88px;
  border-radius: 24px;
  background: rgba(12, 16, 11, 0.88);
}

/* Ecosystem — clean cards instead of decorative shapes */
.ecosystem {
  background:
    radial-gradient(circle at 92% 12%, rgba(217, 255, 25, 0.075), transparent 24rem),
    var(--bg-soft);
}

.ecosystem-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: clamp(46px, 8vw, 110px);
  margin-bottom: 54px;
}

.ecosystem-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.ecosystem-heading h2 span {
  color: var(--lime);
}

.ecosystem-heading > p {
  margin: 0 0 7px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.72;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(350px, 0.7fr);
  gap: 18px;
}

.ecosystem-main-card,
.ecosystem-info-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(217, 255, 25, 0.045), transparent 42%),
    rgba(15, 19, 13, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.ecosystem-main-card {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.68fr);
  align-items: center;
  gap: 36px;
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
}

.ecosystem-label,
.ecosystem-info-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ecosystem-main-copy h3 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(42px, 4.4vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.ecosystem-main-copy p {
  max-width: 640px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.72;
}

.ecosystem-main-logo {
  justify-self: end;
  width: min(100%, 310px);
  padding: 10px;
  border: 1px solid rgba(217, 255, 25, 0.25);
  border-radius: 30px;
  background: rgba(217, 255, 25, 0.055);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32);
}

.ecosystem-main-logo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
}

.ecosystem-side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.ecosystem-info-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 28px;
}

.ecosystem-info-card > img,
.pair-token-mark {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 22px;
}

.ecosystem-info-card > img {
  object-fit: cover;
  padding: 10px;
  background: var(--lime);
}

.pair-token-mark {
  padding: 6px;
  border: 1px solid rgba(217, 255, 25, 0.22);
  background: rgba(217, 255, 25, 0.055);
}

.pair-token-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.ecosystem-info-card span {
  margin-bottom: 8px;
  color: var(--muted);
}

.ecosystem-info-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.ecosystem-info-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.62;
}

/* How to buy — dark, calm and consistent with the rest of the page */
.buy-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 255, 25, 0.055), transparent 24rem),
    radial-gradient(circle at 90% 82%, rgba(255, 57, 38, 0.035), transparent 22rem),
    var(--bg);
}

.buy-shell {
  padding: clamp(34px, 5vw, 62px);
  border-color: rgba(231, 245, 217, 0.11);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(217, 255, 25, 0.035), transparent 42%),
    rgba(14, 18, 13, 0.93);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.buy-steps {
  display: grid;
  gap: 12px;
  border-top: 0;
}

.buy-steps li {
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 11, 7, 0.52);
}

.buy-steps li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #090b07;
  border-radius: 12px;
  background: var(--lime);
}

.buy-steps strong {
  margin-bottom: 5px;
}

.buy-section .button-primary {
  box-shadow: 0 14px 36px rgba(217, 255, 25, 0.14);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
    gap: 48px;
  }

  .hero-token-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-token-stats > div:nth-child(2) {
    border-right: 0;
  }

  .hero-token-stats > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

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

  .ecosystem-side-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .ecosystem-heading {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 560px);
  }

  .ecosystem-heading {
    gap: 24px;
  }

  .ecosystem-heading > p {
    max-width: 700px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 116px 0 70px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 70px);
  }

  .hero-token-card {
    padding: 14px;
    border-radius: 24px;
  }

  .hero-card-head {
    padding-inline: 2px;
  }

  .hero-logo-frame {
    border-radius: 21px;
  }

  .hero-logo-frame > img {
    border-radius: 15px;
  }

  .hero-ticker-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 13px 14px;
  }

  .hero-chain-row {
    align-items: flex-end;
  }

  .hero-chain-id strong {
    font-size: 14px;
  }

  .hero-token-stats {
    grid-template-columns: 1fr;
  }

  .hero-token-stats > div,
  .hero-token-stats > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-token-stats > div:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .ecosystem-heading h2 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .ecosystem-main-card {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .ecosystem-main-logo {
    justify-self: start;
    width: min(78vw, 270px);
  }

  .ecosystem-side-stack {
    grid-template-columns: 1fr;
  }

  .ecosystem-info-card {
    padding: 23px;
  }

  .ecosystem-info-card > img,
  .pair-token-mark {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .buy-shell {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .buy-steps li {
    padding: 17px;
  }
}

/* =========================================================
   V5 — mobile containment and visual consistency fixes
   ========================================================= */

/* Long inline content must never define the width of the hero grid. */
.hero-grid,
.hero-grid > *,
.hero-copy,
.hero-visual,
.contract-block,
.contract-value,
.contract-value code {
  min-width: 0;
}

.hero-copy,
.contract-block,
.contract-value {
  width: 100%;
  max-width: 100%;
}

.contract-value {
  overflow: hidden;
}

/* Keep the ecosystem artwork in normal document flow and behind no copy. */
.ecosystem-main-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.ecosystem-main-logo {
  position: static;
  z-index: 1;
  margin: 0;
}

/* Give the principles group a complete frame, including its outer sides. */
.principles-grid {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.principle {
  padding-left: 34px;
}

/* The secondary buy action must remain visible against the dark panel. */
.buy-section .button-dark {
  color: var(--text);
  border: 1px solid rgba(217, 255, 25, 0.32);
  background: rgba(217, 255, 25, 0.055);
}

.buy-section .button-dark:hover {
  color: #090b07;
  border-color: var(--lime);
  background: var(--lime);
}

@media (max-width: 900px) {
  /* A distinct treatment prevents Live chart from disappearing into the menu. */
  .primary-nav .nav-chart {
    display: block;
    color: var(--text);
    border: 1px solid rgba(217, 255, 25, 0.3);
    background: rgba(217, 255, 25, 0.06);
  }

  .primary-nav .nav-chart:hover,
  .primary-nav .nav-chart:focus-visible {
    color: #090b07;
    border-color: var(--lime);
    background: var(--lime);
  }
}

@media (max-width: 680px) {
  /* The 1100px three-column rule removed these lower borders; restore them
     before removing only the final mobile row. */
  .market-grid > div:nth-child(n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .market-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .ecosystem-main-card {
    gap: 28px;
  }

  .ecosystem-main-logo {
    position: static !important;
    z-index: 0;
    grid-row: auto;
    justify-self: start;
    width: min(62vw, 210px);
    margin-top: 0;
  }

  .principles-grid {
    border: 1px solid var(--line);
    border-radius: 20px;
  }

  .principle,
  .principle + .principle {
    padding: 30px 26px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero-grid {
    width: 100%;
    gap: 42px;
  }

  .hero-copy,
  .hero-visual,
  .hero-token-card {
    width: 100%;
    max-width: 100%;
  }

  .contract-value {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-left: 14px;
  }

  .contract-value code {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
  }

  .hero-card-head {
    flex-wrap: wrap;
  }

  .hero-ticker-badge {
    gap: 10px;
  }

  .hero-ticker-badge strong {
    font-size: 28px;
  }

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

  .market-grid > div,
  .market-grid > div:nth-child(2n),
  .market-grid > div:nth-child(3n),
  .market-grid > div:nth-child(n + 4),
  .market-grid > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .market-grid > div:last-child {
    border-bottom: 0;
  }

  .ecosystem-heading h2,
  .ecosystem-main-copy h3 {
    overflow-wrap: anywhere;
  }

  .ecosystem-info-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .ecosystem-info-card > img,
  .pair-token-mark {
    width: 58px;
    height: 58px;
  }
}

/* =========================================================
   V6 — responsive spacing and layout refinements
   ========================================================= */

/* Keep the buy explanation and actions on one shared row. */
.buy-shell {
  grid-template-areas:
    "intro steps"
    "bottom bottom";
  row-gap: 28px;
}

.buy-intro {
  grid-area: intro;
}

.buy-steps {
  grid-area: steps;
}

.buy-bottom {
  grid-area: bottom;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.buy-bottom > p {
  max-width: 550px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}

.buy-cta {
  grid-column: auto;
  align-self: center;
  margin: 0;
}

/* Protect the ecosystem heading from ever colliding with its image. */
.ecosystem-main-card {
  grid-template-columns: minmax(0, 1.22fr) minmax(220px, 0.52fr);
}

.ecosystem-main-copy h3 {
  max-width: 100%;
  font-size: clamp(38px, 3.65vw, 58px);
  overflow-wrap: normal;
  word-break: normal;
}

/* The fixed supply must stay on one line and scale rather than wrap. */
.token-card-supply strong {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(38px, 5vw, 72px);
}

@media (max-width: 900px) {
  .buy-shell {
    grid-template-areas:
      "intro"
      "steps"
      "bottom";
  }

  .buy-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ecosystem-main-card {
    grid-template-columns: 1fr;
  }

  .ecosystem-main-logo {
    grid-row: 2;
    justify-self: start;
    width: min(100%, 230px);
  }
}

@media (max-width: 680px) {
  .token-card-supply strong {
    font-size: clamp(34px, 10.6vw, 54px);
  }
}

@media (max-width: 420px) {
  /* Preserve comfortable side padding on narrow phones. */
  .container {
    width: min(100% - 36px, var(--container));
  }

  /* Six market values remain a compact two-column grid. */
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-grid > div,
  .market-grid > div:nth-child(2n),
  .market-grid > div:nth-child(3n),
  .market-grid > div:nth-child(n + 4),
  .market-grid > div:nth-last-child(-n + 2) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .market-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .market-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .ecosystem-main-copy h3 {
    font-size: clamp(34px, 10.6vw, 43px);
    overflow-wrap: normal;
    word-break: normal;
  }

  .token-card-supply strong {
    font-size: clamp(31px, 9.6vw, 42px);
    letter-spacing: -0.06em;
  }
}
