@font-face {
  font-family: "DM Sans";
  src: url("assets/font-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/font-1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #fff;
  --ink: #0b0b0c;
  --blue: #0529dc;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

button {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
  background: var(--canvas);
}

.container {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: 64px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.topbar.is-scrolled {
  border-color: rgba(11, 11, 12, 0.08);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
}

.topbar__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand,
.footer__brand > img {
  display: inline-flex;
  width: auto;
}

.brand img {
  width: auto;
  height: 28px;
  object-fit: contain;
}

.topbar__right,
.socials {
  display: flex;
  align-items: center;
}

.topbar__right {
  gap: 8px;
}

.social {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.55);
}

.social svg {
  width: 17px;
  height: 17px;
}

.topbar__divider {
  width: 1px;
  height: 16px;
  margin-inline: 6px;
  background: rgba(0, 0, 0, 0.15);
}

.action {
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

.action--small {
  height: 40px;
  padding: 0 20px;
  gap: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}

.arrow {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow--plain {
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  padding-top: 208px;
  padding-bottom: 96px;
}

.hero__copy {
  position: relative;
  z-index: 10;
}

.eyebrow {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.02);
  color: rgba(11, 11, 12, 0.65);
  font-size: 11px;
  letter-spacing: 0.025em;
}

.pulse {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
}

.pulse::before,
.pulse i {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 50%;
  background: var(--blue);
}

.pulse::before {
  opacity: 0.6;
  animation: ping 1.35s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    opacity: 0;
    transform: scale(2.35);
  }
}

.hero h1,
.identity h2,
.waiting h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 760px;
  color: #0b0b0c;
  font-size: clamp(64px, 5.1vw, 84px);
  line-height: 1;
}

.hero h1 span {
  color: rgba(11, 11, 12, 0.4);
}

.hero__body {
  max-width: 48ch;
  margin: 36px 0 0;
  color: rgba(11, 11, 12, 0.65);
  font-size: 17px;
  line-height: 1.6;
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
}

.action--primary,
.action--claim {
  height: 48px;
  padding: 0 8px 0 20px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
}

.action__circle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #000;
  background: #fff;
  font-style: normal;
}

.action--secondary {
  height: 48px;
  padding: 0 20px;
  color: rgba(11, 11, 12, 0.85);
  border: 1px solid rgba(11, 11, 12, 0.15);
  font-size: 13.5px;
}

.unlocks {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(11, 11, 12, 0.08);
}

.unlocks__label {
  flex: 0 0 auto;
  color: rgba(11, 11, 12, 0.35);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.unlocks__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.unlocks__items a {
  cursor: pointer;
  padding: 5px 12px;
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 999px;
  color: rgba(11, 11, 12, 0.65);
  background: rgba(11, 11, 12, 0.03);
  font-size: 12px;
  line-height: 1;
}

.unlocks__items em {
  padding-inline: 10px;
  color: rgba(11, 11, 12, 0.3);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-style: normal;
}

.card-stage {
  position: absolute;
  z-index: 0;
  top: -40px;
  right: -4%;
  bottom: 0;
  width: 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.card-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  max-width: 82%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 41, 220, 0.5), transparent 68%);
  filter: blur(80px);
  opacity: 0.4;
}

.card-stack {
  position: relative;
  width: min(330px, 65%);
  aspect-ratio: 4 / 5;
}

.polaroid {
  position: absolute;
  inset: 0;
  transform-origin: center;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.42))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
  user-select: none;
}

.polaroid[data-position="front"] {
  z-index: 3;
  transform: rotate(-2deg);
}

.polaroid[data-position="back-left"] {
  z-index: 2;
  transform: translate(-22px, 12px) scale(0.97) rotate(-7deg);
}

.polaroid[data-position="back-right"] {
  z-index: 1;
  transform: translate(26px, 20px) scale(0.97) rotate(6deg);
}

.identity {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.identity__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      58% 52% at 50% 100%,
      rgba(120, 145, 255, 0.42) 0%,
      rgba(90, 115, 245, 0.16) 46%,
      transparent 74%
    ),
    linear-gradient(
      #04081f 0%,
      #050b2e 40%,
      #071454 60%,
      #0a1f7a 78%,
      #1030e6 100%
    );
}

.identity__inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.identity__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.identity__meta span:last-child {
  color: rgba(255, 255, 255, 0.5);
}

.identity__meta svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.identity__copy {
  max-width: 672px;
  padding: 48px 0 96px;
}

.identity h2 {
  font-size: 62px;
  line-height: 0.98;
}

.identity__copy p {
  max-width: 576px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.65;
}

.identity__copy p + p {
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.waiting {
  border-top: 1px solid rgba(11, 11, 12, 0.08);
}

.waiting__inner {
  padding-top: 160px;
  padding-bottom: 160px;
  text-align: center;
}

.waiting h2 {
  max-width: 768px;
  margin-inline: auto;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.waiting p {
  max-width: 448px;
  margin: 24px auto 0;
  color: rgba(11, 11, 12, 0.55);
  font-size: 16px;
  line-height: 1.6;
}

.waiting__action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.action--claim {
  height: 54px;
  padding-left: 24px;
  font-size: 14.5px;
  box-shadow: 0 18px 50px -16px rgba(5, 41, 220, 0.9);
}

.footer {
  padding: 72px 0 28px;
  border-top: 1px solid rgba(11, 11, 12, 0.08);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 52px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 116px;
}

.footer__brand > img {
  height: 26px;
}

.ecosystem p {
  margin: 0 0 24px;
  color: rgba(11, 11, 12, 0.35);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 42px;
  color: rgba(11, 11, 12, 0.62);
  font-size: 15px;
  pointer-events: auto;
}

.ecosystem__grid a,
.social,
.theme-pill button {
  cursor: pointer;
}

.footer__bottom {
  min-height: 58px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(11, 11, 12, 0.08);
}

.footer__bottom p {
  margin: 0;
  color: rgba(11, 11, 12, 0.38);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 999px;
  color: rgba(11, 11, 12, 0.35);
  pointer-events: auto;
}

.theme-pill button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.theme-pill__active {
  color: var(--ink);
  background: rgba(11, 11, 12, 0.06);
}

.theme-pill svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1023px) {
  .container {
    width: min(calc(100% - 48px), var(--max));
  }

  .socials--top,
  .topbar__divider,
  .card-stage {
    display: none;
  }

  .hero__inner {
    padding-top: 176px;
  }

  .hero h1 {
    font-size: clamp(52px, 8vw, 64px);
  }
}

@media (max-width: 639px) {
  .container {
    width: calc(100% - 32px);
  }

  .topbar__right .action--small {
    height: 38px;
    padding-inline: 16px;
    font-size: 12px;
  }

  .hero__inner {
    padding-top: 128px;
    padding-bottom: 64px;
  }

  .eyebrow {
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -0.035em;
  }

  .hero__body {
    margin-top: 28px;
    font-size: 15px;
  }

  .hero__actions {
    margin-top: 36px;
    gap: 10px;
  }

  .action--primary,
  .action--secondary {
    font-size: 13px;
  }

  .unlocks {
    margin-top: 56px;
    padding-top: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .unlocks__label,
  .unlocks__items em {
    font-size: 10px;
  }

  .unlocks__items a {
    font-size: 11.5px;
  }

  .identity__inner {
    padding-top: 64px;
  }

  .identity__copy {
    padding: 40px 0 80px;
  }

  .identity h2 {
    font-size: 34px;
  }

  .identity__desktop-break {
    display: none;
  }

  .identity__copy p {
    font-size: 15px;
  }

  .waiting__inner {
    padding-top: 112px;
    padding-bottom: 112px;
  }

  .waiting h2 {
    font-size: 36px;
  }

  .waiting p {
    font-size: 15px;
  }

  .waiting p br {
    display: none;
  }

  .footer {
    padding-top: 56px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
