@font-face {
  font-family: Inter;
  src: url("./assets/inter-latin-400-normal.9698cc7dbf147ed363b6.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: Teodor;
  src: url("./assets/Teodor-Light.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #072723;
  --mint: #97fce4;
  --serif: Teodor, Georgia, serif;
  --intro-duration: 5s;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: #fff; font: 16px/1.5 Inter, system-ui, sans-serif; }
h1, h2, p, figure, dl, dd { margin: 0; }
h1, h2 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #287f70; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.narrow { display: none; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: var(--ink);
  touch-action: none;
  animation: intro var(--intro-duration) linear both;
}
@keyframes intro {
  0%, 92% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.site-header {
  position: fixed;
  z-index: 4;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 40px));
  min-height: 56px;
  padding: 6px 8px 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 40px;
  background: #fff;
  color: var(--ink);
}
.site-logo img { width: 180px; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.site-header nav a:not(.pill):hover { color: #287f70; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: 95px 20px 55px;
  overflow: hidden;
  text-align: center;
  background: var(--ink) url("./assets/landing_video_background.jpg") left top / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero-content { display: grid; justify-items: center; }
.hero h1 { font: clamp(56px, 6.25vw, 90px)/1 var(--serif); }
.hero p { margin-top: 32px; max-width: 600px; color: rgb(255 255 255 / 85%); line-height: 1.3; }
.actions { display: flex; justify-content: center; align-items: center; gap: 32px; }
.hero .actions { margin-top: 32px; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 23px;
  min-height: 42px;
  border: 1px solid var(--mint);
  border-radius: 60px;
  background: var(--mint);
  color: #193833;
  transition: color .25s, background .25s, border-color .25s;
}
.pill:hover { background: #c5fff1; border-color: #c5fff1; }
.pill.outline { color: var(--mint); background: transparent; }
.pill.outline:hover { color: var(--ink); background: var(--mint); border-color: var(--mint); }

.stack { background: #072724; }
.stack-track { position: relative; }
.stack h2 {
  display: flex;
  justify-content: center;
  gap: 12px;
  font: 30px/22px var(--serif);
  white-space: nowrap;
}
.stack h2 img { height: 28px; }
.stack-visual { position: relative; touch-action: pan-y; }
.stack-art { width: min(100%, max(0px, calc((100vh - 534px) * 408 / 391))); margin-inline: auto; }
.stack-art > svg, .stack-art picture img { display: block; width: 100%; height: auto; }
.stack-art > svg { overflow: hidden; }
.stack-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 16px;
  border: 0;
  background: transparent;
  color: var(--mint);
}
.previous { left: -32px; }
.next { right: -32px; }
.stack-copy { font-size: 12px; }
.stack-copy p:not([hidden]) { animation: stack-copy-in .3s ease-in both; }
@keyframes stack-copy-in { from { opacity: 0; } to { opacity: 1; } }
.stack-dots { display: flex; align-items: center; justify-content: center; gap: 5px; }
.stack-dots span { width: 4px; height: 4px; border-radius: 4px; background: #3a7267; transition: background .3s, width .3s; }
.stack-dots .active { width: 18px; background: #50d2c1; }
.stats {
  display: grid;
  border: 1px solid #23524c;
  text-align: center;
}
.stats dt { color: var(--mint); }

@media (max-width: 1000px) {
  .stack { background: var(--ink); }
  .stack-track {
    min-height: 100vh;
    padding: 0 40px;
    display: grid;
    grid-template-rows: 90px 30px minmax(100px, 1fr) 20px 130px 50px 174px 40px;
    align-items: center;
  }
  .stack-scroll, .stack-stage { display: contents; }
  .stack h2 { grid-row: 2; }
  .stack-visual { grid-row: 3; }
  .stack-art { transform: translateY(20px); width: min(100%, max(100px, calc((100vh - 534px) * 408 / 391))); }
  .stack-copy { grid-row: 5; }
  .stack-dots { grid-row: 6; }
  .stats { grid-row: 7; grid-template-columns: 1fr 1fr; gap: 40px; padding: 30px; border-radius: 14px; }
  .stats dt { font-size: 8px; }
  .stats dd { font-size: 16px; }
}

@media (min-width: 1001px) {
  .stack { overflow: clip; }
  .stack-track { padding-bottom: 150px; }
  .stack-scroll { height: 500vh; }
  .stack-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
  }
  .stack-visual { flex: none; }
  .stack h2 { gap: 24px; padding-top: 24px; transform: translateY(50px); font-size: 55px; line-height: 41.5px; }
  .stack h2 img { height: 42px; }
  .stack-art { width: min(1320px, max(360px, calc((100vh - 330px) * 2100 / 860))); height: calc(min(1320px, max(360px, calc((100vh - 330px) * 2100 / 860))) * 860 / 2100); }
  .stack-arrow, .stack-copy, .stack-dots { display: none; }
  .stats { margin: 60px auto 0; width: min(1200px, calc(100% - 40px)); grid-template-columns: repeat(4, 1fr); padding: 40px 20px; border-radius: 12px; }
  .stats div + div { border-left: 1px solid #23524c; }
  .stats dt { font-size: 20px; }
  .stats dd { font-size: 35px; line-height: 35px; }
}

.community {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100vh;
  padding: 32px 20px;
  background: #f5fefd url("./assets/wave.svg") center / var(--wave-size, 100%) no-repeat;
  text-align: center;
  color: var(--ink);
}
.community p { font-size: 20px; padding-top: 40px; }
.community p br { display: none; }
.community h2 { font: 90px/1 var(--serif); }
@media (max-width: 1000px) {
  .community { min-height: 50vh; background-image: url("./assets/mobileWave.svg"); }
  .community p { font-size: 12px; padding-top: 20px; }
  .community p br { display: inline; }
  .community h2 { font-size: 40px; }
}
.token {
  padding: 160px 20px;
  background: #edfffc url("./assets/verticals.svg") center bottom no-repeat;
  text-align: center;
}
.token h2 { max-width: 800px; margin: 0 auto 30px; color: #687f7a; font: clamp(40px, 5vw, 60px)/1 var(--serif); letter-spacing: -.03em; }
.token strong { color: var(--ink); font-weight: 400; }

.footer { background: var(--ink); }
.footer-wordmark { display: flex; align-items: flex-end; justify-content: center; gap: 16px; background: #dbfbf6; padding: 250px 20px 0; }
.footer-wordmark picture { flex: 0 1 1060px; min-width: 0; }
.footer-wordmark picture img { width: 100%; }
.wordmark-blob { width: clamp(60px, 10vw, 140px); align-self: center; margin-top: -105px; }
.footer-content { padding-block: 37px; }
.socials { display: flex; align-items: center; flex-direction: row-reverse; gap: 24px; }
.socials img { width: 28px; height: 28px; object-fit: contain; }
.footer-meta { margin-top: 37px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; }
.footer-links:last-child { justify-content: flex-end; }
.footer-links a:hover, .socials a:hover { color: var(--mint); opacity: .8; }

@media (max-width: 767px) {
  .wide { display: none; }
  .narrow { display: inline; }
  .site-header {
    top: 25px;
    min-height: 42px;
    padding: 0 12px 0 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    border-radius: 22px;
  }
  .site-logo img { width: 128px; }
  .menu-toggle { display: grid; place-items: center; width: 36px; height: 42px; padding: 0; border: 0; background: transparent; }
  .site-header nav { display: none; grid-column: 1 / -1; gap: 0; align-items: stretch; padding-bottom: 8px; }
  .site-header nav a { display: flex; align-items: center; min-height: 40px; }
  .site-header nav a:not(.pill) { border-top: 1px solid #e3efec; }
  .site-header nav .pill { align-self: flex-start; margin-top: 4px; }
  .site-header.nav-open nav, .site-header:not(.has-menu) nav { display: grid; }
  .site-header:not(.has-menu) .menu-toggle { display: none; }
  .hero { padding-block: 85px 75px; }
  .hero-video { object-position: left center; }
  .hero-mark { width: 80px; height: 80px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(38px, 14vw, 55px); letter-spacing: -.055em; }
  .hero p { font-size: 14px; margin-top: 20px; max-width: 300px; }
  .hero .actions { margin-top: 50px; }
  .actions { gap: 10px; }
  .token { background-image: url("./assets/mobileVerticals.svg"); background-size: 100% auto; padding: 40px 20px 160px; }
  .token h2 { max-width: 310px; font-size: 30px; }
  .footer-wordmark { gap: 6px; padding: 125px 0 0 12px; }
  .wordmark-blob { width: 45px; margin-top: -48px; }
  .footer-content { padding-block: 16px 24px; }
  .socials { flex-direction: row; justify-content: flex-start; gap: 16px; }
  .socials img { width: 22px; height: 22px; }
  .footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 22px; }
  .footer-meta > img { order: 1; width: 42px; height: 42px; }
  .footer-links { font-size: 10px; gap: 8px 16px; }
  .footer-links:last-child { order: 2; justify-content: flex-start; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hero-video, .splash img { display: none; }
  .stack-copy p:not([hidden]) { animation: none; }
}
