@font-face {
  font-family: "Cousine";
  src: url("fonts/d6lIkaiiRdih4SpP_SQvzBTu39g.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Gohu Nerd Mono";
  src: url("fonts/GohuFont11NerdFontMono-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cousine";
  src: url("fonts/d6lNkaiiRdih4SpP9Z8K2TnM0vJmjmU.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  --bg: #05060a;
  --panel: #0c0f16;
  --line: #1f2430;
  --text: #e6f5ff;
  --muted: #98a6b8;
  --cyan: #11f5ff;
  --pink: #ff2ea1;
  --shadow: 0 20px 80px rgba(4, 12, 26, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Cousine", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a {
  color: inherit;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50rem 30rem at 8% -10%, rgba(17, 245, 255, 0.16), transparent 60%),
    radial-gradient(44rem 30rem at 92% 0%, rgba(255, 46, 161, 0.17), transparent 58%),
    radial-gradient(38rem 26rem at 50% 115%, rgba(17, 245, 255, 0.1), transparent 60%),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  pointer-events: none;
}

.shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  width: min(1200px, 96vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.96) 0%, rgba(5, 6, 10, 0.52) 100%);
  border-bottom: 1px solid rgba(31, 36, 48, 0.7);
}

.brand {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(17, 245, 255, 0.3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--pink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: linear-gradient(120deg, var(--cyan), #56e5ff);
  color: #031018;
  box-shadow: 0 0 0 1px rgba(17, 245, 255, 0.15), 0 12px 30px rgba(17, 245, 255, 0.18);
}

.button-secondary {
  background: linear-gradient(120deg, rgba(255, 46, 161, 0.18), rgba(255, 46, 161, 0.04));
  border-color: rgba(255, 46, 161, 0.4);
  color: #ffd8ef;
}

.button-ghost {
  border-color: rgba(17, 245, 255, 0.45);
  color: var(--cyan);
  background: rgba(7, 15, 24, 0.7);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: 4rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--pink);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 5rem);
  text-wrap: balance;
  text-shadow: 0 0 30px rgba(255, 46, 161, 0.2);
}

.lede {
  margin: 1.25rem 0 1.8rem;
  color: var(--muted);
  max-width: 54ch;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.stats li {
  border: 1px solid rgba(31, 36, 48, 0.9);
  background: linear-gradient(180deg, rgba(12, 15, 22, 0.92), rgba(12, 15, 22, 0.64));
  border-radius: 0.95rem;
  padding: 0.7rem 0.75rem;
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--cyan);
}

.stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-art {
  margin: 0;
  border-radius: 1.1rem;
  border: 1px solid rgba(31, 36, 48, 0.95);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 46, 161, 0.18), transparent 60%),
    radial-gradient(90% 120% at 0% 100%, rgba(17, 245, 255, 0.18), transparent 62%),
    var(--panel);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-art img {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
  border-radius: 0.8rem;
  border: 1px solid rgba(17, 245, 255, 0.28);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-art figcaption {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.3rem;
}

h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.6rem);
  text-wrap: balance;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(13, 17, 24, 0.92), rgba(13, 17, 24, 0.72));
  padding: 1.2rem;
  transition: transform 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -30% 40% 55% -35%;
  background: radial-gradient(circle, rgba(17, 245, 255, 0.2), transparent 65%);
  pointer-events: none;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 161, 0.45);
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  color: #fbfcff;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 245, 255, 0.35);
}

.story {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 2rem;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(255, 46, 161, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(13, 17, 24, 0.9), rgba(13, 17, 24, 0.72));
}

.story p {
  margin: 0;
  color: var(--muted);
  max-width: 80ch;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.chip-grid a {
  text-decoration: none;
  border: 1px solid rgba(31, 36, 48, 0.95);
  border-radius: 999px;
  text-align: center;
  padding: 0.65rem 0.8rem;
  color: #d8e8ff;
  background: rgba(12, 15, 22, 0.82);
  transition: border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.chip-grid a:hover,
.chip-grid a:focus-visible {
  border-color: rgba(17, 245, 255, 0.6);
  color: var(--cyan);
  transform: translateY(-2px);
}

.site-footer {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 1.5rem 0 2.2rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(31, 36, 48, 0.85);
}

.site-footer p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.footer-chainmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.footer-chainmark img {
  display: block;
  height: 0.95em;
  width: auto;
  object-fit: contain;
}

.site-footer a {
  text-decoration: none;
  color: var(--cyan);
}

.hero-copy,
.hero-art,
.card,
.story,
.chip-grid a {
  animation: rise-in 500ms ease both;
}

.hero-art {
  animation-delay: 80ms;
}

.card:nth-child(2) {
  animation-delay: 60ms;
}

.card:nth-child(3) {
  animation-delay: 120ms;
}

@keyframes rise-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.3rem;
  }

  .hero-art img {
    width: min(100%, 360px);
  }

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

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

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

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .button-ghost {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
