/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg1: #F3F6F9;
  --txt1: #00032C;
  --txt2: #585E7C;
  --accent1: #347DEC;
  --extra: #031426;
}

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; margin: 0; padding: 0; }
body { background: var(--bg1); color: var(--txt1); font-family: 'DM Sans', sans-serif; }

h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg1);
}
html.hide #preloader { display: none; }

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

/* Mobile menu */
#mobile-menu {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg1);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  padding-top: 4.8rem;
}
#mobile-menu.opened {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--txt1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
#mobile-menu .nav-link:hover { color: var(--accent1); }

/* Burger */
.burger-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 3.2rem;
  height: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  z-index: 101;
  position: relative;
}
.burger-btn span {
  display: block;
  width: 2.4rem;
  height: 0.1rem;
  background: var(--txt1);
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn.act span:nth-child(1) {
  transform: translateY(0.55rem) rotate(45deg);
}
.burger-btn.act span:nth-child(2) {
  opacity: 0;
}
.burger-btn.act span:nth-child(3) {
  transform: translateY(-0.65rem) rotate(-45deg);
}

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

/* Generic hover transitions */
a { transition: color 0.3s, opacity 0.3s; }
/* /stp:base */
/* stp:header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg1);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.12);
}
.header-inner {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 1.2rem 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  flex-shrink: 0;
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  transition: opacity 0.3s;
}
.header-logo:hover { opacity: 0.75; }
.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header-nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.header-nav .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--txt1);
  padding: 0.8rem 1.2rem;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
}
/*.header-nav .nav-link:first-child { opacity: 1; }*/
.header-nav .nav-link:hover { opacity: 1; color: var(--accent1); }
.burger-btn { display: none; }

@media (max-width: 1024px) {
  .header-inner { padding: 1.2rem 4rem; }
  .header-nav .nav-link { font-size: 1rem; padding: 0.6rem 0.8rem; }
}
@media (max-width: 640px) {
  .header-inner {
    padding: 1.2rem 1.6rem;
  }
  .header-nav { display: none; }
  .burger-btn { display: flex; }
}
/* /stp:header */
/* stp:hero */
#hero {
  position: relative;
  width: 100%;
  height: 87.1rem;
  overflow: hidden;
  background: var(--bg1);
}
.hero-bg {
  position: absolute;
  right: -0.02%;
  top: -1.69%;
  width: 100.03%;
  height: 101.69%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(134.76deg, #F3F6F9 5.78%, rgba(243,246,249,0.7) 23.79%, rgba(243,246,249,0) 52.37%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  left: 8rem;
  top: 19rem;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  align-items: flex-start;
  max-width: 47rem;
}
.hero-logo-link {
  display: block;
  width: 30.3rem;
  height: 5.5rem;
  transition: opacity 0.3s;
}
.hero-logo-link:hover { opacity: 0.75; }
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 6.4rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.256rem;
  color: var(--txt1);
  width: 47.4rem;
}
.hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  opacity: 0.7;
}
.hero-desc p { margin: 0; }

/* The header overlays the hero so main needs no padding-top on desktop */
main { padding-top: 0; }

@media (max-width: 1024px) {
  #hero { height: 60rem; }
  .hero-content { left: 4rem; top: 14rem; gap: 3rem; max-width: 36rem; }
  .hero-title { font-size: 4.8rem; letter-spacing: -0.19rem; width: 36rem; }
  .hero-desc { font-size: 1.8rem; }
  .hero-logo-link { width: 22rem; height: 4rem; }
}
@media (max-width: 640px) {
  #hero {
    height: 81.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 100%;
    height: 34.2rem;
    object-fit: cover;
    object-position: center top;
  }
  .hero-gradient {
    /*background: linear-gradient(180deg, #F3F6F9 40%, rgba(243,246,249,0) 100%);*/
  }
  .hero-content {
    position: relative;
    left: auto;
    top: auto;
    padding-top: 8rem;
    gap: 2.4rem;
    align-items: center;
    width: 100%;
    padding-left: 2.1rem;
    padding-right: 2.1rem;
  }
  .hero-logo-link { width: 30.3rem; height: 5.5rem; }
  .hero-title {
    font-size: 4.4rem;
    letter-spacing: -0.176rem;
    width: 33.3rem;
    text-align: center;
  }
  .hero-desc {
    font-size: 1.6rem;
    text-align: center;
    width: 31.3rem;
  }
  main { padding-top: 0; }
}
/* /stp:hero */
/* stp:about */
#about {
  background: #D1DAE5;
  padding-top: 0;
  padding-bottom: 8rem;
}
.about-sep {
  padding: 8rem 8rem 2.4rem;
}
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--accent1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
.about-inner {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 8rem;
  display: flex;
  gap: 4.8rem;
  align-items: flex-start;
}
.about-img {
  width: 74.5rem;
  height: 46.5rem;
  object-fit: cover;
  object-position: right center;
  flex-shrink: 0;
}
.about-txt {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  flex: 1;
}
.about-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
}
.about-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  white-space: pre-line;
}

@media (max-width: 1024px) {
  .about-inner { gap: 3rem; }
  .about-img { width: 45rem; height: 28rem; }
  .about-title { font-size: 3.2rem; }
}
@media (max-width: 640px) {
  #about { padding-bottom: 0; }
  .about-sep { padding: 8rem 2rem 2.4rem; text-align: center; }
  .about-inner {
    flex-direction: column;
    padding: 0;
    gap: 4rem;
    align-items: center;
  }
  .about-txt {
    gap: 4rem;
    padding: 0 2.1rem;
    order: -1;
  }
  .about-title {
    font-size: 3.6rem;
    line-height: 1.3;
    text-align: center;
  }
  .about-body {
    text-align: center;
    font-size: 1.6rem;
  }
  .about-img {
    width: 37.5rem;
    height: 23.4rem;
    flex-shrink: 0;
    order: 1;
  }
}
/* /stp:about */
/* stp:how-to-play */
#how-to-play {
  background: var(--bg1);
  padding-bottom: 5rem;
}
.htp-sep {
  padding: 8rem 8rem 2.4rem;
}
.htp-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
  text-align: left;
  padding: 0 8rem;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
}
.htp-cards {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 2.6rem 9.7rem 0;
  display: flex;
  gap: 2.4rem;
  align-items: flex-start;
  justify-content: center;
}
.htp-card {
  width: 23rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  padding-bottom: 1.2rem;
  flex-shrink: 0;
}
.htp-icon {
  width: 7.2rem;
  height: 7.2rem;
  object-fit: contain;
}
.htp-card-txt {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  text-align: center;
}
.htp-card-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
}
.htp-card-desc {
  font-size: clamp(14px, 1.2rem, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .htp-title { font-size: 3.2rem; width: auto; padding: 0 4rem; }
  .htp-sep { padding: 6rem 4rem 2rem; }
  .htp-cards { padding: 2rem 2rem 0; gap: 1.6rem; }
  .htp-card { width: 18rem; }
  .htp-card-name { font-size: 1.6rem; }
}
@media (max-width: 640px) {
  #how-to-play { padding-bottom: 8rem; }
  .htp-sep { padding: 8rem 2rem 2.4rem; text-align: center; }
  .htp-title {
    font-size: 3.6rem;
    line-height: 1.3;
    text-align: center;
    padding: 0 2.1rem;
    width: 100%;
  }
  .htp-cards {
    flex-direction: column;
    padding: 2.4rem 2.1rem 0;
    gap: 2.4rem;
    align-items: stretch;
  }
  .htp-card {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 2.4rem;
    padding-bottom: 1.2rem;
  }
  .htp-icon {
    width: 7.2rem;
    height: 7.2rem;
    flex: 0 0 auto;
  }
  .htp-card-txt { align-items: flex-start; text-align: left; }
  .htp-card-name { font-size: 2rem; }
  .htp-card-desc { font-size: clamp(14px, 1.2rem, 1.2rem); }
}
/* /stp:how-to-play */
/* stp:features */
#features {
  background: var(--extra);
  padding-bottom: 8rem;
}
.section-label--light {
  color: var(--accent1);
}
.feat-sep {
  padding: 8rem 8rem 2.4rem;
}
.feat-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  padding: 0 8rem;
  margin-bottom: 0;
}
.feat-cards {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 3.2rem 8rem 0;
  display: flex;
  align-items: stretch;
  gap: 2.4rem;
  justify-content: center;
}
.feat-card {
  width: 23rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  padding: 1.6rem;
  flex-shrink: 0;
  border: 1px solid rgba(52, 125, 236, 0.40);
  height: auto;

}
.feat-img {
  width: 19.8rem;
  height: 24.7rem;
  object-fit: cover;
  flex-shrink: 0;
}
.feat-card-txt {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  text-align: center;
}
.feat-card-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}
.feat-card-desc {
  font-size: clamp(14px, 1.2rem, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .feat-sep { padding: 6rem 4rem 2rem; }
  .feat-title { font-size: 3.2rem; padding: 0 4rem; }
  .feat-cards { padding: 2rem 2rem 0; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
  .feat-card { width: 30rem; }
  .feat-img { width: 17rem; height: 21rem; }
}
@media (max-width: 640px) {
  #features { padding-bottom: 0; }
  .feat-sep { padding: 8rem 2rem 2.4rem; text-align: center; }
  .feat-title {
    font-size: 3.6rem;
    line-height: 1.3;
    text-align: center;
    padding: 0 2.1rem;
  }
  .feat-cards {
    padding: 3.8rem 0 8rem;
    gap: 1.6rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
  .feat-cards::-webkit-scrollbar { display: none; }
  .feat-card {
    width: 27rem;
    flex-shrink: 0;
  }
  .feat-img { width: 23.8rem; height: 29.7rem; }
  .feat-card-name { font-size: 2rem; color: #fff; }
}
/* /stp:features */
/* stp:contact */
#contact {
  background: var(--extra);
  position: relative;
  height: 44.8rem;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}
.contact-sep {
  position: relative;
  padding: 8rem 8rem 0;
}
.contact-inner {
  position: relative;
  margin-left: 92.3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 41.7rem;
}
.contact-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}
.contact-mailto {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.contact-mail-icon {
  width: 3.2rem;
  height: 3.2rem;
  flex-shrink: 0;
}
.contact-email {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  transition: color 0.3s;
}
.contact-email:hover { color: var(--accent1); }

@media (max-width: 1024px) {
  #contact { height: 36rem; }
  .contact-inner { margin-left: 70rem; width: 30rem; padding-top: 1rem; }
  .contact-title { font-size: 3.2rem; }
  .contact-email { font-size: 1.8rem; }
  .contact-sep { padding: 6rem 4rem 0; }
}
@media (max-width: 640px) {
  #contact {
    height: 51.6rem;
    display: flex;
    flex-direction: column;
  }
  .contact-bg {
    top: auto;
    bottom: 0;
    height: 21rem;
    object-position: center top;
  }
  .contact-sep { padding: 8rem 2rem 2.4rem; text-align: center; }
  .contact-sep .section-label { text-align: center; }
  .contact-inner {
    margin-left: 0;
    width: 100%;
    padding: 0 2.1rem;
    gap: 2.4rem;
    align-items: flex-start;
    margin-top: 0;
  }
  .contact-title {
    font-size: 3.6rem;
    line-height: 1.3;
    text-align: center;
    width: 100%;
  }
  .contact-mailto {
    gap: 2.4rem;
    justify-content: flex-start;
  }
  .contact-email { font-size: 2.4rem; }
}
/* /stp:contact */
/* stp:faq */
#faq {
  background: var(--bg1);
  padding-bottom: 6.2rem;
}
.faq-sep {
  padding: 8rem 8rem 2.4rem;
}
.faq-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
  text-align: center;
}
.faq-content {
  width: 100%;
  max-width: 144rem;
  margin: 1.8rem auto 0;
  padding: 0 29.7rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.faq-item {
  border-bottom: 1px solid rgba(0, 3, 44, 0.15);
  padding: 0 1.2rem;
}
.faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 0.9rem 0;
  min-height: 5.4rem;
  cursor: pointer;
}
.faq-q {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  flex: 1;
}
.faq-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s;
}
.faq-btn svg { width: 2.4rem; height: 2.4rem; }
.faq-line-v {
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.faq-btn[aria-expanded="true"] .faq-line-v {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-btn:hover { opacity: 0.7; }
.faq-answer {
  display: none;
  padding: 0 0 1.6rem;
}
.faq-answer.open { display: block; }
.faq-answer p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .faq-title { font-size: 3.6rem; }
  .faq-content { padding: 0 6rem; }
  .faq-q { font-size: 2rem; }
}
@media (max-width: 640px) {
  #faq { padding-bottom: 3.9rem; }
  .faq-sep { padding: 8rem 2rem 2.4rem; text-align: center; }
  .faq-title {
    font-size: 3.6rem;
    text-align: center;
    padding: 0 7.3rem;
  }
  .faq-content {
    padding: 0 2.1rem;
    gap: 2.4rem;
    margin-top: 1.5rem;
  }
  .faq-q { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .faq-row { min-height: auto; padding: 0.9rem 0; }
}
/* /stp:faq */
/* stp:footer */
.footer {
  background: var(--bg1);
  border-top: 1px solid var(--extra);
  height: 21.5rem;
}
.footer-inner {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 8rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  white-space: nowrap;
}
.footer-logo-link {
  display: block;
  width: 30.3rem;
  height: 5.5rem;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.footer-logo-link:hover { opacity: 0.75; }
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-policies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 29.7rem;
  padding: 0 1.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}
.footer-link {
  color: var(--txt1);
  text-decoration: underline;
  text-decoration-color: var(--txt1);
  transition: color 0.3s, text-decoration-color 0.3s;
}
.footer-link:hover {
  color: var(--accent1);
  text-decoration-color: var(--accent1);
}

@media (max-width: 1024px) {
  .footer { height: auto; padding: 3rem 0; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
    gap: 2rem;
  }
  .footer-logo-link { order: -1; width: 22rem; height: 4rem; }
  .footer-policies { order: 0; width: auto; gap: 2rem; padding: 0; }
  .footer-copy { order: 1; font-size: 1.4rem; text-align: center; white-space: normal; }
}
@media (max-width: 640px) {
  .footer {
    height: 36.4rem;
    border-top: 1px solid var(--extra);
  }
  .footer-inner {
    padding: 0 1.6rem;
    gap: 3.2rem;
    height: 100%;
  }
  .footer-logo-link {
    width: 30.3rem;
    height: 5.5rem;
  }
  .footer-policies {
    width: 30.5rem;
    justify-content: space-between;
  }
  .footer-copy {
    font-size: 1.6rem;
  }
}
/* /stp:footer */
/* stp:legal */
.legal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-main {
  flex: 1 0 auto;
}
.legal-page {
  padding: 8rem 0 6rem;
}
.legal-content {
  width: 100%;
  max-width: 84rem;
  margin: 0 auto;
  padding: 0 4rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--txt1);
}
.legal-content h1 {
  font-family: 'Oxanium', sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
  margin-bottom: 3.2rem;
}
.legal-content h2 {
  font-family: 'Oxanium', sans-serif;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
  margin-top: 3.2rem;
  margin-bottom: 1.6rem;
}
.legal-content h3,
.legal-content h4 {
  font-family: 'Oxanium', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
  margin-top: 2.4rem;
  margin-bottom: 1.2rem;
}
.legal-content p {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--txt1);
  margin-bottom: 1.6rem;
}
.legal-content ul,
.legal-content ol {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--txt1);
  padding-left: 2.4rem;
  margin-bottom: 1.6rem;
}
.legal-content li { margin-bottom: 0.8rem; }
.legal-content a {
  color: var(--accent1);
  text-decoration: underline;
  transition: opacity 0.3s;
}
.legal-content a:hover { opacity: 0.75; }
.legal-content strong,
.legal-content b { font-weight: 700; }
.legal-content em,
.legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-page { padding: 8rem 0 4rem; }
  .legal-content { padding: 0 2rem; }
  .legal-content h1 { font-size: 3.2rem; }
  .legal-content h2 { font-size: 2.2rem; }
  .legal-content h3,
  .legal-content h4 { font-size: 1.8rem; }
  .legal-content p,
  .legal-content ul,
  .legal-content ol { font-size: 1.4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .hero-title,
.anim-on .ta-sec { position: relative; }
.anim-on .ta-w { display: inline-block; white-space: nowrap; }
.anim-on .hero-title .ta-c {
  display: inline-block;
  position: relative;
  color: transparent;
}
.anim-on .hero-title .ta-c::after {
  content: attr(data-g);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  color: var(--accent1);
  opacity: 0;
  pointer-events: none;
}
.anim-on .hero-title .ta-c.is-lock {
  color: inherit;
  animation: ta-lock 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.anim-on .hero-title .ta-c.is-scan { color: transparent; }
.anim-on .hero-title .ta-c.is-scan::after { opacity: 1; }
.anim-on .hero-title::after,
.anim-on .ta-sec::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(52, 125, 236, 0) 0%, rgba(52, 125, 236, 0.16) 80%, var(--accent1) 96%, rgba(52, 125, 236, 0) 100%) no-repeat;
  background-size: 20% 100%;
  background-position: -40% 0;
  opacity: 0;
}
.anim-on .hero-title::after {
  background-image: linear-gradient(180deg, rgba(52, 125, 236, 0) 0%, rgba(52, 125, 236, 0.14) 80%, var(--accent1) 96%, rgba(52, 125, 236, 0) 100%);
  background-size: 100% 16%;
  background-position: 0 -40%;
}
.anim-on .hero-title.is-in::after { animation: ta-scanline var(--ta-dur, 1.6s) linear both; }
.anim-on .ta-sec .ta-w { opacity: 0; }
.anim-on .ta-sec.is-in .ta-w { animation: ta-resolve 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.15s + var(--i) * 0.06s) both; }
.anim-on .ta-sec.is-in::after { animation: ta-beam 1.1s cubic-bezier(0.45, 0, 0.25, 1) both; }
@keyframes ta-lock {
  0% { color: var(--accent1); filter: blur(0.2rem); }
  60% { color: var(--accent1); filter: blur(0); }
}
@keyframes ta-beam {
  0% { opacity: 0; background-position: -40% 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: 140% 0; }
}
@keyframes ta-scanline {
  0% { opacity: 0; background-position: 0 -10%; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; background-position: 0 115%; }
}
@keyframes ta-resolve {
  0% { opacity: 0; color: var(--accent1); filter: blur(0.6rem); transform: translateX(-1rem); }
  55% { opacity: 1; color: var(--accent1); filter: blur(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-resolve-m {
  0% { opacity: 0; color: var(--accent1); filter: blur(0.4rem); transform: translateX(-0.5rem); }
  55% { opacity: 1; color: var(--accent1); filter: blur(0); }
  100% { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .anim-on .ta-sec.is-in .ta-w { animation: ta-resolve-m 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.1s + var(--i) * 0.045s) both; }
  .anim-on .ta-sec.is-in::after { animation-duration: 0.9s; }
}
/* /stp:title-anim */
