:root {
  --paper: #fdfaf2;
  --band: #f4efe1;
  --ink: #1a1a1a;
  --muted: rgba(26, 26, 26, 0.68);
  --line: rgba(26, 26, 26, 0.24);
  --dash: rgba(26, 26, 26, 0.28);
  --gold: #f6b728;
  --orange: #f28b18;
  --red: #ef3f2d;
  --blue: #13aee8;
  --white: #fdfaf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 16px;
  line-height: 1.5;
}

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

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

main {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 4%, rgba(19, 174, 232, 0.08), transparent 20rem),
    radial-gradient(circle at 92% 12%, rgba(239, 63, 45, 0.08), transparent 22rem),
    var(--paper);
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(253, 250, 242, 0.9);
  border-bottom: 2px dashed var(--line);
  backdrop-filter: blur(8px);
}

.brand {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
}

.nav-links a {
  transition: color 150ms ease, background-color 150ms ease;
}

.nav-links a:hover,
footer a:hover {
  color: var(--red);
}

.buy-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.buy-pill {
  padding: 0.5rem 1rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.buy-pill:hover,
.button.dark:hover {
  color: var(--ink);
  background: var(--gold);
}

.hero {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.chain-label {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.5rem;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.95;
}

h1 span {
  color: var(--orange);
  text-shadow: 3px 3px 0 rgba(239, 63, 45, 0.24), -2px -2px 0 rgba(19, 174, 232, 0.2);
}

.hero-text {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: rgba(26, 26, 26, 0.7);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.hero-logo {
  width: 20rem;
  margin: 0 auto 2rem;
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.1));
  transition: transform 150ms ease;
}

.hero-logo:hover {
  transform: rotate(3deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.button.outline {
  color: var(--ink);
  border: 2px solid var(--ink);
}

.button.outline:hover {
  color: var(--white);
  background: var(--ink);
}

.band {
  padding: 5rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(246, 183, 40, 0.08), rgba(246, 183, 40, 0)),
    var(--band);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.narrow {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.band .narrow {
  padding: 0;
}

.wide {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
}

h2 {
  margin-bottom: 2rem;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 2.5rem;
}

.lore h2,
.tokenomics h2,
.ecosystem h2,
.roadmap h2,
.faq h2,
.buy h2 {
  text-align: center;
}

.quote-box {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  color: rgba(26, 26, 26, 0.72);
  border-left: 4px solid var(--red);
}

.quote-box p {
  margin-bottom: 0.5rem;
}

.copy-box {
  padding: 1.5rem;
  border: 2px dashed var(--dash);
  border-radius: 1.25rem;
}

.copy-box p {
  margin-bottom: 1rem;
  color: rgba(26, 26, 26, 0.72);
  line-height: 1.75rem;
}

.copy-box p:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.two-col h2 {
  margin-bottom: 1.5rem;
}

.two-col p {
  margin-bottom: 1.5rem;
  color: rgba(26, 26, 26, 0.72);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.two-col ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.two-col li::before {
  content: "✅";
  display: inline-block;
  margin-right: 0.75rem;
  color: var(--red);
  font-weight: 900;
}

.side-logo {
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
}

.dark-band {
  padding: 5rem 1.5rem;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(239, 63, 45, 0.25), transparent 18rem),
    radial-gradient(circle at 85% 30%, rgba(19, 174, 232, 0.18), transparent 20rem),
    var(--ink);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

.token-grid article {
  min-height: 11rem;
  padding: 2rem 1.5rem;
  border: 2px dashed rgba(253, 250, 242, 0.28);
  border-radius: 1.25rem;
}

.token-grid strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.token-grid span {
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(253, 250, 242, 0.6);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.token-grid p {
  margin-bottom: 0;
  color: rgba(253, 250, 242, 0.72);
}

.token-copy {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin: 3rem auto 0;
}

.token-copy p {
  margin: 0;
  color: rgba(253, 250, 242, 0.72);
  line-height: 1.75rem;
}

.roadmap {
  max-width: 48rem;
}

.sub {
  margin-bottom: 3rem;
  color: rgba(26, 26, 26, 0.52);
  text-align: center;
}

.road-list {
  display: grid;
  gap: 2rem;
}

.road-list article,
.steps article {
  display: flex;
  gap: 1.5rem;
}

.road-list b,
.road-list b {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--white);
  background: #2f8d5b;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.road-list span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.road-list h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.road-list p {
  margin-bottom: 0;
  color: rgba(26, 26, 26, 0.65);
}

.road-list article > div {
  flex: 1;
  padding: 1.5rem;
  border: 2px dashed var(--dash);
  border-radius: 1.25rem;
}

.quote {
  text-align: center;
}

.quote img {
  width: 14rem;
  margin: 0 auto 1.5rem;
}

blockquote {
  max-width: 42rem;
  margin: 0 auto 1rem;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 2.25rem;
}

.quote p {
  margin-bottom: 0;
  color: rgba(26, 26, 26, 0.52);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.buy {
  max-width: 42rem;
  text-align: center;
}

.contract-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  margin: 2.5rem auto 0;
  padding: 1.15rem 1.5rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.5rem;
  text-align: center;
}

.contract-box span {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}

.contract-box code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.steps article {
  align-items: center;
  min-height: 5rem;
  padding: 1.25rem 1.5rem;
  border: 2px dashed var(--dash);
  border-radius: 1.25rem;
}

.steps b {
  flex: 0 0 auto;
  width: 2rem;
  color: #2f8d5b;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.steps p {
  margin: 0;
  color: rgba(26, 26, 26, 0.72);
}

.faq {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

details {
  border: 2px dashed var(--dash);
  border-radius: 1.25rem;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  color: rgba(26, 26, 26, 0.68);
}

.final-cta {
  padding: 6rem 1.5rem;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 1rem;
  font-size: 3rem;
  line-height: 1;
}

.final-cta p {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: rgba(26, 26, 26, 0.65);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

footer {
  padding: 2.5rem 1.5rem;
  color: rgba(26, 26, 26, 0.5);
  border-top: 2px dashed var(--line);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

footer p {
  max-width: 42rem;
  margin: 0 auto;
}

@media (max-width: 639px) {
  nav {
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .brand {
    font-size: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .buy-pill {
    padding: 0.4rem 0.75rem;
  }

  .hero {
    padding: 3rem 1.5rem 4rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-logo {
    width: 16rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col,
  .narrow,
  .band,
  .dark-band {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

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

  .contract-box {
    align-items: center;
    flex-direction: column;
    max-width: 100%;
  }

  .quote img {
    width: 12rem;
  }

  blockquote {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .final-cta h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 640px) {
  .hero-logo {
    width: 20rem;
  }
}
