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

:root {
  --bg: #e6e9e9;
  --green: #00611a;
  --green-hover: #0a7a2a;
  --text: #010101;
  --white: #ffffff;
  --border: #e5e7eb;
  --font-main: 'Inter', sans-serif;
  --font-head: 'Manrope', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; font-family: var(--font-main); font-weight: 400; color: var(--text); }
@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 { background: var(--bg); font-size: 2rem; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

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

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

main, .legal-main { padding-top: 10.4rem; }

#mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5rem; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }

.burger-btn { position: relative; display: none; z-index: 110; width: 3.1rem; height: 3.1rem; background: transparent; border: 0; transition: opacity 0.3s ease; }
.burger-btn:hover { opacity: 0.7; }
.burger-btn span { position: absolute; left: 0.4rem; width: 2.3rem; height: 0.3rem; background: var(--text); border-radius: 0.2rem; transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, width 0.3s ease, left 0.3s ease; }
.burger-btn span:nth-child(1) { top: 0.75rem; }
.burger-btn span:nth-child(2) { top: 1.4rem; }
.burger-btn span:nth-child(3) { top: 2.05rem; }
.burger-btn.act span:nth-child(1), .burger-btn.act span:nth-child(3) { top: 1.4rem; left: -0.05rem; width: 3.2rem; }
.burger-btn.act span:nth-child(1) { transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: rotate(-45deg); }

.nav-link { transition: color 0.3s ease; }
.nav-link:hover { color: var(--green); }

.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }

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

@media (max-width: 640px) {
  main, .legal-main { padding-top: 7.6rem; }
  .burger-btn { display: block; }
}
/* /stp:base */
/* stp:header */
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 10.4rem; padding: 0 6.4rem; }
.logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; width: 12.1rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; text-align: center; transition: opacity 0.3s ease; }
.logo img { width: 6rem; height: 6rem; }
.logo:hover { opacity: 0.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; }

@media (max-width: 640px) {
  .header-inner { height: 7.6rem; padding: 0 4.4rem 0 2.4rem; }
  .logo { width: 8.1rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; }
  .logo img { width: 4rem; height: 4rem; }
  .nav { display: none; }
}
/* /stp:header */
/* stp:menu */
#mobile-menu .nav-link { font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; }
/* /stp:menu */
/* stp:hero */
.hero { padding: 6.4rem; background: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)), url('../img/hero.webp') center / cover no-repeat; color: var(--white); }
.hero-inner { display: flex; align-items: center; min-height: 57.1rem; }
.hero-main { display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; width: 100%; max-width: 102.2rem; }
.hero h1 { font-family: var(--font-head); font-size: 6rem; font-weight: 700; line-height: 7.5rem; }
.hero-text { width: 100%; max-width: 89.2rem; font-size: 3.2rem; font-weight: 500; line-height: 4.2rem; }
.hero-btn { width: 33.7rem; height: 6.3rem; padding: 1rem 2.4rem; background: var(--green); border-radius: 2.4rem; color: var(--white); font-size: 2.2rem; font-weight: 500; line-height: 3.2rem; text-align: center; white-space: nowrap; }
.hero .store-btn { animation: store-float 3s ease-in-out infinite; }
.hero-btn:hover { background: var(--green-hover); box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.3); }
.hero .store-btn:hover { animation-play-state: paused; }

@media (max-width: 1024px) {
  .hero-text { max-width: 62%; }
}

@media (max-width: 640px) {
  .hero { padding: 4rem 2.4rem; background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-m.webp') center / cover no-repeat; }
  .hero-inner { min-height: 42.9rem; }
  .hero-main { gap: 2rem; max-width: none; }
  .hero h1 { font-size: 3rem; line-height: 4rem; }
  .hero-text { max-width: none; font-size: 2rem; font-weight: 600; line-height: 3rem; }
  .hero-btn { width: 100%; font-size: 2rem; line-height: 3rem; }
}
/* /stp:hero */
/* stp:features */
.container { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 6.4rem; }
.section-title { margin-bottom: 4rem; font-family: var(--font-head); font-size: 5rem; font-weight: 600; line-height: 6.5rem; text-align: center; }

.features { margin-top: 10rem; }
.features-grid { display: grid; grid-template-columns: repeat(2, 39.3rem); justify-content: center; gap: 4rem 6.4rem; }
.feature-card { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.4rem; background: var(--white); border: 1px solid var(--border); border-radius: 1.6rem; filter: drop-shadow(0 0.1rem 0.15rem rgba(0, 0, 0, 0.1)) drop-shadow(0 0.1rem 0.1rem rgba(0, 0, 0, 0.1)); }
.feature-card h3 { font-size: 3.2rem; font-weight: 500; line-height: 4.2rem; text-align: center; }
.feature-card p { display: flex; flex: 1; align-items: center; font-size: 2.4rem; line-height: 3rem; }

@media (max-width: 640px) {
  .container { padding: 0 2.4rem; }
  .section-title { margin-bottom: 2rem; font-size: 3rem; font-weight: 700; line-height: 4rem; }
  .features { margin-top: 5rem; }
  .features-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-card { padding: 2rem; }
  .feature-card h3 { font-size: 2rem; font-weight: 600; line-height: 3rem; }
  .feature-card p { align-items: flex-start; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2rem; }
}
/* /stp:features */
/* stp:how-it-works */
.how { margin-top: 10rem; padding: 6.4rem 0; background: var(--green); color: var(--white); }
.how .container { max-width: 144rem; }
.how .section-title { margin-bottom: 4rem; }
.how-img { width: 100%; max-width: 100rem; height: auto; margin: 0 auto 4rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; }
.step { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.4rem; border-radius: 2.4rem; }
.step h3 { display: flex; align-items: center; min-height: 6rem; font-size: 2.4rem; font-weight: 700; line-height: 3rem; }
.step p { font-size: 2rem; line-height: 2.4rem; }

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

@media (max-width: 640px) {
  .how { margin-top: 5rem; padding: 4rem 0; }
  .how .section-title { margin-bottom: 2rem; }
  .how-img { width: 30rem; margin-bottom: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step { padding-right: 1.8rem; }
  .step h3 { display: block; min-height: 0; font-size: 2rem; font-weight: 600; }
  .step p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2rem; }
}
/* /stp:how-it-works */
/* stp:testimonials */
.testimonials { margin-top: 10rem; }
.reviews { display: flex; flex-direction: column; gap: 4rem; width: 100%; max-width: 117.6rem; margin: 0 auto; }
.review { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.4rem; background: rgba(255, 255, 255, 0.4); border: 1px solid var(--border); border-radius: 1.6rem; box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1), 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1); }
.review-text { font-size: 2.4rem; line-height: 3rem; }
.review-author { font-size: 3.2rem; font-weight: 500; line-height: 4.2rem; }

@media (max-width: 640px) {
  .testimonials { margin-top: 5rem; }
  .reviews { gap: 2rem; }
  .review { padding: 2rem; }
  .review-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2rem; }
  .review-author { font-size: 2rem; font-weight: 600; line-height: 3rem; }
}
/* /stp:testimonials */
/* stp:faq */
.faq { margin-top: 10rem; }
.faq .container { padding: 0 16rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.6rem; }
.faq-item { padding: 1.6rem; background: var(--green); border-radius: 1.2rem; color: var(--white); transition: background-color 0.3s ease; }
.faq-item:hover { background: var(--green-hover); }
.faq-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; font-size: 2rem; font-weight: 700; line-height: 3.2rem; cursor: pointer; list-style: none; }
.faq-title::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 3rem; height: 2.4rem; transition: transform 0.3s ease; }
.faq-item[open] .faq-icon { transform: scaleY(-1); }
.faq-answer { margin-top: 0.8rem; font-size: 2rem; line-height: 2.4rem; }

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

@media (max-width: 640px) {
  .faq { margin-top: 5rem; }
  .faq .container { padding: 0 1.6rem; }
  .faq-title { align-items: center; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .faq-answer { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
}
/* /stp:faq */
/* stp:footer */
.footer { margin-top: 10rem; padding: 5rem 6.4rem; background: var(--green); color: var(--white); 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-link { transition: color 0.3s ease; }
.footer-link:hover { color: #b9f2c6; text-decoration: underline; }

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

@media (max-width: 640px) {
  .footer { margin-top: 5rem; padding: 3.2rem 0; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .footer-inner { flex-direction: column-reverse; gap: 4rem; padding: 0 2.4rem; }
}
/* /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: 3rem; }
.legal-body .header { background: transparent; }
.legal-body .header.scrolled { background: var(--white); }
.legal-header { height: 6.1rem; padding: 1rem; }
.legal-close { position: relative; display: block; width: 4.1rem; height: 4.1rem; transition: opacity 0.3s ease; }
.legal-close::before, .legal-close::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 0.2rem; background: var(--text); transition: background-color 0.3s ease; }
.legal-close::before { transform: translateY(-50%) rotate(45deg); }
.legal-close::after { transform: translateY(-50%) rotate(-45deg); }
.legal-close:hover::before, .legal-close:hover::after { background: var(--green); }
.legal-body .footer { background: transparent; color: var(--text); }
.legal-body .footer-link:hover { color: var(--green); }

.legal-page { padding: 0 4rem; }
.legal-content { width: 100%; max-width: 136rem; margin: 0 auto; font-size: 2.4rem; line-height: 1.21; }
.legal-content h1 { margin-bottom: 6.1rem; font-family: var(--font-head); font-size: 5rem; font-weight: 600; line-height: 6.5rem; text-align: center; }
.legal-content h2 { margin-top: 3rem; margin-bottom: 1rem; font-size: 3rem; font-weight: 700; line-height: 1.2; }
.legal-content h3, .legal-content h4 { margin-top: 2rem; margin-bottom: 1rem; font-size: 2.4rem; font-weight: 700; }
.legal-content p + p, .legal-content p + ul, .legal-content p + ol, .legal-content ul + p, .legal-content ol + p { margin-top: 1rem; }
.legal-content ul, .legal-content ol { padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a { text-decoration: underline; transition: color 0.3s ease; }
.legal-content a:hover { color: var(--green); }
.legal-content strong { font-weight: 700; }
.legal-content em { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-main { padding-top: 5rem; }
  .legal-header { height: 4.4rem; padding: 1rem; }
  .legal-close { width: 2.4rem; height: 2.4rem; }
  .legal-page { padding: 0 0.8rem; }
  .legal-content { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .legal-content h1 { margin-bottom: 3.5rem; font-size: 3rem; font-weight: 700; line-height: 4rem; }
  .legal-content h2 { margin-top: 2rem; font-size: 2rem; }
  .legal-content h3, .legal-content h4 { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .legal-content ul, .legal-content ol { padding-left: 2rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .ta-w { display: inline-block; white-space: nowrap; }
.anim-on .ta-l { display: inline-block; transform-origin: 50% 100%; }
.anim-on .hero h1 { --ta-d: 3rem; }
.anim-on .section-title { --ta-d: 1.5rem; }

.anim-on .hero h1 .ta-l { opacity: 0; animation: ta-sprout 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) calc(0.9s + var(--w) * 0.14s + var(--i) * 0.035s) both; }
.anim-on .hero h1 .ta-accent .ta-l { animation: ta-sprout 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) calc(0.9s + var(--w) * 0.14s + var(--i) * 0.035s) both, ta-breeze 6s ease-in-out calc(3.4s + var(--j) * 0.07s) infinite; }

.anim-on .section-title .ta-l { opacity: 0; }
.anim-on .section-title.is-in .ta-l { animation: ta-bud 0.8s cubic-bezier(0.34, 1.5, 0.64, 1) calc(var(--i) * 0.05s) both; }

@keyframes ta-sprout {
  0% { opacity: 0; color: var(--green-hover); transform: translateY(var(--ta-d)) scale(0.3, 0) rotate(-14deg); filter: blur(0.3rem); }
  45% { opacity: 1; filter: blur(0); }
  60% { transform: translateY(0) scale(0.92, 1.16) rotate(5deg); }
  80% { transform: scale(1.04, 0.95) rotate(-2deg); }
  100% { opacity: 1; transform: none; filter: none; }
}

@keyframes ta-breeze {
  0%, 82%, 100% { transform: none; }
  87% { transform: translateY(-0.5rem) rotate(-6deg); }
  93% { transform: rotate(3deg); }
}

@keyframes ta-bud {
  0% { opacity: 0; color: var(--green); transform: translateY(var(--ta-d)) scale(0.5, 0); }
  50% { opacity: 1; }
  65% { transform: scale(0.95, 1.12); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .anim-on .hero h1 { --ta-d: 1.5rem; }
  .anim-on .section-title { --ta-d: 1rem; }
  .anim-on .hero h1 .ta-l { animation-duration: 0.7s; animation-delay: calc(0.9s + var(--w) * 0.1s + var(--i) * 0.025s); }
  .anim-on .hero h1 .ta-accent .ta-l { animation-duration: 0.7s, 6s; animation-delay: calc(0.9s + var(--w) * 0.1s + var(--i) * 0.025s), calc(2.8s + var(--j) * 0.07s); }
  .anim-on .section-title.is-in .ta-l { animation-duration: 0.6s; animation-delay: calc(var(--i) * 0.04s); }
}
/* /stp:title-anim */
