@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Teodor;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Teodor-Light.woff2") format("woff2");
}

@font-face {
  font-family: Teodor;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Teodor-LightItalic.woff2") format("woff2");
}

@keyframes mask-reveal {
  from {
    -webkit-mask-size: 100%;
    mask-size: 100%;
  }
  to {
    -webkit-mask-size: 20000%;
    mask-size: 20000%;
  }
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: #04060c;
  color: rgba(255, 255, 255, 0.92);
  font-family: Inter, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.page {
  overflow-x: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  padding: 9px 24px;
  line-height: 24px;
  white-space: nowrap;
  font-weight: 400;
  transition: background 0.3s, color 0.3s;
}

.btn-solid {
  background: rgb(151, 252, 228);
  color: rgb(25, 56, 51);
}

.btn-solid:hover {
  background: #50d2c1;
  color: #193833;
}

.btn-solid:active {
  background: #33998c;
  color: #193833;
}

.btn-outline {
  background: transparent;
  color: rgb(151, 252, 228);
  border: 1px solid rgb(151, 252, 228);
  padding: 8px 24px;
}

.btn-outline:hover {
  color: #50d2c1;
}

.btn-outline:active {
  color: #33998c;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(7, 39, 35);
}

.reveal.is-gone {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden;
  opacity: 0;
}

.loader.is-done {
  display: none !important;
  pointer-events: none !important;
}

.mask-preload {
  visibility: hidden;
  width: 1px;
  height: 1px;
  position: absolute;
}

.reveal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background: rgb(7, 39, 35);
  -webkit-mask: url("../images/mask.svg") no-repeat center center;
  mask: url("../images/mask.svg") no-repeat center center;
  -webkit-mask-size: 100%;
  mask-size: 100%;
}

.reveal.is-safari {
  -webkit-mask: none;
  mask: none;
}

.reveal.run {
  animation: mask-reveal 2s ease-in forwards;
}

.reveal.run-safari {
  animation: fade-out 1s ease-in forwards;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: 420px;
  max-width: calc(100vw - 32px);
  background: #000;
  border: 1px solid #292929;
  border-radius: 8px;
  overflow: hidden;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #292929;
  font-size: 16px;
}

.modal-body {
  padding: 20px;
  color: #9aa3a4;
  font-size: 12px;
}

.modal-foot {
  padding: 20px;
  border-top: 1px solid #292929;
}

.modal-continue {
  display: block;
  background: #97fce4;
  color: #000;
  text-align: center;
  font-size: 12px;
  line-height: 39px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.modal-continue:hover {
  background: #50d2c1;
  color: #193833;
}

.topbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5000;
  width: 1200px;
  max-width: calc(100vw - 40px);
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 8px 8px 16px;
  background: #fff;
  border-radius: 37px;
}

.nav-logo img {
  width: 179px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a:not(.btn) {
  color: rgb(7, 39, 35);
  line-height: 40px;
  transition: color 0.2s ease-in-out;
}

.nav-links a:not(.btn):hover {
  color: #349a8d;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  position: fixed;
  inset: 84px 20px auto;
  z-index: 5001;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border-radius: 24px;
  color: rgb(7, 39, 35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

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

.mobile-menu a {
  padding: 10px 8px;
  color: rgb(7, 39, 35);
}

.mobile-menu .btn {
  margin-top: 8px;
  align-self: flex-start;
}

.hero {
  position: relative;
  z-index: 2;
  height: 100vh;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../images/landing_video_background.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: 1200px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  position: relative;
  z-index: 6;
}

.hero-cta .connect_wallet,
button.connect_wallet,
a.connect_wallet {
  position: relative;
  z-index: 6;
  pointer-events: auto !important;
  cursor: pointer;
}

.hero-blob {
  height: 100px;
  width: auto;
  margin-bottom: 0;
}

.hero-title {
  margin: 0;
  font-family: Teodor, Georgia, Garamond, serif;
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.05;
  color: #fff;
  max-width: 1100px;
}

.hero-text {
  margin: 0;
  padding-top: 32px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
}

.stack {
  position: relative;
  height: 500vh;
  background: rgb(7, 39, 36);
}

.stack-pin {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  max-width: calc(100vw - 40px);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 100px;
  z-index: 1;
}

.stack-head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 24px;
  transform: translateY(50px);
  font-family: Teodor, Georgia, Garamond, serif;
  font-size: 55px;
  color: rgba(255, 255, 255, 0.92);
}

.stack-head span {
  line-height: 41.5px;
}

.stack-head img {
  width: 250px;
  height: auto;
  margin-top: 2px;
}

.stack-diagram-wrap {
  text-align: center;
}

.stack-diagram {
  width: 100%;
}

.stack-diagram svg {
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.stats {
  background: rgb(7, 39, 36);
  padding: 60px 0 150px;
}

.stats-row {
  width: 1200px;
  max-width: calc(100vw - 40px);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 20px;
  border: 1px solid #23524c;
  border-radius: 12px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.stat-label {
  font-size: 20px;
  color: #97fce4;
}

.stat-value {
  font-size: 35px;
  line-height: 35px;
  color: #fff;
}

.stat-divider {
  width: 1px;
  height: 90px;
  background: #23524c;
}

.community {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: #f5fefd url("../images/wave.svg") no-repeat center center;
  background-size: 100%;
  text-align: center;
}

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

.community-kicker {
  margin: 0;
  padding-top: 40px;
  color: #072723;
  font-size: 20px;
}

.community-title {
  margin: 0;
  color: #072723;
  font-family: Teodor, Georgia, Garamond, serif;
  font-weight: 400;
  font-size: 90px;
  max-width: 1000px;
  line-height: 90px;
}

.hype {
  padding: 160px 0;
  position: relative;
  text-align: center;
  background: rgb(237, 255, 252) url("../images/verticals.svg") no-repeat center bottom;
}

.hype-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hype-title {
  margin: 0;
  font-family: Teodor, Georgia, Garamond, serif;
  font-weight: 400;
  color: #b0c5c1;
  font-size: 60px;
  letter-spacing: -0.03em;
  line-height: 100%;
  transition: color 0.3s ease-in-out;
}

.hype-title:hover {
  color: #072723;
}

.hype-title span {
  color: #072723;
}

.hype-cta {
  display: flex;
  gap: 32px;
  padding-top: 32px;
}

.brandmark {
  display: flex;
  justify-content: center;
  width: 100%;
  background: rgb(219, 251, 246);
  position: relative;
}

.brandmark-logo {
  padding-top: 250px;
  margin-bottom: -5px;
  width: calc(1200px - 140px);
  max-width: calc(100vw - 200px);
  height: auto;
}

.brandmark-logo.mobile-only {
  display: none;
}

.brandmark-blob {
  height: 140px;
  width: auto;
  margin-top: 180px;
  transform: translateX(40px);
}

.footer {
  background: rgb(7, 39, 35);
  position: relative;
}

.footer-inner {
  width: 1200px;
  max-width: calc(100vw - 40px);
  margin: 0 auto;
  padding: 37px 0;
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.footer-social {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-social a {
  display: flex;
  transition: opacity 0.2s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  font-size: 12px;
  color: #fff;
}

.footer-links a {
  transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
  color: #97fce4;
}

.footer-links.end {
  justify-content: flex-end;
}

.footer-blob {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .hero-cta {
    gap: 16px;
  }

  .stack {
    height: auto;
    min-height: 100vh;
    padding: 120px 20px 60px;
  }

  .stack-pin {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    transform: none;
    left: auto;
    width: 100%;
    height: auto;
    gap: 40px;
  }

  .stack-head {
    font-size: 36px;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stack-head img {
    width: 180px;
  }

  .stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .stat-divider {
    display: none;
  }

  .community {
    background-image: url("../images/mobileWave.svg");
  }

  .community-title {
    font-size: 48px;
    line-height: 52px;
  }

  .hype {
    padding: 100px 20px;
    background-image: url("../images/mobileVerticals.svg");
    background-size: 100% auto;
  }

  .hype-title {
    font-size: 32px;
  }

  .brandmark-logo.desktop-only {
    display: none;
  }

  .brandmark-logo.mobile-only {
    display: block;
    padding-top: 120px;
    width: calc(100vw - 80px);
    max-width: none;
  }

  .brandmark-blob {
    height: 90px;
    margin-top: 80px;
    transform: translateX(12px);
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links.end {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-text br {
    display: none;
  }

  .stat-label {
    font-size: 14px;
  }

  .stat-value {
    font-size: 22px;
    line-height: 24px;
  }

  .community-kicker {
    font-size: 16px;
  }
}
