@font-face {
  font-family: "Nunito";
  src: url("assets/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --purple: #542e91;
  --purple-deep: #32165f;
  --purple-bright: #7a43c6;
  --yellow: #ffdd00;
  --cyan: #24c3e2;
  --ink: #16131b;
  --paper: #f5f4f7;
  --chapter-progress: 0;
  --chapter-shift: -18px;
  --copy-shift: 5px;
  --halo-opacity: 0.56;
  --halo-scale: 0.86;
  color-scheme: light;
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  touch-action: pan-y;
}

body,
button,
a {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  color: var(--purple);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 0;
  width: 100%;
  padding: 0 18px;
  pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, 100%);
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 10px 8px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(120deg, #7544bc, #482180);
  box-shadow:
    0 16px 45px rgba(36, 14, 69, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  pointer-events: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.header-inner::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 15%;
  width: 48%;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(18px);
  transform: rotate(-8deg);
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
}

.brand img {
  width: 142px;
  height: auto;
}

.header-branding {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-product {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.header-cta {
  position: relative;
  z-index: 1;
  justify-self: end;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--yellow);
  color: #34205b;
  box-shadow: 0 7px 20px rgba(31, 14, 60, 0.18);
  font-size: 13px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  box-shadow: 0 10px 25px rgba(31, 14, 60, 0.25);
  transform: translateY(-1px);
}

.chapter {
  position: relative;
  height: 270svh;
  background: var(--paper);
}

.chapter-one {
  height: 250svh;
}

.chapter-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: inherit;
}

.chapter-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(20px, 5vw, 96px);
  width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 104px clamp(30px, 5.3vw, 84px) 32px;
}

.chapter-layout-reverse {
  grid-template-columns: minmax(430px, 1.08fr) minmax(0, 0.92fr);
}

.chapter-layout-reverse .chapter-copy {
  order: 2;
}

.chapter-layout-reverse .phone-stage {
  order: 1;
}

.chapter-copy {
  position: relative;
  z-index: 4;
  max-width: 650px;
  transform: translate3d(0, var(--copy-shift), 0);
  will-change: transform;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--purple-bright);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.025em;
}

.eyebrow span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: #37205d;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-app-icon {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 0 22px;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(41, 21, 66, 0.2);
}

.chapter h1,
.chapter h2,
.download-section h2 {
  margin: 0;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.chapter h1 {
  max-width: 760px;
  font-size: clamp(58px, 6vw, 90px);
}

.chapter h2 {
  font-size: clamp(56px, 5.7vw, 86px);
}

.chapter h1 em,
.chapter h2 em,
.download-section h2 em {
  color: var(--purple);
  font-style: normal;
}

.chapter-intro {
  max-width: 540px;
  margin: 28px 0 0;
  color: #5d5864;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 520;
  letter-spacing: -0.015em;
  line-height: 1.42;
}

.store-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.store-badge {
  display: block;
  height: 50px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 12px 30px rgba(22, 17, 28, 0.16);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.store-badge:hover {
  box-shadow: 0 16px 35px rgba(22, 17, 28, 0.24);
  transform: translateY(-2px);
}

.store-badge img {
  display: block;
  width: auto;
  height: 100%;
}

.phone-stage {
  --phone-rotation: -1.2deg;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 650px);
  height: min(86svh, 880px);
  margin: 0;
  transform: translate3d(0, var(--chapter-shift), 0);
  will-change: transform;
}

.chapter-layout-reverse .phone-stage {
  --phone-rotation: 1.2deg;
}

.chapter-one .phone-stage {
  --phone-mask-bottom: 90%;
}

.chapter-two .phone-stage {
  --phone-mask-bottom: 94%;
}

.chapter-three .phone-stage {
  --phone-mask-bottom: 95%;
}

.chapter-four .phone-stage {
  --phone-mask-bottom: 97%;
}

.phone-halo {
  position: absolute;
  z-index: -1;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(105, 59, 175, 0.17);
  filter: blur(42px);
  opacity: var(--halo-opacity);
  transform: scale(var(--halo-scale));
}

.rotato-video,
.phone-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: min(83svh, 850px);
  max-width: 100%;
  object-fit: contain;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 var(--phone-mask-bottom, 94%), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 var(--phone-mask-bottom, 94%), transparent 100%);
  mask-composite: intersect;
  transform: translate(-50%, -50%) rotate(var(--phone-rotation));
  transform-origin: center;
}

.rotato-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 300ms ease;
}

.phone-poster {
  z-index: 1;
  opacity: 1;
  transition: opacity 220ms ease;
}

.phone-stage.has-video .rotato-video {
  opacity: 1;
}

.phone-stage.has-video .phone-poster {
  opacity: 0;
}

.screen-callouts {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.screen-callout {
  position: absolute;
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 14px 35px rgba(42, 23, 65, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: #403747;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.screen-callout::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 0 5px rgba(122, 67, 198, 0.11);
}

.screen-callout::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 67, 198, 0.55), rgba(122, 67, 198, 0.08));
}

.screen-callout.callout-left {
  left: -1%;
  max-width: 190px;
  transform: translate3d(-8px, -50%, 0);
}

.screen-callout.callout-left::after {
  left: 100%;
}

.screen-callout.callout-right {
  right: -1%;
  max-width: 205px;
  transform: translate3d(8px, -50%, 0);
}

.screen-callout.callout-right::after {
  right: 100%;
  background: linear-gradient(90deg, rgba(122, 67, 198, 0.08), rgba(122, 67, 198, 0.55));
}

.screen-callout.callout-upper {
  top: 29%;
}

.screen-callout.callout-middle {
  top: 49%;
}

.screen-callout.callout-lower {
  top: 70%;
}

.screen-callout.is-active {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.chapter-dark .screen-callout {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(25, 20, 31, 0.72);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.chapter-dark .screen-callout::before {
  background: #b58ae9;
  box-shadow: 0 0 0 5px rgba(181, 138, 233, 0.12);
}

.chapter-dark .screen-callout::after {
  background: linear-gradient(90deg, rgba(181, 138, 233, 0.55), rgba(181, 138, 233, 0.08));
}

.chapter-dark .screen-callout.callout-right::after {
  background: linear-gradient(90deg, rgba(181, 138, 233, 0.08), rgba(181, 138, 233, 0.55));
}

.chapter-atmosphere {
  position: absolute;
  pointer-events: none;
}

.chapter-atmosphere {
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.chapter-atmosphere::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -17%;
  width: 64vw;
  height: 64vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 71, 183, 0.11), transparent 68%);
  transform: translateY(var(--copy-shift));
}

.scroll-cue {
  position: absolute;
  z-index: 8;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #726b78;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: relative;
  width: 20px;
  height: 29px;
  border: 1.5px solid rgba(70, 60, 78, 0.42);
  border-radius: 999px;
}

.scroll-cue span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--purple);
  transform: translateX(-50%);
  animation: scroll-dot 1.7s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 7px); }
}

.chapter-dark {
  background: #09080b;
  color: white;
}

.chapter-dark .chapter-intro {
  color: rgba(255, 255, 255, 0.62);
}

.chapter-dark .eyebrow,
.chapter-dark h2 em {
  color: #b58ae9;
}

.chapter-dark .phone-halo {
  background: rgba(95, 54, 157, 0.4);
  filter: blur(55px);
}

.chapter-two .chapter-atmosphere::before {
  top: -7%;
  right: auto;
  left: -17%;
  background: radial-gradient(circle, rgba(49, 190, 220, 0.2), rgba(89, 47, 146, 0.12) 38%, transparent 68%);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 650;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.chapter-three {
  background: #ece8f3;
}

.chapter-three .chapter-atmosphere::before {
  top: 5%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(109, 61, 173, 0.09) 44%, transparent 68%);
}

.glass-proof {
  display: grid;
  width: min(390px, 100%);
  margin-top: 30px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow:
    0 18px 50px rgba(61, 37, 90, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.glass-proof strong {
  color: var(--purple);
  font-size: 15px;
  font-weight: 750;
}

.glass-proof span {
  margin-top: 2px;
  color: #625b68;
  font-size: 13px;
  font-weight: 520;
}

.chapter-four {
  background:
    radial-gradient(circle at 18% 74%, rgba(103, 54, 172, 0.34), transparent 28%),
    #110b19;
}

.chapter-four .chapter-atmosphere::before {
  top: -12%;
  right: auto;
  left: -15%;
  background: radial-gradient(circle, rgba(122, 65, 199, 0.4), rgba(40, 199, 229, 0.12) 42%, transparent 69%);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: white;
  font-size: 16px;
  font-weight: 750;
}

.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.download-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 110px 24px 70px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(121, 66, 197, 0.55), transparent 34%),
    linear-gradient(145deg, #4d2887, #2a124e 80%);
  color: white;
}

.download-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(920px, 100%);
  min-height: 610px;
  padding: clamp(48px, 7vw, 92px);
  place-items: center;
  align-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(34px, 5vw, 68px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 40px 100px rgba(19, 7, 39, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  text-align: center;
  -webkit-backdrop-filter: blur(35px) saturate(150%);
  backdrop-filter: blur(35px) saturate(150%);
}

.download-card::before {
  content: "";
  position: absolute;
  top: -45%;
  left: 4%;
  width: 90%;
  height: 60%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(24px);
  transform: rotate(-8deg);
}

.download-icon {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  border-radius: 22px;
  box-shadow: 0 18px 35px rgba(22, 8, 42, 0.35);
}

.download-card .eyebrow {
  color: #d4baf3;
}

.download-section h2 {
  position: relative;
  font-size: clamp(60px, 8vw, 116px);
}

.download-card > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 520;
}

.download-card .store-links {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 90px;
  padding: 20px clamp(24px, 5vw, 76px);
  background: #160b29;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
}

.site-footer img {
  width: 128px;
}

.site-footer a {
  justify-self: end;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1040px) {
  .chapter-layout,
  .chapter-layout-reverse {
    grid-template-columns: minmax(0, 0.9fr) minmax(370px, 1.1fr);
    gap: 12px;
    padding-right: 30px;
    padding-left: 38px;
  }

  .chapter-layout-reverse {
    grid-template-columns: minmax(370px, 1.1fr) minmax(0, 0.9fr);
  }

  .chapter h1,
  .chapter h2 {
    font-size: clamp(56px, 7vw, 80px);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    top: 8px;
    padding: 0 8px;
  }

  .header-inner {
    min-height: 54px;
    padding: 7px 7px 7px 13px;
    border-radius: 17px;
  }

  .brand img {
    width: 124px;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 11px;
  }

  .chapter {
    height: 260svh;
  }

  .chapter-one {
    height: 245svh;
  }

  .chapter-sticky {
    height: 100svh;
    min-height: 0;
  }

  .chapter-layout,
  .chapter-layout-reverse,
  .chapter-layout-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 6px;
    padding: 86px 18px 12px;
  }

  .chapter-layout-reverse .chapter-copy,
  .chapter-layout-reverse .phone-stage {
    order: initial;
  }

  .chapter-copy {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 0 3px;
    text-align: center;
    transform: none;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 12px;
    font-size: 10px;
  }

  .hero-app-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(41, 21, 66, 0.18);
  }

  .chapter h1,
  .chapter h2 {
    margin: 0 auto;
    font-size: clamp(43px, 12.4vw, 62px);
    line-height: 0.95;
  }

  .chapter-intro {
    max-width: 440px;
    margin: 15px auto 0;
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.35;
  }

  .store-links {
    justify-content: center;
    margin-top: 18px;
  }

  .store-badge {
    height: 42px;
  }

  .phone-stage,
  .phone-stage-hero {
    align-self: stretch;
    width: 100%;
    height: auto;
    min-height: 0;
    transform: translate3d(0, var(--copy-shift), 0);
  }

  .rotato-video,
  .phone-poster {
    height: min(55svh, 560px);
    max-height: 100%;
  }

  .phone-halo {
    width: min(76vw, 440px);
  }

  .screen-callout {
    min-height: 36px;
    max-width: 160px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .screen-callout.callout-left {
    left: 1%;
    max-width: 160px;
  }

  .screen-callout.callout-right {
    right: 1%;
    max-width: 160px;
  }

  .screen-callout::after {
    width: 24px;
  }

  .feature-list {
    justify-content: center;
    margin-top: 16px;
  }

  .glass-proof {
    margin: 17px auto 0;
    padding: 12px 16px;
  }

  .text-link {
    margin-top: 17px;
  }

  .scroll-cue {
    bottom: 12px;
    display: flex;
    gap: 8px;
    white-space: nowrap;
    font-size: 9px;
  }

  .scroll-cue span {
    width: 18px;
    height: 26px;
  }

  .chapter-atmosphere::before {
    top: 36%;
    right: -40%;
    width: 110vw;
    height: 110vw;
  }

  .chapter-two .chapter-atmosphere::before,
  .chapter-four .chapter-atmosphere::before {
    top: 34%;
    left: -44%;
  }

  .download-section {
    padding: 84px 12px 40px;
  }

  .download-card {
    min-height: 560px;
    padding: 42px 20px;
    border-radius: 34px;
  }

  .download-icon {
    width: 78px;
    height: 78px;
    border-radius: 19px;
  }

  .download-section h2 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 78px;
    padding: 17px 20px;
  }

  .site-footer span {
    display: none;
  }

  .site-footer img {
    width: 118px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .chapter-layout {
    padding-top: 86px;
    padding-bottom: 16px;
  }

  .chapter h1,
  .chapter h2 {
    font-size: clamp(54px, 6.3vw, 84px);
  }

  .chapter-intro {
    margin-top: 18px;
    font-size: 18px;
  }

  .rotato-video,
  .phone-poster {
    height: 78svh;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .chapter-copy,
  .phone-stage,
  .chapter-atmosphere::before {
    transform: none;
  }
}
