:root {
  --frame-width: 1280px;
  --frame-height: 924px;
  --source-scale: 0.646138;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #424258;
}

body {
  display: flex;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  background: #424258;
}

.hero-frame {
  position: relative;
  width: var(--frame-width);
  height: var(--frame-height);
  margin: 0 auto;
  overflow: hidden;
  background: #35ad58;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: var(--frame-width);
  height: var(--frame-height);
  display: block;
  user-select: none;
  pointer-events: none;
}

.logo-link,
.top-cta,
.app-cta {
  position: absolute;
  display: block;
  border: 0;
  text-decoration: none;
}

.logo-link {
  left: 236px;
  top: 31px;
  width: 83px;
  height: 37px;
}

.top-cta {
  left: 882px;
  top: 19px;
  width: 133px;
  height: 50px;
  border-radius: 25px;
}

.app-cta {
  left: 239px;
  top: 464px;
  width: 168px;
  height: 54px;
  overflow: hidden;
  border-radius: 30px;
}

.app-cta::before {
  position: absolute;
  left: 124px;
  top: 13px;
  z-index: 1;
  width: 31px;
  height: 28px;
  background: #121219;
  content: "";
}

.cta-arrow {
  position: absolute;
  left: 124px;
  top: 13px;
  z-index: 2;
  width: 27px;
  height: 27px;
  background: url("./assets/cta-arrow-original.png") center / 27px 27px no-repeat;
  transform: translateX(0);
  animation: arrow-nudge 8s ease-in-out infinite;
}

.cta-shine {
  position: absolute;
  top: -35%;
  left: -80px;
  z-index: 3;
  width: 88px;
  height: 170%;
  transform: skewX(-19deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 18%,
    rgba(255, 255, 255, 0.16) 38%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.16) 62%,
    rgba(255, 255, 255, 0.04) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(3px);
  opacity: 0;
  animation: cta-glide 4s cubic-bezier(0.18, 0.02, 0.18, 1) infinite;
}

@keyframes cta-glide {
  0%,
  56% {
    left: -80px;
    opacity: 0;
  }

  64% {
    opacity: 0.42;
  }

  78% {
    opacity: 0.7;
  }

  88% {
    left: 176px;
    opacity: 0.5;
  }

  100% {
    left: 176px;
    opacity: 0;
  }
}

@keyframes arrow-nudge {
  0%,
  70%,
  100% {
    transform: translateX(0);
  }

  73%,
  79% {
    transform: translateX(4px);
  }

  76%,
  82% {
    transform: translateX(0);
  }
}

.features-scroll {
  position: relative;
  width: var(--frame-width);
  height: 400vh;
  min-height: 2880px;
  margin: 0 auto;
  background: #ffffff;
}

.features-stage {
  position: sticky;
  top: 0;
  width: var(--frame-width);
  height: 100vh;
  min-height: 720px;
  max-height: 832px;
  overflow: hidden;
  background: #ffffff;
  color: #1b1c21;
}

.features-heading {
  position: absolute;
  top: 67px;
  left: 0;
  z-index: 10;
  width: 100%;
  text-align: center;
}

.features-heading p {
  margin: 0 0 17px;
  color: #24252a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.features-heading h2 {
  margin: 0;
  color: #17181d;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.34;
}

.feature-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.feature-panel.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

.feature-copy,
.feature-art {
  position: absolute;
}

.feature-panel--daily .feature-copy,
.feature-panel--talk .feature-copy {
  left: 240px;
  top: 337px;
}

.feature-panel--track .feature-copy {
  left: 505px;
  top: 356px;
}

.feature-title {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.headline-line {
  display: block;
  overflow: visible;
  white-space: nowrap;
}

.headline-line--first {
  color: #d9dade;
}

.headline-line--second {
  color: #303033;
}

.headline-line .char {
  display: inline-block;
  min-width: 0.24em;
  opacity: 0;
  transform: translateY(8px);
}

.headline-line .char-space {
  width: 0.27em;
  min-width: 0.27em;
}

.feature-panel.is-active .headline-line--first .char {
  animation: headline-wave 520ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
  animation-delay: calc(40ms + var(--char-index) * 14ms);
}

.feature-panel.is-active .headline-line--second .char {
  animation: headline-wave 520ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
  animation-delay: calc(440ms + var(--char-index) * 14ms);
}

.feature-description {
  margin: 27px 0 0;
  color: #242529;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: 0;
  opacity: 0;
}

.feature-panel.is-active .feature-description {
  animation: description-fade 200ms ease-out 1180ms both;
}

.feature-panel--daily .feature-art {
  top: 282px;
  left: 788px;
  width: 224px;
  height: 224px;
}

.feature-panel--track .feature-art {
  top: 248px;
  left: 233px;
  width: 252px;
  height: 252px;
}

.feature-panel--talk .feature-art {
  top: 275px;
  left: 806px;
  width: 232px;
  height: 220px;
}

.feature-art {
  display: block;
  object-fit: contain;
  opacity: 0;
  user-select: none;
  pointer-events: none;
  transition:
    transform 520ms cubic-bezier(0.5, 0, 1, 1),
    opacity 420ms ease-in;
}

.feature-panel--daily .feature-art,
.feature-panel--talk .feature-art {
  transform: translateX(64px);
}

.feature-panel--track .feature-art {
  transform: translateX(-64px);
}

.feature-panel.is-image-visible .feature-art {
  opacity: 1;
  transform: translateX(0);
}

.feature-progress {
  position: absolute;
  bottom: 61px;
  left: 50%;
  z-index: 12;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}

.feature-progress span {
  width: 56px;
  height: 2px;
  background: #e5e5e7;
  transition: background-color 180ms ease;
}

.feature-progress span.is-current {
  background: #27282d;
}

@keyframes headline-wave {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  46% {
    opacity: 0.78;
    transform: translateY(-2px);
  }

  72% {
    opacity: 1;
    transform: translateY(1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes description-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.journey-section {
  position: relative;
  width: var(--frame-width);
  height: 765px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  color: #17181d;
}

.journey-heading {
  position: absolute;
  top: 43px;
  left: 0;
  width: 100%;
  text-align: center;
}

.journey-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0;
}

.journey-carousel {
  position: absolute;
  top: 200px;
  left: 0;
  width: 100%;
  height: 480px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.journey-carousel.is-dragging {
  cursor: grabbing;
}

.journey-track {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  gap: 40px;
  width: max-content;
  height: 480px;
  transform: translate3d(var(--track-x, -2080px), 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 0.76, 0.24, 1);
  will-change: transform;
}

.journey-track.no-transition {
  transition: none;
}

.journey-card {
  position: relative;
  flex: 0 0 800px;
  width: 800px;
  height: 480px;
  overflow: hidden;
  border-radius: 48px;
  background: #202126;
}

.journey-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1);
  transition: transform 420ms cubic-bezier(0.22, 0.76, 0.24, 1);
}

.journey-card:hover img {
  transform: scale(1.1);
}

.journey-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 17, 21, 0) 48%,
    rgba(15, 17, 21, 0.16) 66%,
    rgba(15, 17, 21, 0.72) 100%
  );
  pointer-events: none;
}

.journey-card-copy {
  position: absolute;
  right: 40px;
  bottom: 38px;
  left: 40px;
  color: #ffffff;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.journey-card-copy h3 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

.journey-card-copy p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0;
}

.journey-progress {
  position: absolute;
  bottom: 43px;
  left: 50%;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}

.journey-progress span {
  width: 56px;
  height: 2px;
  background: #e5e5e7;
  transition: background-color 180ms ease;
}

.journey-progress span.is-current {
  background: #27282d;
}

.download-section {
  position: relative;
  width: var(--frame-width);
  height: 866px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  color: #17181d;
}

.download-phone {
  position: absolute;
  top: 98px;
  left: 249px;
  width: 370px;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0;
  transform: translateY(96px);
  user-select: none;
  pointer-events: none;
}

.download-copy {
  position: absolute;
  top: 210px;
  left: 714px;
}

.download-copy h2 {
  margin: 0;
  color: #17181d;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(12px);
}

.download-action {
  margin-top: 31px;
  opacity: 0;
  transform: translateY(12px);
}

.download-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 174px;
  height: 55px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(100deg, #5484ff 0%, #37a9ec 55%, #42d9d0 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.download-cta::before {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 72px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(174, 255, 246, 0.08) 20%,
    rgba(209, 255, 249, 0.42) 50%,
    rgba(174, 255, 246, 0.08) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(3px);
  content: "";
  transform: translateX(-100px) skewX(-16deg);
  animation: download-light-sweep 6s cubic-bezier(0.42, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.download-cta > span {
  position: relative;
  z-index: 1;
}

.download-cta-arrow {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: url("./assets/download-arrow-figma.svg") center / 22px 22px no-repeat;
}

.download-action p {
  margin: 18px 0 0;
  color: #77777b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.download-footer {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  width: 1280px;
  height: 162px;
  overflow: hidden;
}

.download-footer img {
  width: 1280px;
  height: 162px;
  display: block;
  object-fit: fill;
  pointer-events: none;
}

.footer-about-link,
.footer-contact-link {
  position: absolute;
  z-index: 2;
  display: block;
  cursor: pointer;
}

.footer-about-link {
  top: 76px;
  left: 681px;
  width: 52px;
  height: 44px;
}

.footer-contact-link {
  top: 76px;
  left: 730px;
  width: 90px;
  height: 44px;
}

.download-section.is-visible .download-phone {
  animation: download-phone-arrival 1s cubic-bezier(0.18, 0.78, 0.24, 1) both;
}

.download-section.is-visible .download-copy h2 {
  animation: download-copy-arrival 480ms cubic-bezier(0.22, 0.76, 0.24, 1) 400ms both;
}

.download-section.is-visible .download-action {
  animation: download-copy-arrival 440ms cubic-bezier(0.22, 0.76, 0.24, 1) 800ms both;
}

@keyframes download-phone-arrival {
  from {
    opacity: 0;
    transform: translateY(96px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes download-copy-arrival {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes download-light-sweep {
  0%,
  50% {
    opacity: 0;
    transform: translateX(-100px) skewX(-16deg);
  }

  58% {
    opacity: 0.72;
  }

  82% {
    opacity: 0.72;
  }

  92%,
  100% {
    opacity: 0;
    transform: translateX(240px) skewX(-16deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .headline-line .char,
  .feature-description,
  .feature-art {
    animation: none !important;
    transition: none !important;
  }

  .feature-panel.is-active .headline-line .char,
  .feature-panel.is-active .feature-description,
  .feature-panel.is-image-visible .feature-art {
    opacity: 1;
    transform: none;
  }

  .journey-track,
  .journey-card img {
    transition: none !important;
  }

  .download-phone,
  .download-copy h2,
  .download-action,
  .download-cta {
    animation: none !important;
  }

  .download-phone,
  .download-copy h2,
  .download-action {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1279px) {
  .page-shell {
    min-width: var(--frame-width);
  }
}

.about-body {
  display: block;
  min-width: 1280px;
  background: #17191f;
}

.about-page {
  position: relative;
  width: 1280px;
  min-height: max(720px, 100vh);
  margin: 0 auto;
  overflow: hidden;
  background: #17191f;
  color: #96979e;
}

.about-close {
  position: absolute;
  top: 40px;
  right: 239px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 96px;
  height: 40px;
  border-radius: 22px;
  background: #f7f7f8;
  color: #1b1c21;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.about-close-x {
  position: relative;
  width: 14px;
  height: 14px;
}

.about-close-x::before,
.about-close-x::after {
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #1b1c21;
  content: "";
}

.about-close-x::before {
  transform: rotate(45deg);
}

.about-close-x::after {
  transform: rotate(-45deg);
}

.about-content {
  width: 650px;
  margin-left: 260px;
  padding-top: 118px;
}

.about-section + .about-section {
  margin-top: 42px;
}

.about-section h1,
.about-section h2 {
  margin: 0 0 19px;
  background: linear-gradient(90deg, #5d8cff 0%, #51e9dc 34%);
  background-clip: text;
  color: transparent;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.about-section p {
  margin: 0;
  color: #96979e;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
}
