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

:root {
  --bg: #EAE8D9;
  --orange: #EE581C;
  --orange-light: #FF7A3D;
  --yellow: #F4D03E;
  --peach: #F88353;
  --pink: #F9B2BA;
  --green: #CAD184;
  --blue: #B0D3D7;
  --violet: #B4BFFC;
  --white: #FFFFFF;
  --black: #1E1A17;
  --ink: #0A141E;
  --gray: #434343;
  --font-head: 'EB Garamond', serif;
  --font-body: 'Poppins', sans-serif;
  --font-store: 'Roboto', sans-serif;
  --shadow: 0.4rem 0.4rem 1.4rem rgba(66, 63, 42, 0.1);
  --shadow-card: 0.8rem 0.8rem 1.6rem rgba(102, 93, 93, 0.1);
}

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 {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  overflow-x: hidden;
}

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

#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(--orange);
  border-radius: 0 0 2.4rem 2.4rem;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.25); }

.burger-btn {
  display: none;
  position: relative;
  z-index: 101;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.burger-btn span {
  display: block;
  width: 2.8rem;
  height: 0.3rem;
  border-radius: 0.2rem;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn.act span:nth-child(1) { transform: translateY(0.8rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-0.8rem) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5.2rem;
  background: var(--orange);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.44;
  color: var(--white);
  transition: color 0.3s, opacity 0.3s;
}
.nav-link:hover { color: var(--yellow); }

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 24rem;
  padding: 1.2rem 2rem;
  border-radius: 5rem;
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: background 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.store-btn:hover { background: var(--orange-light); box-shadow: 0.6rem 0.6rem 1.6rem rgba(66, 63, 42, 0.25); }

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

@media (max-width: 1024px) {
  .header { border-radius: 0 0 2rem 2rem; }
}

@media (max-width: 640px) {
  .header { border-radius: 0 0 1.6rem 1.6rem; }
  .burger-btn { display: flex; }
}
/* /stp:base */
/* stp:header */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 144rem;
  height: 6.2rem;
  margin: 0 auto;
  padding: 0 8rem;
}
.logo { display: block; width: 4rem; height: 4rem; transition: opacity 0.3s; }
.logo:hover { opacity: 0.8; }
.logo img { width: 4rem; height: 4rem; border-radius: 0.4rem; }
.nav { display: flex; align-items: center; gap: 3.2rem; }
.nav .nav-link { padding: 0.4rem 0; text-align: center; }

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

@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;
  min-height: 81.2rem;
  padding: 6.6rem 8.4rem 0;
  background: var(--bg) url('../img/hero.webp') center / cover no-repeat;
}
.hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 51.6rem;
  padding: 5.6rem 4rem;
  border: 2px solid var(--white);
  border-radius: 4rem;
  background: var(--bg);
}
.hero__logo { width: 43.6rem; height: 30.7rem; }
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 41.4rem;
  text-align: center;
}
.hero__text h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.5;
  color: var(--black);
}
.hero__text p {
  width: 36.6rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
}
.store-btn { animation: store-float 3s ease-in-out infinite; }
.store-btn:hover { animation-play-state: paused; }
.store-btn__icon { flex: none; width: 3rem; height: 3.4rem; }
.store-btn__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 11.8rem;
  font-family: var(--font-store);
  line-height: normal;
}
.store-btn__top { font-weight: 400; font-size: clamp(14px, 1.4rem, 1.4rem); }
.store-btn__name { font-weight: 500; font-size: clamp(14px, 1.8rem, 1.8rem); }

@media (max-width: 1024px) {
  .hero { padding-left: 4rem; padding-right: 4rem; }
}

@media (max-width: 640px) {
  .hero {
    align-items: flex-end;
    padding: 5.2rem 1.6rem 3.2rem;
    background-image: url('../img/hero-m.webp');
  }
  .hero__card {
    gap: 1.6rem;
    width: 100%;
    padding: 3.2rem 1.6rem;
    border-radius: 2.4rem;
  }
  .hero__logo { width: 25.5rem; height: 18rem; }
  .hero__text { width: 31.1rem; }
  .hero__text h1 { font-size: 2.2rem; }
  .hero__text p { width: 100%; }
  .hero__btn { width: 100%; }
}
/* /stp:hero */
/* stp:about */
.about { padding: 6.4rem 8.4rem; }
.about__box {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 127.2rem;
  min-height: 47rem;
  margin: 0 auto;
}
.about__box::before {
  content: '';
  position: absolute;
  top: 7.2rem;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('../img/blob-about.svg') 0 0 / 100% 100% no-repeat;
}
.about__info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.4rem;
  width: 62.4rem;
  height: 39.8rem;
  margin-left: 10.8rem;
}
.about__info h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--black);
}
.about__text { display: flex; flex-direction: column; gap: 0.8rem; }
.about__text p {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: #1A263C;
}
.about__img { position: relative; flex: none; width: 51.6rem; height: 47rem; object-fit: contain; }

@media (max-width: 1024px) {
  .about { padding-left: 4rem; padding-right: 4rem; }
  .about__info { width: 50%; margin-left: 5rem; }
  .about__img { width: 42%; height: auto; }
}

@media (max-width: 640px) {
  .about { padding: 4.8rem 0 3.2rem; }
  .about__box {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 74.2rem;
    padding: 3.2rem 3.2rem 0;
  }
  .about__box::before {
    top: 0;
    background-image: url('../img/blob-about-m.svg');
  }
  .about__info {
    gap: 1.6rem;
    width: 100%;
    height: auto;
    margin-left: 0;
  }
  .about__info h2 { font-size: 2.4rem; line-height: 1.4; }
  .about__img { width: 28.2rem; height: 25.7rem; margin: 2.4rem 0 0 2.1rem; }
}
/* /stp:about */
/* stp:how-to-play */
.steps { padding: 6.4rem 8.4rem; }
.steps__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4.8rem;
  width: 100%;
  max-width: 127.2rem;
  margin: 0 auto 3.2rem;
}
.steps__head h2 {
  max-width: 51.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--ink);
}
.steps__details {
  flex: none;
  width: 30rem;
  padding-left: 1.6rem;
  border-left: 2px dotted var(--orange);
}
.steps__details p {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
}
.steps__slider { position: relative; width: 100%; max-width: 127.2rem; margin: 0 auto; }
.steps__track {
  display: flex;
  gap: 2.4rem;
  margin-bottom: -3rem;
  padding-bottom: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.steps__track::-webkit-scrollbar { display: none; }
.card {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 30rem;
  min-height: 39rem;
  padding: 3.2rem 1.6rem 5.6rem;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-0.4rem); }
.card--peach { background: var(--peach); }
.card--pink { background: var(--pink); }
.card--green { background: var(--green); }
.card--blue { background: var(--blue); }
.card--violet { background: var(--violet); }
.card img { width: 12rem; height: 18.8rem; object-fit: contain; }
.card__body {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 0 1.6rem;
  text-align: center;
}
.card__body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--black);
}
.card__body p {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  background: url('../img/nav-arrow.svg') center / 2.67rem 2.67rem no-repeat;
  transition: opacity 0.3s, transform 0.3s;
}
.slider-arrow--prev { left: -4.4rem; transform: translateY(-50%) rotate(-90deg); }
.slider-arrow--next { right: -4.4rem; transform: translateY(-50%) rotate(90deg); }
.slider-arrow--prev:hover { opacity: 0.7; transform: translateY(-50%) rotate(-90deg) scale(1.15); }
.slider-arrow--next:hover { opacity: 0.7; transform: translateY(-50%) rotate(90deg) scale(1.15); }

@media (max-width: 1024px) {
  .steps { padding-left: 4rem; padding-right: 4rem; }
  .steps__head { flex-wrap: wrap; gap: 2.4rem; }
  .slider-arrow--prev { left: -3.6rem; }
  .slider-arrow--next { right: -3.6rem; }
}

@media (max-width: 640px) {
  .steps { padding: 3.2rem 1.6rem; }
  .steps__head { flex-direction: column; align-items: flex-start; gap: 1.6rem; margin-bottom: 2.4rem; }
  .steps__head h2 { max-width: none; font-size: 2.4rem; line-height: 1.4; }
  .steps__details { width: 100%; }
  .steps__slider { width: auto; margin: 0 -1.6rem; }
  .steps__track {
    gap: 1.6rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    scroll-padding-left: 1.6rem;
  }
  .card { min-height: 35.6rem; padding: 2.4rem 1.6rem 3.2rem; }
  .card__body h3 { font-size: 2rem; }
  .slider-arrow { display: none; }
}
/* /stp:how-to-play */
/* stp:features */
.features { padding: 6.4rem 8.4rem; }
.features__box {
  display: flex;
  align-items: center;
  gap: 4.8rem;
  width: 100%;
  max-width: 127.2rem;
  margin: 0 auto;
}
.features__img { flex: none; width: 62.4rem; height: auto; aspect-ratio: 624 / 497; }
.features__info { display: flex; flex-direction: column; gap: 3.2rem; flex: 1; min-width: 0; }
.features__info h2 {
  max-width: 51.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--ink);
}
.features__list { display: flex; flex-direction: column; gap: 2.4rem; }
.feature { display: flex; align-items: flex-start; gap: 0.8rem; }
.feature__icon { flex: none; width: 2.94rem; height: 2.75rem; margin: 0.2rem 0.13rem 0; }
.feature__body { display: flex; flex-direction: column; gap: 0.4rem; }
.feature__body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--black);
}
.feature__body p {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
}

@media (max-width: 1024px) {
  .features { padding-left: 4rem; padding-right: 4rem; }
  .features__box { gap: 3.2rem; }
  .features__img { width: 45%; }
  .features__info h2 { max-width: none; font-size: 3.2rem; }
}

@media (max-width: 640px) {
  .features { padding: 3.2rem 1.6rem; }
  .features__box { flex-direction: column; align-items: stretch; gap: 2.4rem; }
  .features__img { order: 2; width: 100%; }
  .features__info { flex: none; gap: 2.4rem; }
  .features__info h2 { font-size: 2.4rem; line-height: 1.4; }
  .features__list { gap: 1.6rem; }
  .feature__body h3 { font-size: 2rem; }
}
/* /stp:features */
/* stp:gallery */
.gallery {
  padding: 6.4rem 8.4rem 4.8rem;
  border-radius: 5.6rem;
  background: var(--peach) url('../img/paws.webp') 2.2rem 0 / 139.6rem 76.3rem no-repeat;
}
.gallery__box { width: 100%; max-width: 127.2rem; margin: 0 auto; }
.gallery__box h2 {
  max-width: 51.6rem;
  margin-bottom: 3.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--white);
}
.gallery__list { display: flex; align-items: center; gap: 2.4rem; }
.gallery__list img {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 300 / 533;
  object-fit: cover;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-card);
}

@media (max-width: 1024px) {
  .gallery { padding-left: 4rem; padding-right: 4rem; }
  .gallery__box h2 { max-width: none; font-size: 3.2rem; }
}

@media (max-width: 640px) {
  .gallery { padding: 3.2rem 1.6rem; border-radius: 3.2rem; }
  .gallery__box h2 { margin-bottom: 2.4rem; font-size: 2.4rem; line-height: 1.4; }
  .gallery__list {
    gap: 1.6rem;
    margin: 0 -1.6rem;
    padding: 0 1.6rem 3rem;
    margin-bottom: -3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1.6rem;
    scrollbar-width: none;
  }
  .gallery__list::-webkit-scrollbar { display: none; }
  .gallery__list img {
    flex: none;
    width: 30rem;
    height: 53.3rem;
    scroll-snap-align: start;
  }
}
/* /stp:gallery */
/* stp:faq */
.faq { padding: 6.4rem 8.4rem; }
.faq__box { width: 100%; max-width: 84rem; margin: 0 auto; }
.faq__box h2 {
  margin-bottom: 3.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--ink);
}
.faq__list { display: flex; flex-direction: column; gap: 2.4rem; }
.faq__item {
  padding: 1.6rem 2.4rem;
  border-radius: 0.8rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
/* Header row never changes between states: text and arrow keep their places,
   only the arrow rotates and the answer height animates. */
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}
.faq__q:hover { color: var(--orange); }
.faq__q-text { flex: 1; padding: calc((3.2rem - 1.5em) / 2) 0; }
.faq__icon {
  flex: none;
  width: 3.2rem;
  height: 3.2rem;
  background: url('../img/faq-arrow.svg') center / 2.67rem 2.67rem no-repeat;
  transform: rotate(180deg);
  transition: transform 0.3s;
}
.faq__item.is-open .faq__icon { transform: rotate(0deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { min-height: 0; overflow: hidden; }
.faq__a p {
  padding-top: 0.8rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
}

@media (max-width: 1024px) {
  .faq { padding-left: 4rem; padding-right: 4rem; }
}

@media (max-width: 640px) {
  .faq { padding: 3.2rem 1.6rem; }
  .faq__box h2 { margin-bottom: 2.4rem; font-size: 2.4rem; line-height: 1.4; }
  .faq__q { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:faq */
/* stp:contact */
.contact { padding: 6.4rem 8.4rem 8rem; }
.contact__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 84rem;
  min-height: 25.1rem;
  margin: 0 auto;
  padding: 5rem 0 4.8rem;
  background: url('../img/blob-cta.svg') 0 0 / 100% 100% no-repeat;
}
.contact__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 62.4rem;
  text-align: center;
}
.contact__info h2 {
  max-width: 55.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--black);
}
.contact__actions { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.contact__mail, .contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  font-weight: 600;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.contact__mail { background: var(--white); color: var(--black); }
.contact__mail:hover { color: var(--orange); box-shadow: var(--shadow); }
.contact__btn { background: var(--orange); color: var(--white); }
.contact__btn:hover { background: var(--orange-light); box-shadow: var(--shadow); }

@media (max-width: 1024px) {
  .contact { padding-left: 4rem; padding-right: 4rem; }
}

@media (max-width: 640px) {
  .contact { padding: 3.2rem 0 4.8rem; }
  .contact__box {
    max-width: none;
    min-height: 25.1rem;
    padding: 3.7rem 1.6rem 3.6rem;
    background-image: url('../img/blob-cta-m.svg');
  }
  .contact__info { gap: 1.6rem; width: 100%; }
  .contact__info h2 { max-width: none; font-size: 2.4rem; line-height: 1.4; }
  .contact__actions { flex-direction: column; width: 100%; gap: 0.8rem; }
  .contact__mail, .contact__btn { width: 100%; }
}
/* /stp:contact */
/* stp:footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
  padding: 6rem 0;
  background: var(--orange);
  color: var(--white);
}
.footer__docs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6rem;
  width: 100%;
  padding: 0 8.8rem;
  font-weight: 600;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  text-align: center;
}
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__rights {
  width: 100%;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  text-align: center;
}

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

@media (max-width: 640px) {
  .footer { gap: 2.4rem; padding: 6rem 1.6rem; }
  .footer__docs {
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 0;
    font-size: clamp(14px, 1.6rem, 1.6rem);
  }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 6.6rem; }
.legal-page { padding: 8rem 21.2rem; }
.legal-content { width: 100%; max-width: 101.6rem; margin: 0 auto; color: rgba(10, 20, 30, 0.75); }
.legal-content h1 {
  margin-bottom: 4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.2;
  text-align: center;
}
.legal-content h2, .legal-content h3, .legal-content h4 {
  margin: 2.4rem 0 1.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
}
.legal-content h1 + h2, .legal-content h1 + h3, .legal-content h1 + h4 { margin-top: 0; }
.legal-content p {
  margin-bottom: 0.8rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
}
.legal-content ul, .legal-content ol { margin: 0 0 0.8rem; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li {
  margin-bottom: 0.4rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
}
.legal-content a { color: #006FFF; text-decoration: underline; transition: color 0.3s; }
.legal-content a:hover { color: var(--orange); }
.legal-content strong { font-weight: 600; }
.legal-content em { font-style: italic; }
.legal-content u { text-decoration: underline; }
.legal-content > :last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .legal-page { padding: 8rem 4rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 5.2rem; }
  .legal-page { padding: 5.6rem 1.6rem; }
  .legal-content h1 { margin-bottom: 4rem; font-size: 2.4rem; line-height: 1.4; }
  .legal-content h2, .legal-content h3, .legal-content h4 { font-size: 2rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .ta-w { display: inline-block; white-space: nowrap; will-change: transform, opacity; }
.anim-on .ta-hero .ta-w {
  transform-origin: 50% 100%;
  animation: ta-plop 0.8s cubic-bezier(0.3, 0.7, 0.4, 1) calc(0.9s + var(--i) * 0.14s) both;
}
.anim-on .ta-hero .ta-accent {
  animation: ta-plop 0.8s cubic-bezier(0.3, 0.7, 0.4, 1) calc(0.9s + var(--i) * 0.14s) both,
    ta-jelly 5s ease-in-out 3s infinite;
}
@keyframes ta-plop {
  0% { opacity: 0; transform: translateY(-2.8rem) rotate(calc(var(--s) * -8deg)); color: var(--orange); }
  45% { opacity: 1; transform: translateY(0) rotate(0) scale(1.14, 0.8); color: var(--orange); }
  65% { transform: translateY(-0.6rem) scale(0.94, 1.08); }
  82% { transform: translateY(0) scale(1.03, 0.97); }
  100% { opacity: 1; transform: none; color: var(--black); }
}
@keyframes ta-jelly {
  0%, 86%, 100% { transform: none; color: var(--black); }
  89% { transform: scale(1.12, 0.88); color: var(--orange); }
  93% { transform: scale(0.94, 1.08); color: var(--orange); }
  97% { transform: scale(1.02, 0.98); }
}
.anim-on .ta-sec .ta-w { opacity: 0; }
.anim-on .ta-sec.is-in .ta-w {
  animation: ta-sort 0.7s cubic-bezier(0.34, 1.4, 0.5, 1) calc(var(--i) * 0.05s) both;
}
@keyframes ta-sort {
  0% { opacity: 0; transform: translate(calc(var(--s) * 2.4rem), 0.8rem) rotate(calc(var(--s) * 7deg)); color: var(--orange); }
  60% { opacity: 1; color: var(--orange); }
  100% { opacity: 1; transform: none; color: var(--black); }
}
@media (max-width: 640px) {
  .anim-on .ta-hero .ta-w { animation-duration: 0.65s; }
  .anim-on .ta-hero .ta-accent { animation-duration: 0.65s, 5s; }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: 0.55s; animation-delay: calc(var(--i) * 0.035s); }
  @keyframes ta-sort {
    0% { opacity: 0; transform: translate(calc(var(--s) * 1.2rem), 0.5rem) rotate(calc(var(--s) * 5deg)); color: var(--orange); }
    60% { opacity: 1; color: var(--orange); }
    100% { opacity: 1; transform: none; color: var(--black); }
  }
}
/* /stp:title-anim */
/* stp:loop-slider */
.steps__track, .gallery__list { cursor: grab; }
.steps__track.is-dragging, .gallery__list.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.steps__track img, .gallery__list img { -webkit-user-drag: none; }
/* Desktop: no manual scrolling (wheel, trackpad, drag) - arrows only. */
@media (min-width: 1025px) {
  .steps__track { overflow-x: hidden; cursor: auto; }
}
/* /stp:loop-slider */
