/* 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: #e5c18b;
  --bg2: #2c2214;
  --bg-white: #ffffff;
  --text-black: #010101;
  --text-white: #ffffff;
  --border-card: #e5e7eb;
  --bg: var(--bg1);
  --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; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text-black); background: var(--bg1); line-height: 1.2; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
main { padding-top: 10.4rem; }

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

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

.burger-btn {
  display: none; position: relative; z-index: 101; background: transparent; border: 0;
  width: 3.1rem; height: 3.1rem; padding: 0.75rem 0.4rem; flex-direction: column; justify-content: space-between; align-items: stretch;
}
.burger-btn span { display: block; width: 2.3rem; height: 0.2rem; background: var(--text-black); 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); }

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

a, button { transition: color 0.3s, opacity 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s; }

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

@media (max-width: 640px) {
  main { padding-top: 7.6rem; }
  #mobile-menu nav { gap: 5rem; }
}
/* /stp:base */
/* stp:header */
.header-inner { position: relative; height: 10.4rem; display: flex; align-items: center; justify-content: space-between; padding: 0 6.4rem; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; width: 7rem; }
.logo:hover { opacity: 0.7; }
.logo-img { width: 6rem; height: 6rem; object-fit: cover; }
.logo-text { font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; text-align: center; }
.nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 5rem; white-space: nowrap; }
.nav .nav-link { font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; }
.nav .nav-link:hover { color: #8a5a1c; text-decoration: underline; }

@media (max-width: 1024px) {
  .header-inner { padding: 0 3.2rem; }
  .nav { gap: 3rem; }
}
@media (max-width: 640px) {
  .header-inner { height: 7.6rem; padding: 0 4.4rem 0 2.4rem; }
  .logo { width: 4.4rem; gap: 0.4rem; }
  .logo-img { width: 4rem; height: 4rem; }
  .logo-text { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; }
  .nav { display: none; }
  .burger-btn { display: flex; }
}
/* /stp:header */
/* 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 { flex: 1 1 auto; max-width: 89.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; }
.hero-title { 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; }
.hero-btn {
  display: flex; align-items: center; justify-content: center; width: 33.7rem; height: 6.3rem; padding: 1rem 2.4rem;
  background: var(--bg2); color: var(--text-white); border-radius: 2.4rem; font-weight: 500; font-size: 2.2rem; line-height: 3.2rem;
}
.store-btn { animation: store-float 3s ease-in-out infinite; }
.store-btn:hover { animation-play-state: paused; }
.hero-btn:hover { background: #4a3a22; box-shadow: 0 0.8rem 2rem rgba(44, 34, 20, 0.35); }
.hero-img { flex: 0 0 35.6rem; width: 35.6rem; height: 63.6rem; border-radius: 2.4rem; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  #hero { padding: 4rem 3.2rem; }
  .hero-inner { gap: 3.2rem; }
  .hero-title { font-size: 4.8rem; line-height: 6rem; }
  .hero-desc { font-size: 2.6rem; line-height: 3.6rem; }
  .hero-img { flex-basis: 28rem; width: 28rem; height: 50rem; }
}
@media (max-width: 640px) {
  #hero { padding: 4rem 2.4rem; }
  .hero-inner { flex-direction: column; gap: 2rem; }
  .hero-text { gap: 2rem; width: 100%; max-width: none; }
  .hero-title { font-size: 3rem; line-height: 4rem; }
  .hero-desc { font-weight: 600; font-size: 2rem; line-height: 3rem; }
  .hero-btn { width: 100%; font-size: 2rem; line-height: 3rem; }
  .hero-img { flex: 0 0 auto; width: 19rem; height: 33.9rem; }
}
/* /stp:hero */
/* stp:features */
.sec-inner { width: 100%; max-width: 131.2rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4rem; }
.sec-title { font-family: var(--font-head); font-weight: 600; font-size: 5rem; line-height: 6.5rem; text-align: center; }
.cards { width: 100%; max-width: 117.6rem; display: flex; flex-direction: column; gap: 4rem; }
.card { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.4rem; background: var(--bg-white); color: var(--text-black); border: 1px solid var(--border-card); border-radius: 1.6rem; box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1), 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-0.4rem); box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.18); }
.card-title { font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; }
.card-text { font-weight: 400; font-size: 2.4rem; line-height: 3rem; }

#features { background: var(--bg2); color: var(--text-white); padding: 6.4rem; }

@media (max-width: 1024px) {
  #features { padding: 4.8rem 3.2rem; }
  .sec-title { font-size: 4.4rem; line-height: 5.6rem; }
  .card-title { font-size: 2.8rem; line-height: 3.6rem; }
  .card-text { font-size: 2.2rem; line-height: 2.8rem; }
}
@media (max-width: 640px) {
  #features { padding: 4rem 2.4rem; }
  .sec-inner { gap: 2rem; }
  .sec-title { font-weight: 700; font-size: 3rem; line-height: 4rem; }
  .cards { gap: 2rem; }
  .card { gap: 1.6rem; padding: 2rem; }
  .card-title { font-weight: 600; font-size: 2rem; line-height: 3rem; }
  .card-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2rem; }
}
/* /stp:features */
/* stp:how-it-works */
#how-it-works { padding: 6.4rem; }
.steps { width: 100%; max-width: 103.6rem; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
.step-1 { grid-column: 1; grid-row: 1; }
.step-2 { grid-column: 2; grid-row: 2; }
.step-3 { grid-column: 1; grid-row: 3; }
#how-it-works .step { gap: 1.6rem; }

@media (max-width: 1024px) {
  #how-it-works { padding: 4.8rem 3.2rem; }
}
@media (max-width: 640px) {
  #how-it-works { padding: 4rem 2.4rem; }
  #how-it-works .sec-inner { gap: 2rem; }
  .steps { display: flex; flex-direction: column; gap: 2rem; }
}
/* /stp:how-it-works */
/* stp:testimonials */
#testimonials { padding: 0 6.4rem 9.6rem; }
.review-author { font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; }

@media (max-width: 1024px) {
  #testimonials { padding: 0 3.2rem 6.4rem; }
  .review-author { font-size: 2.8rem; line-height: 3.6rem; }
}
@media (max-width: 640px) {
  #testimonials { padding: 0 2.4rem 6.4rem; }
  #testimonials .sec-inner { gap: 2rem; }
  .review-author { font-weight: 600; font-size: 2rem; line-height: 3rem; }
}
/* /stp:testimonials */
/* stp:faq */
#faq { background: var(--bg2); color: var(--text-white); padding: 6.4rem 20.8rem; }
.faq-list { width: 100%; display: flex; flex-direction: column; gap: 1.6rem; }
.faq-item { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1.6rem; overflow: hidden; transition: background 0.3s; }
.faq-item:hover { background: rgba(255, 255, 255, 0.16); }
.faq-q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 4rem; padding: 1.9rem 3.2rem; cursor: pointer; font-weight: 500; font-size: 2rem; line-height: 3.2rem; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q img { flex: 0 0 2.4rem; width: 2.4rem; height: 2.4rem; transition: transform 0.35s ease; }
.faq-item.is-open .faq-q { font-weight: 600; }
.faq-item.is-open .faq-q img { transform: rotate(180deg); }
.faq-a { padding: 0 3.2rem 2.4rem; font-weight: 400; font-size: 2rem; line-height: 2.4rem; }

@media (max-width: 1024px) {
  #faq { padding: 4.8rem 6.4rem; }
}
@media (max-width: 640px) {
  #faq { padding: 4rem 2.4rem; }
  #faq .sec-inner { gap: 2rem; }
  .faq-list { gap: 1rem; }
  .faq-q { gap: 2.4rem; padding: 2.4rem; font-weight: 600; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.8rem; }
  .faq-a { 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(--text-white); padding: 5rem 6.4rem; }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 19.2rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; text-align: center; }
.footer-links { white-space: pre-wrap; }
.footer a:hover { color: var(--bg1); text-decoration: underline; }

@media (max-width: 1024px) {
  .footer { padding: 4rem 3.2rem; }
  .footer-inner { gap: 6rem; }
}
@media (max-width: 640px) {
  .footer { padding: 3.2rem 2.4rem; }
  .footer-inner { flex-direction: column-reverse; gap: 4rem; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-white); }
.legal-body .header { background: var(--bg-white); }
.legal-body .header-inner { height: 6.4rem; padding: 0 1.4rem; }
.legal-body .logo, .legal-body .nav, .legal-body .burger-btn { display: none; }
.legal-close { position: relative; display: block; width: 3.2rem; height: 3.2rem; }
.legal-close::before, .legal-close::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 0.2rem; background: var(--text-black); transition: background 0.3s; }
.legal-close::before { transform: rotate(45deg); }
.legal-close::after { transform: rotate(-45deg); }
.legal-close:hover { opacity: 0.6; }
.legal-main { flex: 1 0 auto; padding-top: 6.4rem; }
.legal-page { padding: 0 4rem 8rem; }
.legal-content { width: 100%; max-width: 144rem; margin: 0 auto; font-family: var(--font-head); color: var(--text-black); }
.legal-content h1 { font-weight: 500; font-size: 5rem; line-height: 6.5rem; text-align: center; margin: 3.2rem 0 4.4rem; }
.legal-content h2 { font-weight: 700; font-size: 2.4rem; line-height: 3.2rem; margin: 3.2rem 0 1rem; }
.legal-content h3 { font-weight: 700; font-size: 2.4rem; line-height: 3.2rem; margin: 3.2rem 0 1rem; }
.legal-content h4 { font-weight: 700; font-size: 2rem; line-height: 2.9rem; margin: 2.4rem 0 1rem; }
.legal-content p, .legal-content li { font-size: 2rem; line-height: 2.9rem; }
.legal-content ul, .legal-content ol { padding-left: 3.6rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a { text-decoration: underline; transition: color 0.3s; }
.legal-content a:hover { color: #8a5a1c; }
.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-body .footer { background: var(--bg-white); color: var(--text-black); }
.legal-body .footer a:hover { color: #8a5a1c; }

@media (max-width: 1024px) {
  .legal-page { padding: 0 3.2rem 6rem; }
  .legal-content h1 { font-size: 4.4rem; line-height: 5.6rem; }
}
@media (max-width: 640px) {
  .legal-body .header-inner { height: 5.6rem; padding: 0 1.6rem; }
  .legal-main { padding-top: 5.6rem; }
  .legal-page { padding: 0 2.4rem 4rem; }
  .legal-close { width: 2.8rem; height: 2.8rem; }
  .legal-content h1 { font-size: 3rem; line-height: 4rem; margin: 2.4rem 0 2.4rem; }
  .legal-content h2, .legal-content h3 { font-size: 2rem; line-height: 2.8rem; margin: 2.4rem 0 0.8rem; }
  .legal-content h4 { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2.4rem; }
  .legal-content p, .legal-content li { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2.4rem; }
  .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-stone */
.hero-stone { --stone-delay: 0.7s; --stone-step: 0.22s; animation: stone-thud 0.5s ease-out calc(var(--stone-delay) + 3 * var(--stone-step) + 0.45s) 1; }
.hero-stone .stone-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em; margin: 0 -0.04em; }
.hero-stone .stone-word__in { display: inline-block; transform: translateY(110%); animation: stone-rise 0.6s cubic-bezier(0.5, 0, 0.2, 1) forwards; animation-delay: calc(var(--stone-delay) + var(--i) * var(--stone-step)); }
@keyframes stone-rise {
  0% { transform: translateY(110%); }
  75% { transform: translateY(-4%); }
  100% { transform: none; }
}
@keyframes stone-thud {
  0%, 100% { transform: none; }
  20% { transform: translateY(0.4rem); }
  40% { transform: translateX(-0.3rem); }
  60% { transform: translateX(0.3rem); }
  80% { transform: translateX(-0.1rem); }
}
/* /stp:hero-stone */
