/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@300&family=Inter:wght@300;400;700&family=REM:wght@300;500&display=swap');

:root {
  --txt: #F5F6F8;
  --accent: #7B5CFF;
  --bg: #0F1116;
  --card: #171A22;
  --muted: #A9A9AB;
  --lilac: #B6A6FF;
  --font-head: 'REM', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { font-weight: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }
button { font: inherit; color: inherit; cursor: pointer; }
main { display: block; }
section { position: relative; }

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 4rem 8rem 1.2rem;
  background-color: rgba(15, 17, 22, 0);
  background-image: linear-gradient(to right, rgba(10, 14, 17, 0.3), rgba(10, 14, 17, 0));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  background-color: rgba(15, 17, 22, 0.92);
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.35);
}

.nav { display: flex; align-items: center; justify-content: center; gap: 3.2rem; }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  font-size: clamp(12px, 1.2rem, 1.2rem);
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--txt);
  opacity: 0.5;
}
.header:not(.scrolled) .nav .nav-link:first-child { opacity: 1; }
.nav-link:hover, .header:not(.scrolled) .nav .nav-link:first-child:hover { opacity: 1; color: var(--lilac); }

.burger-btn {
  display: none;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  background: transparent;
  border: 0;
  z-index: 110;
}
.burger-btn span {
  position: absolute;
  left: 50%;
  width: 1.2rem;
  height: 0.1rem;
  margin-left: -0.6rem;
  background: var(--accent);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.burger-btn span:nth-child(1) { top: calc(50% - 0.4rem); }
.burger-btn span:nth-child(2) { top: 50%; }
.burger-btn span:nth-child(3) { top: calc(50% + 0.4rem); }
.burger-btn.act span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

#mobile-menu {
  position: fixed;
  top: 4.8rem;
  left: 0;
  width: 100%;
  height: 72.8rem;
  max-height: calc(100vh - 4.8rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3.2rem 1.6rem;
  background: var(--bg);
  border-bottom: 1px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { width: 20rem; padding: 0.8rem 0; font-size: clamp(14px, 1.6rem, 1.6rem); }
#mobile-menu .nav-link:first-child { opacity: 1; }
#mobile-menu .nav-link:hover { opacity: 1; color: var(--lilac); }

.label {
  position: absolute;
  top: 8rem;
  left: 8rem;
  z-index: 1;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--accent);
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.5;
}
.title-sm { font-size: 3.2rem; opacity: 0.6; }
.title-lg { font-size: 4.8rem; }

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

@media (max-width: 1024px) {
  .header { padding: 2.4rem 2rem 1.2rem; }
  .nav { gap: 0.8rem; }
  .nav-link { padding: 0.8rem 1rem; }
  .label { left: 4rem; }
  .title-sm { font-size: 2.4rem; }
  .title-lg { font-size: 3.6rem; }
}

@media (max-width: 640px) {
  .header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 4.8rem;
    padding: 1.6rem 1.6rem 0.8rem;
    background-image: none;
    background-color: rgba(16, 18, 16, 0.1);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
  }
  .header.scrolled { background-color: rgba(15, 17, 22, 0.92); }
  .nav { display: none; }
  .burger-btn { display: block; }
  .label { left: 1.6rem; }
  .title { gap: 2.4rem; }
  .title-sm { font-size: 2.4rem; }
  .title-lg { font-size: 4rem; }
}
/* /stp:base */
/* stp:hero */
#hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 90rem;
  padding: 0 8rem 8rem;
  overflow: hidden;
}
.hero-pic { position: absolute; top: 2.4rem; left: 0; width: 100%; height: 63.2rem; }
.hero-pic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0F1116 0%, rgba(15, 17, 22, 0) 28.578%, rgba(15, 17, 22, 0) 88.96%, #0F1116 100%);
}
.hero-pic img { width: 100%; height: 100%; max-width: none; object-fit: fill; }
.hero-logo { position: absolute; left: 8rem; top: 16.6rem; display: flex; align-items: center; }
.hero-logo:hover { opacity: 0.8; }
.logo-name { width: 14.8rem; height: 6.4rem; }
.logo-fav { width: 11.5rem; height: 8.5rem; }
.hero-content { position: relative; display: flex; flex-direction: column; gap: 2.4rem; }
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}
.hero-title > span:first-child { font-size: 10.4rem; }
.hero-title > span:last-child { font-size: 10rem; }
.hero-title .dot { color: var(--accent); }
.hero-sub { font-size: 2.4rem; letter-spacing: 0.14em; line-height: 1.5; white-space: nowrap; }

@media (max-width: 1024px) {
  #hero { min-height: 70rem; padding: 0 4rem 6rem; }
  .hero-pic { height: 50rem; }
  .hero-logo { left: 4rem; top: 12rem; }
  .hero-title { gap: 1.6rem; }
  .hero-title > span:first-child { font-size: 7.2rem; }
  .hero-title > span:last-child { font-size: 7rem; }
  .hero-content { gap: 1.6rem; }
  .hero-sub { font-size: clamp(14px, 2rem, 2rem); white-space: normal; }
}

@media (max-width: 640px) {
  #hero { justify-content: flex-start; min-height: 0; padding: 7.2rem 2.1rem 6.4rem; }
  .hero-logo { position: static; order: 1; align-self: center; margin-bottom: 0.8rem; }
  .hero-pic { position: relative; order: 2; top: auto; left: auto; width: auto; height: 24.7rem; margin: 0 -2.1rem; }
  .hero-content { order: 3; margin-top: 1.2rem; gap: 2.4rem; }
  .hero-title { gap: 2.4rem; }
  .hero-title > span:first-child { font-size: 4rem; }
  .hero-title > span:last-child { font-size: 6.4rem; }
  .hero-sub { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:hero */
/* stp:about */
#about {
  padding: 8rem;
  background: linear-gradient(77.7deg, #F5F6F8 68.9%, #958DB9 105.1%);
  color: var(--bg);
}
.about-inner { display: flex; align-items: flex-end; gap: 4.8rem; }
.about-text { flex: none; width: 65.2rem; display: flex; flex-direction: column; gap: 2.4rem; }
.about-kicker { font-family: var(--font-head); font-size: 3.2rem; line-height: 1.5; text-transform: uppercase; }
.about-title { font-family: var(--font-head); font-size: 4.8rem; line-height: 1.3; text-transform: uppercase; }
.about-line { border-top: 1px solid var(--accent); }
.about-copy { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.about-pic { flex: none; width: 58rem; height: 58rem; max-width: none; border-radius: 0.2rem; object-fit: fill; }

@media (max-width: 1024px) {
  #about { padding: 14rem 4rem 8rem; }
  .about-inner { gap: 3.2rem; }
  .about-text { flex: 1 1 0; width: auto; gap: 1.6rem; }
  .about-kicker { font-size: 2.4rem; }
  .about-title { font-size: 3.6rem; }
  .about-pic { width: 40rem; height: 40rem; }
}

@media (max-width: 640px) {
  #about { padding: 19.2rem 2.1rem 0; background: linear-gradient(83.1deg, #F5F6F8 48.7%, #958DB9 118.2%); }
  .about-inner { flex-direction: column; align-items: stretch; gap: 5.6rem; }
  .about-text { flex: none; gap: 2.4rem; }
  .about-kicker { font-size: 2.4rem; }
  .about-title { font-size: 4rem; }
  .about-pic { width: auto; height: 37.5rem; margin: 0 -2.1rem; border-radius: 0; }
}
/* /stp:about */
/* stp:how */
#how { padding: 19.2rem 8rem 8rem; background: var(--bg); }
.how-cards { display: flex; justify-content: center; gap: 2.4rem; margin-top: 6.4rem; }
.how-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 23rem;
  padding: calc(2.4rem - 1px);
  background: var(--card);
  border: 1px solid transparent;
  border-image: linear-gradient(180deg, #7B5CFF 0%, #171A22 28%, #7B5CFF 50%, #171A22 85%, #7B5CFF 100%) 1;
}
.how-card img { flex: none; width: 10rem; height: 10rem; max-width: none; object-fit: fill; }
.how-txt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; width: 18.2rem; min-height: 10rem; text-align: center; }
.how-name { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; text-transform: uppercase; color: var(--txt); }
.how-desc { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; color: var(--muted); }

@media (max-width: 1024px) {
  #how { padding: 16rem 4rem 6rem; }
  .how-cards { flex-wrap: wrap; gap: 2.4rem; margin-top: 4.8rem; }
  .how-card { width: calc((100% - 4.8rem) / 3); padding: 2.4rem 1.2rem; }
  .how-txt { width: 100%; }
}

@media (max-width: 640px) {
  #how { padding: 19.2rem 1.6rem 8rem; }
  .how-cards { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2.4rem; margin: 6.4rem 0.5rem 0; }
  .how-card { flex-direction: row; align-items: flex-start; justify-content: center; gap: 1.6rem; width: auto; padding: calc(2.4rem - 1px) calc(1.6rem - 1px); }
  .how-card img { width: 7.2rem; height: 7.2rem; }
  .how-txt { flex: 1 1 0; align-items: flex-start; width: auto; min-height: 7.6rem; text-align: left; }
  .how-name { white-space: nowrap; }
  .br-d { display: none; }
}
/* /stp:how */
/* stp:why */
#why {
  padding: 15.2rem 8rem 8rem;
  background: linear-gradient(69.4deg, #F5F6F8 68.9%, #958DB9 105.1%);
  color: var(--bg);
}
.why-inner { display: flex; align-items: center; justify-content: center; gap: 4.8rem; }
.why-text { flex: none; width: 56.8rem; display: flex; flex-direction: column; gap: 2.4rem; }
.why-title { font-family: var(--font-head); font-size: 4.8rem; line-height: 1.5; text-transform: uppercase; }
.why-copy { font-family: var(--font-head); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.why-pic { flex: none; width: 54.4rem; height: 19.8rem; max-width: none; object-fit: fill; }

@media (max-width: 1024px) {
  #why { padding: 12rem 4rem 6rem; }
  .why-inner { gap: 3.2rem; }
  .why-text { flex: 1 1 0; width: auto; gap: 1.6rem; }
  .why-title { font-size: 3.6rem; }
  .why-pic { width: 40rem; height: auto; aspect-ratio: 544 / 198; }
}

@media (max-width: 640px) {
  #why { padding: 19.2rem 1.6rem 8rem; background: linear-gradient(77deg, #F5F6F8 48.7%, #958DB9 118.2%); }
  .why-inner { flex-direction: column; justify-content: flex-start; gap: 7.2rem; }
  .why-text { width: 100%; gap: 2.4rem; align-items: center; text-align: center; }
  .why-title { font-size: 4rem; line-height: 1.3; }
  .why-copy { letter-spacing: 0.1em; }
  .why-pic { width: auto; height: 13.6rem; margin: 0 -1.6rem; align-self: stretch; }
}
/* /stp:why */
/* stp:features */
#features { padding: 20.4rem 8rem 8rem; background: var(--bg); }
.feat-grid { display: flex; flex-direction: column; align-items: center; gap: 4.8rem; margin-top: 6.4rem; }
.feat-row { display: flex; justify-content: center; gap: 4.8rem; width: 100%; }
.feat-row--1 { align-items: center; }
.feat-row--2 { align-items: flex-start; }
.feat-card { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; }
.feat-card--lg { width: 61.6rem; }
.feat-card--sm { width: 39.5rem; }
.feat-pic {
  border: 1px solid transparent;
  border-image: linear-gradient(270deg, #0F1116 9.1%, #7B5CFF 39.9%, #0F1116 64.9%, #7B5CFF 82.5%, #0F1116 100%) 1;
  position: relative;
}
.feat-pic--lg { width: 100%; aspect-ratio: 616 / 380; }
.feat-pic--sm { width: 39rem; aspect-ratio: 390 / 290; }
.feat-pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: fill; }
.feat-descr { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; width: 100%; text-align: center; }
.feat-name { font-size: 2.4rem; font-weight: 400; line-height: 1.5; text-transform: uppercase; color: var(--txt); }
.feat-line { width: 100%; margin-bottom: -1px; border-top: 1px solid var(--accent); }
.feat-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; opacity: 0.6; }

@media (max-width: 1024px) {
  #features { padding: 16rem 4rem 6rem; }
  .feat-grid { gap: 3.2rem; margin-top: 4.8rem; }
  .feat-row { gap: 3.2rem; }
  .feat-card--lg, .feat-card--sm { flex: 1 1 0; width: auto; min-width: 0; }
  .feat-pic--sm { width: 100%; }
  .feat-name { font-size: 2rem; }
}

@media (max-width: 640px) {
  #features { padding: 20.4rem 1.6rem 8rem; }
  .feat-grid { display: flex; flex-direction: row; align-items: flex-start; gap: 1.6rem; margin: 6.4rem -1.6rem 0; padding: 0 2.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2.4rem; scrollbar-width: none; }
  .feat-grid::-webkit-scrollbar { display: none; }
  .feat-row { display: contents; }
  .feat-card--lg, .feat-card--sm { flex: none; width: 28rem; scroll-snap-align: start; }
  .feat-pic--lg, .feat-pic--sm { width: 100%; aspect-ratio: 280 / 208; }
  .feat-name { font-size: 2.4rem; }
  .feat-text { padding: 0 3rem; }
  .feat-row--2 .feat-card:nth-child(1) .feat-text { padding: 0 2.5rem; }
  .feat-row--2 .feat-card:nth-child(3) .feat-text { padding: 0 1.5rem; }
}
/* /stp:features */
/* stp:faq */
#faq {
  padding: 19.2rem 8rem 8rem;
  background: linear-gradient(23.9deg, #2F2558 -31.7%, #0F1116 21.7%, #0F1116 79.6%, #181232 90.2%);
}
.faq-list { display: flex; flex-direction: column; gap: 2.4rem; width: 100%; max-width: 84.6rem; margin: 6.4rem auto 0; }
.faq-item { padding: 2.4rem 1.2rem; transition: background-color 0.3s ease; }
.faq-item[open] { background: linear-gradient(180deg, rgba(23, 26, 34, 0) 0%, #171A22 100%); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 2.4rem;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  background: url(../img/faq-arrow.svg) center / 100% 100% no-repeat;
  transform: scaleY(-1);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: none; }
.faq-item summary:hover { color: var(--lilac); }
.faq-item p { margin-top: 2.4rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--muted); }

@media (max-width: 1024px) {
  #faq { padding: 14rem 4rem 6rem; }
  .faq-list { margin-top: 4.8rem; }
  .faq-item summary { font-size: 2rem; }
}

@media (max-width: 640px) {
  #faq {
    padding: 19.2rem 1.6rem 8rem;
    background: linear-gradient(62.9deg, #2F2558 -31.2%, #0F1116 22.4%, #0F1116 80.6%, #181232 91.3%);
  }
  .faq-list { margin-top: 6.4rem; }
  .faq-item summary { font-size: 2.4rem; }
}
/* /stp:faq */
/* stp:contact */
#contact { min-height: 47.3rem; padding: 20.7rem 8rem 0; background: var(--bg); overflow: hidden; }
.contact-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2.4rem; width: 43.5rem; }
.contact-title { font-family: var(--font-head); font-size: 3.2rem; line-height: 1.5; text-transform: uppercase; }
.contact-mail { display: flex; align-items: center; gap: 1.2rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.contact-mail img { width: 3.2rem; height: 3.2rem; }
.contact-mail:hover { color: var(--lilac); }
.contact-pic { position: absolute; inset: 0; z-index: 0; }
.contact-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0F1116 24%, rgba(15, 17, 22, 0) 63.4%); }
.contact-pic img { width: 100%; height: 100%; max-width: none; object-fit: fill; }

@media (max-width: 1024px) {
  #contact { min-height: 40rem; padding: 16rem 4rem 0; }
  .contact-inner { width: 40rem; }
  .contact-title { font-size: 2.8rem; }
}

@media (max-width: 640px) {
  #contact { display: flex; flex-direction: column; min-height: 0; padding: 19.2rem 2.1rem 0; }
  .contact-inner { align-items: center; width: auto; text-align: center; }
  .contact-title { font-size: 2.4rem; }
  .contact-pic { position: relative; inset: auto; height: 28.8rem; margin: 2.4rem -2.1rem 0; }
  .contact-pic::after { background: linear-gradient(180deg, #0F1116 0%, rgba(15, 17, 22, 0) 63.4%); }
}
/* /stp:contact */
/* stp:footer */
.footer { padding: 8rem 8rem 6.6rem; background: var(--bg); border-top: 1px solid var(--accent); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.6rem; }
.footer-logo { grid-column: 2; grid-row: 1; display: flex; align-items: center; }
.footer-logo:hover { opacity: 0.8; }
.footer-links { grid-column: 3; grid-row: 1; justify-self: end; display: flex; justify-content: space-between; gap: 6.4rem; width: 37.6rem; padding: 0 1.6rem; }
.footer-copy { grid-column: 1; grid-row: 1; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--muted); }
.footer-links a { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; color: var(--muted); text-decoration: underline; }
.footer-links a:hover { color: var(--txt); }
.br-m { display: none; }

@media (max-width: 1024px) {
  .footer { padding: 8rem 4rem 4rem; }
  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 3.2rem; }
  .footer-logo { margin-bottom: 1.6rem; }
  .footer-links { justify-self: auto; width: auto; gap: 6.4rem; padding: 0; white-space: nowrap; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  .footer { padding: 8rem 1.6rem 2.6rem; }
  .dash { display: none; }
  .br-m { display: inline; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 9.6rem; }
.header--legal { padding: 5.6rem 12rem 1.6rem; background-color: var(--bg); background-image: none; }
.back-link { display: inline-flex; align-items: center; gap: 0.8rem; font-family: 'Encode Sans Condensed', var(--font-body); font-size: clamp(12px, 1.2rem, 1.2rem); font-weight: 300; line-height: 1.5; color: var(--txt); }
.back-link::before { content: ''; width: 2.4rem; height: 2.4rem; background: url(../img/chevron-left.svg) center / 100% 100% no-repeat; }
.back-link:hover { opacity: 0.7; color: var(--lilac); }
.legal-page { padding: 8rem 8rem; }
.legal-content { width: 100%; max-width: 106.2rem; margin: 0 auto; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.5; }
.legal-content h1 { margin-bottom: 6.4rem; font-family: var(--font-head); font-size: 4.8rem; font-weight: 300; line-height: 1.5; text-align: center; text-transform: uppercase; }
.legal-content h2, .legal-content h3, .legal-content h4 { margin-top: 2.4rem; margin-bottom: 1.6rem; font-family: var(--font-head); font-size: 2.4rem; font-weight: 300; line-height: 1.5; text-transform: uppercase; }
.legal-content h1 + h2 { margin-top: 0; }
.legal-content p { margin-bottom: 0; }
.legal-content p + p { margin-top: 1.6rem; }
.legal-content ul { padding-left: 1.6rem; list-style: disc; }
.legal-content ol { padding-left: 2rem; list-style: decimal; }
.legal-content strong, .legal-content b { font-weight: 400; }
.legal-content a { text-decoration: underline; }
.legal-content a:hover { color: var(--lilac); }

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

@media (max-width: 640px) {
  .legal-main { padding-top: 5.6rem; }
  .header--legal { display: block; height: auto; padding: 3.2rem 1.6rem 1.6rem; background-color: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .legal-page { padding: 8rem 1.6rem; }
  .legal-content h1 { margin-bottom: 6.4rem; font-size: 3.2rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .hero-title .ta-wrap { position: relative; display: inline-block; }
.anim-on .hero-title .ta-ink {
  display: inline-block;
  transform-origin: 0 100%;
  clip-path: inset(-0.25em 100% -0.25em -0.25em);
  animation: ta-hl-wipe 0.7s cubic-bezier(0.7, 0, 0.2, 1) calc(0.9s + var(--i) * 0.25s) both, ta-hl-lean 1.2s cubic-bezier(0.3, 0, 0.2, 1) calc(0.9s + var(--i) * 0.25s) both;
}
.anim-on .hero-title .ta-beam {
  position: absolute;
  top: -0.1em;
  bottom: -0.1em;
  left: 0;
  width: 100%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(182, 166, 255, 0) 0%, var(--lilac) 25%, var(--txt) 50%, var(--lilac) 75%, rgba(182, 166, 255, 0) 100%) 100% 50% / 0.4rem 100% no-repeat,
    linear-gradient(90deg, rgba(123, 92, 255, 0) 25%, rgba(123, 92, 255, 0.7) 85%, var(--lilac) 100%) 100% 50% / 100% 0.4rem no-repeat,
    linear-gradient(90deg, rgba(123, 92, 255, 0) 45%, rgba(123, 92, 255, 0.22) 100%) 100% 50% / 100% 70% no-repeat;
  filter: drop-shadow(0 0 0.8rem var(--accent));
  opacity: 0;
  transform: translateX(-100%);
  animation: ta-hl-beam 1s cubic-bezier(0.7, 0, 0.2, 1) calc(0.9s + var(--i) * 0.25s) both;
}
.anim-on .hero-title .dot { display: inline-block; animation: ta-hl-tail 4.5s ease-in-out 2.6s infinite; }

.anim-on .ta-sec { position: relative; }
.anim-on .ta-sec .ta-w {
  display: inline-block;
  white-space: nowrap;
  transform-origin: 0 100%;
  clip-path: inset(-0.25em 100% -0.25em -0.25em);
}
.anim-on .ta-sec.is-in .ta-w {
  animation: ta-hl-wipe 0.55s cubic-bezier(0.7, 0, 0.2, 1) calc(var(--i) * 0.06s) both, ta-tw-lean 0.9s cubic-bezier(0.3, 0, 0.2, 1) calc(var(--i) * 0.06s) both;
}
.anim-on .ta-sec::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 100%;
  height: 0.3rem;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(123, 92, 255, 0) 20%, var(--accent) 88%, var(--lilac) 100%);
  filter: drop-shadow(0 0 0.5rem var(--accent));
  opacity: 0;
  transform: translateX(-100%);
}
.anim-on .ta-sec.is-in::after { animation: ta-hl-beam 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.1s both; }

@keyframes ta-hl-wipe {
  from { clip-path: inset(-0.25em 100% -0.25em -0.25em); }
  to { clip-path: inset(-0.25em -0.25em -0.25em -0.25em); }
}
@keyframes ta-hl-lean {
  from { transform: skewX(-14deg); color: var(--lilac); }
  60% { transform: skewX(4deg); }
  to { transform: none; }
}
@keyframes ta-tw-lean {
  from { transform: skewX(-12deg); color: var(--accent); }
  60% { transform: skewX(3deg); }
  to { transform: none; }
}
@keyframes ta-hl-beam {
  0% { opacity: 0; transform: translateX(-100%); }
  6% { opacity: 1; }
  70% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(0); }
}
@keyframes ta-hl-tail {
  0%, 78%, 100% { transform: none; filter: none; }
  83% { transform: scale(1.25); filter: brightness(1.6) drop-shadow(0 0 0.6rem var(--accent)); }
  88% { transform: none; filter: none; }
  93% { transform: scale(1.25); filter: brightness(1.6) drop-shadow(0 0 0.6rem var(--accent)); }
}

@media (max-width: 640px) {
  .anim-on .hero-title .ta-ink { animation-duration: 0.6s, 1s; }
  .anim-on .hero-title .ta-beam { animation-duration: 0.85s; }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: 0.45s, 0.7s; }
  .anim-on .ta-sec.is-in::after { animation-duration: 1s; }
}
/* /stp:title-anim */
