/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700&family=Didact+Gothic&display=swap');

:root {
  --txt-white: #F7F1E5;
  --accent1: #E29D51;
  --bg1: #101923;
  --extra: #876032;
  --txt1: #070813;
  --txt2: #474447;
  --faq-border: #494643;
  --faq-txt: #D8D2CA;
  --paper-bg: #E3D5BF;
}

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

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

/* preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg1);
  transition: opacity .3s ease;
}
#preloader img { width: 6rem; height: 6rem; }
html.hide #preloader { display: none; }

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

/* burger */
.burger-btn {
  display: none;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 110;
}
.burger-btn span {
  position: absolute;
  left: 50%;
  width: 1.1rem;
  height: 0.1rem;
  background: var(--txt-white);
  transform: translateX(-50%);
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.burger-btn span:nth-child(1) { top: 0.8rem; }
.burger-btn span:nth-child(2) { top: 1.2rem; }
.burger-btn span:nth-child(3) { top: 1.6rem; }
.burger-btn.act span:nth-child(1) { top: 1.2rem; transform: translateX(-50%) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.2rem; transform: translateX(-50%) rotate(-45deg); }

/* mobile menu */
#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  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; }

/* nav + links generic hover */
.nav-link, .scroll-link, .footer a, .legal-content a {
  transition: color .3s ease, opacity .3s ease;
}
.nav-link:hover, .scroll-link:hover { color: var(--accent1); opacity: 1 !important; }
.footer a:hover { color: var(--accent1); text-decoration: none; }
.legal-content a:hover { color: var(--accent1); text-decoration: none; }

.store-btn, .logo-link { transition: opacity .3s ease, transform .3s ease; }
.store-btn:hover, .logo-link:hover { opacity: .8; }

@keyframes store-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}
.store-btn { animation: store-float 3s ease-in-out infinite; }
.store-btn:hover { animation-play-state: paused; }
/* /stp:base */
/* stp:header */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 8rem;
  background: var(--bg1);
}
.fav-icon {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: cover;
  border-radius: 50%;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-link {
  font-size: clamp(12px, 1.2rem, 1.2rem);
  color: var(--txt-white);
  padding: 0.8rem 1.2rem;
  opacity: .5;
  white-space: nowrap;
}
/*.nav-link.active { opacity: 1; }*/
.nav-link:hover { opacity: 1; }
.burger-btn { display: none; }

@media (max-width: 1024px) {
  .header-inner { padding: 2rem 3rem 1rem; }
  .nav { gap: 0.8rem; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0.8rem 1.6rem; }
  .fav-icon { width: 3.2rem; height: 3.2rem; }
  .nav { display: none; }
  .burger-btn { display: block; }
}
/* /stp:header */
/* stp:menu */
#mobile-menu {
  background: var(--bg1);
  height: auto;
  inset: 0 0 auto 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 3.2rem;
  padding: 11.5rem 1.6rem 3.2rem;
  height: 52.2rem;
  border-bottom: 1px solid var(--accent1);
  background: var(--bg1);
}
.mobile-nav .nav-link {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  color: var(--txt-white);
  opacity: .5;
  text-align: center;
  padding: 0.8rem 0;
}
.mobile-nav .nav-link.active { opacity: 1; }

@media (max-width: 640px) {
  .mobile-nav { padding-top: 3.2rem; height: 100dvh; justify-content: center; }
}
/* /stp:menu */
/* stp:hero */
#hero {
  position: relative;
  background: var(--bg1);
  height: 87rem;
  padding-top: 8.4rem;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-left: 8rem;
  padding-top: 9.4rem;
}
.hero-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4.8rem;
  width: 30.2rem;
}
.hero-logo { width: 100%; height: auto; }
.hero-title {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 6.4rem;
  line-height: 1.2;
  color: var(--txt-white);
  margin: 0;
}
.hero-desc {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--txt-white);
  opacity: .7;
}
.hero-img {
  position: absolute;
  right: 0;
  top: 7rem;
  width: 71.8rem;
  max-width: 100%;
  height: 80rem;
  z-index: 1;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  #hero { height: auto; padding-top: 9.6rem; padding-bottom: 4rem; }
  .hero-inner { padding-left: 4rem; padding-right: 4rem; padding-top: 6rem; }
  .hero-txt { width: 100%; align-items: center; text-align: center; }
  .hero-logo { width: 100%; max-width: 30.2rem; margin: 0 auto; }
  .hero-title { font-size: 4.8rem; white-space: normal; }
  .hero-img {
    position: relative;
    right: auto;
    top: 0;
    width: 100%;
    height: 40rem;
    margin-top: 4rem;
  }
}

@media (max-width: 640px) {
  #hero {
    height: auto;
    padding-top: 7.2rem;
    padding-bottom: 0;
  }
  .hero-inner {
    padding: 0 1.6rem;
  }
  .hero-txt {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 2.4rem;
  }
  .hero-logo { width: 100%; max-width: 30.2rem; margin: 0 auto; }
  .hero-title {
    font-size: 6.4rem;
    line-height: 1.1;
    white-space: normal;
  }
  .hero-desc { opacity: .7; }
  .hero-img {
    position: relative;
    width: 100%;
    height: 29rem;
    margin-top: 2.4rem;
  }
}
/* /stp:hero */
/* stp:about */
#about {
  position: relative;
  background: var(--paper-bg);
  overflow: hidden;
  padding-bottom: 0;
}
.about-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/paper-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .4;
  pointer-events: none;
}
.about-compass {
  position: absolute;
  left: 0;
  top: 56.6rem;
  width: 16.5rem;
  height: 16.5rem;
  opacity: .5;
  pointer-events: none;
}
.section-sep {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 8rem 8rem 2.4rem;
}
.section-label {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-transform: uppercase;
  color: var(--extra);
}
.section-line { width: 8rem; height: 1px; }
.about-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding: 0 8rem 8rem;
}
.about-txt {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  width: 45rem;
  flex-shrink: 0;
  color: var(--txt1);
}
.about-title {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1.2;
}
.about-desc {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
}
.about-pic {
  flex: 1;
  width: 100%;
  height: 57.1rem;
  object-fit: cover;
  object-position: bottom;
}

@media (max-width: 1024px) {
  .section-sep { padding: 6rem 4rem 2rem; }
  .about-content { padding: 0 4rem 6rem; flex-direction: column; align-items: center; gap: 3rem; }
  .about-txt { width: 100%; text-align: center; align-items: center; }
  .about-pic { height: 40rem; }
}

@media (max-width: 640px) {
  .about-compass {
    left: calc(50% + 2.25rem);
    top: 0;
    width: 16.5rem;
    height: 16.5rem;
  }
  .section-sep { padding: 8rem 2rem 2.4rem; align-items: flex-start; }
  .about-content { flex-direction: column; padding: 0 0 0; gap: 0; align-items: center; }
  .about-txt {
    width: 32.3rem;
    max-width: 100%;
    text-align: center;
    align-items: center;
    gap: 4.8rem;
    padding: 0 2rem;
  }
  .about-title { font-size: 3.2rem; }
  .about-pic {
    width: 100%;
    height: 24.2rem;
    margin-top: 3.6rem;
  }
}
/* /stp:about */
/* stp:how-to-play */
#how-to-play {
  background: var(--bg1);
  padding-bottom: 8rem;
}
#how-to-play .section-sep {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 8rem 8rem 2.4rem;
}
#how-to-play .section-label {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-transform: uppercase;
  color: var(--extra);
}
#how-to-play .section-line { width: 8rem; height: 1px; }
.htp-title {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 4.8rem;
  line-height: 1.5;
  color: var(--txt-white);
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
}
.htp-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
  width: 128rem;
  max-width: 100%;
  margin: 1.2rem auto 0;
  padding: 0 8rem;
}
.htp-pic {
  flex: 1 0 0;
  width: 100%;
  height: 46.9rem;
  object-fit: cover;
}
.htp-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  flex-shrink: 0;
}
.htp-card {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  justify-content: center;
  width: 40rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(135,96,50,0.5);
}
.htp-num {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 6.4rem;
  line-height: 1;
  color: var(--accent1);
  white-space: nowrap;
}
.htp-txt { flex: 1 0 0; display: flex; flex-direction: column; justify-content: center; color: var(--txt-white); }
.htp-card-title { font-family: 'Abhaya Libre', serif; font-size: 2rem; }
.htp-card-desc { font-size: clamp(12px, 1.2rem, 1.2rem); opacity: .8; }

@media (max-width: 1024px) {
  #how-to-play .section-sep { padding: 6rem 4rem 2rem; }
  .htp-title { white-space: normal; font-size: 3.6rem; }
  .htp-content { flex-direction: column; padding: 0 4rem; gap: 3rem; }
  .htp-card { width: 100%; max-width: 40rem; }
}

@media (max-width: 640px) {
  #how-to-play { padding-bottom: 0; }
  #how-to-play .section-sep { padding: 8rem 2rem 2.4rem; }
  .htp-title {
    padding-left: 0;
    text-align: center;
    width: 33.3rem;
    max-width: 100%;
    margin: 0 auto;
    font-size: 4rem;
    line-height: 1.2;
    white-space: normal;
  }
  .htp-content {
    flex-direction: column-reverse;
    width: 100%;
    padding: 0;
    gap: 0;
    margin-top: 1.9rem;
  }
  .htp-cards {
    width: 33.3rem;
    max-width: 100%;
    gap: 1.2rem;
  }
  .htp-card { width: 100%; flex: 0 0 auto; }
  .htp-num { font-size: 4.8rem; }
  .htp-pic {
    width: 100%;
    height: 17.6rem;
    margin-top: 2.4rem;
  }
}
/* /stp:how-to-play */
/* stp:features */
#features {
  position: relative;
  background: var(--paper-bg);
  overflow: hidden;
  padding-bottom: 8.4rem;
}
.features-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/paper-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .4;
  pointer-events: none;
}
#features .section-sep {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 8rem 8rem 2.4rem;
}
#features .section-label {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-transform: uppercase;
  color: var(--extra);
}
#features .section-line { width: 8rem; height: 1px; }
.features-title {
  position: relative;
  z-index: 1;
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 4.8rem;
  line-height: 1.5;
  color: var(--txt1);
  text-transform: capitalize;
  text-align: center;
  width: 92.7rem;
  max-width: 100%;
  margin: 0 auto;
}
.features-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4.8rem;
  padding: 1.2rem 8rem 0;
}
.features-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex-shrink: 0;
}
.feature-card {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  width: 40rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(135,96,50,0.5);
}
.feature-icon { width: 6.4rem; height: 6.4rem; flex-shrink: 0; object-fit: contain; }
.feature-txt { flex: 1 0 0; display: flex; flex-direction: column; justify-content: center; }
.feature-title { font-family: 'Abhaya Libre', serif; font-size: 2rem; color: var(--txt1); }
.feature-desc { font-size: clamp(12px, 1.2rem, 1.2rem); opacity: .8; color: var(--txt2); }
.features-pic { flex: 1 0 0; width: 100%; height: 50.4rem; object-fit: cover; }

@media (max-width: 1024px) {
  #features .section-sep { padding: 6rem 4rem 2rem; }
  .features-title { width: 100%; padding: 0 4rem; font-size: 3.6rem; }
  .features-content { flex-direction: column; padding: 3rem 4rem 0; gap: 3rem; }
  .feature-card { width: 100%; max-width: 40rem; }
  .features-pic { height: 40rem; }
}

@media (max-width: 640px) {
  #features { padding-bottom: 0; }
  #features .section-sep { padding: 8rem 2rem 2.4rem; }
  .features-title {
    width: 33.3rem;
    max-width: 100%;
    margin: 0 auto;
    font-size: 4rem;
    line-height: 1.2;
  }
  .features-content {
    flex-direction: column;
    padding: 0;
    gap: 0;
    margin-top: 1.9rem;
    align-items: center;
  }
  .features-cards {
    width: 33.3rem;
    max-width: 100%;
  }
  .feature-card { width: 100%; flex: 0 0 auto; }
  .feature-icon { width: 4.8rem; height: 4.8rem; }
  .features-pic {
    width: 100%;
    height: 20.7rem;
    margin-top: 4.2rem;
  }
}
/* /stp:features */
/* stp:faq */
#faq {
  background: var(--bg1);
  padding-bottom: 8rem;
}
#faq .section-sep {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 8rem 8rem 2.4rem;
}
#faq .section-label {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-transform: uppercase;
  color: var(--extra);
}
#faq .section-line { width: 8rem; height: 1px; }
.faq-title {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 4.8rem;
  line-height: 1.5;
  color: var(--txt-white);
  text-transform: capitalize;
  text-align: center;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 84.6rem;
  max-width: 100%;
  margin: 1.2rem auto 0;
  padding: 0 1.2rem;
}
.faq-item {
  border-bottom: 1px solid var(--faq-border);
  padding-bottom: 0.9rem;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 0.9rem 0;
  font-size: clamp(18px, 2.4rem, 2.4rem);
  color: var(--faq-txt);
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  font-size: clamp(16px, 2rem, 2rem);
  color: var(--accent1);
  line-height: 1;
  transition: transform .3s ease;
}
.faq-item[open] .faq-q::after {
  content: '\2715';
}
.faq-a {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--faq-txt);
  padding: 0 0 2.4rem;
}

@media (max-width: 1024px) {
  #faq .section-sep { padding: 6rem 4rem 2rem; }
  .faq-list { padding: 0 4rem; width: 100%; }
}

@media (max-width: 640px) {
  #faq { padding-bottom: 0; }
  #faq .section-sep { padding: 8rem 2rem 2.4rem; }
  .faq-title { font-size: 4rem; }
  .faq-list {
    width: 33.3rem;
    max-width: 100%;
    margin-top: 0.8rem;
    padding: 0 1.2rem;
  }
}
/* /stp:faq */
/* stp:contact */
#contact {
  position: relative;
  height: 44.8rem;
  overflow: hidden;
  color: var(--txt1);
}
.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}
#contact .section-sep {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 8rem 8rem 2.4rem;
}
#contact .section-label {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-transform: uppercase;
  color: var(--txt1);
}
#contact .section-line { width: 8rem; height: 1px; }
.contact-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  text-align: center;
  padding-top: 1.2rem;
}
.contact-title {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 4.8rem;
  line-height: 1.5;
  text-transform: capitalize;
  white-space: nowrap;
}
.contact-mail {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  font-size: clamp(18px, 2.4rem, 2.4rem);
  color: var(--txt1);
  transition: color .3s ease;
}
.contact-mail:hover { color: var(--extra); }
.mail-icon { width: 3.2rem; height: 3.2rem; }

@media (max-width: 1024px) {
  #contact { height: auto; min-height: 44.8rem; }
  #contact .section-sep { padding: 6rem 4rem 2rem; }
  .contact-title { white-space: normal; font-size: 3.6rem; }
}

@media (max-width: 640px) {
  #contact { height: auto; min-height: 51.1rem; }
  #contact .section-sep { padding: 8rem 2rem 2.4rem; }
  .contact-content {
    width: 33.3rem;
    max-width: 100%;
    margin: 0 auto;
    gap: 2.4rem;
  }
  .contact-title { font-size: 4rem; white-space: normal; }
  .contact-mail { gap: 1.6rem; justify-content: center; }
}
/* /stp:contact */
/* stp:footer */
.footer {
  background: var(--bg1);
  border-top: 1px solid var(--extra);
  overflow: hidden;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 128rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 7.9rem 8rem;
  gap: 2rem;
}
.footer-copy {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  color: var(--txt-white);
  white-space: nowrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}
.footer-fav { width: 3.2rem; height: 3.2rem; object-fit: cover; border-radius: 50%; }
.footer-wordmark { height: 2rem; width: auto; }
.footer-policies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  width: 29.7rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
}
.footer-policies a { color: var(--txt-white); text-decoration: underline; white-space: nowrap; }

@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 7.9rem 1.6rem;
    gap: 3.2rem;
    width: 100%;
  }
  .footer-logo { order: 1; }
  .footer-policies { order: 2; width: 30.5rem; max-width: 100%; }
  .footer-copy { order: 3; text-align: center; white-space: normal; }
}

@media (max-width: 640px) {
  .footer-fav { width: 2.4rem; height: 2.4rem; }
  .footer-wordmark { height: 1.6rem; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; background: var(--bg1); padding-top: 8.7rem; }
.legal-page {
  width: 128rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 8rem 8rem;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.6rem 0;
  color: var(--txt-white);
  font-size: clamp(16px, 1.8rem, 1.8rem);
  transition: color .3s ease;
}
.legal-back:hover { color: var(--accent1); }
.back-arrow { width: 2.4rem; height: 2.4rem; }
.legal-content h1 {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 6.4rem;
  line-height: 1.5;
  text-align: center;
  color: var(--txt-white);
  padding: 2.4rem 0 4.8rem;
}
.legal-content h2 {
  font-family: 'Abhaya Libre', serif;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1.3;
  color: var(--txt-white);
  margin-top: 3.2rem;
  margin-bottom: 1.6rem;
}
.legal-content h3 {
  font-family: 'Abhaya Libre', serif;
  font-size: 2.4rem;
  color: var(--txt-white);
  margin-top: 2.4rem;
  margin-bottom: 1.2rem;
}
.legal-content h4 {
  font-size: 1.8rem;
  color: var(--txt-white);
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}
.legal-content p {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.6;
  color: var(--faq-txt);
  margin-bottom: 1.6rem;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 1.6rem 2rem;
  color: var(--faq-txt);
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.6;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.8rem; }
.legal-content a { color: var(--accent1); text-decoration: underline; }
.legal-content strong, .legal-content b { font-weight: 700; color: var(--txt-white); }
.legal-content em, .legal-content i { font-style: italic; }

@media (max-width: 1024px) {
  .legal-main { padding-top: 9.9rem; }
  .legal-page { padding: 0 4rem 6rem; }
  .legal-content h1 { font-size: 4.8rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 5.6rem; }
  .legal-page { padding: 0 1.6rem 4rem; }
  .legal-back { padding: 2rem 0 1rem; font-size: 1.8rem; }
  .legal-content h1 { font-size: 4.8rem; padding: 1.6rem 0 3.2rem; }
  .legal-content h2 { font-size: 2.6rem; }
}
/* /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 {
  --ta-rise: 0.55em;
  --ta-tilt: -5deg;
  transform-origin: 50% 100%;
  animation: ta-swell 1.3s cubic-bezier(.22,.8,.3,1) calc(0.9s + var(--i) * 0.13s) both;
}
.anim-on .ta-hero .ta-w.ta-glint {
  animation: ta-swell 1.3s cubic-bezier(.22,.8,.3,1) calc(0.9s + var(--i) * 0.13s) both, ta-glint 7s ease-in-out 3.6s infinite;
}
.anim-on .ta-sec .ta-w {
  opacity: 0;
}
.anim-on .ta-sec.is-in .ta-w {
  animation: ta-ink 0.95s cubic-bezier(.65,0,.35,1) calc(var(--i) * 0.08s) both;
}
@keyframes ta-swell {
  0% { opacity: 0; transform: translateY(var(--ta-rise)) rotate(var(--ta-tilt)); filter: blur(0.4rem); color: var(--accent1); }
  55% { opacity: 1; transform: translateY(-0.08em) rotate(1.6deg); filter: blur(0); }
  78% { transform: translateY(0.03em) rotate(-0.6deg); }
  100% { opacity: 1; transform: none; filter: none; color: var(--txt-white); }
}
@keyframes ta-glint {
  0%, 80%, 100% { color: var(--txt-white); }
  88% { color: var(--accent1); }
}
@keyframes ta-ink {
  0% { opacity: 0; clip-path: inset(-0.3em 100% -0.3em -0.1em); transform: translateX(-0.25em); color: var(--extra); }
  45% { opacity: 1; }
  70% { color: var(--accent1); }
  100% { opacity: 1; clip-path: inset(-0.3em -0.2em -0.3em -0.1em); transform: none; }
}
@media (max-width: 640px) {
  .anim-on .ta-hero .ta-w {
    --ta-rise: 0.35em;
    --ta-tilt: -3deg;
    animation-duration: 1s;
  }
  .anim-on .ta-hero .ta-w.ta-glint {
    animation-duration: 1s, 7s;
  }
  .anim-on .ta-sec.is-in .ta-w {
    animation-duration: 0.75s;
    animation-delay: calc(var(--i) * 0.06s);
  }
}
/* /stp:title-anim */
