:root {
  --sage: #7a8b6e;
  --sage-deep: #5f6f55;
  --sage-soft: #9aa88f;
  --mint: #4cba8c;
  --mint-bright: #6ad4a4;
  --denim: #8ebfd4;
  --denim-deep: #5a9bb5;
  --sweater: #c8ced6;
  --cream: #f3efe6;
  --ink: #1a1f1a;
  --ink-soft: #3a4338;
  --red: #c24b4b;
  --panel: rgba(243, 239, 230, 0.88);
  --stroke: 3px solid var(--ink);
  --radius: 22px;
  --shadow: 0 10px 0 rgba(26, 31, 26, 0.18);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 74px;
}

*,
*::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: 600;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(110, 212, 164, 0.28), transparent 55%),
    radial-gradient(900px 600px at 95% 15%, rgba(142, 191, 212, 0.3), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(194, 75, 75, 0.08), transparent 45%),
    linear-gradient(165deg, #8d9c82 0%, var(--sage) 42%, #6f8165 100%);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.06;
  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");
  mix-blend-mode: multiply;
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 18%;
  background: radial-gradient(circle, var(--mint-bright), transparent 70%);
}

.orb-b {
  width: 280px;
  height: 280px;
  right: -60px;
  top: 48%;
  background: radial-gradient(circle, var(--denim), transparent 70%);
  animation-delay: -6s;
}

.orb-c {
  width: 220px;
  height: 220px;
  left: 42%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(243, 239, 230, 0.7), transparent 70%);
  animation-delay: -11s;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, -40px, 0) scale(1.12);
  }
}

#float-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 18px 0;
}

.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: rgba(243, 239, 230, 0.82);
  border: var(--stroke);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  object-fit: cover;
  background: var(--sage);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--cream);
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  transform: translateY(-2px) rotate(-4deg);
  background: var(--mint-bright);
}

.icon-dex img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(18%) saturate(700%) hue-rotate(75deg) brightness(95%);
}

.icon-pump img {
  width: 22px;
  height: 22px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  background: var(--cream);
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 48px 20px 100px;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: 8% 12% auto;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(243, 239, 230, 0.35), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 12px;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(243, 239, 230, 0.55);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-brand .line {
  display: block;
}

.hero-brand .accent {
  color: var(--cream);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 8px 0 rgba(26, 31, 26, 0.15);
  animation: brand-bob 4.5s ease-in-out infinite;
}

@keyframes brand-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-tag {
  margin: 18px 0 0;
  max-width: 28ch;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink-soft);
}

.hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ticker-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 16px;
  border-radius: 16px;
  border: var(--stroke);
  background: var(--mint);
  box-shadow: 0 5px 0 rgba(26, 31, 26, 0.2);
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  border: var(--stroke);
  background: var(--cream);
  box-shadow: 0 5px 0 rgba(26, 31, 26, 0.15);
  transition: transform 0.15s ease, background 0.15s ease;
}

.ca-chip:hover {
  transform: translateY(-2px);
  background: #fff;
}

.ca-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--denim);
  border: 2px solid var(--ink);
}

.ca-value {
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-ctas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 18px;
  border: var(--stroke);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  box-shadow: 0 6px 0 rgba(26, 31, 26, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(26, 31, 26, 0.2);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(26, 31, 26, 0.2);
}

.btn-primary {
  background: var(--mint);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--mint-bright);
}

.btn-ghost {
  background: var(--cream);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.92rem;
  background: var(--denim);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.pump-icon {
  width: 22px;
  height: 22px;
}

.dex-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(24%) saturate(742%) hue-rotate(88deg) brightness(95%);
}

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

.stage-ring {
  position: absolute;
  width: min(420px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px dashed rgba(26, 31, 26, 0.28);
  animation: spin-slow 28s linear infinite;
}

.stage-ring.delayed {
  width: min(500px, 98%);
  border-style: solid;
  border-color: rgba(243, 239, 230, 0.35);
  animation-direction: reverse;
  animation-duration: 36s;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.hero-logo {
  width: min(380px, 78vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 34px;
  border: 4px solid var(--ink);
  box-shadow: 0 16px 0 rgba(26, 31, 26, 0.18);
  background: var(--sage);
  animation: float-logo 5s ease-in-out infinite;
  transition: translate 0.25s ease-out;
  z-index: 1;
  will-change: transform, translate;
}

@keyframes float-logo {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-18px) rotate(1.5deg);
  }
}

.baton-spark {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint-bright);
  border: 2px solid var(--ink);
  top: 18%;
  right: 16%;
  animation: spark 2.4s ease-in-out infinite;
  z-index: 2;
}

@keyframes spark {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.55;
  }
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  color: rgba(243, 239, 230, 0.55);
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.section {
  padding: 88px 20px;
}

.section-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lede {
  margin: 14px 0 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.about {
  background: linear-gradient(180deg, rgba(243, 239, 230, 0.55), rgba(243, 239, 230, 0.2));
}

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

.story-panel {
  padding: 26px 24px;
  background: var(--panel);
  border: var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.story-panel:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}

.story-panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.story-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.howtobuy {
  position: relative;
}

.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: none;
}

.buy-step {
  position: relative;
  padding: 24px 18px 22px;
  background: rgba(243, 239, 230, 0.9);
  border: var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.buy-step::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 120px;
  background: radial-gradient(circle, rgba(76, 186, 140, 0.22), transparent 70%);
  pointer-events: none;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
}

.step-icon {
  margin: 14px 0 16px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 2.5px solid var(--ink);
}

.step-icon img {
  width: 30px;
  height: 30px;
}

.wrap-phantom {
  background: #d8d2f5;
}

.wrap-solana {
  background: #1a1f1a;
}

.wrap-solana img {
  width: 34px;
  height: 34px;
}

.wrap-pump {
  background: #dff5e8;
}

.wrap-pump img {
  width: 34px;
  height: 34px;
}

.wrap-dex {
  background: #d7efe6;
}

.wrap-dex img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(24%) saturate(742%) hue-rotate(88deg) brightness(95%);
}

.wrap-x {
  background: var(--sweater);
}

.buy-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.buy-step p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.chart {
  background:
    linear-gradient(180deg, rgba(95, 111, 85, 0.18), rgba(243, 239, 230, 0.35));
}

.chart-shell {
  border: var(--stroke);
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 2.5px solid var(--ink);
  background: linear-gradient(90deg, rgba(142, 191, 212, 0.45), rgba(76, 186, 140, 0.35));
}

.chart-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 650;
}

.chart-brand img {
  width: 22px;
  height: 22px;
}

.chart-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  background: #e8efe4;
}

.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.joinus {
  padding-bottom: 110px;
}

.banner-frame {
  margin: 0 0 28px;
  border: var(--stroke);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage);
  aspect-ratio: 3 / 1;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease;
}

.banner-frame:hover .banner-img {
  transform: scale(1.03);
}

.join-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.join-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background: rgba(243, 239, 230, 0.92);
  border: var(--stroke);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.join-card:hover {
  transform: translateY(-5px) rotate(0.5deg);
  background: #fff;
}

.join-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
}

.join-icon img {
  width: 24px;
  height: 24px;
}

.join-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.join-copy strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.join-copy span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 20px 40px;
  border-top: 3px solid rgba(26, 31, 26, 0.25);
  background: rgba(26, 31, 26, 0.12);
}

.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
}

.footer-brand span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-note {
  margin: 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--cream);
}

.footer-socials img {
  width: 18px;
  height: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 60;
  padding: 12px 18px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  background: var(--mint);
  font-family: var(--font-display);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .buy-steps,
  .join-links {
    grid-template-columns: 1fr 1fr;
  }

  .buy-steps {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .nav-shell {
    grid-template-columns: auto auto;
    border-radius: 24px;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .nav-shell.is-open {
    grid-template-columns: 1fr;
  }

  .nav-shell.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 6px 8px;
  }

  .nav-shell.is-open .nav-actions {
    display: flex;
    padding: 0 6px 8px;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-tag,
  .section-head {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-meta,
  .hero-ctas {
    justify-content: center;
  }

  .hero-stage {
    order: -1;
    min-height: 320px;
  }

  .hero-logo {
    width: min(280px, 70vw);
  }

  .about-grid,
  .buy-steps,
  .join-links {
    grid-template-columns: 1fr;
  }

  .chart-frame {
    min-height: 360px;
    aspect-ratio: 4 / 5;
  }

  .banner-frame {
    aspect-ratio: 3 / 1;
    border-radius: 18px;
  }
}

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

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