:root {
  --ink: #10100e;
  --text: #181814;
  --muted: #66665f;
  --line: #e9e4d7;
  --paper: #fffdf7;
  --cream: #fff7df;
  --yellow: #ffd51e;
  --yellow-soft: #fff0a7;
  --green: #77d86a;
  --green-soft: #c8f6bd;
  --shadow: 0 18px 50px rgba(25, 23, 15, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 7%, rgba(255, 213, 30, 0.34), transparent 24%),
    radial-gradient(circle at 84% 52%, rgba(200, 246, 189, 0.48), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fffaf0 54%, #ffffff 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 39%, rgba(119, 216, 106, 0.24) 39.2% 39.55%, transparent 39.8%),
    linear-gradient(90deg, transparent 0 47%, rgba(255, 213, 30, 0.28) 47.2% 47.55%, transparent 47.8%),
    linear-gradient(90deg, transparent 0 55%, rgba(119, 216, 106, 0.3) 55.2% 55.55%, transparent 55.8%),
    linear-gradient(90deg, transparent 0 66%, rgba(255, 213, 30, 0.24) 66.2% 66.55%, transparent 66.8%),
    linear-gradient(90deg, transparent 0 82%, rgba(119, 216, 106, 0.24) 82.2% 82.55%, transparent 82.8%);
  background-size: 100% 100%;
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 58%, transparent 78%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  right: -120px;
  top: 110px;
  z-index: -1;
  width: 62vw;
  height: 260px;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(119, 216, 106, 0.32) 8% 9.5%, transparent 9.5% 17%, rgba(255, 213, 30, 0.38) 17% 18.5%, transparent 18.5% 28%) repeat-x,
    linear-gradient(180deg, transparent 45%, rgba(119, 216, 106, 0.18) 46%, transparent 47%);
  background-size: 88px 100%, 100% 100%;
  opacity: 0.75;
  transform: rotate(-2deg);
  pointer-events: none;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 64px));
  min-height: 72px;
  margin: 0 auto;
  padding: 14px 0;
  background: rgba(255, 253, 247, 0.82);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: #34342f;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: #000;
}

.launch-button,
.entry-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 950;
}

.launch-button {
  padding: 0 24px;
  background: var(--yellow);
  box-shadow: 0 10px 24px rgba(255, 213, 30, 0.38);
}

.launch-button::after {
  content: "->";
  margin-left: 8px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 32px;
  width: min(1180px, calc(100% - 64px));
  min-height: 520px;
  margin: 0 auto;
  padding: 28px 0 34px;
}

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

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

h1 {
  max-width: 580px;
  margin-bottom: 18px;
  color: #070707;
  font-size: clamp(54px, 6.5vw, 80px);
  line-height: 0.96;
  font-weight: 1000;
  letter-spacing: -0.02em;
}

h1 span {
  display: block;
}

.gold-text {
  color: var(--yellow);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.intro {
  max-width: 430px;
  margin-bottom: 26px;
  color: #24241f;
  font-size: 17px;
  line-height: 1.45;
}

.intro strong {
  font-weight: 950;
}

.entry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.entry-button {
  padding: 0 22px;
  border: 1px solid #d9d4c8;
  background: #ffffff;
  color: #111;
  box-shadow: 0 8px 20px rgba(30, 27, 18, 0.08);
}

.entry-button.primary,
.entry-button:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 0 0 2px;
}

.hero-art img {
  width: min(560px, 100%);
  max-height: 438px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 22px 32px rgba(21, 20, 16, 0.18));
}

.ticker-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  width: min(1100px, calc(100% - 64px));
  margin: -16px auto 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

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

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

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  margin-bottom: 6px;
  color: #111;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.05;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.metric.mascot {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  align-items: center;
}

.metric.mascot img {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #9b7b00;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  color: #10100e;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 0.98;
  font-weight: 1000;
  letter-spacing: -0.02em;
}

.story p,
.cards p,
.roadmap p,
footer {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cards article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 213, 30, 0.24), transparent 34%),
    #fff;
  box-shadow: 0 14px 32px rgba(23, 21, 14, 0.08);
}

h3 {
  margin-bottom: 10px;
  color: #12120f;
  font-size: 20px;
  font-weight: 950;
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto 72px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 213, 30, 0.28), transparent 28%),
    linear-gradient(120deg, #fffdf8, #f7ffef);
  box-shadow: var(--shadow);
}

.roadmap-heading h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 50px);
}

.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.roadmap-steps article {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e6dfcf;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.roadmap-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-weight: 950;
}

.contract {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto 56px;
  padding: 28px;
  border: 1px solid #e1d9bd;
  border-radius: 14px;
  background:
    linear-gradient(100deg, rgba(255, 213, 30, 0.2), rgba(200, 246, 189, 0.24)),
    #fffef8;
  box-shadow: var(--shadow);
}

.contract h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.contract-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.contract code {
  display: block;
  max-width: 100%;
  padding: 14px 16px;
  overflow-wrap: anywhere;
  border: 1px solid #ded7c8;
  border-radius: 10px;
  background: #ffffff;
  color: #111;
  font-family: monospace;
  font-size: 14px;
}

.copy-button {
  min-height: 46px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid #111;
  border-radius: 10px;
  background: var(--yellow);
  color: #111;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(255, 213, 30, 0.26);
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 34px;
}

footer span:first-child {
  color: #111;
  font-weight: 950;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-art {
    order: -1;
  }

  .ticker-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .metric {
    border-bottom: 1px solid var(--line);
  }

  .cards,
  .roadmap-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .contract,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contract-copy {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .copy-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  body::after {
    right: -220px;
    top: 120px;
    width: 160vw;
  }

  .topbar,
  .hero,
  .ticker-strip,
  .content-grid,
  .roadmap,
  .contract,
  footer {
    width: min(320px, calc(100vw - 32px));
    max-width: min(320px, calc(100vw - 32px));
    margin-left: 16px;
    margin-right: 16px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
    font-size: 16px;
  }

  .launch-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .launch-button::after {
    display: none;
  }

  .hero-art img {
    max-width: 320px;
  }

  h1 {
    font-size: 48px;
  }

  .entry-button {
    width: 100%;
  }

  .ticker-strip,
  .cards,
  .roadmap-steps {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

}
