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

:root {
  --bg1: #FFEFD4;
  --bg2: #3B1600;
  --white: #FFFFFF;
  --text: #010101;
  --border: #e5e7eb;
  --accent: #8a4a1f;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', 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; background: var(--bg1); color: var(--text); font-family: var(--font-body); }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s, opacity .3s, background-color .3s, transform .3s, box-shadow .3s; }
button { font-family: inherit; cursor: pointer; }

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

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: var(--bg1); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, .15); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 10.4rem; padding: 0 6.4rem; }
.logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; width: 8.1rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; }
.logo img { width: 6rem; height: 6rem; }
.logo:hover { opacity: .7; }
.nav { display: flex; align-items: center; gap: 5rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; }
.nav-link:hover { color: var(--accent); }
.header__btn { justify-self: end; }

.store-btn { display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: 0.8rem; background: var(--bg2); color: var(--white); border-radius: 2.4rem; font-family: var(--font-body); font-weight: 500; transition: opacity .3s, transform .3s, box-shadow .3s, background-color .3s; }
.store-btn:hover { opacity: .85; box-shadow: 0 0.4rem 1.6rem rgba(59, 22, 0, .4); background: #5a2300; }
.store-btn--small { width: auto; min-width: 28.8rem; height: 4rem; padding: 1rem 2.4rem; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 2rem; }
.store-btn--small img { width: 1.6rem; height: 1.6rem; }

.burger-btn { display: none; position: relative; width: 3.1rem; height: 3.1rem; padding: 0; background: transparent; border: 0; z-index: 110; justify-self: end; }
.burger-btn span { position: absolute; left: 0.4rem; width: 2.3rem; height: 0.24rem; background: var(--text); border-radius: 0.2rem; transition: transform .3s, opacity .3s, top .3s; }
.burger-btn span:nth-child(1) { top: 0.75rem; }
.burger-btn span:nth-child(2) { top: 1.43rem; }
.burger-btn span:nth-child(3) { top: 2.11rem; }
.burger-btn.act span:nth-child(1) { top: 1.43rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.43rem; transform: rotate(-45deg); }

#mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4.2rem; padding-top: 7.6rem; background: var(--bg1); opacity: 0; pointer-events: none; transition: opacity .3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
.menu-nav { display: flex; flex-direction: column; align-items: center; gap: 5rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; }

main { padding-top: 10.4rem; }
section[id] { scroll-margin-top: 10.4rem; }

.section-title { font-family: var(--font-head); font-weight: 600; font-size: 5rem; line-height: 6.5rem; text-align: center; }

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

@media (max-width: 1024px) {
  .nav, .header__btn { display: none; }
  .burger-btn { display: block; }
  .header__inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 640px) {
  .header__inner { height: 7.6rem; padding: 0 2.4rem; }
  .logo { width: 5.4rem; gap: 0.4rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; }
  .logo img { width: 4rem; height: 4rem; }
  .burger-btn { margin-right: 2rem; }
  main { padding-top: 7.6rem; }
  section[id] { scroll-margin-top: 7.6rem; }
  #mobile-menu { padding-top: 5.6rem; }
  .section-title { font-weight: 700; font-size: 3rem; line-height: 4rem; }
}
/* /stp:base */
/* stp:header */

/* /stp:header */
/* stp:menu */
@media (max-width: 640px) {
  .menu-nav { gap: 5rem; }
  #mobile-menu .store-btn--small { width: auto; }
}
/* /stp:menu */
/* stp:hero */
.hero { padding: 6.4rem; }
.hero__inner { display: flex; align-items: center; gap: 6.4rem; width: 100%; max-width: 131.2rem; margin: 0 auto; }
.hero__text { display: flex; flex-direction: column; gap: 4rem; width: 54.8rem; flex-shrink: 0; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: 6rem; line-height: 7.5rem; }
.hero__desc { font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; }
.store-btn--big { width: 41.1rem; height: 6.3rem; padding: 1rem 2.4rem; font-size: 2.2rem; line-height: 3.2rem; }
.hero .store-btn--big { animation: store-float 3s ease-in-out infinite; }
.hero .store-btn--big:hover { animation-play-state: paused; }
.hero__img { width: 70rem; height: 39.4rem; flex: 1 1 auto; min-width: 0; object-fit: cover; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  .hero__inner { flex-direction: column; align-items: flex-start; gap: 4rem; }
  .hero__text { width: 100%; }
  .hero__img { width: 100%; height: auto; aspect-ratio: 700 / 394; }
}

@media (max-width: 640px) {
  .hero { padding: 4rem 2.4rem; }
  .hero__inner { gap: 2rem; }
  .hero__text { gap: 2rem; }
  .hero h1 { font-size: 3rem; line-height: 4rem; }
  .hero__desc { font-weight: 600; font-size: 2rem; line-height: 3rem; }
  .store-btn--big { width: 100%; font-size: 2rem; line-height: 3rem; }
  .hero__img { height: auto; aspect-ratio: 327 / 184; }
}
/* /stp:hero */
/* stp:features */
.container { width: 100%; max-width: 131.2rem; margin: 0 auto; display: flex; flex-direction: column; gap: 4rem; }
.cards { display: flex; flex-direction: column; gap: 4rem; width: 100%; max-width: 117.6rem; margin: 0 auto; }
.card { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.4rem; background: var(--white); border: 1px solid var(--border); border-radius: 1.6rem; box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, .1), 0 0.1rem 0.3rem rgba(0, 0, 0, .1); color: var(--text); }
.card h3 { font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; }
.card p { font-size: 2.4rem; line-height: 3rem; }
.features { padding: 6.4rem; background: var(--bg2); }
.features .section-title { color: var(--white); }

@media (max-width: 640px) {
  .features { padding: 4rem 2.4rem; }
  .container { gap: 2rem; }
  .cards { gap: 2rem; }
  .card { padding: 2rem; }
  .card h3 { font-weight: 600; font-size: 2rem; line-height: 3rem; }
  .card p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2rem; }
}
/* /stp:features */
/* stp:how-it-works */
.how { padding: 6.4rem; }
.steps { width: 100%; max-width: 103.6rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.step { width: 50%; }
.step--right { margin-left: 50%; }

@media (max-width: 640px) {
  .how { padding: 4rem 2.4rem; }
  .steps { gap: 2rem; }
  .step, .step--right { width: 100%; margin-left: 0; }
}
/* /stp:how-it-works */
/* stp:testimonials */
.reviews { padding: 0 6.4rem 9.6rem; }

@media (max-width: 640px) {
  .reviews { padding: 0 2.4rem 6.4rem; }
}
/* /stp:testimonials */
/* stp:faq */
.faq { padding: 6.4rem; background: var(--bg2); color: var(--white); }
.faq .section-title { color: var(--white); }
.faq__list { display: flex; flex-direction: column; gap: 1.6rem; width: 100%; }
.faq__item { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 1.6rem; transition: background-color .3s; }
.faq__item:hover { background: rgba(255, 255, 255, .15); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 3.2rem; padding: 1.95rem 3.2rem; list-style: none; cursor: pointer; font-weight: 500; font-size: 2rem; line-height: 3.2rem; transition: color .3s, padding .35s ease; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #ffd9a8; }
.faq__item summary::after { content: ''; flex-shrink: 0; width: 1rem; height: 1rem; margin: 0 0.7rem 0.6rem 0; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); transition: transform .35s ease, margin .35s ease; }
.faq__item.is-open summary { padding: 2.4rem 3.2rem; font-weight: 600; }
.faq__item.is-open summary::after { margin-bottom: 0; margin-top: 0.6rem; transform: rotate(-135deg); }
.faq__item p { padding: 0 3.2rem 2.4rem; font-size: 2rem; line-height: 2.4rem; }

@media (max-width: 640px) {
  .faq { padding: 4rem 2.4rem; }
  .faq__list { gap: 1rem; }
  .faq__item summary { padding: 2.9rem 2.4rem; font-weight: 400; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .faq__item.is-open summary { padding: 2.4rem; font-weight: 600; font-size: clamp(14px, 1.6rem, 1.6rem); }
  .faq__item p { padding: 0 2.4rem 2.4rem; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
}
/* /stp:faq */
/* stp:footer */
.footer { background: var(--bg2); color: var(--white); padding: 5rem 6.4rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; text-align: center; }
.footer__inner { display: flex; align-items: center; justify-content: center; gap: 19.2rem; padding: 0 1.8rem; }
.footer__links { white-space: pre-wrap; }
.footer a:hover { color: #ffd9a8; text-decoration: underline; }

@media (max-width: 1024px) {
  .footer__inner { gap: 6rem; }
}

@media (max-width: 640px) {
  .footer { padding: 3.2rem 2.4rem; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .footer__inner { flex-direction: column-reverse; gap: 4rem; padding: 0; }
  .footer__copy { max-width: 27.8rem; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--white); }
.legal-main { flex: 1 0 auto; padding-top: 6.1rem; }
.legal-header { background: var(--white); height: 6.1rem; }
.legal-close { position: absolute; top: 1rem; left: 1rem; width: 4.1rem; height: 4.1rem; }
.legal-close span { position: absolute; top: 50%; left: 50%; width: 2.7rem; height: 0.3rem; margin: -0.15rem 0 0 -1.35rem; background: var(--text); border-radius: 0.2rem; transform: rotate(45deg); transition: background-color .3s; }
.legal-close span:nth-child(2) { transform: rotate(-45deg); }
.legal-close:hover span { background: var(--accent); }
.legal-page { padding: 0 4rem 6rem; }
.legal-content { width: 100%; max-width: 136rem; margin: 0 auto; color: var(--text); font-size: 2.4rem; line-height: 3rem; }
.legal-content h1 { margin-bottom: 3rem; font-family: var(--font-head); font-weight: 600; font-size: 5rem; line-height: 6.5rem; text-align: center; }
.legal-content h2 { margin: 3rem 0 1rem; font-weight: 700; font-size: 3rem; line-height: 3.6rem; }
.legal-content h3 { margin: 2.4rem 0 1rem; font-weight: 700; font-size: 2.6rem; line-height: 3.2rem; }
.legal-content h4 { margin: 2rem 0 1rem; font-weight: 700; font-size: 2.4rem; line-height: 3rem; }
.legal-content p { margin: 0 0 1rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1rem; padding-left: 3.2rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { text-decoration: underline; transition: color .3s; }
.legal-content a:hover { color: var(--accent); }
.legal-content strong, .legal-content b { font-weight: 700; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-main { padding-top: 4.4rem; }
  .legal-header { height: 4.4rem; }
  .legal-close { width: 2.4rem; height: 2.4rem; }
  .legal-close span { width: 1.6rem; height: 0.2rem; margin: -0.1rem 0 0 -0.8rem; }
  .legal-page { padding: 0 0.8rem 4rem; }
  .legal-content { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .legal-content h1 { margin-bottom: 2rem; font-weight: 700; font-size: 3rem; line-height: 4rem; }
  .legal-content h2 { margin: 2rem 0 1rem; font-size: 2rem; line-height: 2.6rem; }
  .legal-content h3 { margin: 1.6rem 0 1rem; font-size: 1.8rem; line-height: 2.4rem; }
  .legal-content h4 { margin: 1.4rem 0 1rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2.2rem; }
  .legal-content ul, .legal-content ol { padding-left: 2.4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.title-anim { opacity: 0; transform: translateY(3rem); filter: blur(6px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease; }
.title-anim.is-visible { opacity: 1; transform: none; filter: none; }
/* /stp:title-anim */
/* stp:hero-title-drop */
.hero-title-drop .hero-word { display: inline-block; opacity: 0; transform-origin: 50% 100%; animation: hero-word-drop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; animation-delay: calc(0.7s + var(--i) * 0.09s); }
.hero-title-drop .hero-word--last { color: var(--accent); animation: hero-word-drop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, hero-word-shake 2.6s ease-in-out 2.2s infinite; animation-delay: calc(0.7s + var(--i) * 0.09s), 2.2s; }
@keyframes hero-word-drop {
  0% { opacity: 0; transform: translateY(-8rem) rotate(-8deg) scale(0.9); }
  60% { opacity: 1; transform: translateY(0.6rem) rotate(2deg) scaleY(0.88) scaleX(1.08); }
  80% { transform: translateY(-0.3rem) rotate(0) scale(1); }
  100% { opacity: 1; transform: none; }
}
@keyframes hero-word-shake {
  0%, 70%, 100% { opacity: 1; transform: none; }
  74% { opacity: 1; transform: rotate(-6deg) scale(1.08); }
  78% { opacity: 1; transform: rotate(6deg) scale(1.08); }
  82% { opacity: 1; transform: rotate(-4deg); }
  86% { opacity: 1; transform: rotate(3deg); }
  90% { opacity: 1; transform: none; }
}
/* /stp:hero-title-drop */
