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

:root {
  --bg: #1e4438;
  --text: #f1f5f9;
  --green: #4ade80;
  --yellow: #e5e042;
  --accent: #ffc120;
  --grey: #bababa;
  --font-head: 'Space Grotesk', 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); } }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
main { display: block; }

h2 { font-family: var(--font-head); font-weight: 700; font-size: 3.6rem; line-height: 1.2; color: var(--green); text-transform: uppercase; }
h3 { font-family: var(--font-head); font-weight: 500; font-size: 2.2rem; line-height: 1.2; color: var(--yellow); text-transform: capitalize; }

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

#mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
html.menu-lock, html.menu-lock body { overflow: hidden; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; transition: background-color 0.3s, box-shadow 0.3s; }
.header.scrolled { background: var(--bg); box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.35); }
html.menu-lock .header, html.menu-lock .header.scrolled { background: transparent; box-shadow: none; }

.burger-btn { display: none; background: transparent; border: 0; padding: 0; position: relative; z-index: 110; }
.burger-btn:hover { opacity: 0.7; }

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

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

@media (max-width: 640px) {
  .burger-btn { display: block; width: 4.8rem; height: 4.8rem; }
  .burger-btn span { position: absolute; left: 0.6rem; width: 3.6rem; height: 0.2rem; background: var(--green); border-radius: 0.1rem; transition: transform 0.3s, opacity 0.3s, top 0.3s, background-color 0.3s; }
  .burger-btn span:nth-child(1) { top: 1.2rem; }
  .burger-btn span:nth-child(2) { top: 2.3rem; }
  .burger-btn span:nth-child(3) { top: 3.4rem; }
  .burger-btn.act span { background: var(--bg); }
  .burger-btn.act span:nth-child(1) { top: 2.3rem; transform: rotate(45deg); }
  .burger-btn.act span:nth-child(3) { top: 2.3rem; transform: rotate(-45deg); }
  .burger-btn.act span:nth-child(2) { opacity: 0; }
  h2 { font-size: 3.6rem; }
}
/* /stp:base */
/* stp:header */
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 144rem; margin: 0 auto; padding: 2.5rem 8rem; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; text-transform: uppercase; }

@media (max-width: 1024px) {
  .header-inner { padding: 2.5rem 4rem; }
}

@media (max-width: 640px) {
  .header-inner { justify-content: flex-end; padding: 1.4rem 4.2rem; }
  .nav { display: none; }
}
/* /stp:header */
/* stp:menu */
.menu-panel { display: none; }

@media (max-width: 640px) {
  .menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 83.2%; display: flex; flex-direction: column; align-items: center; padding-top: 19.4rem; background: var(--green); border-radius: 4rem 0 0 4rem; }
  .menu-nav { display: flex; flex-direction: column; align-items: center; gap: 3.6rem; }
  .menu-nav .nav-link { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--bg); text-transform: uppercase; }
  .menu-nav .nav-link:hover { color: var(--text); }
  .menu-leaves { width: 15rem; height: auto; margin-top: 3.6rem; }
}
/* /stp:menu */
/* stp:hero */
.hero { padding: 27.4rem 8rem 27.3rem; background: url(../img/hero.webp) center / cover no-repeat; }
.hero-title { width: 54.2rem; }
.hero-title img { width: 100%; height: auto; }
.hero-island { display: none; }

@media (max-width: 1024px) {
  .hero { padding: 19vw 5.6vw 18.9vw; }
  .hero-title { width: 37.6vw; }
}

@media (max-width: 640px) {
  .hero { padding: 19rem 0 6.8rem; min-height: 80rem; background-image: url(../img/hero-m.webp); }
  .hero-title { width: 100%; }
  .hero-island { display: block; margin-top: 4.2rem; }
  .hero-island img { width: 100%; height: auto; }
}
/* /stp:hero */
/* stp:about */
.about { margin-top: 15rem; }
.about-inner { display: flex; align-items: flex-start; gap: 13.3rem; width: 100%; max-width: 105rem; margin: 0 auto; }
.about-img { flex: none; width: 39.5rem; height: 31.9rem; transform: scaleX(-1); }
.about-info { flex: none; width: 52.2rem; }
.about-info h2 { margin-bottom: 2.8rem; }
.about-info p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .about-inner { gap: 6rem; padding: 0 4rem; }
  .about-img { width: 39.5rem; max-width: 40%; height: auto; aspect-ratio: 395 / 319; }
  .about-info { flex: 1; width: auto; }
}

@media (max-width: 640px) {
  .about { margin-top: 8rem; }
  .about-inner { flex-direction: column; align-items: stretch; gap: 0; padding: 0 2rem; }
  .about-info { display: contents; }
  .about-info h2 { order: -1; margin-bottom: 2.4rem; text-align: center; }
  .about-img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 335 / 270; }
}
/* /stp:about */
/* stp:features */
.features { margin-top: 15rem; padding: 5.6rem 18.2rem 5.7rem 18.7rem; background: url(../img/features-bg.webp) center / cover no-repeat; }
.features-inner { width: 100%; }
.features h2 { margin-bottom: 2.8rem; text-align: center; }
.features-row { display: flex; align-items: flex-start; gap: 2rem; }
.features-list { flex: none; display: flex; flex-direction: column; gap: 2.2rem; width: 52.2rem; }
.feature { display: flex; flex-direction: column; gap: 1.2rem; }
.feature p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.features-img { flex: none; width: 52.9rem; height: 44.2rem; }

@media (max-width: 1024px) {
  .features { padding: 5.6rem 4rem 5.7rem; }
  .features-list { flex: 1; width: auto; min-width: 0; }
  .features-img { width: 42rem; max-width: 45%; height: auto; aspect-ratio: 529 / 442; }
}

@media (max-width: 640px) {
  .features { margin-top: 8rem; padding: 0; background: none; }
  .features h2 { margin-bottom: 2.4rem; }
  .features-row { flex-direction: column; align-items: stretch; gap: 0; }
  .features-img { order: -1; width: 100%; max-width: 100%; aspect-ratio: 375 / 314; }
  .features-list { flex: none; width: 100%; padding: 0 2rem; }
}
/* /stp:features */
/* stp:how-it-works */
.how { margin-top: 15rem; }
.how-inner { width: 100%; max-width: 128rem; margin: 0 auto; }
.how h2 { margin-bottom: 2.8rem; text-align: center; }
.how-row { display: flex; align-items: center; gap: 12.8rem; }
.how-media { flex: none; width: 63rem; height: 36rem; }
.how-img { width: 100%; height: 100%; object-fit: cover; border-radius: 4rem; }
.how-leaves { display: none; }
.steps { flex: none; display: flex; flex-direction: column; gap: 2.2rem; width: 52.2rem; }
.step { display: flex; align-items: flex-start; gap: 1.2rem; }
.step-icon { flex: none; width: 4rem; height: 4rem; }
.step-info { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.step-info p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .how-inner { padding: 0 4rem; }
  .how-row { gap: 5rem; }
  .how-media { width: 45rem; max-width: 45%; height: auto; aspect-ratio: 630 / 360; }
  .steps { flex: 1; width: auto; min-width: 0; }
}

@media (max-width: 640px) {
  .how { margin-top: 8rem; }
  .how-inner { padding: 0; }
  .how h2 { margin-bottom: 2.4rem; }
  .how-row { flex-direction: column; align-items: stretch; gap: 0; }
  .how-media { position: relative; width: 100%; max-width: 100%; height: 21.4rem; margin-bottom: 1.9rem; aspect-ratio: auto; }
  .how-leaves { display: block; position: absolute; right: 0; top: 13.2rem; width: 13rem; }
  .how-leaves img { width: 100%; height: auto; }
  .steps { flex: none; width: 100%; padding: 0 2rem; }
}
/* /stp:how-it-works */
/* stp:reviews */
.reviews { margin-top: 15rem; }
.reviews-inner { width: 100%; max-width: 127.9rem; margin: 0 auto; }
.reviews h2 { margin-bottom: 2.8rem; text-align: center; }
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 2rem; }
.review { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.2rem 3.6rem; border: 1px solid var(--yellow); border-radius: 4rem 0 4rem 0; transition: box-shadow 0.3s, transform 0.3s; }
.rating { display: flex; gap: 0.5rem; }
.rating img { width: 1.6rem; height: 1.6rem; }
.review-body { display: flex; flex-direction: column; gap: 1.8rem; }
.review-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.profile { display: flex; align-items: center; gap: 2.4rem; }
.avatar { flex: none; width: 7.2rem; height: 7.2rem; border-radius: 50%; object-fit: cover; }
.profile-name { font-family: var(--font-head); font-weight: 500; font-size: 2.2rem; line-height: 1.2; color: var(--yellow); text-transform: capitalize; }

@media (max-width: 1024px) {
  .reviews-inner { padding: 0 4rem; }
  .reviews-list { grid-template-columns: 1fr; max-width: 60rem; margin: 0 auto; }
}

@media (max-width: 640px) {
  .reviews { margin-top: 8rem; }
  .reviews-inner { padding: 0 2rem; }
  .reviews h2 { margin-bottom: 2.4rem; }
  .reviews-list { max-width: none; gap: 2.2rem; }
}
/* /stp:reviews */
/* stp:footer */
.footer { display: flex; flex-direction: column; gap: 5rem; margin-top: 15rem; padding: 4.6rem 8rem; background: var(--green); color: var(--bg); }
.footer-links { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-weight: 500; font-size: 2.2rem; line-height: 1.2; text-transform: capitalize; }
.footer-links a:hover { color: var(--text); }
.footer-copy { padding: 0 17.4rem 0 12.8rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.4rem; text-align: center; }

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

@media (max-width: 640px) {
  .footer { gap: 3.4rem; margin-top: 8rem; padding: 4.5rem 2rem; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-copy { text-align: left; line-height: 1.5; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 9.9rem; }
.legal-page { padding-bottom: 10rem; }
.legal-content { width: 100%; max-width: 108rem; margin: 0 auto; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--text); }
.legal-content h1 { margin: 0 0 2.8rem; font-family: var(--font-head); font-weight: 700; font-size: 3.6rem; line-height: 1.2; color: var(--green); text-align: center; text-transform: uppercase; }
.legal-content h2, .legal-content h3, .legal-content h4 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--text); text-transform: none; }
.legal-content p { margin: 0 0 2.4rem; }
.legal-content * + h2, .legal-content * + h3, .legal-content * + h4 { margin-top: 2.4rem; }
.legal-content h1 + h2, .legal-content h1 + h3, .legal-content h1 + h4 { margin-top: 0; }
.legal-content ul, .legal-content ol { margin: 0 0 2.4rem; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: 0; }
.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 a { color: var(--green); text-decoration: underline; transition: color 0.3s; }
.legal-content a:hover { color: var(--yellow); }
.legal-body .header-inner { max-width: 108rem; padding: 2.5rem 0; }
.legal-body .footer { margin-top: 0; padding-left: 18rem; padding-right: 18rem; }

@media (max-width: 1024px) {
  .legal-body .header-inner { padding: 2.5rem 4rem; }
  .legal-body .footer { padding-left: 4rem; padding-right: 4rem; }
  .legal-content { padding: 0 4rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 11.6rem; }
  .legal-page { padding-bottom: 8rem; }
  .legal-content { padding: 0 2rem; }
  .legal-content h1 { margin-bottom: 2.4rem; }
  .legal-body .header-inner { padding: 1.4rem 4.2rem; }
  .legal-body .footer { padding-left: 2rem; padding-right: 2rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .hero-title { position: relative; perspective: 120rem; }
.anim-on .hero-title picture { display: block; transform-origin: 50% 0; clip-path: inset(0 0 100% 0); transform: rotateX(18deg) translateY(-1.2rem); filter: brightness(1.9) saturate(0.4); }
.anim-on .hero-title::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, transparent 0, transparent calc(50% - 0.6rem), rgba(74, 222, 128, 0.35) calc(50% - 0.2rem), var(--yellow) 50%, transparent calc(50% + 0.2rem), transparent 100%) 0 100% / 100% 200% no-repeat; filter: drop-shadow(0 0 0.8rem var(--green)); }
.anim-on .hero-title.is-in picture { animation: ta-ledger-print 1.5s cubic-bezier(0.55, 0.05, 0.35, 1) forwards, ta-ledger-settle 1.1s 1.2s ease-out forwards, ta-ledger-glow 5s 3.2s ease-in-out infinite; }
.anim-on .hero-title.is-in::after { animation: ta-ledger-scan 1.5s cubic-bezier(0.55, 0.05, 0.35, 1) forwards; }

@keyframes ta-ledger-print {
  0% { clip-path: inset(0 0 100% 0); transform: rotateX(18deg) translateY(-1.2rem); }
  100% { clip-path: inset(0 0 0 0); transform: rotateX(0) translateY(0); }
}
@keyframes ta-ledger-settle {
  0% { filter: brightness(1.9) saturate(0.4); }
  100% { filter: brightness(1) saturate(1); }
}
@keyframes ta-ledger-glow {
  0%, 70%, 100% { filter: brightness(1) saturate(1) drop-shadow(0 0 0 rgba(74, 222, 128, 0)); }
  85% { filter: brightness(1.08) saturate(1.1) drop-shadow(0 0 1.6rem rgba(74, 222, 128, 0.45)); }
}
@keyframes ta-ledger-scan {
  0% { opacity: 0; background-position: 0 100%; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; background-position: 0 0; }
}

.ta-word { display: inline-block; white-space: nowrap; clip-path: inset(-0.1em -0.3em 0 -0.3em); }
.ta-char { display: inline-block; }
.anim-on .ta-title .ta-char { opacity: 0; transform: translateY(105%); color: var(--accent); filter: blur(0.15rem); }
.anim-on .ta-title.is-in .ta-char { animation: ta-tick-roll 0.75s calc(var(--i) * 0.05s) cubic-bezier(0.3, 1.5, 0.5, 1) forwards, ta-tick-tint 0.9s calc(var(--i) * 0.05s + 0.45s) ease-out forwards; }

@keyframes ta-tick-roll {
  0% { opacity: 0; transform: translateY(105%); filter: blur(0.15rem); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes ta-tick-tint {
  0% { color: var(--accent); }
  100% { color: var(--green); }
}

@media (max-width: 640px) {
  .anim-on .hero-title picture { transform: rotateX(10deg) translateY(-0.6rem); }
  .anim-on .hero-title.is-in picture { animation-duration: 1.2s, 0.9s, 5s; }
  .anim-on .hero-title.is-in::after { animation-duration: 1.2s; }
  .anim-on .ta-title.is-in .ta-char { animation-duration: 0.6s, 0.7s; }
}
/* /stp:title-anim */
