body.home-page,
body.home-page * {
  letter-spacing: 0;
}

body.home-page {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: #f4f7fb;
  background: #020407;
  font-family: "Space Grotesk", sans-serif;
}

.home-page::before {
  z-index: -2;
  opacity: 0.3;
  background-image: linear-gradient(rgba(68, 244, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 244, 237, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

.py-hero {
  position: relative;
  min-height: 920px;
  padding-top: 98px;
  overflow: hidden;
  isolation: isolate;
  background-color: #020407;
  background-image: linear-gradient(90deg, rgba(2, 4, 7, 0.99) 0%, rgba(2, 4, 7, 0.88) 46%, rgba(2, 4, 7, 0.28) 76%, rgba(2, 4, 7, 0.72) 100%),
    url("assets/shots/revva-live-now.png");
  background-position: center, right -150px top -320px;
  background-repeat: no-repeat;
  background-size: cover, 690px auto;
}

.py-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(68, 244, 237, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 244, 237, 0.075) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent 8%, #000 82%);
}

.py-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 220px;
  background: linear-gradient(180deg, transparent, #020407 88%);
}

.py-hero-layout {
  position: relative;
  min-height: 710px;
  display: flex;
  align-items: center;
  padding: 38px 0 74px;
}

.py-hero-copy {
  position: relative;
  z-index: 3;
  width: min(720px, 62%);
}

.py-hero-brand {
  width: 500px;
  margin: 0 0 28px;
  filter: drop-shadow(0 0 24px rgba(68, 244, 237, 0.32));
}

.py-live-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 63, 85, 0.62);
  border-radius: 4px;
  color: #ffd3da;
  background: rgba(31, 6, 12, 0.76);
  font-family: "Oxanium", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.py-live-flag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rv-red);
  box-shadow: 0 0 14px var(--rv-red);
  animation: rv-status 1.8s ease-in-out infinite;
}

.py-kicker {
  margin: 0 0 14px;
  color: var(--rv-cyan);
  font-family: "Oxanium", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.py-hero h1,
.py-section h2,
.py-launch-copy h2,
.py-contact h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 0.98;
}

.py-hero h1 {
  max-width: 700px;
  font-size: 4.65rem;
}

.py-hero-lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: #b5c3d1;
  font-size: 1.06rem;
  line-height: 1.72;
}

.py-hero-mark {
  position: absolute;
  right: -52px;
  bottom: -70px;
  z-index: 2;
  width: 440px;
  height: 650px;
  overflow: hidden;
  pointer-events: none;
}

.py-hero-mark img {
  width: 440px;
  filter: drop-shadow(0 0 30px rgba(68, 244, 237, 0.4));
}

.py-scan-line {
  position: absolute;
  top: 130px;
  right: 7%;
  z-index: 1;
  width: 2px;
  height: 310px;
  background: linear-gradient(180deg, transparent, var(--rv-cyan), transparent);
  animation: rv-trace 4.5s linear infinite;
}

.py-launch-ribbon {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 94px;
  padding: 18px 24px;
  border-top: 1px solid rgba(68, 244, 237, 0.3);
  border-bottom: 1px solid rgba(68, 244, 237, 0.14);
  background: rgba(3, 9, 15, 0.88);
}

.py-launch-ribbon > span {
  color: var(--rv-red);
  font-family: "Oxanium", sans-serif;
  font-size: 0.72rem;
}

.py-launch-ribbon strong {
  color: #edf6fb;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
}

.py-launch-ribbon p {
  margin: 0;
  color: #8598aa;
  font-size: 0.84rem;
  line-height: 1.5;
}

.py-text-link {
  color: var(--rv-cyan);
  font-family: "Oxanium", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.py-text-link:hover,
.py-text-link:focus-visible {
  color: #ffffff;
}

.py-section,
.py-launch,
.py-contact {
  position: relative;
  padding: 118px 0;
}

.py-launch {
  overflow: hidden;
  background-color: #03070c;
  background-image: linear-gradient(120deg, rgba(68, 244, 237, 0.055), transparent 42%),
    linear-gradient(300deg, rgba(164, 99, 255, 0.05), transparent 44%);
}

.py-launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: 100px;
}

.py-launch-copy h2,
.py-section h2,
.py-contact h2 {
  max-width: 760px;
  font-size: 3.7rem;
}

.py-launch-copy > p:not(.py-kicker),
.py-contact-copy > p:not(.py-kicker) {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--rv-muted);
  line-height: 1.75;
}

.py-product-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(68, 244, 237, 0.16);
  background: rgba(68, 244, 237, 0.16);
}

.py-product-points > div {
  min-height: 102px;
  padding: 18px;
  background: #050d15;
}

.py-product-points span,
.py-studio-index {
  display: block;
  margin-bottom: 8px;
  color: var(--rv-red);
  font-family: "Oxanium", sans-serif;
  font-size: 0.67rem;
}

.py-product-points strong {
  color: #dbe7ee;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
}

.py-promo-figure {
  position: relative;
  margin: 0;
  justify-self: center;
}

.py-promo-figure::before {
  content: "";
  position: absolute;
  inset: 8% -10% -4%;
  z-index: 0;
  border: 1px solid rgba(68, 244, 237, 0.23);
  transform: skewY(-4deg);
}

.py-promo-figure::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: 44px;
  z-index: 2;
  width: 120px;
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--rv-red) 0 10px, transparent 10px 18px);
}

.py-promo-figure img {
  position: relative;
  z-index: 1;
  width: 390px;
  border: 1px solid rgba(68, 244, 237, 0.28);
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.64), 0 0 42px rgba(68, 244, 237, 0.12);
}

.py-studio {
  overflow: hidden;
  background-color: #020407;
  background-image: linear-gradient(rgba(68, 244, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 244, 237, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.py-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 56px;
}

.py-section-head > p {
  margin: 0;
  color: var(--rv-muted);
  line-height: 1.7;
}

.py-studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rv-line);
  border-left: 1px solid var(--rv-line);
}

.py-studio-item {
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid var(--rv-line);
  border-bottom: 1px solid var(--rv-line);
  background: rgba(4, 11, 18, 0.8);
}

.py-studio-item:nth-child(2) {
  background: linear-gradient(145deg, rgba(68, 244, 237, 0.07), rgba(164, 99, 255, 0.06));
}

.py-studio-item h3 {
  margin: 70px 0 14px;
  color: #f1f6f9;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.75rem;
}

.py-studio-item p {
  margin: 0;
  color: #91a3b4;
  line-height: 1.65;
}

.py-direction {
  background: #07080c;
}

.py-direction-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: 100px;
}

.py-direction-copy > p:not(.py-kicker) {
  margin: 26px 0 0;
  color: var(--rv-muted);
  line-height: 1.75;
}

.py-roadmap {
  border-top: 1px solid var(--rv-line);
}

.py-roadmap > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(190px, 0.7fr);
  gap: 20px;
  align-items: center;
  min-height: 106px;
  border-bottom: 1px solid rgba(68, 244, 237, 0.15);
}

.py-roadmap span {
  color: var(--rv-red);
  font-family: "Oxanium", sans-serif;
  font-size: 0.7rem;
}

.py-roadmap strong {
  color: #ecf3f7;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.24rem;
}

.py-roadmap small {
  color: #7d91a3;
  font-size: 0.78rem;
  line-height: 1.45;
}

.py-contact {
  overflow: hidden;
  background-color: #03070c;
  background-image: linear-gradient(120deg, rgba(255, 63, 85, 0.07), transparent 34%),
    linear-gradient(300deg, rgba(68, 244, 237, 0.07), transparent 38%);
}

.py-contact::before {
  content: "BUILD";
  position: absolute;
  right: -18px;
  bottom: -32px;
  color: rgba(255, 255, 255, 0.025);
  font-family: "Oxanium", sans-serif;
  font-size: 13rem;
  font-weight: 700;
}

.py-contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 80px;
}

.py-contact-actions {
  min-width: 280px;
}

.py-contact-actions .rv-button {
  width: 100%;
  margin-top: 10px;
}

.py-footer {
  margin: 0;
  padding: 38px 0;
  border-top: 1px solid rgba(68, 244, 237, 0.14);
  background: #010204;
}

.py-footer-layout {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 34px;
}

.py-footer-logo {
  width: 180px;
}

.py-footer p {
  margin: 0;
  color: #748699;
  font-size: 0.8rem;
}

.py-footer-links {
  display: flex;
  gap: 22px;
  color: #9aaabd;
  font-size: 0.8rem;
}

.py-footer-links a:hover,
.py-footer-links a:focus-visible {
  color: var(--rv-cyan);
}

@media (min-width: 861px) {
  .py-hero {
    min-height: 920px;
  }

  .py-launch-ribbon {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(calc(100% - 48px), var(--rv-max));
    transform: translateX(-50%);
  }
}

.home-page .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.home-page .reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .py-hero h1 {
    font-size: 4rem;
  }

  .py-hero-brand {
    width: 430px;
  }

  .py-hero-mark {
    right: -120px;
  }

  .py-launch-layout,
  .py-direction-layout {
    gap: 60px;
  }

  .py-launch-copy h2,
  .py-section h2,
  .py-contact h2 {
    font-size: 3.1rem;
  }
}

@media (max-width: 860px) {
  .py-hero {
    min-height: auto;
    padding-top: 68px;
    background-image: linear-gradient(180deg, rgba(2, 4, 7, 0.98) 0%, rgba(2, 4, 7, 0.9) 64%, rgba(2, 4, 7, 0.65) 100%),
      url("assets/shots/revva-live-now.png");
    background-position: center, right -240px bottom -260px;
    background-size: cover, 560px auto;
  }

  .py-hero-layout {
    min-height: 0;
    padding: 72px 0 440px;
  }

  .py-hero-copy {
    width: 100%;
  }

  .py-hero-mark {
    right: calc(50% - 230px);
    bottom: -168px;
    width: 460px;
    height: 620px;
  }

  .py-hero-mark img {
    width: 460px;
  }

  .py-launch-ribbon {
    grid-template-columns: auto 1fr;
  }

  .py-launch-ribbon .py-text-link {
    grid-column: 2;
  }

  .py-launch-layout,
  .py-section-head,
  .py-direction-layout,
  .py-contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .py-promo-figure {
    justify-self: center;
  }

  .py-studio-grid {
    grid-template-columns: 1fr;
  }

  .py-studio-item {
    min-height: 0;
  }

  .py-contact-actions {
    min-width: 0;
    width: min(100%, 420px);
  }

  .py-footer-layout {
    grid-template-columns: 170px 1fr;
  }

  .py-footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .py-hero-layout {
    padding: 54px 0 390px;
  }

  .py-hero-brand {
    width: min(100%, 350px);
    margin-bottom: 24px;
  }

  .py-hero h1 {
    font-size: 3.25rem;
  }

  .py-hero-lead {
    font-size: 0.98rem;
    line-height: 1.64;
  }

  .py-hero-mark {
    right: calc(50% - 185px);
    bottom: -150px;
    width: 370px;
    height: 560px;
  }

  .py-hero-mark img {
    width: 370px;
  }

  .py-launch-ribbon {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 14px;
  }

  .py-launch-ribbon .py-text-link {
    grid-column: auto;
  }

  .py-section,
  .py-launch,
  .py-contact {
    padding: 76px 0;
  }

  .py-launch-copy h2,
  .py-section h2,
  .py-contact h2 {
    font-size: 2.55rem;
  }

  .py-product-points {
    grid-template-columns: 1fr;
  }

  .py-promo-figure img {
    width: min(100%, 330px);
  }

  .py-section-head {
    margin-bottom: 38px;
  }

  .py-studio-item {
    padding: 25px;
  }

  .py-studio-item h3 {
    margin-top: 42px;
  }

  .py-roadmap > div {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 15px 0;
  }

  .py-roadmap small {
    grid-column: 2;
  }

  .py-contact::before {
    font-size: 7rem;
  }

  .py-footer-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .py-footer-links {
    grid-column: auto;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
