/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900&family=Roboto:wght@400;500&display=swap');

:root {
  --blue: #314E7A;
  --black: #0A1130;
  --title: #231E18;
  --gray: #363636;
  --l-gray: #DDDDDD;
  --red: #F93038;
  --beg: #F7DDB2;
  --l-beg: #FEF1EB;
  --wight: #FFFFFF;
  --cta-shadow: #267626;
  --container: 110rem;
  --gutter: 2.4rem;
  --page: calc(var(--container) + 2 * var(--gutter));
}
@media (max-width: 640px) { :root { --gutter: 1.6rem; } }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--black); background: var(--wight); }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

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); } }

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  transition: opacity .3s ease;
}
#preloader img { width: 8rem; height: 8rem; }

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

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 210;
}
.burger-btn span {
  display: block;
  width: 2.4rem;
  height: 0.2rem;
  background: var(--wight);
  border-radius: 0.2rem;
  transition: transform .3s ease, opacity .3s ease;
}
.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: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }

html.menu-lock, html.menu-lock body { overflow: hidden; }

.store-btn {
  display: inline-flex;
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
  animation: store-float 3s ease-in-out infinite;
}
.store-btn:hover { opacity: 0.92; animation-play-state: paused; }

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

.lang-switch { cursor: pointer; }
/* /stp:base */
/* stp:slider */
.slider { position: relative; width: 100%; max-width: var(--container); margin: 0 auto; }
.slider-track {
  display: flex;
  align-items: flex-start;
  gap: 3.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { flex: 0 0 auto; scroll-snap-align: start; }
.slider-track img { -webkit-user-drag: none; user-select: none; }
.slider.can-drag .slider-track { cursor: grab; }
.slider-track.dragging { cursor: grabbing; scroll-snap-type: none; }

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 5rem;
  height: 5rem;
  margin-top: -2.5rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,.2);
  transition: opacity .3s ease, background .3s ease;
}
.slider-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  border: solid var(--wight);
  border-width: 0.3rem 0.3rem 0 0;
}
.slider-prev { left: 1.2rem; }
.slider-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.slider-next { right: 1.2rem; }
.slider-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.slider-btn:hover { background: var(--red); }
.slider-btn:disabled { opacity: 0; pointer-events: none; }
.slider.no-scroll .slider-btn { display: none; }

@media (max-width: 1024px) {
  .slider { max-width: none; }
  .slider-track {
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    scroll-padding: 0 var(--gutter);
  }
}

@media (max-width: 640px) {
  .slider-track { gap: 1.6rem; }
  .slider-btn { display: none; }
}
/* /stp:slider */
/* stp:header */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.2rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.header .logo { flex: 0 0 auto; display: block; width: 4rem; height: 4rem; transition: opacity .3s ease; }
.header .logo:hover { opacity: 0.8; }
.header .logo img { width: 4rem; height: 4rem; object-fit: cover; }
.header .nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.header .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.44;
  color: var(--l-gray);
  padding: 0.8rem 1.2rem;
  border-radius: 5rem;
  white-space: nowrap;
  transition: color .3s ease, background .3s ease;
}
.header .nav-link:hover { color: var(--wight); background: rgba(255,255,255,0.1); }

@media (max-width: 1024px) {
  .header .nav { display: none; }
  .burger-btn { display: flex; }
}

@media (max-width: 640px) {
  .header-inner { height: 5.2rem; }
}
/* /stp:header */
/* stp:menu */
#mobile-menu {
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  width: 100%;
  padding: 0 1.6rem;
}
.mobile-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  color: var(--l-gray);
  text-align: center;
  transition: color .3s ease;
}
.mobile-nav .nav-link:hover { color: var(--wight); }
/* /stp:menu */
/* stp:hero */
#hero {
  position: relative;
  min-height: 81.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 6.2rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 118.23%; max-width: none; object-fit: cover; }
.hero-tint { position: absolute; inset: 0; background: rgba(255,255,255,0.2); }
.hero-blocks { position: absolute; max-width: none; width: 30.6rem; }
.hero-blocks-left { left: -8.5rem; top: 0; }
.hero-blocks-right { right: -4rem; top: 9.5rem; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  padding: 4rem 1.6rem;
  width: 100%;
  max-width: 120rem;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
}
.hero-logo { width: 30.6rem; height: 30.7rem; object-fit: cover; }
.hero-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  max-width: 49.8rem;
}
.hero-info h1 {
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.4;
  color: var(--title);
}
.hero-info p {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
  max-width: 41.2rem;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 24rem;
  padding: 1.2rem 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(to bottom, #7ff31d, #00b600);
  box-shadow: 0 0.4rem 0.1rem var(--cta-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cta-btn:hover { transform: translateY(-0.3rem); box-shadow: 0 0.6rem 0.2rem var(--cta-shadow); }
.cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--black);
  font-family: 'Roboto', sans-serif;
}
.cta-text em {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(14px, 1.4rem, 1.4rem);
}
.cta-text { font-weight: 500; font-size: clamp(14px, 1.8rem, 1.8rem); }

@media (max-width: 1024px) {
  .hero-info h1 { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  #hero { min-height: 81.2rem; padding-top: 5.2rem; }
  .hero-blocks { display: none; }
  .hero-inner { padding: 0 1.6rem; gap: 3.2rem; }
  .hero-logo { width: 27rem; height: 27rem; }
  .hero-info { max-width: 100%; }
  .hero-info h1 { font-size: 2.4rem; }
  .hero-info p { max-width: 100%; font-size: clamp(14px, 1.4rem, 1.4rem); }
  .cta-btn { width: 100%; }
}
/* /stp:hero */
/* stp:about */
#about {
  background: var(--l-beg);
  padding: 9.6rem var(--gutter) 7.2rem;
}
.about-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
  max-width: var(--container);
  margin: 0 auto;
}
.about-img {
  flex: 0 0 auto;
  width: 50.9rem;
  height: 50.4rem;
  object-fit: cover;
  border-radius: 1.6rem;
}
.about-container {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  max-width: 53.1rem;
}
.about-container h2 {
  font-weight: 600;
  font-size: 5.2rem;
  line-height: 1.28;
  color: var(--red);
}
.about-body { display: flex; flex-direction: column; gap: 0.8rem; }
.about-body p {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
}
.about-body strong { font-weight: 600; }

@media (max-width: 1024px) {
  #about { padding: 6rem var(--gutter); }
  .about-inner { gap: 3rem; }
  .about-img { width: 40rem; height: auto; }
  .about-container h2 { font-size: 4rem; }
}

@media (max-width: 640px) {
  #about { padding: 5.6rem var(--gutter) 4rem; }
  .about-inner { flex-direction: column; gap: 2.4rem; }
  .about-container { max-width: 100%; order: 1; }
  .about-container h2 { font-size: 3.2rem; }
  .about-body p { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .about-img { order: 2; width: 100%; max-width: 34.3rem; height: auto; }
}
/* /stp:about */
/* stp:advantages */
#advantages {
  background-image: url('../img/advantages-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 7.2rem var(--gutter);
}
.advantages-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.advantages-inner h2 {
  font-weight: 600;
  font-size: 5.2rem;
  line-height: 1.28;
  color: #FFF;
  text-align: center;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3.2rem;
}
.play-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
  background: var(--beg);
  border-radius: 2.4rem;
}
.play-card-wide { grid-column: span 3; }
.play-card-icon { width: 7.8rem; height: 8.4rem; object-fit: contain; }
.play-card-text { display: flex; flex-direction: column; gap: 0.8rem; }
.play-card-text h3 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.36;
  color: var(--black);
}
.play-card-text p {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--black);
}

@media (max-width: 1024px) {
  #advantages { padding: 6rem var(--gutter); }
  .advantages-inner h2 { font-size: 4rem; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
  .play-card, .play-card-wide { grid-column: auto; }
  .play-card:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 1.2rem); }
}

@media (max-width: 640px) {
  #advantages {
    background-image: url('../img/advantages-bg-m.webp');
    padding: 4rem var(--gutter);
  }
  .advantages-inner { gap: 2.4rem; }
  .advantages-inner h2 { font-size: 3.2rem; }
  .advantages-grid { grid-template-columns: 1fr; }
  .play-card:last-child { width: auto; }
  .play-card, .play-card-wide { padding: 1.6rem; gap: 1.6rem; }
  .play-card-icon { width: 7.8rem; height: 8.4rem; }
}
/* /stp:advantages */
/* stp:visual-style */
#visual-style {
  padding: 7.2rem var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
  background-color: #FEF1EB;
}
.vs-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  max-width: 86.4rem;
}
.vs-inner h2 {
  font-weight: 600;
  font-size: 5.2rem;
  line-height: 1.28;
  color: var(--red);
  text-align: center;
}
.vs-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  justify-content: center;
}
.vs-feature {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: 42rem;
}
.vs-feature img { width: 2.4rem; height: 3rem; flex: 0 0 auto; object-fit: contain; }
.vs-feature p {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--black);
}
.vs-gallery img {
  width: 34.2rem;
  height: 60.8rem;
  object-fit: cover;
  border-radius: 1.6rem;
}

@media (max-width: 1024px) {
  #visual-style { padding: 6rem var(--gutter); }
  .vs-inner h2 { font-size: 4rem; }
  .vs-feature { width: calc(50% - 1.2rem); }
  .vs-gallery .slider-track { gap: 1.6rem; }
  .vs-gallery img { width: 28.2rem; height: 50.1rem; }
}

@media (max-width: 640px) {
  #visual-style { padding: 4rem var(--gutter); gap: 2.4rem; }
  .vs-inner { gap: 2.4rem; }
  .vs-inner h2 { font-size: 3.2rem; }
  .vs-features { gap: 1.6rem; }
  .vs-feature { width: calc(50% - 0.8rem); align-items: flex-start; gap: 0.8rem; }
  .vs-feature p { font-size: clamp(14px, 1.4rem, 1.4rem); }
}
/* /stp:visual-style */
/* stp:reviews */
.gradient-bg {
  background: linear-gradient(to bottom, #8CE0E8, #CFF0EF);
}
#reviews {
  padding: 7.2rem var(--gutter);
}
.reviews-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.reviews-inner h2 {
  font-weight: 600;
  font-size: 5.2rem;
  line-height: 1.28;
  color: var(--blue);
  text-align: center;
}
.review-card {
  width: 34.2rem;
  min-height: 24.6rem;
  background-image: url('../img/review-cloud.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6.4rem;
}
.review-card-offset { margin-top: 7.4rem; }
.review-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.review-quote {
  font-weight: 400;
  font-size: clamp(12px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--black);
  text-align: center;
}
.review-user { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.review-user img { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; }
.review-user span { font-weight: 600; font-size: clamp(14px, 1.6rem, 1.6rem); color: var(--black); }

@media (max-width: 1024px) {
  #reviews { padding: 6rem var(--gutter); }
  .reviews-inner h2 { font-size: 4rem; }
}

@media (max-width: 640px) {
  #reviews { padding: 4rem var(--gutter); }
  .reviews-inner { gap: 2.4rem; }
  .reviews-inner h2 { font-size: 3.2rem; }
  .reviews-track { padding-bottom: 0.8rem; }
  .review-card-offset { margin-top: 0; }
  .review-quote { font-size: clamp(14px, 1.4rem, 1.4rem); }
}
/* /stp:reviews */
/* stp:why-play */
#why-play {
  background-image: url('../img/why-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 7.2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
  max-width: 97.7rem;
  width: 100%;
  padding: 4.8rem 5.6rem;
  background: var(--beg);
  border-radius: 2.4rem;
}
.why-img {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.why-stars { width: 32.5rem; height: 16.3rem; object-fit: contain; }
.why-medal { width: 11.6rem; height: 12.5rem; object-fit: contain; }
.why-content {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.why-info { display: flex; flex-direction: column; gap: 2.4rem; }
.why-info h2 {
  font-weight: 600;
  font-size: 5.2rem;
  line-height: 1.28;
  color: var(--red);
}
.why-body { display: flex; flex-direction: column; gap: 0.8rem; }
.why-body p {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--black);
}
.why-body strong { font-weight: 600; }

@media (max-width: 1024px) {
  #why-play { padding: 6rem var(--gutter); }
  .why-card { flex-direction: column; align-items: center; gap: 3rem; padding: 3.2rem; }
  .why-info h2 { font-size: 4rem; text-align: center }
  .why-body p { text-align: center}
  #why-play .cta-btn {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  #why-play {
    background-image: url('../img/why-bg-m.webp');
    padding: 4rem var(--gutter);
  }
  .why-card { padding: 2.4rem 1.6rem; gap: 2.4rem; flex-direction: column; }
  .why-img { gap: 0.4rem; }
  .why-stars { width: 12rem; height: 6rem; }
  .why-medal { width: 4.3rem; height: 4.6rem; }
  .why-content { gap: 2.4rem; }
  .why-info { gap: 2.4rem; }
  .why-info h2 { font-size: 3.2rem; }
  .why-body p { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .cta-btn { width: 100%; }
}
/* /stp:why-play */
/* stp:cta */
#cta {
  background: var(--red);
  padding: 4rem var(--gutter);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  max-width: var(--container);
  margin: 0 auto;
}
.cta-inner h2 {
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.4;
  color: var(--wight);
}
.cta-mailbox { width: 6.8rem; height: 7.3rem; flex: 0 0 auto; }
.cta-email {
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1.4;
  color: var(--wight);
  white-space: nowrap;
  transition: opacity .3s ease;
}
.cta-email:hover { opacity: 0.8; }

@media (max-width: 1024px) {
  .cta-inner { flex-wrap: wrap; }
  .cta-inner h2 { font-size: 2.4rem; }
  .cta-email { font-size: 2.2rem; white-space: normal; }
}

@media (max-width: 640px) {
  .cta-inner { flex-direction: column; gap: 1.6rem; text-align: center; }
  .cta-inner h2 { font-size: 2.4rem; text-align: center; }
  .cta-mailbox { width: 4.6rem; height: 4.9rem; }
  .cta-email { font-size: 2.4rem; white-space: normal; }
}
/* /stp:cta */
/* stp:footer */
.footer {
  background: var(--blue);
  padding: 6rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
}
.footer-links a {
  font-weight: 600;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--wight);
  white-space: nowrap;
  transition: color .3s ease;
}
.footer-links a:hover { color: var(--l-gray); text-decoration: underline; }
.footer-rights {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--wight);
  text-align: center;
}

@media (max-width: 640px) {
  .footer { padding: 6rem 0; }
  .footer-inner { gap: 2.4rem; }
  .footer-links { flex-direction: column; gap: 0.8rem; }
  .footer-rights { font-size: clamp(14px, 1.4rem, 1.4rem); }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 6.2rem; }
.legal-page {
  display: flex;
  justify-content: center;
  padding: 8rem var(--gutter);
}
.legal-content {
  max-width: 101.6rem;
  width: 100%;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.legal-content h1 {
  font-weight: 600;
  font-size: 5.2rem;
  line-height: 1.28;
  color: var(--title);
  text-align: center;
}
.legal-content h2 {
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1.4;
  color: var(--black);
}
.legal-content h3 {
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.4;
  color: var(--black);
}
.legal-content h4 {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.4;
  color: var(--black);
}
.legal-content p {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
}
.legal-content ul, .legal-content ol {
  font-weight: 400;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--gray);
  padding-left: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { padding-left: 0.4rem; }
.legal-content a { color: var(--blue); text-decoration: underline; transition: color .3s ease; }
.legal-content a:hover { color: var(--red); }
.legal-content strong, .legal-content b { font-weight: 600; }
.legal-content em, .legal-content i { font-style: italic; }

@media (max-width: 1024px) {
  .legal-page { padding: 6rem var(--gutter); }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 5.2rem; }
  .legal-page { padding: 4rem var(--gutter); }
  .legal-content { gap: 2.4rem; }
  .legal-content h1 { font-size: 3.2rem; }
  .legal-content h2 { font-size: 2.2rem; }
  .legal-content h3 { font-size: 1.9rem; }
  .legal-content h4 { font-size: 1.6rem; }
  .legal-content p, .legal-content ul, .legal-content ol { font-size: clamp(14px, 1.4rem, 1.4rem); }
}
/* /stp:legal */
/* stp:title-anim */
.ta-hero { --k: 1; }
.anim-on .ta-hero .ta-w, .anim-on .ta-sec .ta-w { display: inline-block; white-space: nowrap; }
.anim-on .ta-hero .ta-ch { display: inline-block; opacity: 0; transform: translate(calc(var(--dx) * 1rem * var(--k)), calc(var(--dy) * 1rem * var(--k))) rotate(var(--r)) scale(0.3); }
.anim-on .ta-hero.is-in .ta-ch {
  animation: ta-implode 0.95s cubic-bezier(0.2, 1.3, 0.35, 1) calc(var(--i) * 0.035s) both,
             ta-chain 0.6s ease calc(0.8s + var(--i) * 0.04s) both;
}
.anim-on .ta-hero.is-in .ta-w:first-child .ta-ch {
  animation: ta-implode 0.95s cubic-bezier(0.2, 1.3, 0.35, 1) calc(var(--i) * 0.035s) both,
             ta-chain 0.6s ease calc(0.8s + var(--i) * 0.04s) both,
             ta-combo 5.4s ease-in-out calc(3.2s + var(--i) * 0.06s) infinite;
}
@keyframes ta-implode {
  0% { opacity: 0; transform: translate(calc(var(--dx) * 1rem * var(--k)), calc(var(--dy) * 1rem * var(--k))) rotate(var(--r)) scale(0.3); filter: blur(0.3rem); }
  55% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes ta-chain {
  0%, 100% { color: var(--title); }
  40% { color: var(--red); }
}
@keyframes ta-combo {
  0%, 86%, 100% { transform: none; color: var(--title); }
  90% { transform: translateY(-0.5rem) scale(1.15); color: var(--red); }
  94% { transform: translateY(0.1rem) scale(0.96); color: var(--red); }
  97% { transform: none; }
}

.anim-on .ta-sec .ta-w { position: relative; opacity: 0; transform: translateY(var(--ty, 1.6rem)) scale(0.3) rotate(-10deg); }
.anim-on .ta-sec .ta-w::after {
  content: '';
  position: absolute;
  inset: -0.8rem -1rem;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  background:
    radial-gradient(circle at 2% 30%, var(--red) 0.45rem, transparent 0.5rem),
    radial-gradient(circle at 98% 22%, #7ff31d 0.5rem, transparent 0.55rem),
    radial-gradient(circle at 10% 92%, var(--blue) 0.4rem, transparent 0.45rem),
    radial-gradient(circle at 92% 88%, var(--beg) 0.45rem, transparent 0.5rem),
    radial-gradient(circle at 50% 2%, #7ff31d 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 55% 100%, var(--red) 0.35rem, transparent 0.4rem);
}
.anim-on .ta-sec.is-in .ta-w { animation: ta-pop 0.75s ease-out calc(var(--i) * 0.12s) both; }
.anim-on .ta-sec.is-in .ta-w::after { animation: ta-burst 0.7s ease-out calc(0.3s + var(--i) * 0.12s) both; }
@keyframes ta-pop {
  0% { opacity: 0; transform: translateY(var(--ty, 1.6rem)) scale(0.3) rotate(-10deg); filter: blur(0.3rem); }
  55% { opacity: 1; transform: translateY(-0.3rem) scale(1.12) rotate(3deg); filter: blur(0); }
  78% { transform: scale(0.96) rotate(-1deg); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes ta-burst {
  0% { opacity: 0; transform: scale(0.3); }
  25% { opacity: 1; }
  99% { opacity: 0; transform: scale(1.25); }
  100% { opacity: 0; transform: scale(0); }
}

@media (max-width: 640px) {
  .ta-hero { --k: 0.45; }
  .anim-on .ta-hero.is-in .ta-ch {
    animation-duration: 0.8s, 0.5s;
  }
  .anim-on .ta-hero.is-in .ta-w:first-child .ta-ch {
    animation-duration: 0.8s, 0.5s, 5.4s;
  }
  .ta-sec { --ty: 0.8rem; }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: 0.6s; }
  .anim-on .ta-sec .ta-w::after { inset: -0.6rem -0.6rem; }
}
/* /stp:title-anim */
