/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Asap+Condensed:wght@400;500;700&family=DM+Sans:wght@400&family=Antonio:wght@400&display=swap');

:root {
  --txt1: #1C1C1C;
  --txt2: #F8F5F0;
  --extra: #27439E;
  --accent1: #E83E78;
  --bg1: #F7F4EF;
  --bg2: #1C1C1C;
  --bg: #F7F4EF;
  --green: #30A851;
  --star: #F0C428;
  --font-head: 'Asap Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

html.menu-lock, html.menu-lock body { overflow: hidden; }

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

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--txt1);
  background: var(--bg1);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
#preloader img { width: 8rem; height: 8rem; }

.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2.4rem 12rem 1.2rem;
  background: linear-gradient(to right, rgba(238, 233, 223, 0), rgba(238, 233, 223, 0.5));
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled { background: var(--bg1); box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.15); }
.logo { display: block; width: 3.2rem; height: 3.2rem; transition: opacity 0.3s; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo:hover { opacity: 0.7; }
.nav { display: flex; align-items: center; }
.nav-link {
  padding: 0.8rem 1.2rem;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.2;
  text-transform: uppercase; white-space: nowrap;
  color: var(--txt1); opacity: 0.5;
  transition: color 0.3s, opacity 0.3s;
}
.nav-link:hover { color: var(--accent1); opacity: 1; }

.burger-btn {
  display: none; position: relative; z-index: 120;
  width: 2.4rem; height: 2.4rem;
  background: transparent; border: 0;
}
.burger-btn span {
  position: absolute; left: 0.5rem; width: 1.4rem; height: 1px;
  background: var(--txt1);
  transition: transform 0.3s, top 0.3s, opacity 0.3s;
}
.burger-btn span:nth-child(1) { top: 0.8rem; }
.burger-btn span:nth-child(2) { top: 1.2rem; }
.burger-btn span:nth-child(3) { top: 1.6rem; }
.burger-btn.act span:nth-child(1) { top: 1.2rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.2rem; transform: rotate(-45deg); }

/* open menu: 625px panel + Google Play button below it (Figma 9573:1073);
   on short screens the panel shrinks so the button always stays on screen */
#mobile-menu {
  position: fixed; top: 4rem; left: 0; z-index: 90;
  width: 100%; max-height: calc(100vh - 4rem); max-height: calc(100dvh - 4rem);
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: 2.4rem;
  background: var(--bg1);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
.mobile-menu__nav {
  flex: 0 1 62.5rem; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2.4rem;
  padding: 3.2rem 1.6rem;
  border-bottom: 1px solid var(--accent1);
}
#mobile-menu .nav-link { display: block; flex: 0 0 auto; padding: 0.8rem 0; font-size: clamp(14px, 1.6rem, 1.6rem); }
.mobile-menu__btn { flex: 0 0 auto; margin-top: 2.5rem; }

.store-btn {
  display: flex; align-items: center; justify-content: center;
  width: 24rem; height: 6.4rem;
  border-radius: 0.4rem; background: var(--txt1);
  box-shadow: 0 0.37rem 0.37rem 0 rgba(45, 45, 45, 0.5);
  transition: opacity 0.3s, box-shadow 0.3s;
}
.store-btn img { width: 16.4rem; height: 4rem; }
.store-btn:hover { opacity: 0.85; box-shadow: 0 0.6rem 1.2rem 0 rgba(45, 45, 45, 0.5); }

@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }
.store-btn.hero__btn { animation: store-float 3s ease-in-out infinite; }
.store-btn.hero__btn:hover { animation-play-state: paused; }

.section-label {
  font-family: var(--font-head); font-weight: 500;
  font-size: 3.2rem; line-height: 1.2; text-transform: uppercase;
}

@media (max-width: 1024px) {
  .header { padding: 2.4rem 4rem 1.2rem; }
}
@media (max-width: 640px) {
  .header { padding: 0.8rem 1.6rem; }
  .logo { width: 2.4rem; height: 2.4rem; }
  .nav .nav-link { display: none; }
  .nav { display: none; }
  .burger-btn { display: block; }
  .section-label { font-size: 3.2rem; }
}
/* /stp:base */
/* stp:hero */
.hero { position: relative; z-index: 2; height: 85rem; background: var(--bg1); }
.hero__line, .hero__line-m { pointer-events: none; }
.hero > * { position: absolute; }
.hero__txt { left: 12rem; top: 17.4rem; width: 62.4rem; display: flex; flex-direction: column; gap: 4.8rem; color: var(--txt1); }
.hero__txt h1 { font-family: var(--font-head); font-weight: 500; font-size: 12rem; line-height: 1.2; }
.hero__txt p { font-family: var(--font-head); font-weight: 500; font-size: 2.4rem; line-height: 1.5; opacity: 0.6; }
.hero__btn { left: 12rem; top: 66.6rem; z-index: 2; }
.hero__arrow { left: 38.4rem; top: 68.645rem; width: 31.2rem; height: 2.309rem; }
.hero__img { left: 74.4rem; top: 9rem; width: 57.6rem; height: 72.4rem; }
.hero__img img { width: 100%; height: 100%; }
.hero__line { left: 0; top: 74.5rem; width: 132rem; height: 26.077rem; max-width: none; }
.hero__line-m { display: none; }

@media (max-width: 1024px) {
  .hero { height: auto; display: flex; flex-direction: column; align-items: center; padding: 12rem 4rem 8rem; }
  .hero > * { position: static; }
  .hero__txt { width: 100%; max-width: 70rem; align-items: center; text-align: center; gap: 3rem; }
  .hero__txt h1 { font-size: 8rem; }
  .hero__btn { margin-top: 4rem; }
  .hero__arrow, .hero__line { display: none; }
  .hero__img { display: block; margin-top: 4rem; width: 40rem; height: auto; aspect-ratio: 576 / 724; }
}
@media (max-width: 640px) {
  .hero { display: block; height: 81.2rem; padding: 0; }
  .hero > * { position: absolute; }
  .hero__txt { left: 2.1rem; top: 8.8rem; width: 33.3rem; max-width: none; gap: 2.4rem; }
  .hero__txt h1 { font-size: 6.5rem; line-height: 1.1; }
  .hero__txt p { width: 29.3rem; font-size: clamp(14px, 1.6rem, 1.6rem); }
  .hero__btn { margin: 0; left: 6.7rem; top: 69rem; }
  .hero__img { margin: 0; left: 0; top: 37.6rem; width: 37.5rem; height: 29.8rem; aspect-ratio: auto; }
  .hero__line-m { display: block; left: 0; top: 74.6rem; width: 35.9rem; height: 22.277rem; max-width: none; }
}
/* /stp:hero */
/* stp:features */
.features { padding: 8rem 0; background: var(--bg2); color: var(--txt2); }
.features__inner { width: 100%; max-width: 99.2rem; margin: 0 auto; }
.features h2 { max-width: 73.2rem; margin: 11.2rem auto 0; font-family: var(--font-head); font-weight: 500; font-size: 6.4rem; line-height: 1.5; text-transform: uppercase; text-align: center; }
.features__lead { max-width: 78.4rem; margin: 5.6rem auto 0; font-size: 2.4rem; line-height: 1.5; text-align: center; }
.features__cards { display: flex; justify-content: center; gap: 4.8rem; margin-top: 4.8rem; }
.feature { flex: 0 1 28rem; display: flex; flex-direction: column; align-items: center; gap: 2.4rem; text-align: center; }
.feature img { width: 7.2rem; height: 7.2rem; }
.feature h3 { font-family: var(--font-head); font-weight: 400; font-size: 2.4rem; line-height: 1.3; }
.feature p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; opacity: 0.6; }

@media (max-width: 1024px) {
  .features__inner { padding: 0 4rem; }
  .features h2 { font-size: 5.2rem; margin-top: 8rem; }
  .features__lead { font-size: 2rem; }
  .features__cards { gap: 3rem; }
}
@media (max-width: 640px) {
  .features__inner { padding: 0 2.1rem; }
  .section-label { text-align: center; }
  .features h2 { margin-top: 11.2rem; font-size: 4.8rem; }
  .features__lead { max-width: 30.3rem; margin-top: 6.4rem; font-size: 2.4rem; }
  .features__cards { flex-direction: column; align-items: center; gap: 4.8rem; margin-top: 4.8rem; }
  .feature { flex: none; width: 28rem; }
}
/* /stp:features */
/* stp:how-it-works */
.hiw { padding: 8rem 0; background: var(--bg1); color: var(--txt1); }
.hiw__inner { width: 100%; max-width: 109.5rem; margin: 0 auto; }
.hiw .section-label { text-align: center; }
.hiw__cards { display: flex; gap: 4.8rem; margin-top: 6.4rem; }
.hiw__card { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 2.4rem; text-align: center; }
.hiw__card img { width: 100%; aspect-ratio: 1; border: 1px solid rgba(28, 28, 28, 0.7); border-radius: 0.4rem; }
.hiw__num { font-family: var(--font-head); font-weight: 500; font-size: 4.8rem; line-height: 1; color: var(--accent1); }
.hiw__card h3 { font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1.5; text-transform: uppercase; }
.hiw__card p { max-width: 26.3rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; opacity: 0.6; }

@media (max-width: 1024px) {
  .hiw__inner { padding: 0 4rem; }
  .hiw__cards { gap: 3rem; }
  .hiw__card h3 { font-size: 2.4rem; }
  .hiw__num { font-size: 4rem; }
}
@media (max-width: 640px) {
  .hiw__inner { padding: 0 2.1rem; }
  .hiw__cards { flex-direction: column; gap: 4.8rem; }
  .hiw__card { flex: none; width: 100%; }
  .hiw__card h3 { font-size: 3.2rem; }
  .hiw__num { font-size: 4.8rem; }
}
/* /stp:how-it-works */
/* stp:testimonials */
.testimonials { padding: 8rem 0; background: var(--bg2) url(../img/testimonials-bg.webp) center / 100% 100% no-repeat; color: var(--txt2); }
.testimonials__inner { width: 100%; max-width: 93.3rem; margin: 0 auto; }
.testimonials .section-label { text-align: center; }
.testimonials__cards { display: flex; gap: 8.7rem; margin-top: 6.4rem; }
.tcard { flex: 1 1 0; display: flex; flex-direction: column; gap: 2.4rem; }
.tcard__quote { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.tcard__text { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; opacity: 0.85; }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 3.8rem; }
.stars { display: block; width: 6.8rem; height: 1.2rem; overflow: hidden; }
.stars--4 { width: 5.4rem; }
.stars img { width: 6.8rem; height: 1.2rem; max-width: none; }
.tcard__name { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; opacity: 0.7; white-space: nowrap; }

@media (max-width: 1024px) {
  .testimonials__inner { padding: 0 4rem; }
  .testimonials__cards { gap: 4rem; }
  .tcard__foot { gap: 1.6rem; }
}
@media (max-width: 640px) {
  .testimonials { padding-bottom: 11rem; background-image: url(../img/testimonials-bg-m.webp); }
  .testimonials__inner { padding: 0 3.6rem; }
  .testimonials__cards { flex-direction: column; gap: 4.8rem; }
  .tcard { flex: none; }
  .tcard__foot { gap: 3.8rem; }
}
/* /stp:testimonials */
/* stp:faq */
.faq { position: relative; overflow: hidden; padding: 8rem 0; background: var(--bg1); color: var(--txt1); }
.faq__inner { position: relative; z-index: 1; width: 100%; max-width: 99.2rem; margin: 0 auto; }
.faq__title { font-family: var(--font-head); font-weight: 500; font-size: 6.4rem; line-height: 1.2; text-align: center; }
.faq__list { display: flex; flex-direction: column; gap: 1.6rem; width: 68rem; margin-top: 6.4rem; }
.faq-item { padding: 0.8rem; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 2.4rem; padding: 0.8rem 0 0.7rem; border-bottom: 1px solid var(--extra); list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: 2.4rem; line-height: 1.5; transition: color 0.3s; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent1); }
.faq-q img { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; transition: transform 0.3s; }
.faq-item[open] .faq-q img { transform: rotate(180deg); }
.faq-a { padding-top: 1.6rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.faq__pic { position: absolute; top: 0; left: 95.2rem; width: 38rem; height: auto; aspect-ratio: 380 / 599; max-width: none; object-fit: fill; pointer-events: none; }

@media (max-width: 1024px) {
  .faq__inner { padding: 0 4rem; }
  .faq__list { width: 100%; max-width: 60rem; }
  .faq__pic { left: auto; right: -4rem; width: 28rem; }
}
@media (max-width: 640px) {
  .faq__inner { padding: 0 2.1rem; }
  .faq__list { max-width: none; }
  .faq__pic { display: none; }
}
/* /stp:faq */
/* stp:footer */
.footer { padding: 5.4rem 0 5.7rem; background: var(--bg2); border-top: 1px solid var(--extra); color: var(--txt2); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 120rem; margin: 0 auto; }
.footer__copy { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.store-btn--light { background: var(--bg1); }
.footer__links { display: flex; justify-content: space-between; width: 33.5rem; padding: 0 1.6rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.footer__links a { text-decoration: underline; }
.footer__links a:hover { color: var(--accent1); }

@media (max-width: 1024px) {
  .footer__inner { flex-wrap: wrap; justify-content: center; gap: 3.2rem 4rem; padding: 0 4rem; }
}
@media (max-width: 640px) {
  .footer { padding: 5.6rem 0; }
  .footer__inner { flex-direction: column; gap: 3.2rem; padding: 0 1.6rem; }
  .footer__copy { order: 3; text-align: center; }
  .footer__links { gap: 6.4rem; width: 30.5rem; padding: 0; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 9.6rem; }
.header--legal { height: 9.6rem; align-items: flex-end; padding: 0 12rem 1.6rem; background: var(--bg1); }
.back-home { display: flex; align-items: center; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.5; color: var(--txt1); }
.back-home img { width: 2.4rem; height: 2.4rem; }
.back-home:hover { color: var(--accent1); }
.header--legal .logo { width: 2.4rem; height: 2.4rem; }
.legal-page { padding: 5.6rem 0 8rem; background: var(--bg1); color: var(--txt1); }
.legal-content { width: 100%; max-width: 99.3rem; margin: 0 auto; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.5; }
.legal-content > * + * { margin-top: 2.4rem; }
.legal-content h1 { margin-bottom: 4rem; font-family: 'Antonio', var(--font-head); font-weight: 400; font-size: 6.4rem; line-height: 1.2; text-align: center; }
.legal-content h2 { font-size: 2.4rem; font-weight: 400; line-height: 1.5; }
.legal-content h3, .legal-content h4 { font-size: 1.8rem; font-weight: 400; line-height: 1.5; }
.legal-content ul, .legal-content ol { padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li + li { margin-top: 0.8rem; }
.legal-content a { color: var(--extra); text-decoration: underline; }
.legal-content a:hover { color: var(--accent1); }
.legal-content strong { font-weight: 700; }
.legal-content em { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 1024px) {
  .header--legal { padding: 0 4rem 1.6rem; }
  .legal-content { padding: 0 4rem; }
}
@media (max-width: 640px) {
  .legal-main { padding-top: 5.6rem; }
  .header--legal { height: 5.6rem; align-items: center; padding: 0.8rem 2rem 0; }
  .legal-page { padding: 5.6rem 0 8rem; }
  .legal-content { padding: 0 2.1rem; }
  .legal-content h1 { margin-bottom: 2.4rem; font-size: 4.8rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; }
.ta-l { display: inline-block; }
.anim-on .ta-hero .ta-l {
  opacity: 0;
  transform-origin: 50% 60%;
  animation: ta-snap 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.8s + var(--i) * 0.045s) both;
}
.anim-on .ta-sec .ta-w { opacity: 0; }
.anim-on .ta-sec.is-in .ta-w {
  animation: ta-trace 0.75s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * 0.12s) both;
}
@keyframes ta-snap {
  0% { opacity: 0; transform: rotate(var(--r)) scale(0.5); color: var(--accent1); }
  35% { opacity: 1; transform: rotate(calc(var(--r) / 2)) scale(0.8); color: var(--accent1); }
  70% { transform: rotate(0deg) scale(1.08); color: var(--extra); }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}
@keyframes ta-trace {
  0% { opacity: 0; transform: translateX(-1.6rem); clip-path: inset(-1.5rem 100% -1.5rem -1.5rem); color: var(--accent1); }
  30% { opacity: 1; }
  65% { color: var(--accent1); }
  100% { opacity: 1; transform: translateX(0); clip-path: inset(-1.5rem -1.5rem -1.5rem -1.5rem); }
}
@media (max-width: 640px) {
  .anim-on .ta-hero .ta-l { animation-duration: 0.55s; animation-delay: calc(0.8s + var(--i) * 0.035s); }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: 0.6s; animation-delay: calc(var(--i) * 0.09s); }
  @keyframes ta-trace {
    0% { opacity: 0; transform: translateX(-0.8rem); clip-path: inset(-1.5rem 100% -1.5rem -1.5rem); color: var(--accent1); }
    30% { opacity: 1; }
    65% { color: var(--accent1); }
    100% { opacity: 1; transform: translateX(0); clip-path: inset(-1.5rem -1.5rem -1.5rem -1.5rem); }
  }
}
/* /stp:title-anim */
