/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito:wght@400;700;800&family=Roboto:wght@400;500&display=swap');

:root {
  --burgundy: #4d1933;
  --yellow: #fdb716;
  --beige: #fff2dd;
  --violet: #681e8c;
  --purple: #6f1e8d;
  --purple-light: #8c2cb3;
  --raspberry: #982151;
  --black: #171717;
  --gray: #464646;
  --pink-light: #ffe7f6;
  --white: #ffffff;
  --bg: #fdb716;
  --font-head: 'Lilita One', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-btn: 'Roboto', sans-serif;
  --header-h: 6.4rem;
  --shadow-cta: 0 0.4rem 0.8rem rgba(57, 34, 50, 0.12);
  --shadow-img: 0.8rem 0.8rem 1.2rem rgba(78, 78, 78, 0.08);
}

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; }
html.menu-lock, html.menu-lock body { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--black);
  background: var(--beige);
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { 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, opacity 0.3s, background-color 0.3s, box-shadow 0.3s, transform 0.3s; }
button { font: inherit; color: inherit; cursor: pointer; }
main { display: block; padding-top: var(--header-h); }
section { position: relative; }

#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; height: var(--header-h); background: var(--yellow); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(77, 25, 51, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 8rem; }
.logo { display: block; width: 4rem; height: 4rem; border-radius: 0.4rem; overflow: hidden; }
.logo:hover { opacity: 0.8; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.4rem 1.2rem; border-radius: 0.8rem;
  font-family: var(--font-head); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.44;
  letter-spacing: 0.032rem; text-transform: uppercase; text-align: center; white-space: nowrap;
  color: var(--burgundy);
}
.nav-link:hover { color: var(--purple); background: rgba(255, 255, 255, 0.35); }

.burger-btn { display: none; position: relative; z-index: 120; width: 4rem; height: 4rem; padding: 0; background: transparent; border: 0; }
.burger-btn span { position: absolute; left: 0.5rem; width: 3rem; height: 0.4rem; background: var(--burgundy); border-radius: 0.2rem; transition: transform 0.3s, opacity 0.3s, background-color 0.3s; }
.burger-btn span:nth-child(1) { top: 1rem; }
.burger-btn span:nth-child(2) { top: 1.8rem; }
.burger-btn span:nth-child(3) { top: 2.6rem; }
.burger-btn:hover span { background: var(--purple); }
.burger-btn.act span:nth-child(1) { top: 1.8rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.8rem; 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: var(--header-h); background: var(--yellow); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }

.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  width: 24rem; padding: 1.2rem 2rem; border-radius: 3.2rem;
  background: var(--purple); color: var(--white); box-shadow: var(--shadow-cta);
}
.cta-btn:hover { background: var(--purple-light); box-shadow: 0 0.6rem 1.6rem rgba(111, 30, 141, 0.35); }
.cta-icon { width: 3rem; height: 3.4rem; flex-shrink: 0; }
.cta-text { display: flex; flex-direction: column; gap: 0.4rem; width: 11.8rem; line-height: normal; font-family: var(--font-btn); }
.cta-small { font-size: clamp(14px, 1.4rem, 1.4rem); font-weight: 400; }
.cta-big { font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; }

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

.footer { background: var(--violet); color: var(--white); }

@media (max-width: 1024px) {
  .header-inner { padding: 0 3.2rem; }
  .nav { display: none; }
  .burger-btn { display: block; }
}
@media (max-width: 640px) {
  :root { --header-h: 5.2rem; }
  .header-inner { padding: 0 1.6rem; }
  .cta-btn { width: 29.5rem; }
}
/* /stp:base */
/* stp:hero */
#hero { display: flex; flex-direction: column; height: 74.8rem; background: url('../img/hero.webp') center 66.9% / cover no-repeat; }
.hero-title { display: flex; align-items: center; flex-shrink: 0; height: 26.1rem; padding: 0 8.4rem; }
.hero-title img { width: 49.1rem; height: 25.9rem; }
.hero-info { display: flex; flex: 1 0 0; align-items: flex-end; justify-content: flex-end; min-height: 0; padding: 0 8.4rem 5.6rem; }
.hero-card { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; padding: 2.4rem; border-radius: 3.2rem; background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(0.6rem); -webkit-backdrop-filter: blur(0.6rem); }
.hero-body { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
.hero-body h1 { width: 38.6rem; font-family: var(--font-head); font-weight: 400; font-size: 3.2rem; line-height: 1.24; text-transform: uppercase; color: var(--burgundy); }
.hero-body p { width: 33.5rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--black); }
#hero .store-btn { animation: store-float 3s ease-in-out infinite; }
#hero .store-btn:hover { animation-play-state: paused; }

@media (max-width: 1024px) {
  #hero { height: 74.8rem; }
  .hero-title { padding: 0 4rem; }
  .hero-title img { width: 40rem; height: auto; }
  .hero-info { padding: 0 4rem 4rem; }
}
@media (max-width: 640px) {
  #hero { height: 76rem; background-image: url('../img/hero-m.webp'); background-size: auto 81.2rem; background-position: center bottom; }
  .hero-title { height: 24.2rem; justify-content: center; padding: 0 1.6rem; }
  .hero-title img { width: 29.9rem; height: 15.8rem; }
  .hero-info { padding: 0 1.6rem 2.4rem; justify-content: center; }
  .hero-card { width: 100%; gap: 1.6rem; }
  .hero-body { width: 29.5rem; }
  .hero-body h1 { width: 100%; font-size: 2.6rem; }
  .hero-body p { width: 100%; }
}
/* /stp:hero */
/* stp:common */
.title { display: flex; flex-direction: column; gap: 0.8rem; max-width: 51.6rem; }
.eyebrow { display: list-item; list-style: disc inside; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.28; letter-spacing: 0.028rem; text-transform: lowercase; color: var(--burgundy); }
.h2 { font-family: var(--font-head); font-weight: 400; font-size: 2.8rem; line-height: 1.4; text-transform: uppercase; color: var(--burgundy); }
.on-dark .eyebrow, .on-dark .h2 { color: var(--white); }
.item-title { font-family: var(--font-body); font-weight: 800; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.24; text-transform: uppercase; }
.item-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }

@media (max-width: 640px) {
  .h2 { font-size: 2rem; }
}
/* /stp:common */
/* stp:about */
#about { display: flex; flex-direction: column; gap: 3.2rem; padding: 8rem 8.4rem 6.4rem; }
.about-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 4.8rem; }
.about-head .title { flex: 0 0 51.6rem; }
.about-body { flex: 0 1 70.8rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: #0f2024; }
.about-img { width: 100%; height: 71.6rem; object-fit: cover; border: 0.8rem solid var(--yellow); border-radius: 6.4rem; box-shadow: var(--shadow-img); }

@media (max-width: 1024px) {
  #about { padding: 6rem 4rem 5rem; }
  .about-head { flex-direction: column; align-items: flex-start; gap: 2.4rem; }
  .about-head .title, .about-body { flex: none; width: 100%; }
  .about-img { height: 52rem; border-radius: 4.8rem; }
}
@media (max-width: 640px) {
  #about { gap: 2.4rem; padding: 4.8rem 1.6rem 3.2rem; }
  .about-head { gap: 2.4rem; }
  .about-img { height: 71.6rem; border-width: 0.5rem; border-radius: 4rem; }
}
/* /stp:about */
/* stp:how-to-play */
#how-to-play { padding: 6.4rem 8.4rem; }
.htp-box { display: flex; flex-direction: column; gap: 3.2rem; padding: 4.8rem; border-radius: 6.4rem; background: var(--violet); box-shadow: var(--shadow-img); }
.htp-box .title { max-width: 42.8rem; }
.htp-cards { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; gap: 2.4rem; }
.htp-card { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.4rem; border-radius: 3.2rem; background: var(--white); }
.htp-card img { width: 4.6rem; height: 4.6rem; }
.htp-text { display: flex; flex-direction: column; gap: 0.8rem; }
.htp-card .item-title { color: var(--black); }
.htp-card .item-text { color: var(--gray); }

@media (max-width: 1024px) {
  #how-to-play { padding: 5rem 4rem; }
  .htp-box { padding: 4rem 3.2rem; border-radius: 4.8rem; }
  .htp-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  #how-to-play { padding: 3.2rem 1.6rem; }
  .htp-box { gap: 2.4rem; padding: 3.2rem 1.6rem; border-radius: 4rem; }
  .htp-cards { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 1.6rem; }
  .htp-card { border-radius: 2.4rem; }
}
/* /stp:how-to-play */
/* stp:features */
.pic { position: relative; flex: 0 0 60rem; overflow: hidden; border-radius: 6.4rem; box-shadow: var(--shadow-img); }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

#features { display: flex; align-items: stretch; gap: 4.8rem; padding: 6.4rem 8.4rem; }
.feat-box { display: flex; flex: 0 0 62.4rem; flex-direction: column; justify-content: center; gap: 3.2rem; padding: 4.8rem; border-radius: 6.4rem; background: var(--raspberry); box-shadow: var(--shadow-img); }
.feat-box .title { max-width: 52.8rem; }
.feat-list { display: flex; flex-wrap: wrap; gap: 2.4rem; }
.feat-item { display: flex; gap: 0.8rem; width: 25.2rem; }
.feat-icon { flex-shrink: 0; width: 2.4rem; height: 2.4rem; object-fit: contain; }
.feat-text { display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.feat-item .item-title { color: var(--white); }
.feat-item .item-text { color: var(--pink-light); }

@media (max-width: 1024px) {
  #features { flex-direction: column; gap: 3.2rem; padding: 5rem 4rem; }
  .feat-box { flex: none; padding: 4rem 3.2rem; border-radius: 4.8rem; }
  .feat-item { width: calc(50% - 1.2rem); }
  .pic { flex: none; height: 44rem; border-radius: 4.8rem; }
}
@media (max-width: 640px) {
  #features { gap: 2.4rem; padding: 3.2rem 1.6rem; }
  .feat-box { gap: 2.4rem; padding: 3.2rem 1.6rem; border-radius: 4rem; }
  .feat-list { flex-direction: column; flex-wrap: nowrap; gap: 1.6rem; }
  .feat-item { width: 25.2rem; }
  .pic { height: 31.3rem; border-radius: 4rem; }
}
/* /stp:features */
/* stp:advantages */
#advantages { display: flex; flex-direction: column; gap: 3.2rem; padding: 6.4rem 8.4rem; }
.adv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 4.8rem; }
.adv-head .title { flex: 0 0 51.6rem; }
.adv-body { flex: 0 1 31.6rem; padding-left: 1.6rem; border-left: 0.2rem solid var(--burgundy); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: #0f2024; }
.adv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }
.adv-card { display: flex; flex-direction: column; gap: 2.4rem; padding-bottom: 4rem; overflow: hidden; border-radius: 2.4rem; background: var(--white); box-shadow: var(--shadow-img); }
.adv-card img { width: 100%; height: 19.5rem; object-fit: cover; }
.adv-text { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; padding: 0 1.6rem; text-align: center; }
.adv-card .item-title { color: var(--burgundy); }
.adv-card .item-text { color: var(--gray); }

@media (max-width: 1024px) {
  #advantages { padding: 5rem 4rem; }
  .adv-head { flex-direction: column; align-items: flex-start; gap: 2.4rem; }
  .adv-head .title, .adv-body { flex: none; }
  .adv-body { width: 100%; }
  .adv-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #advantages { gap: 2.4rem; padding: 3.2rem 1.6rem; }
  .adv-head { gap: 2.4rem; }
  .adv-cards { grid-template-columns: 1fr; gap: 1.6rem; }
  .adv-card { padding-bottom: 2.4rem; }
  .adv-text { gap: 0.8rem; padding: 0 2.4rem; }
}
/* /stp:advantages */
/* stp:characters */
#characters { display: flex; align-items: stretch; gap: 4.8rem; padding: 6.4rem 8.4rem; }
.char-box { display: flex; flex: 0 0 62.4rem; flex-direction: column; justify-content: center; gap: 3.2rem; padding: 4.8rem; border-radius: 6.4rem; background: var(--violet); box-shadow: var(--shadow-img); }
.char-box .title { max-width: 52.8rem; }
.char-list { display: flex; flex-wrap: wrap; gap: 3.2rem; }
.char-item { display: flex; flex-direction: column; gap: 0.8rem; width: 24.8rem; }
.char-item .item-title, .char-item .item-text { color: var(--white); }

@media (max-width: 1024px) {
  #characters { flex-direction: column; gap: 3.2rem; padding: 5rem 4rem; }
  .char-box { flex: none; padding: 4rem 3.2rem; border-radius: 4.8rem; }
  .char-item { width: calc(50% - 1.6rem); }
  #characters .pic { flex: none; height: 38rem; border-radius: 4.8rem; }
}
@media (max-width: 640px) {
  #characters { gap: 2.4rem; padding: 3.2rem 1.6rem; }
  .char-box { gap: 2.4rem; padding: 3.2rem 1.6rem; border-radius: 4rem; }
  .char-list { flex-direction: column; flex-wrap: nowrap; gap: 1.6rem; }
  .char-item { width: 24.8rem; }
  #characters .pic { height: 28.7rem; border-radius: 4rem; }
}
/* /stp:characters */
/* stp:gallery */
#gallery { display: flex; flex-direction: column; gap: 3.2rem; padding: 6.4rem 8.4rem; }
.gal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }
.gal-row img { width: 100%; aspect-ratio: 300 / 402; object-fit: cover; border-radius: 2.4rem; box-shadow: var(--shadow-img); }

@media (max-width: 1024px) {
  #gallery { padding: 5rem 4rem; }
  .gal-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #gallery { gap: 2.4rem; padding: 3.2rem 1.6rem; }
  .gal-row { display: flex; gap: 2.4rem; margin: 0 -1.6rem; padding: 0 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gal-row::-webkit-scrollbar { display: none; }
  .gal-row li { flex: 0 0 30rem; scroll-snap-align: start; }
  .gal-row img { height: 40.2rem; aspect-ratio: auto; border-radius: 1.6rem; }
}
/* /stp:gallery */
/* stp:faq */
#faq { display: flex; justify-content: center; padding: 6.4rem 8.4rem; }
.faq-inner { display: flex; flex-direction: column; gap: 3.2rem; width: 100%; max-width: 84rem; }
.faq-list { display: flex; flex-direction: column; gap: 2.4rem; }
.faq-item { padding: 2rem 2.4rem; border-radius: 1.2rem; background: var(--raspberry); color: var(--white); box-shadow: var(--shadow-img); transition: background-color 0.3s, transform 0.3s; }
.faq-item:hover { background: #b02a63; transform: translateY(-0.2rem); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 0.2rem solid var(--yellow); outline-offset: 0.6rem; border-radius: 0.4rem; }
.faq-q { font-weight: 700; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.faq-answer { margin-top: 0.8rem; padding-right: 3.4rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--pink-light); }
.faq-item[open] .faq-answer { animation: faq-open 0.3s ease; }
.faq-plus { position: relative; flex-shrink: 0; width: 2.4rem; height: 2.4rem; margin-top: 0.15rem; border-radius: 50%; background: var(--white); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--burgundy); transform: translate(-50%, -50%); transition: transform 0.3s; }
.faq-plus::before { width: 1.2rem; height: 0.2rem; }
.faq-plus::after { width: 0.2rem; height: 1.2rem; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) scaleY(0); }

@keyframes faq-open { from { opacity: 0; transform: translateY(-0.6rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  #faq { padding: 5rem 4rem; }
}
@media (max-width: 640px) {
  #faq { padding: 3.2rem 1.6rem; }
  .faq-inner { gap: 2.4rem; }
  .faq-list { gap: 1.6rem; }
  .faq-item summary { align-items: center; gap: 0; }
  .faq-q { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .faq-plus { margin-top: 0; }
  .faq-answer { padding-right: 2.4rem; }
}
/* /stp:faq */
/* stp:contact */
#contact { padding: 6.4rem 8.4rem 8rem; }
.contact-wrap { position: relative; }
.contact-img { width: 100%; height: 62.6rem; object-fit: cover; border: 0.8rem solid var(--yellow); border-radius: 6.4rem; box-shadow: var(--shadow-img); }
.contact-card { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 2.4rem; width: 53.6rem; padding: 5.6rem 4rem; border-radius: 3.2rem; background: var(--white); transform: translate(-50%, -50%); }
.contact-title { width: 45.6rem; max-width: 100%; font-family: var(--font-head); font-weight: 400; font-size: 2.8rem; line-height: 1.4; text-align: center; text-transform: uppercase; color: var(--burgundy); }
.contact-mail { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; font-weight: 800; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.24; text-transform: uppercase; color: var(--burgundy); }
.contact-mail img { width: 2.4rem; height: 2.4rem; object-fit: none; transition: transform 0.3s; }
.contact-mail:hover { color: var(--purple); }
.contact-mail:hover img { transform: translate(0.2rem, -0.2rem); }

@media (max-width: 1024px) {
  #contact { padding: 5rem 4rem 6rem; }
  .contact-img { height: 50rem; border-radius: 4.8rem; }
  .contact-card { width: 50rem; padding: 4rem 3.2rem; }
}
@media (max-width: 640px) {
  #contact { padding: 3.2rem 1.6rem 4.8rem; }
  .contact-img { height: 21.6rem; border-width: 0.5rem; border-radius: 4rem; }
  .contact-card { width: 29.5rem; gap: 2.4rem; padding: 2.4rem 1.6rem; border-radius: 2.4rem; }
  .contact-title { width: 100%; font-size: 2rem; }
}
/* /stp:contact */
/* stp:footer */
.footer { display: flex; flex-direction: column; align-items: center; gap: 4rem; padding: 5.6rem 0; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 6rem; width: 100%; padding: 0 8.8rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; text-align: center; white-space: nowrap; }
.footer-links a:hover { color: var(--yellow); }
.footer-rights { width: 100%; padding: 0 1.6rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; text-align: center; color: var(--pink-light); }

@media (max-width: 1024px) {
  .footer-links { padding: 0 4rem; }
}
@media (max-width: 640px) {
  .footer { gap: 2.4rem; padding: 5.6rem 1.6rem; }
  .footer-links { flex-direction: column; justify-content: center; gap: 0.8rem; padding: 0; }
  .footer-rights { padding: 0; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: var(--header-h); }
.legal-page { padding: 8rem 21.2rem; }
.legal-content { max-width: 101.6rem; margin: 0 auto; color: var(--gray); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.legal-content > * { margin: 1.6rem 0 0; }
.legal-content h1 { margin: 0 0 4rem; font-family: var(--font-head); font-weight: 400; font-size: 3.2rem; line-height: 1.24; text-align: center; text-transform: uppercase; color: var(--gray); }
.legal-content h1 + * { margin-top: 0; }
.legal-content h2, .legal-content h3, .legal-content h4 { margin-top: 2.4rem; font-family: var(--font-body); font-weight: 800; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.24; text-transform: uppercase; color: var(--gray); }
.legal-content h1 + h2, .legal-content h1 + h3, .legal-content h1 + h4 { margin-top: 0; }
.legal-content p, .legal-content li { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.legal-content ul, .legal-content ol { padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li + li { margin-top: 0.8rem; }
.legal-content a { color: var(--purple); text-decoration: underline; }
.legal-content a:hover { color: var(--raspberry); }
.legal-content strong, .legal-content b { font-weight: 800; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 1024px) {
  .legal-page { padding: 6rem 8rem; }
}
@media (max-width: 640px) {
  .legal-page { padding: 5.6rem 1.6rem; }
  .legal-content h1 { font-size: 2.6rem; }
  .legal-content ul, .legal-content ol { padding-left: 2rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-tile, .ta-pop { display: inline-block; white-space: nowrap; transform-origin: 50% 100%; will-change: transform, opacity; }
.anim-on .ta-hero .ta-tile { opacity: 0; animation: ta-drop 0.9s cubic-bezier(0.3, 0, 0.3, 1) both; animation-delay: calc(0.9s + var(--i) * 0.11s); }
.anim-on .ta-hero .ta-tile:last-child { animation: ta-drop 0.9s cubic-bezier(0.3, 0, 0.3, 1) both, ta-jelly 5s ease-in-out 3s infinite; animation-delay: calc(0.9s + var(--i) * 0.11s), 3s; }
.ta-pop { --ta-from: translateY(1.6rem) scale(0.6) rotate(-6deg); }
.ta-tile { --ta-fall: -4.8rem; }
.anim-on .ta-sec .ta-pop { opacity: 0; transform: var(--ta-from); }
.anim-on .ta-sec.is-in .ta-pop { animation: ta-pop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(var(--i) * 0.06s); }
.anim-on .on-dark .ta-sec.is-in .ta-pop { animation-name: ta-pop-dark; }

@keyframes ta-drop {
  0% { opacity: 0; transform: translateY(var(--ta-fall)) scale(0.9, 1.12); color: var(--purple); filter: drop-shadow(0 0 0 rgba(253, 183, 22, 0)); }
  45% { opacity: 1; transform: translateY(0) scale(0.94, 1.08); color: var(--purple); }
  60% { transform: translateY(0) scale(1.16, 0.8); filter: drop-shadow(0 0 0.8rem rgba(253, 183, 22, 0.95)); }
  75% { transform: translateY(-0.8rem) scale(0.96, 1.05); }
  88% { transform: translateY(0) scale(1.03, 0.97); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 0 0 rgba(253, 183, 22, 0)); }
}
@keyframes ta-jelly {
  0%, 86%, 100% { transform: none; }
  90% { transform: scale(1.1, 0.88); }
  94% { transform: scale(0.95, 1.06); }
  97% { transform: scale(1.02, 0.98); }
}
@keyframes ta-pop {
  0% { opacity: 0; transform: var(--ta-from); color: var(--raspberry); }
  60% { opacity: 1; color: var(--raspberry); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-pop-dark {
  0% { opacity: 0; transform: var(--ta-from); color: var(--yellow); }
  60% { opacity: 1; color: var(--yellow); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .anim-on .ta-hero .ta-tile { animation-duration: 0.75s; animation-delay: calc(0.8s + var(--i) * 0.09s); }
  .anim-on .ta-hero .ta-tile:last-child { animation-duration: 0.75s, 5s; animation-delay: calc(0.8s + var(--i) * 0.09s), 2.6s; }
  .ta-pop { --ta-from: translateY(1rem) scale(0.7) rotate(-4deg); }
  .ta-tile { --ta-fall: -3rem; }
  .anim-on .ta-sec.is-in .ta-pop { animation-duration: 0.55s; animation-delay: calc(var(--i) * 0.045s); }
}
/* /stp:title-anim */
