@font-face {
  font-family: 'Fira Sans';
  font-weight: 900;
  font-display: swap;
  src: url(../../assets/fonts/fira-sans-900.woff2) format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-weight: 700;
  font-display: swap;
  src: url(../../assets/fonts/fira-sans-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Overpass';
  font-weight: 100 900;
  font-display: swap;
  src: url(../../assets/fonts/overpass.woff2) format('woff2');
}
@font-face {
  font-family: 'Fira Code';
  font-weight: 300 700;
  font-display: swap;
  src: url(../../assets/fonts/fira-code.woff2) format('woff2');
}

:root {
  --yonder: #2e96f5;
  --neon-blue: #0960e1;
  --electric: #0042a6;
  --deep: #07173f;
  --rocket: #e43700;
  --martian: #8e1100;
  --yellow: #eafe07;
  --white: #ffffff;
  --slate: #4a5878;
  --line: rgba(255, 255, 255, 0.18);
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 6vw, 96px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--white);
  font-family: 'Overpass', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  background: var(--deep) linear-gradient(135deg, #0042a6 0%, #033a92 18%, #052d74 40%, #06215a 65%, #07173f 100%) fixed;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
img {
  max-width: 100%;
}

#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition:
    background 0.5s var(--expo),
    padding 0.5s var(--expo),
    box-shadow 0.5s;
}
.header.scrolled {
  background: var(--deep);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.lockup {
  display: grid;
  text-decoration: none;
}
.lockup img {
  width: clamp(130px, 13vw, 176px);
  height: auto;
  display: block;
}
.local {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 7px;
  margin: 4px 0 0 41%;
  font-weight: 700;
  font-size: clamp(9px, 0.8vw, 11px);
  letter-spacing: 0.06em;
  line-height: 1;
}
.local i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rocket);
}
.tags {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.tags span + span {
  color: var(--yonder);
}

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad) 80px;
}
.hero-copy {
  max-width: 720px;
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 28px;
}
.chips li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700;
  font-size: 16px;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chips svg {
  width: 20px;
  height: 20px;
  margin-top: -2px;
}
h1,
h2 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 900;
  margin: 0;
}
h1 {
  font-size: clamp(46px, 5.6vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.015em;
}
h1 span {
  display: block;
  color: var(--yonder);
}
.stripes {
  margin: 28px 0 0;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.3;
  max-width: 20em;
}
.stripes span {
  display: block;
}
.stripes span:nth-child(odd) {
  color: var(--yellow);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  padding: 17px 28px 14px;
  background: var(--yellow);
  color: var(--deep);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.5s var(--expo),
    box-shadow 0.5s var(--expo);
}
.button svg {
  width: 20px;
  height: 20px;
  margin-top: -3px;
  stroke-width: 2;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 6px rgba(234, 254, 7, 0.18),
    0 14px 40px -8px rgba(234, 254, 7, 0.45);
}
.button:active {
  transform: translateY(0);
}
.link {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100%/100% 2px no-repeat;
  transition: color 0.3s;
}
.link:hover {
  color: var(--rocket);
}
.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px 22px;
  margin: 48px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.countdown > span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.countdown b {
  font-family: 'Fira Code', monospace;
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 36px);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  align-self: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* About */
.about {
  padding: 120px var(--pad) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px clamp(32px, 6vw, 110px);
  align-items: end;
}
.about-intro p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
  margin: 18px 0 0;
}
.about-intro .lead {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  color: var(--white);
  margin-top: 26px;
}
.telemetry-wrap {
  align-self: end;
}
.telemetry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}
.telemetry > div {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}
.telemetry > div:nth-child(odd) {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.telemetry > div:nth-child(even) {
  padding-left: 24px;
}
.telemetry dd {
  margin: 0;
  font-family: 'Fira Code', monospace;
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.telemetry dt {
  order: 2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--yonder);
  margin-top: 6px;
}
.telemetry > div {
  display: flex;
  flex-direction: column-reverse;
}
.source {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 12px 0 0;
}
.perks {
  grid-column: 1/-1;
  margin-top: 40px;
}
.perks-title {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.15;
  margin: 0 0 34px;
}
.perks-title span {
  display: block;
  color: var(--yellow);
}
.perks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
}
.perks li {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}
.perks li::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--expo) calc(var(--d, 0s) + 0.2s);
}
.perks li.in::before {
  transform: scaleX(1);
}
.perks svg {
  width: 32px;
  height: 32px;
  color: var(--yellow);
}
.perks h4 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 21px;
  margin: 14px 0 6px;
}
.perks p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* Steps */
.participate {
  padding: 110px var(--pad) 40px;
}
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  position: relative;
  --progress: 0;
}
.steps::before,
.steps::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.steps::after {
  background: var(--yellow);
  transform: scaleX(var(--progress));
  transform-origin: left;
  box-shadow: 0 0 14px rgba(234, 254, 7, 0.6);
}
.steps li {
  position: relative;
  z-index: 1;
}
.node {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deep);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  font-family: 'Fira Code', monospace;
  font-weight: 500;
  font-size: 18px;
  transition:
    background 0.6s var(--expo),
    color 0.4s,
    box-shadow 0.6s var(--expo);
}
.steps li.on .node {
  background: var(--yellow);
  color: var(--deep);
  box-shadow:
    0 0 0 6px rgba(234, 254, 7, 0.16),
    0 0 28px rgba(234, 254, 7, 0.5);
}
.when {
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  color: var(--yonder);
  margin: 22px 0 4px;
}
.steps h3 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
}
.steps p:not(.when) {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Generator */
.generator {
  padding: 110px var(--pad) 120px;
}
.gen-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}
h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stripes.small {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 24px);
  text-align: right;
}
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.panel {
  background: var(--deep);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(24px, 3vw, 40px);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 34px;
}
fieldset:last-child {
  margin-bottom: 0;
}
legend {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  padding: 0;
  margin-bottom: 6px;
}
label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 15px;
  margin: 18px 0 8px;
}
label > span {
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
input:not([type='file']):not([type='range']) {
  width: 100%;
  padding: 14px 16px 12px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-size: 17px;
  transition:
    box-shadow 0.3s,
    background 0.3s;
}
input:not([type='file']):not([type='range']):focus {
  outline: 0;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 2px var(--yellow);
}
input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
input[type='range'] {
  width: 100%;
  accent-color: var(--yellow);
}
.upload {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 14px 0 0;
  padding: 30px 20px 26px;
  border-radius: 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.5s var(--expo);
}
.upload svg {
  width: 32px;
  height: 32px;
  color: var(--yellow);
  margin-bottom: 6px;
  transition: transform 0.5s var(--expo);
}
.upload:hover,
.upload.drag {
  border-color: var(--yellow);
  background: rgba(234, 254, 7, 0.06);
}
.upload:hover svg,
.upload.drag svg {
  transform: translateY(-4px);
}
.upload.drag {
  transform: scale(1.015);
}
.upload:focus-within {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.upload strong {
  font-size: 16px;
}
.upload > span {
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 12px 0 0;
}
.text-button {
  padding: 10px 0 0;
  border: 0;
  background: none;
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover {
  color: var(--rocket);
}

.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.stage-orbits {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}
.stage-orbits i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.stage-orbits i:nth-child(2) {
  inset: 14%;
}
.stage-orbits i:nth-child(3) {
  inset: 28%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.stage.launch .stage-orbits i {
  animation: ripple 1.1s var(--expo);
}
.stage.launch .stage-orbits i:nth-child(2) {
  animation-delay: 0.08s;
}
.stage.launch .stage-orbits i:nth-child(3) {
  animation-delay: 0.16s;
}
@keyframes ripple {
  0% {
    box-shadow: inset 0 0 0 2px rgba(234, 254, 7, 0.9);
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    box-shadow: inset 0 0 0 1px rgba(234, 254, 7, 0);
    transform: scale(1.08);
    opacity: 0.2;
  }
}
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.legend {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
}
.preview-toolbar > div {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.preview-toolbar button {
  border: 0;
  border-radius: 999px;
  background: none;
  padding: 8px 18px 6px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition:
    background 0.4s var(--expo),
    color 0.3s;
}
.preview-toolbar button[aria-pressed='true'] {
  background: var(--yellow);
  color: var(--deep);
}
.canvas-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.stage-foot {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
canvas#badge {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 6px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.8s var(--expo),
    box-shadow 0.8s var(--expo);
}
canvas#badge.story {
  width: auto;
  height: min(620px, 68vh);
  max-width: 100%;
}
canvas#badge.swap {
  animation: swap 0.7s var(--expo);
}
.stage.launch canvas#badge {
  animation: lift 1.1s var(--expo);
}
@keyframes swap {
  0% {
    opacity: 0.4;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
  }
}
@keyframes lift {
  0% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-18px) scale(1.02);
    box-shadow:
      0 50px 100px -20px rgba(0, 0, 0, 0.7),
      0 0 60px rgba(234, 254, 7, 0.35);
  }
  100% {
    transform: translateY(0);
  }
}
.export-meta {
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin: 16px 0 18px;
}
.download {
  width: 100%;
  display: flex;
}
.download:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
#message {
  min-height: 24px;
  margin: 12px 0 0;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

/* Perk modal */
.modal-open {
  overflow: hidden;
}
.perk {
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: clamp(32px, 4vw, 44px);
  border: 0;
  border-radius: 16px;
  background: var(--deep);
  color: var(--white);
  box-shadow:
    inset 0 0 0 2px var(--yellow),
    0 40px 120px -20px rgba(0, 0, 0, 0.7);
}
.perk[open] {
  animation: perk-in 0.7s var(--expo);
}
.perk::backdrop {
  background: rgba(7, 23, 63, 0.82);
}
.perk[open]::backdrop {
  animation: perk-backdrop-in 0.5s ease-out;
}
@keyframes perk-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}
@keyframes perk-backdrop-in {
  from {
    opacity: 0;
  }
}
.perk-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.3s;
}
.perk-close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.perk-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.perk-kicker {
  margin: 0 0 8px;
  padding-right: 44px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.perk h3 {
  margin: 0 0 14px;
  padding-right: 32px;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
}
.perk p {
  margin: 0;
}
.perk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 30px;
}
.perk-actions .text-button {
  padding: 0;
}

/* Join */
.join {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--deep);
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.join-orbits {
  position: absolute;
  right: 0;
  top: 50%;
  height: 140%;
  transform: translateY(-50%);
  stroke: var(--neon-blue);
  stroke-width: 1;
  opacity: 0.25;
}
.join-orbits circle {
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  transition: stroke-dashoffset 2.4s var(--expo);
}
.join.in .join-orbits circle {
  stroke-dashoffset: 0;
}
.join.in .join-orbits circle:nth-child(2) {
  transition-delay: 0.15s;
}
.join.in .join-orbits circle:nth-child(3) {
  transition-delay: 0.3s;
}
.join.in .join-orbits circle:nth-child(4) {
  transition-delay: 0.45s;
}
.join-copy {
  position: relative;
  max-width: 640px;
}
.join h2 span {
  color: var(--neon-blue);
}
.join p {
  font-size: clamp(19px, 1.6vw, 23px);
  color: var(--slate);
  margin: 22px 0 34px;
  max-width: 32em;
}
.join p a {
  color: var(--neon-blue);
  font-weight: 700;
  text-underline-offset: 4px;
}
.join p a:hover {
  color: var(--rocket);
}
.button.dark {
  background: var(--deep);
  color: var(--white);
}
.button.dark:hover {
  box-shadow:
    0 0 0 6px rgba(9, 96, 225, 0.18),
    0 14px 40px -8px rgba(7, 23, 63, 0.5);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px var(--pad);
  background: var(--deep);
}
footer img {
  width: 150px;
  height: auto;
}
footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--expo) var(--d, 0s),
    transform 1.2s var(--expo) var(--d, 0s);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
.stripes[data-reveal] span {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s var(--expo),
    transform 1s var(--expo);
}
.stripes[data-reveal].in span {
  opacity: 1;
  transform: none;
}
.stripes[data-reveal].in span:nth-child(1) {
  transition-delay: calc(var(--d, 0s) + 0.1s);
}
.stripes[data-reveal].in span:nth-child(2) {
  transition-delay: calc(var(--d, 0s) + 0.22s);
}
.stripes[data-reveal].in span:nth-child(3) {
  transition-delay: calc(var(--d, 0s) + 0.34s);
}
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .perks ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px clamp(20px, 3vw, 44px);
  }
}
@media (max-width: 900px) {
  .tags {
    font-size: 12px;
  }
  .hero {
    min-height: 0;
    padding-top: 42svh;
    padding-bottom: 60px;
  }
  .about {
    grid-template-columns: 1fr;
    padding-top: 80px;
    gap: 40px;
  }
  .perks {
    margin-top: 10px;
  }
  .participate {
    padding-top: 80px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .steps::before,
  .steps::after {
    top: 22px;
    bottom: 22px;
    left: 22px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .steps::after {
    transform: scaleY(var(--progress));
    transform-origin: top;
  }
  .steps li {
    padding-left: 70px;
  }
  .node {
    position: absolute;
    left: 0;
    top: 0;
  }
  .when {
    margin-top: 10px;
  }
  .gen-head {
    display: block;
  }
  .stripes.small {
    text-align: left;
    margin-top: 16px;
  }
  .studio {
    grid-template-columns: 1fr;
  }
  .stage-orbits {
    width: 120%;
  }
  canvas#badge.story {
    height: auto;
    width: 100%;
    max-width: 360px;
  }
  .join-orbits {
    opacity: 0.14;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
  footer p {
    text-align: left;
  }
}
@media (max-width: 520px) {
  .tags span:first-child {
    display: none;
  }
  .actions {
    gap: 20px;
  }
  .countdown {
    gap: 6px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal],
  .stripes[data-reveal] span {
    opacity: 1;
    transform: none;
  }
  .perks li::before {
    transform: scaleX(1);
  }
  .join-orbits circle {
    stroke-dashoffset: 0;
  }
}
