:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --ink: #f5f5f2;
  --muted: #9a9a92;
  --gold: #f3ba2f;
  --gold-soft: rgba(243, 186, 47, 0.16);
  --gold-line: rgba(243, 186, 47, 0.35);
  --stroke: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --nav-h: 72px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(243, 186, 47, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 40%, rgba(243, 186, 47, 0.05), transparent 55%),
    linear-gradient(180deg, #070707 0%, #050505 40%, #080808 100%);
  overflow-x: hidden;
  line-height: 1.55;
}

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

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

em {
  font-style: normal;
  color: var(--gold);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: 10%;
  right: -8%;
  background: rgba(243, 186, 47, 0.18);
}

.orb-b {
  width: 320px;
  height: 320px;
  bottom: 15%;
  left: -10%;
  background: rgba(243, 186, 47, 0.08);
  animation-duration: 24s;
  animation-delay: -6s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, -30px, 0) scale(1.08);
  }
}

.nav,
main,
.footer,
.mobile-menu {
  position: relative;
  z-index: 1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
  z-index: 50;
}

.nav.scrolled {
  border-bottom-color: var(--stroke);
  background: rgba(5, 5, 5, 0.88);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

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

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.icon-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.icon-link:hover {
  border-color: var(--gold-line);
  color: var(--gold);
  background: var(--gold-soft);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--stroke);
  display: grid;
  gap: 1rem;
  z-index: 40;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.mobile-socials {
  display: flex;
  gap: 1.25rem;
  padding-top: 0.5rem;
  color: var(--gold);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #111;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(243, 186, 47, 0.25);
}

.btn-sm {
  min-height: 38px;
  padding: 0 1rem;
  font-size: 0.88rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--stroke);
}

.btn-ghost:hover {
  border-color: var(--gold-line);
  box-shadow: none;
  background: var(--gold-soft);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #050505;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: min(90vw, 720px);
  aspect-ratio: 1;
  right: -8%;
  top: 42%;
  translate: 0 -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(243, 186, 47, 0.28) 0%, rgba(243, 186, 47, 0.08) 35%, transparent 68%);
  filter: blur(8px);
  animation: glow-breathe 8s ease-in-out infinite;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(243, 186, 47, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 186, 47, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 70% 50%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 50%, #000 15%, transparent 72%);
}

.hero-bg-beam {
  position: absolute;
  width: 140%;
  height: 1px;
  left: -20%;
  top: 58%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(243, 186, 47, 0.05) 20%,
    rgba(243, 186, 47, 0.35) 50%,
    rgba(243, 186, 47, 0.05) 80%,
    transparent 100%
  );
  transform: rotate(-8deg);
  animation: beam-drift 10s ease-in-out infinite alternate;
}

.hero-bg-beam::before,
.hero-bg-beam::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: inherit;
  opacity: 0.35;
}

.hero-bg-beam::before {
  top: -28px;
}

.hero-bg-beam::after {
  top: 28px;
}

.hero-bg-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 30%, rgba(243, 186, 47, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.15) 0%, transparent 30%, rgba(5, 5, 5, 0.55) 85%, #050505 100%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.75;
    scale: 1;
  }
  50% {
    opacity: 1;
    scale: 1.06;
  }
}

@keyframes beam-drift {
  from {
    translate: -2% 0;
    opacity: 0.55;
  }
  to {
    translate: 3% -8px;
    opacity: 0.95;
  }
}

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

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 20%, #f3ba2f 160%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 300;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

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

.hero-logo {
  width: min(75vw, 442px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(243, 186, 47, 0.2));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.section {
  padding: clamp(5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
}

.lede strong {
  color: var(--ink);
  font-weight: 500;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.tweet-frame {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-elevated);
}

.tweet-frame img {
  width: 100%;
  border-radius: var(--radius);
}

.tweet-frame figcaption {
  margin-top: 0.9rem;
  padding: 0 0.35rem 0.25rem;
}

.tweet-frame a {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
}

.tweet-frame a:hover {
  text-decoration: underline;
}

.about-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.pillars {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pillars li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--stroke);
  font-size: 1rem;
}

.pillars li:last-child {
  border-bottom: 1px solid var(--stroke);
}

.pillar-label {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.stat {
  padding: 1.35rem 1.2rem;
  border-top: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(243, 186, 47, 0.06), transparent 70%);
}

.stat-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ca-block {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.ca-meta {
  min-width: 0;
  flex: 1;
}

.ca-block code {
  display: block;
  margin-top: 0.4rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(0.72rem, 2.4vw, 0.92rem);
  color: var(--gold);
  word-break: break-all;
}

.token-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--stroke);
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.disclaimer {
  margin: 0;
  color: #666;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.14s;
}

.reveal-delay-3 {
  transition-delay: 0.2s;
}

@media (min-width: 860px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 2rem;
  }

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

  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
  }

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

  .footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .disclaimer {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orb,
  .hero-logo,
  .hero-bg-glow,
  .hero-bg-beam {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
