:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #a6b0c3;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(15, 22, 36, 0.78);
  --panel-strong: rgba(18, 27, 44, 0.94);
  --green: #35e0a1;
  --amber: #f2c45a;
  --blue: #58b7ff;
  --red: #ff6b6b;
  --bg: #080b10;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

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

#marketCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #080b10;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(8, 11, 16, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
.link-row a:hover {
  color: var(--green);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 92px) 64px;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(64px, 11vw, 148px);
  line-height: 0.88;
  font-weight: 850;
  letter-spacing: 0;
}

.ticker {
  margin: 10px 0 24px;
  color: var(--amber);
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 800;
}

.lead {
  max-width: 720px;
  color: #d8dfec;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.58;
}

.hero-actions,
.link-row,
.docs-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.address-box button,
.link-row a,
.doc-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-weight: 750;
}

.button:hover,
.address-box button:hover,
.doc-link:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--green);
  color: #06100c;
  border-color: transparent;
}

.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 22px;
}

.hero-panel div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.metric-label,
.address-box span,
dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.section {
  padding: 74px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.feature-grid,
.timeline,
.onchain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.timeline article,
.data-card,
.holder-list,
.liquidity-card,
.facts,
.contract-copy,
.doc-link {
  border: 1px solid var(--line);
  background: var(--panel-strong);
  border-radius: 8px;
}

.feature-grid article,
.timeline article {
  padding: 22px;
}

.feature-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 34px rgba(53, 224, 161, 0.28);
}

.feature-icon.amber {
  background: var(--amber);
  box-shadow: 0 0 34px rgba(242, 196, 90, 0.24);
}

.feature-icon.blue {
  background: var(--blue);
  box-shadow: 0 0 34px rgba(88, 183, 255, 0.22);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.feature-grid p,
.timeline p,
.contract-copy p,
.notice {
  color: var(--muted);
  line-height: 1.65;
}

.contract-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
}

.contract-copy,
.facts {
  padding: 24px;
}

.address-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  margin: 22px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.address-box span,
.address-box code {
  grid-column: 1;
}

.address-box code {
  overflow-wrap: anywhere;
  color: #e9eef8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.address-box button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 68px;
  height: 42px;
  color: #06100c;
  font-weight: 800;
  background: var(--green);
  cursor: pointer;
}

.link-row a,
.doc-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: #dbe6f7;
  background: rgba(255, 255, 255, 0.05);
}

.facts {
  display: grid;
  gap: 12px;
}

.onchain-grid {
  margin-bottom: 16px;
}

.data-card {
  padding: 22px;
}

.data-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.data-card p,
.liquidity-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.holder-list,
.liquidity-card {
  padding: 24px;
}

.holder-list dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.holder-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.holder-list dd {
  margin: 6px 0;
  font-size: 20px;
}

.holder-list code {
  display: block;
  overflow-wrap: anywhere;
  color: #dbe6f7;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.facts div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dd {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--amber);
  font-weight: 850;
}

.doc-link {
  width: min(100%, 320px);
  min-height: 82px;
  gap: 14px;
}

.doc-link span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(53, 224, 161, 0.16);
  color: var(--green);
  font-weight: 850;
}

.notice {
  max-width: 820px;
  margin-top: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .contract-layout,
  .market-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .timeline,
  .onchain-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .feature-grid,
  .timeline,
  .onchain-grid {
    grid-template-columns: 1fr;
  }

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

  .address-box button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
