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

:root {
  --bg: #fefefe;
  --surface: #0092fd;
  --primary: #1547b5;
  --text: #323f59;
  --shadow: #d7d7d7;
  --card: #e8cfcf;
  --store-border: #a6a6a6;
  --footer-hover: #8fd0ff;
  --font: 'Onest', 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; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s, transform 0.3s, box-shadow 0.3s; }
button { font-family: inherit; cursor: pointer; }
section, main, footer, header { display: block; }

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

.container {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 16rem;
}

.title {
  font-size: 4.8rem;
  line-height: 1.2;
  font-weight: 900;
  color: var(--primary);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  background: #000;
  border: 1px solid var(--store-border);
  border-radius: 0.6rem;
  animation: store-float 3s ease-in-out infinite;
}
.store-btn img { display: block; flex: none; }
.store-btn__icon { width: 3.1rem; height: 3.5rem; }
.store-btn__text { width: 11.3rem; height: 3.7rem; }
.store-btn:hover { animation-play-state: paused; opacity: 0.85; box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.3); }

@keyframes store-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}

@media (max-width: 1024px) {
  .container { padding: 0 4rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.6rem; }
  .title { font-size: 3.6rem; }
}
/* /stp:base */
/* stp:header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.15); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 144rem;
  height: 6rem;
  margin: 0 auto;
  padding: 0 16rem;
}

.logo { display: block; width: 4.4rem; height: 4.4rem; border-radius: 1rem; overflow: hidden; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo:hover { opacity: 0.8; }

.nav { display: flex; align-items: center; justify-content: space-between; width: 54.4rem; }
.nav-link { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.nav-link:hover { color: var(--surface); }

.burger-btn {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  background: transparent;
  border: 0;
  z-index: 101;
}
.burger-btn span {
  display: block;
  width: 2.4rem;
  height: 0.2rem;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.burger-btn:hover span { background: var(--surface); }
.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); }

@media (max-width: 1024px) {
  .header__inner { padding: 0 4rem; }
  .nav { width: 48rem; }
}

@media (max-width: 640px) {
  .header__inner { align-items: flex-start; height: 8rem; padding: 2rem 1.6rem 0; }
  .nav { display: none; }
  .burger-btn { display: flex; margin: 0.6rem 1rem 0 0; }
}
/* /stp:header */
/* stp:menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
  padding-top: 8rem;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { font-size: 2.4rem; font-weight: 600; }
/* /stp:menu */
/* stp:hero */
.hero {
  position: relative;
  padding: 11.7rem 0 6.9rem;
  background: var(--surface);
  color: var(--bg);
}
.hero__inner { display: flex; align-items: flex-start; justify-content: space-between; }
.hero__text { flex: 0 0 44.8rem; min-width: 0; padding-top: 0.3rem; }
.hero__title { font-size: 12.8rem; line-height: 1.2; font-weight: 900; white-space: nowrap; }
.hero__subtitle { margin-top: 4.8rem; font-size: 2.8rem; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.hero__desc { margin-top: 0.8rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.hero__cta { margin-top: 4.8rem; }
.hero__img { flex: none; width: 57.6rem; height: 57.3rem; border-radius: 3.2rem; object-fit: cover; }

@media (max-width: 1024px) {
  .hero { padding: 11rem 0 6rem; }
  .hero__inner { gap: 4rem; }
  .hero__text { flex: 1 1 0; min-width: 0; }
  .hero__title { font-size: 8rem; }
  .hero__subtitle { margin-top: 3.2rem; font-size: 2.4rem; white-space: normal; }
  .hero__cta { margin-top: 4rem; }
  .hero__img { flex: 0 0 44%; width: 44%; height: auto; aspect-ratio: 576 / 573; }
}

@media (max-width: 640px) {
  .hero { padding: 10rem 0 3rem; }
  .hero__inner { flex-direction: column; align-items: stretch; gap: 1.6rem; }
  .hero__text { flex: none; padding-top: 0; }
  .hero__title { font-size: 9.6rem; }
  .hero__subtitle { margin-top: 1.6rem; font-size: 2.4rem; }
  .hero__subtitle .line { display: block; }
  .hero__desc { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .hero__cta { position: absolute; left: 0; right: 0; top: 69.5rem; margin-top: 0; display: flex; justify-content: center; z-index: 1; }
  .hero__img { flex: none; width: 29.7rem; height: 29.6rem; align-self: center; border-radius: 3.2rem; }
}
/* /stp:hero */
/* stp:about */
.about { padding: 2rem 0 4.7rem; }
.about__inner { display: flex; align-items: flex-start; }
.about__text { flex: 0 0 54.4rem; padding-top: 6rem; }
.about__desc { margin-top: 4.8rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.about__img { flex: none; width: 36.4rem; height: 58.2rem; margin-left: 12.9rem; object-fit: contain; }

@media (max-width: 1024px) {
  .about__inner { gap: 4rem; }
  .about__text { flex: 1 1 0; min-width: 0; }
  .about__img { flex: 0 0 34%; width: 34%; height: auto; margin-left: 0; aspect-ratio: 364 / 582; }
}

@media (max-width: 640px) {
  .about { padding: 6rem 0 0; }
  .about__inner { flex-direction: column; align-items: stretch; gap: 3.2rem; }
  .about__text { flex: none; padding-top: 0; }
  .about__desc { margin-top: 4.8rem; font-size: clamp(14px, 1.6rem, 1.6rem); }
  .about__img { flex: none; width: 23.1rem; height: 37rem; align-self: center; }
}
/* /stp:about */
/* stp:features */
.features { padding: 8rem 0; }
.features__grid {
  display: grid;
  grid-template-columns: 44.8rem 44.8rem;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "title picA" "listA picA" "picB listB";
  justify-content: space-between;
}
.features__title { grid-area: title; margin-bottom: 4.8rem; }
.features__list { display: flex; flex-direction: column; gap: 3.2rem; }
.features__list--a { grid-area: listA; align-self: start; }
.features__list--b { grid-area: listB; align-self: start; margin-top: 10.6rem; }
.features__pic--a { grid-area: picA; }
.features__pic--b { grid-area: picB; margin-top: 0; }
.features__pic {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--card);
  border-radius: 3.2rem;
}
.features__pic--a { aspect-ratio: 448 / 482; align-self: start; }
.features__pic--b { aspect-ratio: 448 / 563; align-self: start; }
.features__pic img { position: absolute; max-width: none; }
.features__pic--a img { left: 0.2%; top: -1.2%; width: 99.8%; height: 102.5%; }
.features__pic--b img { left: -1.1%; top: 0; width: 102.2%; height: 100%; }

.feature { display: flex; flex-direction: column; gap: 0.8rem; }
.feature__title { font-size: 2rem; line-height: 1.5; font-weight: 600; color: var(--surface); }
.feature__text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .features__list--b { margin-top: 6rem; }
}

@media (max-width: 640px) {
  .features { padding: 6rem 0; }
  .features .container { padding-right: 1.1rem; }
  .features__grid { display: flex; flex-direction: column; gap: 3.2rem; }
  .features__title { margin-bottom: 1.6rem; }
  .features__list--a, .features__list--b { margin-top: 0; align-self: stretch; }
  .features__pic { flex: 0 0 auto; }
  .features__pic--a { aspect-ratio: 348 / 374; }
  .features__pic--b { aspect-ratio: 348 / 437; }
  .feature__title { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .feature__text { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:features */
/* stp:reviews */
.reviews { padding: 8rem 0; background: var(--surface); }
.reviews__title { color: var(--bg); margin-bottom: 4.8rem; }
.reviews__list { display: flex; align-items: flex-start; justify-content: space-between; gap: 3.2rem; }
.review {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 0 0 35.2rem;
  width: 35.2rem;
  margin: 0;
  padding: 2.4rem;
  background: var(--bg);
  border-radius: 3.2rem;
}
.review__text { margin: 0; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.review__name { font-size: 2rem; line-height: 1.5; font-weight: 600; text-align: right; color: var(--surface); }

@media (max-width: 1024px) {
  .reviews__list { gap: 2rem; }
  .review { flex: 1 1 0; width: auto; min-width: 0; }
}

@media (max-width: 640px) {
  .reviews { padding: 6rem 0; }
  .reviews__list { justify-content: flex-start; gap: 1.6rem; margin: 0 -1.6rem; padding: 0 1.6rem; overflow-x: auto; scrollbar-width: none; }
  .reviews__list::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 30rem; width: 30rem; }
  .review--extra { display: none; }
  .review__text { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .review__name { font-size: clamp(14px, 1.8rem, 1.8rem); }
}
/* /stp:reviews */
/* stp:faq */
.faq { padding: 8rem 0; }
.faq__title { margin-bottom: 4.8rem; }
.faq__list { display: flex; flex-direction: column; gap: 1.6rem; }
.faq__item {
  padding: 2.4rem;
  background: var(--bg);
  border-radius: 3.2rem;
  box-shadow: 0 0.3rem 0.8rem var(--shadow);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__q { font-size: 2rem; line-height: 1.5; font-weight: 600; color: var(--surface); transition: color 0.3s; }
.faq__question:hover .faq__q { color: var(--primary); }
.faq__icon { position: relative; flex: none; width: 2.8rem; height: 2.8rem; }
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--surface);
  transition: transform 0.3s, opacity 0.3s;
}
.faq__icon::before { width: 1.6rem; height: 0.2rem; margin: -0.1rem 0 0 -0.8rem; }
.faq__icon::after { width: 0.2rem; height: 1.6rem; margin: -0.8rem 0 0 -0.1rem; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { margin-top: 0.8rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }

@media (max-width: 640px) {
  .faq { padding: 6rem 0; }
  .faq__q { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
  .faq__answer { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:faq */
/* stp:footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 4rem 16rem 1.6rem;
  background: var(--primary);
  color: var(--bg);
  text-align: center;
}
.footer__links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.footer__links a:hover { color: var(--footer-hover); text-decoration: underline; }
.footer__copy { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; }

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

@media (max-width: 640px) {
  .footer { padding: 4rem 1.6rem 1.6rem; }
  .footer__links { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .footer__copy { font-size: clamp(11px, 1.1rem, 1.1rem); }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 6rem; }
.legal-page { width: 100%; max-width: 144rem; margin: 0 auto; padding: 8rem 16rem; }
.legal-content { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.legal-content h1 { margin-bottom: 2.7rem; font-size: 4.8rem; line-height: 1.2; font-weight: 900; color: var(--text); }
.legal-content h2 { margin: 3.2rem 0 2.7rem; font-size: 2.8rem; line-height: 1.3; font-weight: 600; color: var(--text); }
.legal-content h3 { margin: 2.4rem 0 1.6rem; font-size: 2.4rem; line-height: 1.3; font-weight: 600; }
.legal-content h4 { margin: 2rem 0 1.2rem; font-size: 2rem; line-height: 1.3; font-weight: 600; }
.legal-content h1:first-child, .legal-content h2:first-child, .legal-content h3:first-child, .legal-content h4:first-child { margin-top: 0; }
.legal-content p { margin: 0; }
.legal-content ul, .legal-content ol { margin: 0; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: 0; }
.legal-content a { color: var(--surface); text-decoration: underline; }
.legal-content a:hover { color: var(--primary); }
.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 4rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 8rem; }
  .legal-page { padding: 4rem 1.6rem; }
  .legal-content { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .legal-content h1 { font-size: 3.6rem; }
  .legal-content h2 { font-size: 2.4rem; }
  .legal-content h3 { font-size: 2rem; }
  .legal-content h4 { font-size: clamp(14px, 1.8rem, 1.8rem); }
}
/* /stp:legal */
/* stp:title-anim */
:root {
  --ta-pink: #ff2e93;
  --ta-yellow: #ffd60a;
  --ta-green: #22c55e;
  --ta-orange: #ff7a1a;
}
.ta-w { display: inline-block; white-space: nowrap; }
.ta-ch { position: relative; display: inline-block; }
.ta-ch__f { display: inline-block; }
.ta-ch:nth-child(4n+1) { --ta-c: var(--ta-pink); }
.ta-ch:nth-child(4n+2) { --ta-c: var(--ta-yellow); }
.ta-ch:nth-child(4n+3) { --ta-c: var(--ta-green); }
.ta-ch:nth-child(4n+4) { --ta-c: var(--ta-orange); }

.anim-on .hero__title .ta-ch::before {
  content: attr(data-ch);
  position: absolute;
  left: 0;
  top: 0;
  color: transparent;
  -webkit-text-stroke: 0.2rem var(--bg);
  opacity: 0;
  pointer-events: none;
}
.anim-on .hero__title .ta-ch__f,
.anim-on .title .ta-ch__f { clip-path: inset(100% -20% -20% -20%); }

.anim-on .hero__title.is-in .ta-ch::before {
  animation: ta-outline calc(1.5s + var(--i) * 0.2s) ease calc(var(--i) * 0.04s) both;
}
.anim-on .hero__title.is-in .ta-ch__f {
  animation:
    ta-fill 0.6s steps(6, end) calc(0.35s + var(--i) * 0.14s) both,
    ta-tint 0.5s ease calc(0.95s + var(--i) * 0.14s) both;
}
.anim-on .hero__title.is-in .ta-ch {
  animation: ta-pop 0.36s steps(3, end) calc(0.95s + var(--i) * 0.14s) both;
}

.anim-on .title.is-in .ta-ch__f {
  animation:
    ta-fill 0.4s steps(4, end) calc(var(--i) * 0.06s) both,
    ta-tint 0.45s ease calc(0.4s + var(--i) * 0.06s) both;
}

@keyframes ta-fill {
  from { clip-path: inset(100% -20% -20% -20%); }
  to { clip-path: inset(-20% -20% -20% -20%); }
}
@keyframes ta-tint {
  from { color: var(--ta-c); }
}
@keyframes ta-outline {
  0% { opacity: 0; }
  15%, 80% { opacity: 0.7; }
  100% { opacity: 0; }
}
@keyframes ta-pop {
  0% { transform: translateY(0); }
  50% { transform: translateY(-0.8rem) scale(1.04); }
  100% { transform: translateY(0); }
}
@keyframes ta-pop-m {
  0% { transform: translateY(0); }
  50% { transform: translateY(-0.4rem) scale(1.03); }
  100% { transform: translateY(0); }
}

@media (max-width: 640px) {
  .anim-on .hero__title.is-in .ta-ch::before {
    animation-duration: calc(1.2s + var(--i) * 0.15s);
    animation-delay: calc(var(--i) * 0.03s);
  }
  .anim-on .hero__title.is-in .ta-ch__f {
    animation-duration: 0.45s, 0.4s;
    animation-delay: calc(0.3s + var(--i) * 0.1s), calc(0.75s + var(--i) * 0.1s);
  }
  .anim-on .hero__title.is-in .ta-ch {
    animation-name: ta-pop-m;
    animation-delay: calc(0.75s + var(--i) * 0.1s);
  }
  .anim-on .title.is-in .ta-ch__f {
    animation-duration: 0.32s, 0.35s;
    animation-delay: calc(var(--i) * 0.05s), calc(0.32s + var(--i) * 0.05s);
  }
}
/* /stp:title-anim */
