@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cadenza Inter";
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

@font-face {
  font-family: "Cadenza Inter";
  src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("assets/fonts/Comfortaa.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --cyan: #2aceff;
  --cyan-soft: #19c8ef;
  --white: #f7f8f8;
  --panel: rgba(0, 0, 0, 0.2);
  --footer: rgba(0, 0, 0, 0.52);
  --motion-fast: 160ms;
  --motion-base: 260ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --desktop-scale: 1;
  --scaled-height: 4924px;
  --canvas-left: 0px;
  --full-bleed-left: 0px;
  --full-bleed-width: 1440px;
  --footer-inline-padding: 27px;
  --mid-header-top: 41px;
  --header-natural-top: 41;
  --header-sticky-top: 14;
}

* {
  box-sizing: border-box;
}

html {
  background-color: #002f39;
  background-image: url("assets/background.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  color: var(--white);
  background: transparent;
  font-family: "Raleway", "Helvetica Neue", "Cadenza Inter", Arial, sans-serif;
  font-size: 25px;
  font-weight: 300;
  overflow-x: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.site {
  position: relative;
  width: 100%;
  height: var(--scaled-height);
  overflow: clip;
  isolation: isolate;
  background: transparent;
}

.canvas {
  position: absolute;
  top: 0;
  left: var(--canvas-left);
  width: 1440px;
  height: 4924px;
  transform: scale(var(--desktop-scale));
  transform-origin: top left;
}

.site__background {
  position: absolute;
  z-index: -1;
  top: -140px;
  left: 0;
  width: 100%;
  height: calc(100% + 420px);
  object-fit: cover;
  transform: scaleY(-1);
  opacity: 0.98;
  pointer-events: none;
}

.header {
  position: absolute;
  z-index: 20;
  top: var(--mid-header-top);
  left: 0;
  width: 100%;
  height: 100px;
  margin-top: 0;
}

.brand {
  position: absolute;
  left: 173px;
  top: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 252px;
  height: 86px;
  padding: 0 16px;
  color: var(--cyan);
  text-decoration: none;
  font-family: "Comfortaa", sans-serif;
  font-size: 30px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 50px;
  background: transparent;
  pointer-events: auto;
  transition: transform var(--motion-base) var(--motion-ease),
    filter var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) ease,
    background var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    backdrop-filter var(--motion-base) ease;
}

.brand img {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: transform var(--motion-base) var(--motion-ease),
    filter var(--motion-base) var(--motion-ease);
}

.brand span {
  transition: transform var(--motion-base) var(--motion-ease),
    color var(--motion-base) ease,
    text-shadow var(--motion-base) ease;
}

.brand:focus-visible {
  outline: none;
}

.brand:focus-visible span {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(42, 206, 255, 0.48);
}

.nav {
  position: absolute;
  top: 1px;
  left: 462px;
  display: grid;
  grid-template-columns: 201px 211px 243px 151px;
  width: 806px;
  height: 95px;
  overflow: hidden;
  border: 2px solid var(--cyan);
  border-radius: 48px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  pointer-events: auto;
  transition: background var(--motion-base) ease,
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    backdrop-filter var(--motion-base) ease;
}

.header.is-scrolled .nav {
  border-color: rgba(42, 206, 255, 0.9);
  background: rgba(0, 20, 25, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
}

.header.is-scrolled .brand {
  border-color: rgba(42, 206, 255, 0.72);
  background: rgba(0, 20, 25, 0.88);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
}

.header.is-scrolled .brand img {
  transform: scale(0.92) rotate(-3deg);
  filter: drop-shadow(0 8px 16px rgba(42, 206, 255, 0.2));
}

.nav a {
  position: relative;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: color var(--motion-base) ease,
    background var(--motion-base) ease,
    transform var(--motion-base) var(--motion-ease),
    text-shadow var(--motion-base) ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 28%;
  bottom: 14px;
  left: 28%;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity var(--motion-fast) ease,
    transform var(--motion-base) var(--motion-ease);
}

.nav a:focus-visible {
  color: var(--cyan);
  background: rgba(42, 206, 255, 0.08);
  outline: 2px solid rgba(42, 206, 255, 0.72);
  outline-offset: -5px;
}

.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero {
  position: absolute;
  inset: 0 0 auto;
  height: 930px;
}

.about,
.how,
.download,
.faq {
  scroll-margin-top: 130px;
}

.hero h1 {
  position: absolute;
  top: 210px;
  left: 154px;
  width: 1132px;
  font-size: 70px;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -2.5px;
  text-align: center;
}

.hero h1 span,
h2 span,
.step h3,
.faq-card h3 {
  color: var(--cyan);
}

.hero__dancers {
  position: absolute;
  top: 440px;
  left: 180px;
  width: 700px;
  height: 649px;
}

.hero__dancer {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
}

.hero__dancer--right {
  top: 0;
  left: 50%;
  width: 500px;
  height: 625px;
  transform: translateX(-50%);
}

.hero__copy {
  position: absolute;
  top: 365px;
  left: 820px;
  width: 430px;
  height: 503px;
  text-align: right;
}

.hero__copy p {
  position: absolute;
  top: 152px;
  right: 0;
  width: 430px;
  line-height: 1.16;
}

.pill-button {
  position: absolute;
  top: 315px;
  right: 0;
  width: 274px;
  height: 106px;
  border: 2px solid var(--cyan);
  border-radius: 53px;
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.1);
  line-height: 1.05;
  transition: transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) ease,
    color var(--motion-base) ease,
    background var(--motion-base) ease,
    box-shadow var(--motion-base) ease;
}

.pill-button:focus-visible,
.store-button:focus-visible {
  background: rgba(42, 206, 255, 0.1);
  box-shadow: 0 12px 34px rgba(42, 206, 255, 0.13);
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 5px;
}

.about {
  position: absolute;
  top: 900px;
  left: 0;
  width: 100%;
  height: 900px;
}

.about h2 {
  position: absolute;
  top: 246px;
  left: 119px;
  font-size: 70px;
  font-weight: 300;
  letter-spacing: -2px;
}

.about h2 span {
  color: var(--white);
}

.about__copy {
  position: absolute;
  top: 361px;
  left: 119px;
  width: 540px;
  line-height: 1.16;
}

.about__copy p + p {
  margin-top: 28px;
}

.about__phone {
  position: absolute;
  top: 250px;
  left: 840px;
  width: 454px;
  height: 624px;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.5));
}

.how {
  position: absolute;
  top: 1750px;
  left: 0;
  width: 100%;
  height: 1160px;
}

.how h2 {
  position: absolute;
  top: 188px;
  right: 120px;
  font-size: 70px;
  font-weight: 300;
  letter-spacing: -2px;
}

.steps {
  position: absolute;
  top: 380px;
  left: 137px;
  width: 1183px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 169px 1fr;
  align-items: center;
  width: 100%;
  height: 201px;
  padding: 20px 105px 20px 5px;
  border: 3px solid var(--cyan);
  border-radius: 101px;
  background: rgba(0, 0, 0, 0.2);
}

.step + .step {
  margin-top: 83px;
}

.step + .step::before {
  content: "";
  position: absolute;
  top: -72px;
  left: 50%;
  height: 58px;
  border-left: 3px dotted #fff;
}

.step__number {
  color: var(--cyan);
  font-size: 70px;
  line-height: 1;
  text-align: center;
}

.step h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 300;
}

.step p {
  line-height: 1.18;
}

.download {
  position: absolute;
  top: 2978px;
  left: 63px;
  width: 1314px;
  height: 896px;
  border-radius: 57px;
  background: rgba(0, 0, 0, 0.26);
}

.download h2 {
  position: absolute;
  top: 82px;
  left: 220px;
  width: 874px;
  font-size: 70px;
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -2px;
  text-align: center;
}

.download__left {
  position: absolute;
  top: 272px;
  left: 76px;
  width: 311px;
  text-align: center;
}

.store-button {
  width: 311px;
  height: 106px;
  border: 2px solid var(--white);
  border-radius: 54px;
  background: rgba(0, 0, 0, 0.2);
  line-height: 1.05;
  transition: transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) ease,
    color var(--motion-base) ease,
    background var(--motion-base) ease,
    box-shadow var(--motion-base) ease;
}

.qr {
  width: 311px;
  height: 308px;
  margin-top: 35px;
  padding: 8px;
  overflow: hidden;
  border-radius: 51px;
  background: #d9d9d9;
}

.qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download__left p {
  margin-top: 28px;
  line-height: 1.12;
}

.download__copy {
  position: absolute;
  top: 272px;
  left: 467px;
  display: grid;
  place-items: center;
  width: 790px;
  height: 513px;
  padding: 60px;
  border: 3px solid var(--cyan);
  border-radius: 61px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  line-height: 1.22;
  text-align: center;
  transition: transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) ease,
    color var(--motion-base) ease,
    background var(--motion-base) ease,
    box-shadow var(--motion-base) ease;
}

.download__copy:focus-visible {
  background: rgba(42, 206, 255, 0.06);
  box-shadow: inset 0 0 40px rgba(42, 206, 255, 0.06);
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 5px;
}

.faq {
  position: absolute;
  top: 3790px;
  left: 0;
  width: 100%;
  height: 951px;
}

.faq h2 {
  position: absolute;
  top: 92px;
  left: 119px;
  font-size: 70px;
  font-weight: 300;
  letter-spacing: -2px;
}

.faq__grid {
  position: absolute;
  top: 282px;
  left: 67px;
  display: grid;
  grid-template-columns: 640px 640px;
  grid-auto-rows: 277px;
  gap: 27px 30px;
}

.faq-card {
  padding: 25px 42px;
  border: 1px solid var(--cyan);
  border-radius: 57px;
  background: rgba(0, 0, 0, 0.2);
  transition: transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) ease,
    background var(--motion-base) ease,
    box-shadow var(--motion-base) ease;
}

.faq-card h3 {
  margin: 0 0 23px;
  font-size: 25px;
  font-weight: 500;
  text-align: center;
}

.faq-card p {
  line-height: 1.18;
}

.footer {
  position: absolute;
  top: 4758px;
  left: var(--full-bleed-left);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--full-bleed-width);
  height: 166px;
  padding: 0 var(--footer-inline-padding);
  color: #868686;
  background: var(--footer);
  font-family: "Cadenza Inter", Arial, sans-serif;
  font-size: 15px;
}

.footer div {
  display: flex;
  gap: 44px;
}

.footer a {
  border: 0;
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: color var(--motion-base) ease,
    transform var(--motion-base) var(--motion-ease),
    text-shadow var(--motion-base) ease;
}

.footer a:focus-visible {
  color: var(--white);
  border-radius: 6px;
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

@media (min-width: 901px) {
  .brand:hover img {
    transform: scale(1.06) rotate(-4deg);
    filter: drop-shadow(0 10px 22px rgba(42, 206, 255, 0.28));
  }

  .brand:hover span {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(42, 206, 255, 0.42);
    transform: translateX(3px);
  }

  .nav a:hover {
    color: var(--cyan);
    background: linear-gradient(180deg, rgba(42, 206, 255, 0.1), rgba(42, 206, 255, 0.03));
    text-shadow: 0 0 18px rgba(42, 206, 255, 0.38);
    transform: translateY(-2px);
  }

  .nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .pill-button:hover,
  .store-button:hover,
  .download__copy:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(42, 206, 255, 0.12);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26),
      0 0 34px rgba(42, 206, 255, 0.16);
    transform: translateY(-5px) scale(1.015);
  }

  .faq-card:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 19, 24, 0.38);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
  }

  .footer a:hover {
    color: var(--white);
    text-shadow: 0 0 14px rgba(42, 206, 255, 0.34);
    transform: translateY(-2px);
  }
}

.pill-button:active,
.store-button:active,
.download__copy:active {
  transform: translateY(-2px) scale(1.04);
  transition-duration: 120ms;
}

.nav a:active,
.footer a:active {
  transform: translateY(0) scale(1.035);
  transition-duration: 120ms;
}

.brand:active {
  transform: scale(1.035);
  transition-duration: 120ms;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  padding: 14px 24px;
  border: 1px solid rgba(42, 206, 255, 0.8);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 23, 29, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  body {
    font-size: 15px;
  }

  .site {
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow: clip;
  }

  .canvas {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .site__background {
    position: fixed;
    inset: -20vh -30vw;
    width: 160vw;
    height: 140vh;
    transform: scaleY(-1);
  }

  .header,
  .hero,
  .about,
  .how,
  .download,
  .faq,
  .footer {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
  }

  .header {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    margin-top: 0;
    padding: 10px 16px;
    transition: background var(--motion-base) ease,
      box-shadow var(--motion-base) ease,
      backdrop-filter var(--motion-base) ease;
  }

  .header.is-scrolled {
    background: linear-gradient(
      180deg,
      rgb(0, 25, 31) 0%,
      rgb(0, 25, 31) 52%,
      rgba(0, 25, 31, 0.72) 78%,
      rgba(0, 25, 31, 0) 100%
    );
    box-shadow: none;
    backdrop-filter: none;
  }

  .brand {
    position: static;
    width: auto;
    height: 46px;
    padding: 0;
    border: 0;
    font-size: 19px;
  }

  .header.is-scrolled .brand {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .header.is-scrolled .brand img {
    transform: none;
    filter: drop-shadow(0 6px 12px rgba(42, 206, 255, 0.18));
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav {
    position: fixed;
    z-index: 30;
    top: auto;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: auto;
    height: 54px;
    border-radius: 27px;
    background: rgba(0, 18, 23, 0.86);
    backdrop-filter: blur(16px);
    font-size: 10px;
  }

  .nav a::after {
    right: 24%;
    bottom: 7px;
    left: 24%;
  }

  .about,
  .how,
  .download,
  .faq {
    scroll-margin-top: 94px;
  }

  .hero {
    display: block;
    padding: 46px 18px 72px;
  }

  .hero h1,
  .about h2,
  .how h2,
  .download h2,
  .faq h2 {
    position: static;
    width: auto;
    font-size: clamp(30px, 8.5vw, 44px);
    line-height: 1.06;
    letter-spacing: -1.4px;
    text-align: center;
  }

  .hero__dancers {
    position: relative;
    top: auto;
    left: 50%;
    width: min(370px, 96vw);
    height: 330px;
    margin: 28px 0 0;
    transform: translateX(-50%);
  }

  .hero__dancer--right {
    top: 0;
    left: 50%;
    width: 74%;
    height: 100%;
    transform: translateX(-50%);
  }

  .hero__copy {
    position: static;
    width: auto;
    height: auto;
    margin-top: 14px;
    text-align: center;
  }

  .hero__copy p {
    position: static;
    width: auto;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.45;
  }

  .pill-button {
    position: static;
    width: 204px;
    height: 68px;
    margin-top: 22px;
  }

  .about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 70px 22px 78px;
  }

  .about__copy,
  .about__phone {
    position: static;
  }

  .about__copy {
    width: auto;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.45;
  }

  .about__phone {
    width: min(240px, 64vw);
    height: auto;
    margin: 0 auto;
  }

  .how {
    padding: 68px 18px 80px;
  }

  .steps {
    position: static;
    width: auto;
    margin-top: 42px;
  }

  .step {
    grid-template-columns: 62px 1fr;
    height: auto;
    min-height: 152px;
    padding: 22px 20px 22px 10px;
    border-width: 2px;
    border-radius: 46px;
  }

  .step + .step {
    margin-top: 38px;
  }

  .step + .step::before {
    top: -31px;
    height: 24px;
    border-left-width: 2px;
  }

  .step__number {
    font-size: 36px;
  }

  .step h3 {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .download {
    margin: 0 14px;
    padding: 56px 16px 40px;
    border-radius: 36px;
  }

  .download__left,
  .download__copy {
    position: static;
  }

  .download__left {
    width: min(238px, 100%);
    margin: 38px auto 30px;
  }

  .store-button,
  .qr {
    width: 100%;
  }

  .qr {
    height: auto;
    aspect-ratio: 1;
    border-radius: 34px;
  }

  .download__copy {
    width: 100%;
    height: auto;
    min-height: 230px;
    padding: 30px 18px;
    border-width: 2px;
    border-radius: 44px;
  }

  .download__copy br {
    display: none;
  }

  .faq {
    padding: 78px 14px 96px;
  }

  .faq__grid {
    position: static;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 18px;
    margin-top: 40px;
  }

  .faq-card {
    min-height: 164px;
    padding: 22px;
    border-radius: 36px;
  }

  .faq-card h3 {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    min-height: 164px;
    padding: 34px 20px 80px;
    text-align: center;
  }

  .footer div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  :root {
    --header-natural-top: 18;
    --header-sticky-top: 10;
  }

  .header {
    height: 78px;
  }

  .brand {
    top: 4px;
    width: 244px;
    height: 70px;
    font-size: 24px;
  }

  .brand img {
    width: 60px;
    height: 60px;
  }

  .nav {
    top: 0;
    height: 78px;
    border-radius: 39px;
    font-size: 22px;
  }

  .nav a::after {
    bottom: 9px;
  }

  .hero h1 {
    top: 190px;
    font-size: 58px;
    line-height: 1.01;
  }

  .hero__dancers {
    top: 360px;
    transform: scale(0.72);
    transform-origin: top left;
  }

  .hero__copy {
    top: 300px;
    left: 750px;
    width: 430px;
    font-size: 22px;
  }

  .hero__copy p {
    top: 120px;
    width: 430px;
  }

  .pill-button {
    top: 260px;
    width: 250px;
    height: 90px;
    font-size: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
