/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Kufam:wght@400;600&family=Passion+One&display=swap');

:root {
  --primary: #dde844;
  --text: #02000d;
  --surface: #fefefe;
  --accent: #00600c;
  --bg: #e7e7d9;
  --font-body: 'Kufam', sans-serif;
  --font-title: 'Passion One', sans-serif;
}

html {
  font-size: calc(100vw / 1440 * 10);
  overflow-x: hidden;
  overflow-y: scroll;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  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; }

body {
  margin: 0;
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out; }
button { font: inherit; color: inherit; cursor: pointer; }
section { margin: 0; }

#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;
  position: relative;
}

.stroke {
  display: block;
}
.stroke span {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--surface);
}
.stroke span::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  color: var(--text);
  -webkit-text-stroke: 0.6rem var(--text);
  stroke-linejoin: round;
  white-space: nowrap;
  pointer-events: none;
}

.burger-btn {
  display: none;
  position: relative;
  width: 6.4rem;
  height: 6.4rem;
  padding: 0;
  background: transparent;
  border: 0;
  z-index: 120;
  transition: opacity 0.3s ease-in-out;
}
.burger-btn:hover { opacity: 0.7; }
.burger-btn span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.4rem;
  height: 0.2rem;
  margin-left: -1.2rem;
  background: var(--text);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.burger-btn span:nth-child(1) { transform: translateY(-0.8rem); }
.burger-btn span:nth-child(2) { transform: translateY(0); }
.burger-btn span:nth-child(3) { transform: translateY(0.8rem); }
.burger-btn.act span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
#mobile-menu.opened {
  opacity: 1;
  pointer-events: auto;
}
#mobile-menu .nav-link {
  font-size: 2.4rem;
  font-weight: 600;
}

.nav-link:hover { color: var(--accent); }

.store-btn {
  transition: opacity 0.3s ease-in-out, box-shadow 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.store-btn:hover {
  filter: brightness(1.25);
  box-shadow: 0 0.4rem 1.6rem rgba(2, 0, 13, 0.35);
}

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

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

@media (max-width: 640px) {
  .container { padding: 0 1.6rem; }
  .burger-btn { display: block; }
}

.section-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 5.6rem;
  line-height: 1.2;
}
.section-title span::before { -webkit-text-stroke-width: 0.6rem; }

.item-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--accent);
}
.item-text {
  font-size: clamp(14px, 1.8rem, 1.8rem);
  margin-top: 0.4rem;
}

.side-img {
  position: absolute;
  right: 16rem;
}
.side-img img { width: 100%; height: auto; }

@media (max-width: 1024px) {
  .side-img { right: 6rem; width: 40rem; }
}

@media (max-width: 640px) {
  .section-title { font-size: 4.8rem; }
  .item-title { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .item-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .side-img { position: static; width: 100%; margin-top: 3.2rem; }
}
/* /stp:base */
/* stp:header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 6rem;
  background: var(--bg);
  transition: box-shadow 0.3s ease-in-out;
}
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(2, 0, 13, 0.15); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__logo { display: block; width: 4.4rem; height: 4.4rem; border-radius: 1rem; overflow: hidden; }
.header__logo:hover { opacity: 0.8; }
.header__logo img { width: 100%; height: 100%; object-fit: cover; }
.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; }

@media (max-width: 1024px) {
  .nav { width: 46rem; }
}

@media (max-width: 640px) {
  .header { height: 8rem; }
  .header__inner { align-items: flex-start; padding: 0 1.6rem; }
  .header__logo { margin-top: 2rem; }
  .burger-btn { margin-right: 0; margin-top: 1.6rem; margin-left: auto; }
  .nav { display: none; }
}
/* /stp:header */
/* stp:hero */
.hero {
  background: url('../img/hero.webp') no-repeat -26.4rem -12.5rem / 184.1rem 88.4rem var(--bg);
  padding: 15rem 0 8rem;
}
.hero__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 9.6rem;
  line-height: 1.2;
  margin-bottom: 4.8rem;
}
.hero__title span { color: var(--primary); }
.hero__title span::before { -webkit-text-stroke-width: 0.8rem; }
.hero__subtitle {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.6rem;
}
.hero__text {
  width: 54.4rem;
  max-width: 100%;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  margin-bottom: 4.8rem;
}
.store-btn.hero__store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 18rem;
  height: 5.7rem;
  padding: 1rem 1.2rem;
  background: #000;
  border: 1px solid #a6a6a6;
  border-radius: 0.6rem;
  overflow: hidden;
  animation: store-float 3s ease-in-out infinite;
}
.store-btn.hero__store:hover { animation-play-state: paused; }
.hero__store-icon { width: 3.1rem; height: 3.5rem; flex-shrink: 0; }
.hero__store-text { width: 11.3rem; height: 3.7rem; flex-shrink: 0; }

@media (max-width: 1024px) {
  .hero { background-position: -50.9rem -12.5rem; }
  .hero__subtitle { max-width: 44rem; }
  .hero__text { width: 44rem; }
}

@media (max-width: 640px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 81.2rem;
    padding: 10rem 0 6rem;
    background: url('../img/hero-m.webp') no-repeat 0 -18rem / 37.5rem 100rem var(--bg);
  }
  .hero__inner { display: flex; flex-direction: column; flex: 1; }
  .hero__title { font-size: 7.2rem; margin-bottom: 3.2rem; }
  .hero__subtitle { max-width: 23.3rem; font-size: 2.4rem; margin-bottom: 0.8rem; }
  .hero__text { width: 100%; font-size: clamp(14px, 1.6rem, 1.6rem); margin-bottom: 0; }
  .hero__store { align-self: center; margin-top: auto; }
}
/* /stp:hero */
/* stp:features */
.features { padding: 8rem 0; }
.features .section-title { margin-bottom: 6.4rem; }
.features__list { display: flex; flex-direction: column; gap: 2.4rem; width: 54.4rem; max-width: 100%; }
.features__img { top: 4rem; width: 50.2rem; }

@media (max-width: 1024px) {
  .features__list { width: 44rem; }
  .features__img { width: 40rem; }
}

@media (max-width: 640px) {
  .features { padding: 6rem 0; }
  .features .section-title { margin-bottom: 4.8rem; }
  .features__list { width: 100%; }
  .features__img { top: auto; width: 100%; }
}
/* /stp:features */
/* stp:how-it-works */
.how { padding: 8rem 0; }
.how__col { width: 54.4rem; max-width: 100%; }
.how .section-title { margin-bottom: 6.4rem; }
.how__steps { display: flex; flex-direction: column; gap: 2.4rem; }
.how__img { top: -7.8rem; width: 49.4rem; }

@media (max-width: 1024px) {
  .how__col { width: 44rem; }
  .how__img { width: 40rem; }
}

@media (max-width: 640px) {
  .how { padding: 6rem 0; }
  .how__col { width: 100%; }
  .how .section-title { margin-bottom: 4.8rem; }
  .how__img { top: auto; width: 100%; }
}
/* /stp:how-it-works */
/* stp:faq */
.faq { padding: 8rem 0; }
.faq .section-title { margin-bottom: 6.4rem; }
.faq__list { display: flex; flex-direction: column; gap: 1.6rem; }
.faq__item {
  padding: calc(1.6rem - 1px);
  border: 1px solid var(--text);
  border-radius: 1.6rem;
  transition: background-color 0.3s ease-in-out;
}
.faq__item:hover { background-color: rgba(254, 254, 254, 0.45); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  list-style: none;
  cursor: pointer;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__arrow {
  position: relative;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
}
.faq__arrow::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.7rem;
  width: 2rem;
  height: 1.4rem;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: transform 0.3s ease-in-out;
}
.faq__item[open] .faq__arrow::before { transform: rotate(180deg); }
.faq__answer { margin-top: 0.8rem; font-size: clamp(14px, 1.8rem, 1.8rem); }

@media (max-width: 640px) {
  .faq { padding: 6rem 0; }
  .faq .section-title { margin-bottom: 4.8rem; }
  .faq__answer { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:faq */
/* stp:about */
.about { padding: 8rem 0; }
.about__col { width: 54.4rem; max-width: 100%; }
.about .section-title { margin-bottom: 6.4rem; }
.about__text { font-size: clamp(14px, 1.8rem, 1.8rem); }
.about__img { top: 0.6rem; width: 44rem; }

@media (max-width: 1024px) {
  .about__col { width: 44rem; }
  .about__img { width: 40rem; }
}

@media (max-width: 640px) {
  .about { padding: 6rem 0; }
  .about__col { width: 100%; }
  .about .section-title { margin-bottom: 4.8rem; }
  .about__text { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .about__img { top: auto; width: 100%; }
}
/* /stp:about */
/* stp:footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 4rem 16rem 1.6rem;
  background: var(--text);
  color: var(--bg);
  text-align: center;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  font-size: clamp(14px, 1.8rem, 1.8rem);
}
.footer a:hover { color: var(--primary); }
.footer__copy { font-size: clamp(12px, 1.2rem, 1.2rem); }

@media (max-width: 1024px) {
  .footer { padding: 4rem 6rem 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;
  font-size: clamp(14px, 1.8rem, 1.8rem);
}
.legal-content h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 5.6rem;
  line-height: 1.2;
  margin-bottom: 2.7rem;
}
.legal-content h2 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 2.7rem 0 1.4rem;
}
.legal-content h3, .legal-content h4 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 2.7rem 0 0;
}
.legal-content p { margin-bottom: 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 a { color: var(--accent); text-decoration: underline; overflow-wrap: anywhere; transition: color 0.3s ease-in-out; }
.legal-content a:hover { color: var(--text); }
.legal-content strong, .legal-content b { font-weight: 600; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 1024px) {
  .legal-content { padding: 0 6rem; }
}

@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: 4.8rem; }
  .legal-content h2 { font-size: 2.4rem; }
  .legal-content h3, .legal-content h4 { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .legal-content p { margin-bottom: 2.4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .ta-split::before { content: none; }
.anim-on .ta-w {
  --ta-pop: 0.45s;
  --ta-flow: 0.5s;
  opacity: 0;
  transform: scale(0.3);
}
.anim-on .hero__title .ta-w {
  --ta-pop: 0.55s;
  --ta-flow: 0.55s;
}
.anim-on .hero__title.is-in .ta-w {
  animation: ta-pop var(--ta-pop) cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.9s + var(--i) * 0.14s) both,
    ta-ding 0.35s ease-out calc(1.35s + (var(--i) + 1) * var(--ta-flow));
}
.anim-on .section-title.is-in .ta-w {
  animation: ta-pop var(--ta-pop) cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i) * 0.1s) both,
    ta-ding 0.3s ease-out calc(0.35s + var(--i) * 0.16s + var(--ta-flow));
}
@keyframes ta-pop {
  0% { opacity: 0; transform: scale(0.3); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes ta-ding {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.08) rotate(-2deg); }
}
@media (max-width: 640px) {
  .anim-on .ta-w { --ta-pop: 0.4s; --ta-flow: 0.4s; }
  .anim-on .hero__title .ta-w { --ta-pop: 0.45s; --ta-flow: 0.45s; }
}
/* /stp:title-anim */
