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

:root {
  --bg: #FBFDF9;
  --text: #693D34;
  --accent: #C58400;
  --primary: #CFC6F5;
  --surface: #F3ECDF;
  --font-head: 'Coiny', cursive;
  --font-body: 'Nunito', 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); } }

*, *::before, *::after { box-sizing: border-box; }
html.menu-lock, html.menu-lock body { overflow: hidden; }

body {
  margin: 0;
  min-width: 0;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s, opacity .3s, background-color .3s, box-shadow .3s; }
button { font: inherit; color: inherit; cursor: pointer; }
main { 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; }

.section-head { display: flex; flex-direction: column; gap: 1.6rem; color: var(--text); }
.section-title { font-family: var(--font-head); font-weight: 400; font-style: normal; font-size: 4.8rem; line-height: 1.2; }
.section-subtitle { font-size: 2.8rem; font-weight: 700; line-height: 1.3; }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  padding: 8rem 1.6rem 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { font-size: 2.4rem; font-weight: 700; line-height: 1.3; color: var(--text); }
#mobile-menu .nav-link:hover { color: var(--accent); }

.burger-btn { display: none; position: relative; width: 4.4rem; height: 4.4rem; padding: 0; background: transparent; border: 0; }
.burger-btn span { position: absolute; left: 1rem; width: 2.4rem; height: .2rem; background: var(--text); transition: transform .3s, opacity .3s, top .3s; }
.burger-btn span:nth-child(1) { top: calc(50% - .9rem); }
.burger-btn span:nth-child(2) { top: calc(50% - .1rem); }
.burger-btn span:nth-child(3) { top: calc(50% + .7rem); }
.burger-btn.act span:nth-child(1) { transform: translateY(.8rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-.8rem) rotate(-45deg); }

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

@media (max-width: 1024px) {
  .container { padding: 0 6.4rem; }
  .section-title { font-size: 4rem; }
  .section-subtitle { font-size: 2.4rem; }
}
@media (max-width: 640px) {
  .container { padding: 0 1.6rem; }
  .section-title { font-size: 3.6rem; }
  .section-subtitle { font-size: 2.4rem; }
  body { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:base */
/* stp:header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; height: 6rem; background: var(--bg); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 .2rem 1.2rem rgba(105, 61, 52, .15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 144rem; height: 100%; margin: 0 auto; padding: 0 16rem; }
.logo { display: block; width: 4.4rem; height: 4.4rem; overflow: hidden; border-radius: 1rem; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo:hover { opacity: .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); white-space: nowrap; }
.nav-link:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .header__inner { padding: 0 3.2rem; }
  .nav { width: auto; gap: 3.2rem; }
}
@media (max-width: 640px) {
  .header { height: 8rem; }
  .header__inner { padding: 0 1.6rem; }
  .nav { display: none; }
  .burger-btn { display: block; margin: 1.6rem 1rem 0 0; }
}
/* /stp:header */
/* stp:hero */
.hero { position: relative; height: 66.3rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; display: block; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; width: 44.7rem; margin-left: 16.1rem; padding-top: 13rem; }
.hero__logo { width: 44.7rem; height: 22.4rem; object-fit: contain; }
.hero__title { margin-top: .8rem; font-size: 2.8rem; font-weight: 700; line-height: 1.3; white-space: nowrap; color: var(--bg); -webkit-text-stroke: .4rem var(--text); paint-order: stroke fill; }
.store-btn { display: flex; align-items: center; justify-content: center; gap: 1.2rem; width: 18rem; height: 5.7rem; background: #000; border: 1px solid #a6a6a6; border-radius: .6rem; }
.store-btn__icon { width: 3.1rem; height: 3.5rem; flex: 0 0 auto; }
.store-btn__label { width: 11.3rem; height: 3.7rem; flex: 0 0 auto; }
.store-btn.hero__store { margin-top: 7.76rem; animation: store-float 3s ease-in-out infinite; }
.store-btn:hover { animation-play-state: paused; opacity: .85; box-shadow: 0 .4rem 1.6rem rgba(0, 0, 0, .35); }

@media (max-width: 1024px) {
  .hero__bg img { object-position: 70% center; }
  .hero__content { width: 100%; margin: 0 auto; padding: 9rem 3.2rem 0; }
  .hero__logo { width: 36rem; height: 18rem; }
  .store-btn.hero__store { margin-top: 4rem; }
}
@media (max-width: 640px) {
  .hero { height: 81.2rem; }
  .hero__bg img { object-position: 90% center; }
  .hero__content { padding: 12rem 1.6rem 0; }
  .hero__logo { width: 34.3rem; height: 17.2rem; }
  .hero__title { font-size: 2.4rem; }
  .store-btn.hero__store { margin-top: 34.4rem; }
}
/* /stp:hero */
/* stp:about */
.about { padding: 8rem 0; }
.about__inner { display: grid; grid-template-columns: 44.8rem 54.4rem; justify-content: space-between; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 4.8rem; }
.about__body { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.about__img { width: 100%; height: auto; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  .about { padding: 6.4rem 0; }
  .about__inner { grid-template-columns: 1fr; gap: 4rem; }
  .about__img { max-width: 54.4rem; }
}
@media (max-width: 640px) {
  .about { padding: 6.4rem 0; }
  .about__inner { gap: 3.2rem; }
  .about__body { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .about__img { max-width: none; }
}
/* /stp:about */
/* stp:how-it-works */
.how { padding: 8rem 0; }
.how__inner { display: grid; grid-template-columns: 44.8rem 54.4rem; justify-content: space-between; align-items: center; }
.how__text { display: flex; flex-direction: column; gap: 4.8rem; }
.how__list { display: flex; flex-direction: column; gap: 1.6rem; }
.how__item { display: flex; flex-direction: column; gap: .4rem; }
.how__item-title { font-size: 2rem; font-weight: 700; line-height: 1.5; color: var(--accent); }
.how__item-text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.how__img { width: 100%; height: auto; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  .how { padding: 6.4rem 0; }
  .how__inner { grid-template-columns: 1fr; gap: 4rem; }
  .how__img { max-width: 54.4rem; }
}
@media (max-width: 640px) {
  .how { padding: 6.4rem 0; }
  .how__inner { gap: 3.2rem; }
  .how__item-title { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .how__item-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .how__img { max-width: none; }
}
/* /stp:how-it-works */
/* stp:features */
.features { padding: 8rem 0; }
.features__inner { display: flex; flex-direction: column; gap: 4.8rem; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.2rem; }
.feature { display: flex; flex-direction: column; gap: .8rem; padding: calc(2.4rem - 2px); background: var(--surface); border: 2px solid var(--text); border-radius: 2.4rem; }
.feature__icon { width: 3.6rem; height: 3.6rem; }
.feature__title { font-size: 2rem; font-weight: 700; line-height: 1.5; color: var(--accent); }
.feature__text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .features { padding: 6.4rem 0; }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
}
@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .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 { position: relative; overflow: hidden; padding: 8rem 0; }
.reviews__bg { position: absolute; top: -37.8rem; width: 81rem; height: 144rem; max-width: none; opacity: .8; pointer-events: none; }
.reviews__bg--1 { left: -9rem; }
.reviews__bg--2 { left: 72rem; }
.reviews__inner { position: relative; }
.reviews__title { color: var(--bg); -webkit-text-stroke: .4rem var(--text); paint-order: stroke fill; }
.reviews__track { display: flex; gap: 3.2rem; margin-top: 4.8rem; padding: 0 16rem; overflow-x: auto; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__nav { display: flex; justify-content: flex-end; gap: 1.2rem; margin-top: 3.2rem; padding: 0 16rem; }
.reviews__arrow { width: 5.2rem; height: 5.2rem; padding: 0 0 .4rem; font: 700 3.2rem/1 var(--font-body); color: var(--text); background: var(--surface); border: 2px solid var(--text); border-radius: 50%; cursor: pointer; transition: opacity .2s; }
.reviews__arrow:disabled { opacity: .35; cursor: default; }
.reviews__track { cursor: grab; }
.reviews__track.is-drag { cursor: grabbing; user-select: none; }
.review { flex: 0 0 35.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: .8rem; padding: calc(2.4rem - 2px); background: var(--surface); border: 2px solid var(--text); border-radius: 2.4rem; }
.review__content { display: flex; flex-direction: column; gap: .8rem; }
.review__stars { font-size: 2.8rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.review__text { font-size: 2rem; font-weight: 700; line-height: 1.5; color: var(--accent); }
.review__author { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; text-align: right; }

@media (max-width: 1024px) {
  .reviews { padding: 6.4rem 0; }
  .reviews__track { padding: 0 6.4rem; }
  .reviews__nav { padding: 0 6.4rem; }
}
@media (max-width: 640px) {
  .reviews__bg { top: -1.4rem; width: 40.1rem; height: 71.3rem; }
  .reviews__bg--1 { left: -16rem; }
  .reviews__bg--2 { left: 24.1rem; }
  .reviews__track { gap: 1.6rem; padding: 0 1.6rem; }
  .reviews__nav { display: none; }
  .review__stars { font-size: 2.4rem; }
  .review__text { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .review__author { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:reviews */
/* stp:footer */
.footer { display: flex; flex-direction: column; align-items: center; gap: 4rem; padding: 4rem 16rem 1.6rem; text-align: center; color: var(--primary); background: var(--text); }
.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-link { color: var(--primary); }
.footer-link:hover { color: var(--bg); text-decoration: underline; }
.footer__copy { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .footer { padding: 4rem 3.2rem 1.6rem; }
}
@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 { padding: 8rem 0; }
.legal-content { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 16rem; color: var(--text); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.legal-content h1 { margin: 0 0 2.7rem; font-family: var(--font-head); font-weight: 400; font-size: 4.8rem; line-height: 1.2; }
.legal-content h2, .legal-content h3, .legal-content h4 { margin: 3.64rem 0 2.7rem; font-size: 2.8rem; font-weight: 700; line-height: 1.3; }
.legal-content h4 { font-size: 2rem; line-height: 1.5; margin: 2.7rem 0 1.35rem; }
.legal-content p { margin: 0 0 2.7rem; }
.legal-content ul, .legal-content ol { margin: 0 0 2.7rem; padding-left: 2.7rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: 0; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-content a:hover { color: var(--text); }
.legal-content strong, .legal-content b { font-weight: 700; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }
.legal-content > :last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .legal-page { padding: 6.4rem 0; }
  .legal-content { padding: 0 6.4rem; }
  .legal-content h1 { font-size: 4rem; }
  .legal-content h2, .legal-content h3 { font-size: 2.4rem; }
}
@media (max-width: 640px) {
  .legal-main { padding-top: 8rem; }
  .legal-page { padding: 4rem 0; }
  .legal-content { padding: 0 1.6rem; font-size: clamp(14px, 1.6rem, 1.6rem); }
  .legal-content h1 { font-size: 3.6rem; margin-bottom: 2.4rem; }
  .legal-content h2, .legal-content h3 { font-size: 2.4rem; margin: 3.12rem 0 2.4rem; }
  .legal-content h4 { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .legal-content p, .legal-content ul, .legal-content ol { margin-bottom: 2.4rem; }
  .legal-content ul, .legal-content ol { padding-left: 2.4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-word { display: inline-block; white-space: nowrap; }
.ta-char { display: inline-block; }
.ta-hero { --d: 2.4rem; }
.ta-sec { --d: 1.2rem; }
.anim-on .ta-hero .ta-char { opacity: 0; transform: translateX(calc(var(--x) * var(--d))) scale(.55) rotate(calc(var(--x) * 8deg)); }
.anim-on .ta-hero.is-in .ta-char { animation: ta-merge-pop .9s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i) * .035s) both, ta-merge-glow .7s ease-out calc(var(--i) * .035s + .45s) both; }
.anim-on .ta-sec .ta-char { opacity: 0; transform: translateX(calc(var(--x) * var(--d))) scale(.7); }
.anim-on .ta-sec.is-in .ta-char { animation: ta-merge-snap .7s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i) * .04s) both, ta-merge-tint .9s ease-out calc(var(--i) * .04s + .3s) both; }
.anim-on .ta-sec.reviews__title.is-in .ta-char { animation-name: ta-merge-snap, ta-merge-glow; }
@keyframes ta-merge-pop {
  0% { opacity: 0; transform: translateX(calc(var(--x) * var(--d))) scale(.55) rotate(calc(var(--x) * 8deg)); }
  45% { opacity: 1; transform: translateX(0) scale(.9) rotate(0deg); }
  62% { transform: translateX(0) scale(1.28, .82); }
  78% { transform: translateX(0) scale(.94, 1.08); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-merge-glow {
  0% { color: var(--bg); }
  30% { color: #FFD873; }
  100% { color: var(--bg); }
}
@keyframes ta-merge-snap {
  0% { opacity: 0; transform: translateX(calc(var(--x) * var(--d))) scale(.7); }
  55% { opacity: 1; transform: translateX(0) scale(1.15, .9); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-merge-tint {
  0% { color: var(--accent); }
  100% { color: var(--text); }
}
@media (max-width: 640px) {
  .ta-hero { --d: 1.4rem; }
  .ta-sec { --d: .8rem; }
  .anim-on .ta-hero.is-in .ta-char { animation-duration: .75s, .6s; }
  .anim-on .ta-sec.is-in .ta-char { animation-duration: .6s, .8s; }
}
/* /stp:title-anim */
