/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Lemon&family=Lemonada:wght@400;600&display=swap');

:root {
  --primary: #FEDC59;
  --accent: #FFF396;
  --text: #FFFFFF;
  --surface: #6B199A;
  --bg: #B428D1;
  --font-h: 'Lemon', cursive;
  --font-body: 'Lemonada', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; padding: 0; }

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; }

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--surface);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.header.scrolled {
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.25);
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.opened {
  opacity: 1;
  pointer-events: auto;
}

.burger-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 4.4rem;
  height: 4.4rem;
  position: relative;
  z-index: 110;
}
.burger-btn span {
  display: block;
  width: 2.4rem;
  height: 0.2rem;
  background: var(--text);
  border-radius: 0.2rem;
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn.act span:nth-child(1) {
  transform: translateY(0.7rem) rotate(45deg);
}
.burger-btn.act span:nth-child(2) {
  opacity: 0;
}
.burger-btn.act span:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-45deg);
}

.store-btn,
a.scroll-link,
.nav-link,
.footer a {
  transition: opacity 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
}

@keyframes store-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}
.store-btn {
  animation: store-float 3s ease-in-out infinite;
}
.store-btn:hover {
  animation-play-state: paused;
  opacity: 0.85;
}
/* /stp:base */
/* stp:header */
.header-inner {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  height: 6rem;
  padding: 0 16rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: block;
  flex: 0 0 auto;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1rem;
  overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo {
  transition: opacity 0.3s, transform 0.3s;
}
.logo:hover {
  opacity: 0.85;
  transform: scale(1.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.6rem;
  width: 64rem;
}
.nav-link {
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .header-inner { padding: 0 4rem; }
  .nav { gap: 1.6rem; width: auto; }
}

@media (max-width: 640px) {
  .header-inner {
    height: 8rem;
    padding: 0 1.6rem;
  }
  .logo { width: 4.4rem; height: 4.4rem; }
  .nav { display: none; }
  .burger-btn { display: flex; }
}
/* /stp:header */
/* stp:menu */
#mobile-menu {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
}
.mobile-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 575;
  font-size: clamp(14px, 2.4rem, 2.4rem);
  color: var(--text);
}
.mobile-nav .nav-link:hover {
  color: var(--primary);
}
/* /stp:menu */
/* stp:hero */
#hero {
  position: relative;
  width: 100%;
  height: 65rem;
  overflow: hidden;
  background: var(--surface);
}
.hero-bg-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 8rem 16rem 0;
}
.hero-title {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: 7.2rem;
  line-height: 1.2;
  color: var(--primary);
}
.hero-subtitle {
  margin-top: 1.3rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2.8rem, 2.8rem);
  line-height: 1.3;
  color: var(--text);
}
.hero-text {
  margin-top: 1.6rem;
  max-width: 44.8rem;
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
}
.store-btn {
  margin-top: 6rem;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: #000;
  border: 1px solid #a6a6a6;
  border-radius: 0.6rem;
  padding: 1rem 1.2rem;
  transition: opacity 0.3s, transform 0.3s;
  animation: store-float 3s ease-in-out infinite;
}
.store-btn:hover {
  opacity: 0.85;
  animation-play-state: paused;
}
.store-icon {
  width: 3.1rem;
  height: 3.5rem;
  flex: 0 0 auto;
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1rem, 1.1rem);
  color: #fff;
}
.store-main {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2rem, 2rem);
  color: #fff;
}

@media (max-width: 1024px) {
  #hero {
    height: 60rem;
  }
  .hero-bg {
    object-position: left top;
  }
  .hero-inner { padding: 8rem 6rem 4rem; }
  .hero-title { font-size: 6rem; }
  .store-btn { margin-top: 4rem; }
}

@media (max-width: 640px) {
  #hero {
    height: 81.2rem;
  }
  .hero-bg-pic {
    position: absolute;
    inset: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 81.7rem;
    z-index: 0;
  }
  .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-inner {
    position: relative;
    inset: auto;
    padding: 9rem 1.6rem 0;
    max-width: none;
  }
  .hero-title { font-size: 5.6rem; }
  .hero-subtitle {
    margin-top: 1.5rem;
    font-size: clamp(14px, 2.4rem, 2.4rem);
  }
  .hero-text {
    margin-top: 1.9rem;
    max-width: 34.3rem;
    font-size: clamp(14px, 1.6rem, 1.6rem);
  }
  .store-btn {
    margin: 29rem auto 0;
    display: flex;
    width: fit-content;
  }
}
/* /stp:hero */
/* stp:features */
#features {
  background: var(--bg);
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.features-inner {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 16rem;
}
.section-title {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: 4.8rem;
  line-height: 1.2;
  color: var(--primary);
}
.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.2rem;
  margin-top: 6.2rem;
}
.feature-row-reverse { margin-top: 4rem; }
.feature-pic {
  flex: 0 0 auto;
  width: 64rem;
  border-radius: 1.6rem;
  overflow: hidden;
}
.feature-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-texts {
  flex: 0 0 auto;
  width: 44.8rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.feature-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2rem, 2rem);
  line-height: 1.5;
  color: #FFF396;
}
.feature-text {
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 1024px) {
  .features-inner { padding: 0 6rem; }
  .feature-row { gap: 2rem; }
  .feature-pic { width: 50%; }
  .feature-texts { width: 46%; }
}

@media (max-width: 640px) {
  #features {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .features-inner { padding: 0 1.6rem; }
  .section-title { font-size: 3.6rem; }
  .feature-row {
    flex-direction: column;
    align-items: stretch;
    gap: 2.4rem;
    margin-top: 6.4rem;
  }
  .feature-row-reverse {
    flex-direction: column;
    margin-top: 3.2rem;
  }
  .feature-row-reverse .feature-texts { order: 1; }
  .feature-row-reverse .feature-pic { order: 2; }
  .feature-pic { width: 100%; border-radius: 1.2rem; }
  .feature-texts { width: 100%; gap: 3.2rem; }
}
/* /stp:features */
/* stp:how-it-works */
#how-it-works {
  background: var(--surface);
  padding-top: 8rem;
  padding-bottom: 0;
}
.hiw-inner {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 16rem;
}
.hiw-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5.4rem;
  margin-top: 6.2rem;
}
.hiw-pic {
  flex: 0 0 auto;
  width: 42.2rem;
  border-radius: 1.6rem;
  overflow: hidden;
}
.hiw-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hiw-texts {
  flex: 0 0 auto;
  width: 54.4rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  padding-bottom: 8rem;
}
.hiw-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.hiw-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2rem, 2rem);
  line-height: 1.5;
  color: var(--primary);
}
.hiw-text {
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 1024px) {
  .hiw-inner { padding: 0 6rem; }
  .hiw-row { gap: 3rem; }
  .hiw-pic { width: 40%; }
  .hiw-texts { width: 56%; gap: 1.6rem; padding-bottom: 2rem; }
}

@media (max-width: 640px) {
  #how-it-works {
    padding-top: 6rem;
    padding-bottom: 0;
  }
  .hiw-inner { padding: 0 1.6rem; }
  .section-title { font-size: 3.6rem; }
  .hiw-row {
    flex-direction: column-reverse;
    gap: 6.4rem;
    margin-top: 6.4rem;
  }
  .hiw-pic { width: 100%; border-radius: 1.2rem; }
  .hiw-texts { width: 100%; gap: 3.2rem; padding-bottom: 0; }
  .hiw-title { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .hiw-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:how-it-works */
/* stp:reviews */
#reviews {
  background: var(--bg);
  padding-top: 8rem;
  padding-bottom: 8rem;
  overflow: hidden;
}
.reviews-head {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 16rem;
}
.reviews-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 3.2rem;
  margin: 4.1rem auto 0;
  max-width: 113rem;
}
.review-card {
  flex: 0 0 auto;
  width: 54.4rem;
  background: var(--surface);
  border-radius: 1.6rem;
  padding: 1.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.review-text {
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
}
.review-author {
  align-self: flex-end;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2rem, 2rem);
  line-height: 1.5;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .reviews-head { padding: 0 6rem; }
  .reviews-row { max-width: 88rem; }
  .review-card { width: 42rem; }
}

@media (max-width: 640px) {
  #reviews {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .reviews-head { padding: 0 1.6rem; }
  .section-title { font-size: 3.6rem; }
  .reviews-row {
    margin-top: 4.3rem;
    gap: 1.6rem;
    padding: 0 1.6rem;
  }
  .review-card { width: 30rem; padding: 1.6rem; }
  .review-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .review-author { font-size: clamp(14px, 1.8rem, 1.8rem); }
}
/* /stp:reviews */
/* stp:about */
#about {
  position: relative;
  width: 100%;
  min-height: 51.4rem;
  overflow: hidden;
  background: var(--bg);
}
.about-bg-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.about-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}
.about-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 8rem 16rem;
}
.about-inner .section-title { color: var(--primary); }
.about-text {
  margin-top: 8rem;
  max-width: 54.4rem;
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 1024px) {
  .about-inner { padding: 6rem; }
  .about-text { max-width: 60%; }
}

@media (max-width: 640px) {
  #about {
    min-height: 72.4rem;
    background: var(--surface);
  }
  .about-bg-pic {
    inset: auto 0 0 0;
    top: 20.3rem;
    height: 52.1rem;
  }
  .about-inner {
    position: relative;
    padding: 6rem 1.6rem 0;
  }
  .section-title { font-size: 3.6rem; }
  .about-text {
    margin-top: 6.4rem;
    max-width: 34.3rem;
    font-size: clamp(14px, 1.6rem, 1.6rem);
  }
}
/* /stp:about */
/* stp:footer */
.footer {
  background: var(--surface);
  color: var(--text);
  width: 100%;
  padding: 4rem 16rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.footer-link {
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--primary);
}
.footer-copy {
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(12px, 1.2rem, 1.2rem);
  line-height: 1.5;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .footer { padding: 4rem 6rem 1.6rem; }
}

@media (max-width: 640px) {
  .footer { padding: 4rem 1.6rem 1.6rem; }
  .footer-link { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .footer-copy { font-size: clamp(11px, 1.1rem, 1.1rem); white-space: normal; }
}
/* /stp:footer */
/* stp:legal */
.legal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.legal-main {
  flex: 1 0 auto;
  padding-top: 6rem;
}
.legal-page {
  width: 100%;
  padding: 8rem 16rem;
}
.legal-content {
  width: 100%;
  max-width: 112rem;
  margin: 0 auto;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.6;
}
.legal-content h1 {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: 4.8rem;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 3.2rem;
}
.legal-content h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2.4rem, 2.4rem);
  line-height: 1.4;
  color: var(--primary);
  margin: 4rem 0 1.6rem;
}
.legal-content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2rem, 2rem);
  line-height: 1.4;
  color: var(--text);
  margin: 3.2rem 0 1.2rem;
}
.legal-content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.4;
  color: var(--text);
  margin: 2.4rem 0 1rem;
}
.legal-content p {
  margin: 0 0 1.6rem;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 1.6rem;
  padding-left: 2.4rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li {
  margin-bottom: 0.8rem;
}
.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.3s;
}
.legal-content a:hover {
  color: var(--accent);
}
.legal-content strong,
.legal-content b {
  font-weight: 600;
}
.legal-content em,
.legal-content i {
  font-style: italic;
}
.legal-content u {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .legal-page { padding: 6rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 8rem; }
  .legal-page { padding: 4rem 1.6rem; }
  .legal-content { font-size: clamp(14px, 1.5rem, 1.5rem); }
  .legal-content h1 { font-size: 3.6rem; margin-bottom: 2.4rem; }
  .legal-content h2 { font-size: clamp(14px, 2rem, 2rem); margin: 3.2rem 0 1.2rem; }
  .legal-content h3 { font-size: clamp(14px, 1.8rem, 1.8rem); margin: 2.4rem 0 1rem; }
  .legal-content h4 { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w {
  display: inline-block;
  white-space: nowrap;
}
.ta-ch {
  display: inline-block;
  transform-origin: 50% 100%;
}
.anim-on .ta-hero .ta-ch {
  animation:
    ta-drop 0.85s calc(0.9s + var(--c) * 0.07s + (var(--rows) - 1 - var(--r)) * 0.16s) both,
    ta-combo 0.6s calc(2.3s + var(--i) * 0.045s) ease-out both;
}
.anim-on .ta-hero .ta-hint {
  transform-origin: 50% 90%;
  animation: ta-hint 4.8s 4.2s ease-in-out infinite;
}
.anim-on .ta-sec .ta-ch {
  opacity: 0;
}
.anim-on .ta-sec.is-in .ta-ch {
  animation: ta-sprout 0.7s calc(var(--i) * 0.045s) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes ta-drop {
  0% {
    opacity: 0;
    transform: translateY(-26rem) scale(0.86, 1.22);
    animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45);
  }
  12% {
    opacity: 1;
  }
  52% {
    opacity: 1;
    transform: translateY(0) scale(1.22, 0.74);
    animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1);
  }
  70% {
    transform: translateY(-1.6rem) scale(0.94, 1.08);
    animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45);
  }
  84% {
    transform: translateY(0) scale(1.06, 0.94);
    animation-timing-function: ease-out;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1, 1);
  }
}
@keyframes ta-combo {
  0% {
    color: var(--primary);
    filter: none;
  }
  35% {
    color: #FFFFFF;
    filter: brightness(1.15) drop-shadow(0 0 0.9rem var(--accent));
  }
  100% {
    color: var(--primary);
    filter: none;
  }
}
@keyframes ta-hint {
  0%, 84%, 100% {
    transform: none;
  }
  88% {
    transform: scale(1.14) rotate(-8deg);
  }
  92% {
    transform: scale(1.14) rotate(7deg);
  }
  96% {
    transform: scale(1.04) rotate(-3deg);
  }
}
@keyframes ta-sprout {
  0% {
    opacity: 0;
    color: var(--accent);
    transform: scale(0.3, 0) rotate(calc(var(--s) * 14deg));
  }
  45% {
    opacity: 1;
  }
  60% {
    color: var(--accent);
    transform: scale(1.06, 1.14) rotate(calc(var(--s) * -4deg));
  }
  100% {
    opacity: 1;
    color: var(--primary);
    transform: none;
  }
}
@media (max-width: 640px) {
  .anim-on .ta-hero .ta-ch {
    animation:
      ta-drop-m 0.75s calc(0.85s + var(--c) * 0.06s + (var(--rows) - 1 - var(--r)) * 0.14s) both,
      ta-combo 0.55s calc(2s + var(--i) * 0.04s) ease-out both;
  }
  .anim-on .ta-sec.is-in .ta-ch {
    animation-duration: 0.6s;
    animation-delay: calc(var(--i) * 0.035s);
  }
  @keyframes ta-drop-m {
    0% {
      opacity: 0;
      transform: translateY(-14rem) scale(0.9, 1.16);
      animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45);
    }
    12% {
      opacity: 1;
    }
    52% {
      opacity: 1;
      transform: translateY(0) scale(1.16, 0.8);
      animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1);
    }
    72% {
      transform: translateY(-0.9rem) scale(0.96, 1.05);
      animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45);
    }
    86% {
      transform: translateY(0) scale(1.04, 0.96);
      animation-timing-function: ease-out;
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1, 1);
    }
  }
}
/* /stp:title-anim */
