:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #222222;
  --line: rgba(0, 0, 0, 0.08);
  --font-display: "Oswald", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f2f2f2;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

.stage {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  background: #ececec;
}

.frame {
  width: 1920px;
  height: 1080px;
  display: grid;
  grid-template-columns: 1152px 768px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line), 0 18px 48px rgba(0, 0, 0, 0.12);
}

.panel--logo {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--bg);
  border-right: 1px solid var(--line);
  overflow: hidden;
  perspective: 1200px;
}

.logo-stage {
  width: 620px;
  height: 620px;
  display: grid;
  place-items: center;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.logo-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-style: preserve-3d;
  backface-visibility: visible;
  animation: spin-y 5.5s linear infinite;
  mix-blend-mode: lighten;
  user-select: none;
  pointer-events: none;
}

@keyframes spin-y {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.panel--slides {
  position: relative;
  height: 1080px;
  overflow: hidden;
  background: var(--bg);
  user-select: none;
}

.slides {
  height: 3240px;
  display: flex;
  flex-direction: column;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slide {
  width: 768px;
  height: 1080px;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 1080px;
}

.slide--fill {
  padding: 28px 46px 28px;
  align-items: stretch;
}

.fill-lines {
  width: 676px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
}

.fill-line-wrap {
  width: 676px;
  height: 64px;
  overflow: visible;
  display: flex;
  align-items: center;
  flex: 0 0 64px;
  opacity: 0;
  transform: translateY(12px);
}

.slide.is-active .fill-line-wrap {
  animation: line-reveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide.is-active .fill-line-wrap:nth-child(1) { animation-delay: 0.05s; }
.slide.is-active .fill-line-wrap:nth-child(2) { animation-delay: 0.18s; }
.slide.is-active .fill-line-wrap:nth-child(3) { animation-delay: 0.31s; }
.slide.is-active .fill-line-wrap:nth-child(4) { animation-delay: 0.44s; }
.slide.is-active .fill-line-wrap:nth-child(5) { animation-delay: 0.57s; }
.slide.is-active .fill-line-wrap:nth-child(6) { animation-delay: 0.7s; }
.slide.is-active .fill-line-wrap:nth-child(7) { animation-delay: 0.83s; }
.slide.is-active .fill-line-wrap:nth-child(8) { animation-delay: 0.96s; }
.slide.is-active .fill-line-wrap:nth-child(9) { animation-delay: 1.09s; }
.slide.is-active .fill-line-wrap:nth-child(10) { animation-delay: 1.22s; }

@keyframes line-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fill-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 64px;
  height: 64px;
  white-space: nowrap;
  width: max-content;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0;
  transform-origin: left center;
  will-change: transform;
  overflow: visible;
  padding: 0;
}

.slide--download {
  padding: 32px 40px 48px;
}

.download-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  position: relative;
}

.logo-stage--sm {
  width: 180px;
  height: 180px;
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.download-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 84px;
  line-height: 84px;
  height: 84px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.download-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 36px;
  height: 36px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.download-url-wrap {
  position: relative;
  display: inline-block;
  margin-top: 6px;
  font-size: 64px;
  line-height: 64px;
  height: 74px;
}

.download-url {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 64px;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border-bottom: 4px solid var(--ink);
  animation: link-pulse 1.4s ease-in-out infinite;
}

.click-cursor {
  position: absolute;
  width: 68px;
  height: 68px;
  left: calc(100% - 12%);
  top: 40px;
  pointer-events: none;
  transform-origin: 20% 10%;
  animation: cursor-click 1.4s ease-in-out infinite;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  z-index: 2;
}

@keyframes cursor-click {
  0%,
  100% {
    transform: translate(12px, 10px) scale(1);
  }
  35% {
    transform: translate(4px, 0) scale(1);
  }
  48% {
    transform: translate(4px, 4px) scale(0.88);
  }
  62% {
    transform: translate(4px, 0) scale(1);
  }
}

@keyframes link-pulse {
  0%,
  35%,
  100% {
    opacity: 1;
  }
  48% {
    opacity: 0.55;
  }
  62% {
    opacity: 1;
  }
}

.download-promo {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 40px;
  height: 40px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
