:root {
  color-scheme: dark;
  --bg: #050507;
  --ink: #f7fbff;
  --dim: #a8a7b7;
  --muted: #706f82;
  --teal: #23f2cf;
  --cyan: #4aa8ff;
  --purple: #8d3cff;
  --line: rgba(35, 242, 207, 0.22);
  --shell: min(1180px, calc(100% - 3rem));
  --ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 14%, rgba(141, 60, 255, 0.24), transparent 24rem),
    radial-gradient(circle at 84% 4%, rgba(35, 242, 207, 0.18), transparent 30rem),
    linear-gradient(180deg, #06060a 0%, #0c0715 46%, #050507 100%);
  color: var(--ink);
  font-family: var(--ui);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 242, 207, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 60, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
}

a {
  color: inherit;
}

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

h1,
h2,
p {
  margin: 0;
}

button {
  font: inherit;
}

.shell {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
}

#fx,
.grain,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#fx {
  z-index: 1;
}

.grain {
  z-index: 3;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='2'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

.vignette {
  z-index: 2;
  background: radial-gradient(ellipse at 50% 35%, transparent 38%, rgba(0, 0, 0, 0.76) 100%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 3vw, 2.2rem);
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.94), rgba(5, 5, 7, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.brandMark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 24px rgba(35, 242, 207, 0.32),
    0 0 34px rgba(141, 60, 255, 0.24);
}

.topBuy {
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.topLink,
.menuButton,
.button {
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.topLink,
.menuButton {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.56rem 0.92rem;
  font-size: 0.74rem;
}

.topLink:hover,
.menuButton:hover {
  border-color: var(--teal);
  background: rgba(35, 242, 207, 0.12);
  transform: translateY(-1px);
}

.ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.4vw, 1.8rem);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.94);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--teal);
}

.ticker span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(35, 242, 207, 0.9);
}

.ticker b {
  color: var(--ink);
}

.life {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 7rem 0;
}

.hero {
  padding-top: 8rem;
}

.heroGrid,
.splitGrid,
.launchGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.num {
  display: flex;
  align-items: center;
  gap: 0.86rem;
  margin-bottom: 1.25rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.num::after {
  content: "";
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

h1 {
  max-width: 8ch;
  font-size: clamp(4.4rem, 13vw, 10.5rem);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 32px rgba(35, 242, 207, 0.28),
    0 0 74px rgba(141, 60, 255, 0.26);
}

h1 span {
  display: block;
  color: var(--teal);
}

.subtitle {
  max-width: 43rem;
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 2.8vw, 2.15rem);
  font-weight: 640;
  line-height: 1.22;
}

.meta,
.verify,
.caLabel {
  color: var(--dim);
  font-family: var(--mono);
  text-transform: uppercase;
}

.meta {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.ctaRow,
.buyRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

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

.button.primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--teal), var(--cyan) 50%, var(--purple));
  color: #030305;
  box-shadow: 0 0 34px rgba(35, 242, 207, 0.26);
}

.button.line:hover {
  border-color: var(--purple);
  background: rgba(141, 60, 255, 0.12);
}

.heroVisual,
.fundPanel,
.pledgeGrid article,
.contractPlate code {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 13, 19, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.heroVisual {
  overflow: hidden;
}

.heroVisual img {
  width: 100%;
  aspect-ratio: 2.48;
  object-fit: cover;
}

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

.pledgeGrid article,
.fundPanel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.pledgeGrid article {
  min-height: 320px;
}

.pledgeGrid span,
.fundPanel span,
.ritual span {
  color: var(--purple);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pledgeGrid h2 {
  margin-top: 1rem;
  color: var(--teal);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.pledgeGrid p,
.fundPanel p,
.ritual p,
.footer p {
  color: var(--dim);
}

.pledgeGrid p,
.fundPanel p {
  margin-top: 1rem;
}

.omen {
  max-width: 24ch;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 760;
  line-height: 1.08;
}

.omen em,
.finalLine em {
  color: var(--teal);
  font-style: normal;
}

.fundPanel img {
  width: min(180px, 42vw);
  aspect-ratio: 1;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 44px rgba(35, 242, 207, 0.2),
    0 0 52px rgba(141, 60, 255, 0.18);
}

.fundPanel b {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.fundPanel a {
  display: inline-flex;
  margin-top: 1.35rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.ritual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.ritual::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, var(--teal), var(--purple));
}

.ritual article {
  position: relative;
  padding-left: 3.1rem;
}

.ritual article::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0.45rem;
  width: 13px;
  height: 13px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 14px rgba(35, 242, 207, 0.72);
}

.ritual h2 {
  margin-top: 0.25rem;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.center .num {
  justify-content: center;
}

.center .num::before {
  content: "";
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}

.finalLine {
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  font-weight: 820;
  line-height: 1.05;
}

.caLabel {
  margin-top: 2.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}

.contractPlate {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.8rem;
  max-width: 100%;
  margin-top: 0.86rem;
}

.contractPlate code {
  display: flex;
  min-height: 52px;
  align-items: center;
  max-width: min(680px, 100%);
  padding: 0.85rem 1rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1.5vw, 0.92rem);
  overflow-wrap: anywhere;
}

.copyButton {
  min-width: 96px;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #030305;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verify {
  max-width: 58rem;
  margin-top: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.footer {
  position: relative;
  z-index: 5;
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 88ch;
  font-size: 0.82rem;
}

.footer strong {
  color: var(--teal);
}

.footer span {
  display: block;
  margin-top: 1.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}

@keyframes grain {
  50% {
    transform: translate(3%, -3%);
  }
}

@media (max-width: 980px) {
  .wideOnly {
    display: none;
  }

  .heroGrid,
  .splitGrid,
  .launchGrid {
    grid-template-columns: 1fr;
  }

  .heroCopy,
  .center {
    text-align: center;
  }

  h1 {
    margin-inline: auto;
  }

  .hero .num,
  .ctaRow,
  .buyRow {
    justify-content: center;
  }

  .heroVisual {
    max-width: 680px;
    margin-inline: auto;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 1.4rem, 1180px);
  }

  .topbar {
    padding: 0.78rem 0.7rem;
  }

  .brand {
    gap: 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .brandMark {
    width: 34px;
    height: 34px;
  }

  .ticker {
    justify-content: flex-start;
    padding-inline: 0.8rem;
  }

  .ticker span:last-child {
    display: none;
  }

  .life {
    padding: 6rem 0;
  }

  .hero {
    padding-top: 7.2rem;
  }

  .num {
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .num::after,
  .center .num::before {
    width: 38px;
  }

  .contractPlate,
  .ctaRow,
  .buyRow {
    flex-direction: column;
  }

  .contractPlate code,
  .copyButton,
  .button {
    width: 100%;
  }
}

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

  .grain {
    animation: none;
  }
}
