:root {
  --acid: #dbf420;
  --acid-deep: #b7cf00;
  --ink: #050604;
  --charcoal: #10120d;
  --glass: rgba(5, 6, 4, 0.72);
  --line: rgba(5, 6, 4, 0.16);
  --paper: #f8ffd0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.52), transparent 18rem),
    linear-gradient(135deg, var(--acid), #efff31 44%, var(--acid) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(5, 6, 4, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 6, 4, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(5, 6, 4, 0.18);
  border-radius: 999px;
  background: rgba(219, 244, 32, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(5, 6, 4, 0.12);
}

.brand-lockup,
.nav-actions,
.cta-row,
.proof-strip,
.ticker-band,
.chart-toolbar {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  font-weight: 950;
  font-style: italic;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--acid);
  background: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.nav-actions {
  gap: 8px;
}

.icon-link,
.launch-button,
.primary-cta,
.secondary-cta,
.contract-card button,
.link-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 900;
}

.icon-link {
  width: 42px;
  color: var(--acid);
  background: var(--ink);
}

.icon-link.wide {
  width: 58px;
}

.launch-button {
  padding: 0 18px;
  border: 1px solid var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 34px;
  min-height: 720px;
  padding: 56px 0 42px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.82;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 8px 8px 0 rgba(5, 6, 4, 0.10);
}

.tagline {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.48;
  font-weight: 650;
}

.contract-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 10px 10px 0 rgba(5, 6, 4, 0.13);
}

.ca-label {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 42px;
  border-radius: 12px;
  color: var(--acid);
  background: var(--ink);
  font-weight: 1000;
}

code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 850;
}

.contract-card button {
  border: 0;
  padding: 0 18px;
  color: var(--acid);
  background: var(--ink);
  cursor: pointer;
}

.cta-row {
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.primary-cta,
.secondary-cta {
  padding: 0 24px;
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(5, 6, 4, 0.18);
}

.primary-cta {
  color: var(--acid);
  background: var(--ink);
}

.secondary-cta {
  background: rgba(255, 255, 255, 0.22);
}

.proof-strip {
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip div {
  min-width: 150px;
  padding: 14px 16px;
  border-left: 2px solid var(--ink);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 1.35rem;
  font-weight: 1000;
}

.proof-strip span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  filter: drop-shadow(0 28px 38px rgba(5, 6, 4, 0.28));
}

.orbital-rim {
  position: absolute;
  width: 96%;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 35% 65% 40% 60% / 52% 38% 62% 48%;
  transform: rotate(-10deg);
  opacity: 0.18;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 11px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 1000;
  box-shadow: 6px 6px 0 rgba(5, 6, 4, 0.2);
}

.chip-one {
  left: 2%;
  bottom: 18%;
  transform: rotate(-7deg);
}

.chip-two {
  right: 3%;
  top: 18%;
  transform: rotate(8deg);
}

.ticker-band {
  gap: 18px;
  overflow: hidden;
  padding: 16px 0;
  border-block: 2px solid var(--ink);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 1000;
  white-space: nowrap;
}

.ticker-band span {
  min-width: max-content;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 44px 0;
}

.link-grid article,
.chart-frame {
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 10px 10px 0 rgba(5, 6, 4, 0.14);
}

.link-grid article {
  min-height: 220px;
  padding: 22px;
  border-radius: 22px;
}

.link-grid h2,
.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.95;
  font-weight: 1000;
  font-style: italic;
  text-transform: uppercase;
}

.link-grid p,
.section-heading p {
  line-height: 1.45;
  font-weight: 650;
}

.link-grid a {
  width: fit-content;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--acid);
}

.chart-section {
  padding-top: 12px;
}

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

.chart-frame {
  overflow: hidden;
  border-radius: 26px;
}

.chart-toolbar {
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: var(--acid);
  background: var(--ink);
  font-size: 0.84rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
}

iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: var(--charcoal);
}

#toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--acid);
  background: var(--ink);
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
    order: -1;
  }

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    align-items: stretch;
    border-radius: 24px;
    flex-direction: column;
  }

  .nav-actions {
    justify-content: space-between;
  }

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

  code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero-visual {
    min-height: 360px;
  }

  .floating-chip {
    display: none;
  }

  iframe {
    height: 430px;
  }
}
