/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@400;700&family=Montserrat:wght@500;700&family=Poppins:wght@400&family=Roboto:wght@400;500&display=swap');

:root {
  --violet: #661eb2;
  --black: #1a263c;
  --gray: #3a4252;
  --beige: #f0e6b8;
  --green: #54864f;
  --d-blue: #11394e;
  --d-green: #20472f;
  --yellow: #f9b411;
  --white: #ffffff;
  --bg: #661eb2;
  --shadow: rgba(47, 38, 38, 0.45);
  --font-title: 'Balsamiq Sans', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-alt: 'Poppins', sans-serif;
  --font-btn: 'Roboto', sans-serif;
  --fs-14: clamp(14px, 1.4rem, 1.4rem);
  --fs-16: clamp(14px, 1.6rem, 1.6rem);
  --fs-18: clamp(14px, 1.8rem, 1.8rem);
}

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);
  font-weight: 500;
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--black);
  background: linear-gradient(180deg, #5815bf 0%, #4d3a9e 27.88%, #287a7a 62.5%, #326542 100%);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; }
ul, ol { list-style: none; }

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

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

.store-btn { animation: store-float 3s ease-in-out infinite; }
.store-btn:hover { animation-play-state: paused; }
@keyframes store-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 5.2rem;
  line-height: 1.24;
  letter-spacing: 0.104rem;
  color: var(--beige);
  text-align: center;
}

.nav-link { transition: color 0.3s, opacity 0.3s; }

.burger-btn {
  display: none; position: relative; flex-shrink: 0;
  width: 4rem; height: 4rem;
  background: transparent; border: 0;
  z-index: 101;
}
.burger-btn span {
  position: absolute; left: 0.5rem; width: 3rem; height: 0.3rem;
  background: var(--white); border-radius: 0.2rem;
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.burger-btn span:nth-child(1) { top: 1.15rem; }
.burger-btn span:nth-child(2) { top: 1.85rem; }
.burger-btn span:nth-child(3) { top: 2.55rem; }
.burger-btn.act span:nth-child(1) { top: 1.85rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.85rem; transform: rotate(-45deg); }

#mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem;
  padding-top: 5.2rem;
  background: var(--violet);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link {
  padding: 0.8rem 1.2rem;
  font-family: var(--font-title); font-weight: 400; font-size: var(--fs-16); line-height: 1.44; letter-spacing: -0.03rem;
  color: var(--white); text-align: center;
}
#mobile-menu .nav-link:hover { color: var(--yellow); }

@media (max-width: 640px) {
  .burger-btn { display: block; }
  .section-title { font-size: 3.4rem; }
}
/* /stp:base */
/* stp:header */
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 6.2rem; padding: 0 8rem;
}
.logo { display: block; width: 4rem; height: 4rem; border-radius: 0.4rem; overflow: hidden; transition: opacity 0.3s; }
.logo:hover { opacity: 0.8; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav .nav-link {
  display: flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-title); font-weight: 400; font-size: var(--fs-16); line-height: 1.44; letter-spacing: -0.03rem;
  color: var(--white); text-align: center; white-space: nowrap;
}
.nav .nav-link:hover { color: var(--yellow); }

@media (max-width: 1024px) {
  .header__inner { padding: 0 3rem; }
  .nav { gap: 0.8rem; }
}

@media (max-width: 640px) {
  .header__inner { height: 5.2rem; padding: 0 1.6rem; }
  .nav { display: none; }
}
/* /stp:header */
/* stp:hero */
#hero {
  display: flex; align-items: center; justify-content: center;
  min-height: 81.2rem; padding: 6.2rem 0 0;
  background: url(../img/hero.webp) center / cover no-repeat;
}
.hero__card {
  display: flex; flex-direction: column; align-items: center; gap: 2.4rem;
  width: 53.4rem; padding: 5.6rem 4rem;
  border: 0.6rem solid var(--white); border-radius: 4rem;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(0.6rem); backdrop-filter: blur(0.6rem);
}
.hero__logo { width: 45.4rem; height: 23.9rem; }
.hero__body { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; width: 41.4rem; text-align: center; color: var(--black); }
.hero__title { font-family: var(--font-title); font-size: 2.6rem; line-height: 1.5; }
.hero__text { width: 36.6rem; max-width: 100%; font-size: var(--fs-16); line-height: 1.5; }
.cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  width: 24rem; padding: 1.2rem 2rem; border-radius: 1.2rem;
  background: linear-gradient(180deg, #22d315 0%, #21911b 100%);
  color: var(--white); font-family: var(--font-btn);
  transition: filter 0.3s, box-shadow 0.3s;
}
.cta-btn:hover { filter: brightness(1.12); box-shadow: 0 0.4rem 1.2rem rgba(33, 145, 27, 0.5); }
.cta-btn__icon { width: 3rem; height: 3.4rem; flex-shrink: 0; }
.cta-btn__text { display: flex; flex-direction: column; gap: 0.4rem; width: 11.8rem; line-height: normal; }
.cta-btn__small { font-weight: 400; font-size: var(--fs-14); }
.cta-btn__big { font-weight: 500; font-size: var(--fs-18); }

@media (max-width: 640px) {
  #hero { align-items: center; padding: 5.2rem 1.6rem 2.4rem; background-image: url(../img/hero-m.webp); }
  .hero__card { width: 34.3rem; padding: 4rem 1.6rem; }
  .hero__logo { width: 24.7rem; height: 13rem; }
  .hero__body { width: 31.1rem; }
  .hero__title { font-size: 2rem; }
  .hero__text { width: 100%; }
  .cta-btn { width: 31.1rem; }
}
/* /stp:hero */
/* stp:about */
#about { display: flex; flex-direction: column; align-items: center; gap: 3.2rem; padding: 8rem 8.4rem 6.4rem; }
.about__img { width: 84rem; max-width: 100%; height: auto; aspect-ratio: 840 / 410; object-fit: cover; box-shadow: 0.4rem 0.4rem 0.8rem var(--shadow); }
.about__info {
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  width: 105.6rem; max-width: 100%; padding: 4rem 6.4rem;
  background: var(--beige); border-radius: 0.8rem; filter: drop-shadow(0.4rem 0.4rem 0.4rem var(--shadow));
  text-align: center;
}
.about__subtitle { width: 100%; font-family: var(--font-title); font-size: 2.6rem; line-height: 1.5; color: var(--violet); }
.about__text { width: 100%; font-size: var(--fs-16); line-height: 1.5; color: var(--black); }

@media (max-width: 1024px) {
  #about { padding: 8rem 4rem 6.4rem; }
  .about__info { padding: 4rem 4rem; }
}

@media (max-width: 640px) {
  #about { gap: 2.4rem; padding: 4.8rem 1.6rem 3.2rem; }
  .about__img { width: 34.3rem; aspect-ratio: 343 / 167; }
  .about__info { align-items: stretch; gap: 0.8rem; padding: 2.4rem 1.6rem; text-align: left; }
  .about__subtitle { font-size: 2rem; }
}
/* /stp:about */
/* stp:how-to-play */
#how-to-play { display: flex; justify-content: center; padding: 6.4rem 8.4rem; }
.howto {
  position: relative; width: 105.6rem; max-width: 100%; height: 36rem;
  background: var(--d-blue); border-radius: 0.8rem; filter: drop-shadow(0.4rem 0.4rem 0.4rem var(--shadow));
}
.howto__girl { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 30rem; height: auto; }
.howto__birds { position: absolute; right: 0; top: 0.6rem; width: 18.2rem; height: auto; }
.howto__info {
  position: relative; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 3.2rem;
  height: 100%; padding: 4rem 6.4rem;
}
.howto__info .section-title { align-self: stretch; }
.howto__row {
  display: flex; align-items: stretch; gap: 2.4rem; width: 68.4rem; max-width: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.howto__row::-webkit-scrollbar { display: none; }
.play-card {
  flex: 0 0 21.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem;
  padding: 2.4rem 1.6rem; background: var(--green); border-radius: 0.4rem; color: var(--white); text-align: center;
  scroll-snap-align: start;
}
.play-card__title { font-family: var(--font-title); font-size: 2rem; line-height: 1.4; letter-spacing: 0.04rem; width: 100%; }
.play-card__text { font-size: var(--fs-16); line-height: 1.5; width: 100%; }
.howto__arrow {
  position: absolute; right: 1.6rem; top: 21.2rem; width: 3.2rem; height: 3.2rem;
  background: transparent; border: 0; transition: transform 0.3s, opacity 0.3s;
}
.howto__arrow img { width: 100%; height: 100%; }
.howto__arrow:hover { transform: scale(1.2); opacity: 0.85; }

@media (max-width: 1024px) {
  #how-to-play { padding: 6.4rem 4rem; }
  .howto__row { width: 44.8rem; }
}

@media (max-width: 640px) {
  #how-to-play { padding: 3.2rem 1.6rem; }
  .howto { width: 100%; height: 79.1rem; }
  .howto__info { align-items: stretch; justify-content: flex-start; gap: 2.4rem; padding: 3.5rem 1.6rem 0; }
  .howto__row { width: auto; margin-right: -1.6rem; gap: 1.6rem; }
  .howto__arrow { display: none; }
  .howto__girl { top: auto; bottom: 0; transform: none; }
  .howto__birds { top: 32.3rem; }
}
/* /stp:how-to-play */
/* stp:features */
#features { display: flex; align-items: center; padding: 6.4rem 8.4rem; }
.features__info {
  flex: 0 0 67.2rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3.2rem;
  margin-right: -2.4rem; padding: 4rem 6.4rem;
  background: var(--beige); border-radius: 0.8rem; filter: drop-shadow(0.4rem 0.4rem 0.4rem var(--shadow));
}
.features__title { width: 100%; color: var(--violet); text-align: left; }
.features__list { display: flex; flex-direction: column; gap: 1.6rem; width: 100%; }
.feature { display: flex; align-items: flex-start; gap: 0.8rem; }
.feature__icon { flex-shrink: 0; width: 4.2rem; height: 4.2rem; }
.feature__body { flex: 1; min-width: 0; color: var(--black); }
.feature__title { font-family: var(--font-title); font-size: 2rem; line-height: 1.4; letter-spacing: 0.04rem; }
.feature__text { font-size: var(--fs-16); line-height: 1.5; }
.features__pics { position: relative; flex: 0 0 62.4rem; width: 62.4rem; height: 64.3rem; }
.features__pic {
  position: absolute; border: 0.8rem solid var(--beige); border-radius: 0.8rem; object-fit: cover;
  box-shadow: 0.4rem 0.4rem 0.8rem var(--shadow); max-width: none;
}
.features__pic--main { left: 0.94rem; top: 0; width: 61.42rem; height: 34.31rem; }
.features__pic--left { left: 1.07rem; top: 31.27rem; width: 30.71rem; height: 30.71rem; transform: rotate(-4.14deg); }
.features__pic--right { left: 29.99rem; top: 31.94rem; width: 30.71rem; height: 30.71rem; transform: rotate(6.75deg); }

@media (max-width: 1024px) {
  #features { flex-direction: column; padding: 6.4rem 4rem; }
  .features__info { flex: 0 0 auto; width: 67.2rem; max-width: 100%; margin: 0 0 -2.4rem; }
}

@media (max-width: 640px) {
  #features { padding: 3.2rem 1.6rem; }
  .features__info { width: 100%; min-height: 60rem; gap: 2.4rem; padding: 2.4rem 1.6rem; }
  .feature__title { font-size: var(--fs-18); }
  .features__pics { flex: 0 0 auto; width: 34.3rem; max-width: 100%; height: 35.4rem; }
  .features__pic--main { left: 0.5rem; width: 33.8rem; height: 18.9rem; }
  .features__pic--left { left: 0.57rem; top: 17.17rem; width: 16.9rem; height: 16.9rem; transform: rotate(-4deg); }
  .features__pic--right { left: 16.57rem; top: 17.57rem; width: 16.9rem; height: 16.9rem; transform: rotate(6.75deg); }
}
/* /stp:features */
/* stp:gallery */
#gallery { display: flex; flex-direction: column; align-items: center; gap: 3.2rem; padding: 6.4rem 0; overflow: hidden; }
.gallery__row {
  display: flex; gap: 2.4rem; width: 100%; padding: 0 8.4rem 1.6rem;
  overflow-x: auto; cursor: grab;
  scrollbar-width: thin; scrollbar-color: var(--d-blue) transparent;
}
.gallery__row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__row::-webkit-scrollbar { height: 0.6rem; }
.gallery__row::-webkit-scrollbar-thumb { background: var(--d-blue); border-radius: 0.3rem; }
.gallery__row img { flex: 0 0 40.8rem; width: 40.8rem; max-width: none; height: 88.4rem; border-radius: 0.8rem; object-fit: cover; scroll-snap-align: center; user-select: none; -webkit-user-drag: none; }

@media (max-width: 640px) {
  #gallery { gap: 2.4rem; padding: 3.2rem 0; }
  .gallery__row { gap: 1.6rem; padding: 0 calc(50% - 16rem) 1.2rem; scroll-snap-type: x mandatory; }
  .gallery__row img { flex-basis: 32rem; width: 32rem; height: 69.4rem; }
}
/* /stp:gallery */
/* stp:reviews */
#reviews { display: flex; flex-direction: column; align-items: center; gap: 3.2rem; padding: 6.4rem 8.4rem; }
.reviews__wrap { display: flex; flex-direction: column; gap: 2.4rem; width: 100%; }
.reviews__row {
  display: flex; align-items: stretch; gap: 2.4rem; width: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.reviews__row::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 4.8rem) / 3); display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  padding: 3.2rem; border-radius: 0.8rem; color: var(--white); text-align: center; scroll-snap-align: start;
}
.review__stars { display: flex; align-items: center; }
.review__stars img { width: 2rem; height: 2rem; }
.review__text { font-size: var(--fs-16); line-height: 1.5; }
.review__name { font-family: var(--font-title); font-size: 2rem; line-height: 1.4; letter-spacing: 0.04rem; white-space: nowrap; }
.reviews__nav { display: flex; align-items: center; justify-content: center; gap: 2.8rem; }
.reviews__btn { width: 3.2rem; height: 3.2rem; background: transparent; border: 0; transition: transform 0.3s, opacity 0.3s; }
.reviews__btn img { width: 100%; height: 100%; }
.reviews__btn:hover { transform: scale(1.2); opacity: 0.85; }

@media (max-width: 1024px) {
  #reviews { padding: 6.4rem 4rem; }
  .review { flex-basis: calc((100% - 2.4rem) / 2); }
}

@media (max-width: 640px) {
  #reviews { gap: 2.4rem; padding: 3.2rem 1.6rem; }
  .reviews__wrap { gap: 0.8rem; }
  .review { flex-basis: 100%; padding: 2.4rem 1.6rem; }
  .review__name { font-size: var(--fs-18); }
}
/* /stp:reviews */
/* stp:faq */
#faq { display: flex; justify-content: center; padding: 6.4rem 8.4rem; }
.faq__box {
  display: flex; flex-direction: column; align-items: center; gap: 3.2rem;
  width: 105.6rem; max-width: 100%; padding: 4rem 0;
  background: var(--d-blue); border-radius: 0.8rem; filter: drop-shadow(0.4rem 0.4rem 0.4rem var(--shadow));
}
.faq__list { display: flex; flex-direction: column; gap: 2.4rem; width: 62.4rem; max-width: 100%; }
.faq-item { padding: 1.6rem 2.4rem; background: var(--beige); border-radius: 0.8rem; color: var(--gray); }
.faq-item__q {
  display: flex; align-items: flex-start; gap: 0.8rem; list-style: none; cursor: pointer;
  transition: opacity 0.3s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { opacity: 0.75; }
.faq-item__title { flex: 1; min-width: 0; font-family: var(--font-title); font-weight: 700; font-size: 2rem; line-height: 1.4; letter-spacing: 0.04rem; padding-top: 0.2rem; }
.faq-item__arrow { flex-shrink: 0; width: 3.2rem; height: 3.2rem; transition: transform 0.3s; }
.faq-item[open] .faq-item__arrow { transform: rotate(180deg); }
.faq-item__a { margin-top: 0.8rem; padding-right: 4rem; font-size: var(--fs-16); line-height: 1.5; }

@media (max-width: 1024px) {
  #faq { padding: 6.4rem 4rem; }
}

@media (max-width: 640px) {
  #faq { padding: 3.2rem 1.6rem; }
  .faq__box { gap: 2.4rem; padding: 4rem 1.6rem; }
  .faq__list { gap: 1.6rem; }
  .faq-item__title { font-size: var(--fs-18); padding-top: 0.34rem; }
}
/* /stp:faq */
/* stp:contact */
#contact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; padding: 6.4rem 17.6rem 8rem; }
.contact__title { font-family: var(--font-title); font-weight: 700; font-size: 2.6rem; line-height: 1.5; color: var(--beige); text-align: center; }
.contact__mail {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  width: 31.4rem; padding: 1.6rem 2.4rem; border-radius: 5rem;
  background: var(--violet); filter: drop-shadow(0.4rem 0.4rem 0.4rem var(--shadow));
  color: var(--white); transition: background-color 0.3s, transform 0.3s;
}
.contact__mail:hover { background: #7a35c9; transform: scale(1.04); }
.contact__mail-text { font-family: var(--font-title); font-weight: 700; font-size: 2rem; line-height: 1.4; letter-spacing: 0.04rem; white-space: nowrap; }
.contact__mail img { flex-shrink: 0; width: 3.2rem; height: 3.2rem; }

@media (max-width: 1024px) {
  #contact { padding: 6.4rem 4rem 8rem; }
}

@media (max-width: 640px) {
  #contact { padding: 3.2rem 1.6rem 4.8rem; }
  .contact__title { font-size: 2rem; }
  .contact__mail { width: 100%; }
  .contact__mail-text { font-size: var(--fs-18); }
}
/* /stp:contact */
/* stp:footer */
.footer { display: flex; flex-direction: column; align-items: center; gap: 6rem; padding: 6rem 0; background: var(--d-green); color: var(--white); }
.footer__links { display: flex; align-items: center; justify-content: flex-end; gap: 6rem; width: 100%; padding: 0 8.8rem; font-size: var(--fs-16); line-height: 1.5; text-align: center; }
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--yellow); text-decoration: underline; }
.footer__copy { width: 100%; font-family: var(--font-alt); font-weight: 400; font-size: var(--fs-16); line-height: 1.5; text-align: center; }

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

@media (max-width: 640px) {
  .footer { gap: 2.4rem; padding: 6rem 1.6rem; }
  .footer__links { flex-direction: column; justify-content: center; gap: 0.8rem; padding: 0; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--d-blue); }
.legal-main { flex: 1 0 auto; padding-top: 6.2rem; }
.legal-page { padding: 8rem 21.2rem; }
.legal-content { max-width: 101.6rem; margin: 0 auto; color: var(--white); }
.legal-content > :first-child { margin-top: 0; }
.legal-content h1 { margin: 0 0 4rem; font-family: var(--font-title); font-size: 5.2rem; line-height: 1.24; letter-spacing: 0.104rem; text-align: center; }
.legal-content h2, .legal-content h3, .legal-content h4 { margin-top: 4rem; font-family: var(--font-title); font-size: 2rem; line-height: 1.4; letter-spacing: 0.04rem; }
.legal-content h2 + p, .legal-content h3 + p, .legal-content h4 + p, .legal-content h2 + ul, .legal-content h3 + ul, .legal-content h4 + ul, .legal-content h2 + ol, .legal-content h3 + ol, .legal-content h4 + ol { margin-top: 1.6rem; }
.legal-content p, .legal-content li { font-size: var(--fs-16); line-height: 1.5; }
.legal-content p { margin-top: 0.8rem; }
.legal-content ul, .legal-content ol { margin-top: 0.8rem; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-top: 0.4rem; }
.legal-content a { color: var(--yellow); text-decoration: underline; transition: color 0.3s; }
.legal-content a:hover { color: var(--beige); }
.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: 1024px) {
  .legal-page { padding: 8rem 4rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 5.2rem; }
  .legal-page { padding: 6rem 1.6rem; }
  .legal-content h1 { margin-bottom: 4rem; font-size: 3.4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; }
.ta-l { display: inline-block; }
.anim-on .ta-hero .ta-l {
  opacity: 0;
  transform-origin: 50% 100%;
  transform: scale(0.4, 0);
  animation: ta-sprout 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(0.9s + var(--i) * 0.04s);
}
@keyframes ta-sprout {
  0% { opacity: 0; transform: scale(0.4, 0); color: var(--green); }
  45% { opacity: 1; transform: scale(0.9, 1.25); color: var(--green); }
  75% { transform: scale(1.06, 0.94); }
  100% { opacity: 1; transform: scale(1, 1); }
}
.anim-on .ta-sec .ta-w {
  opacity: 0;
  transform-origin: 50% 100%;
  transform: translateY(1.6rem) rotate(-8deg);
}
.anim-on .ta-sec.is-in .ta-w {
  animation: ta-sway 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 0.09s);
}
@keyframes ta-sway {
  0% { opacity: 0; color: var(--yellow); }
  40% { opacity: 1; transform: translateY(0) rotate(4deg); color: var(--yellow); }
  70% { transform: translateY(0) rotate(-1.5deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@media (max-width: 640px) {
  .anim-on .ta-hero .ta-l { animation-duration: 0.55s; animation-delay: calc(0.9s + var(--i) * 0.03s); }
  .anim-on .ta-sec .ta-w { transform: translateY(1rem) rotate(-5deg); }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: 0.7s; animation-delay: calc(var(--i) * 0.07s); }
}
/* /stp:title-anim */
