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

:root {
  --primary: #D79E00;
  --surface: #F4EDDF;
  --text: #192128;
  --bg: #A4DCEC;
  --accent: #00009B;
  --hero-bg: #121416;
  --store-border: #A6A6A6;
  --font: 'Poppins', 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; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, 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 .3s, opacity .3s; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 16rem; }

#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;
  background: var(--bg);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 .2rem 1.2rem rgba(0, 0, 0, .15); }
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 6rem;
}
.logo { display: block; width: 4.4rem; height: 4.4rem; border-radius: .8rem; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo:hover { opacity: .8; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 54.5rem; }
.nav-link { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.nav-link:hover { color: var(--accent); }

.burger-btn {
  display: none;
  position: relative; z-index: 120;
  width: 6.4rem; height: 6.4rem; padding: 0;
  background: transparent; border: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
}
.burger-btn span {
  display: block; width: 2.4rem; height: .2rem; background: var(--text);
  transition: transform .3s, opacity .3s, background-color .3s;
}
.burger-btn:hover span { background: var(--accent); }
.burger-btn.act span:nth-child(1) { transform: translateY(.8rem) rotate(45deg); }
.burger-btn.act span:nth-child(3) { transform: translateY(-.8rem) rotate(-45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }

#mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.2rem;
  padding: 8rem 1.6rem 4rem;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { font-size: 2.4rem; font-weight: 600; line-height: 1.3; }

.store-btn {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  width: 18rem; height: 5.7rem;
  background: #000; border: 1px solid var(--store-border); border-radius: .6rem;
  overflow: hidden;
  transition: background-color .3s, border-color .3s, box-shadow .3s, opacity .3s;
}
.store-btn:hover { background: #1d1d1d; border-color: #fff; box-shadow: 0 .4rem 1.6rem rgba(0, 0, 0, .35); }
.store-icon { width: 3.1rem; height: 3.5rem; }
.store-text { width: 11.3rem; height: 3.7rem; }

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

.section-title {
  font-size: 4.8rem; font-weight: 700; line-height: 1.2; color: var(--text);
}

.br-m { display: none; }

@media (max-width: 1024px) {
  .container { padding: 0 6rem; }
  .section-title { font-size: 4rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.6rem; }
  .header-inner { height: 8rem; padding: 0; }
  .logo { position: absolute; left: 1.6rem; top: 2rem; }
  .nav { display: none; }
  .burger-btn { display: flex; position: absolute; right: 1.6rem; top: 1.6rem; }
  .section-title { font-size: 3.6rem; }
  .br-m { display: inline; }
}
/* /stp:base */
/* stp:hero */
.hero {
  background: var(--hero-bg) url(../img/hero.webp) center / cover no-repeat;
  padding: 15rem 0 11rem;
  min-height: 75.9rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 54.4rem 54.4rem;
  grid-template-areas: "text pic" "btn pic";
  column-gap: 3.2rem;
  align-items: start;
  justify-content: start;
}
.hero-text { grid-area: text; }
.hero-title { font-size: 7.2rem; font-weight: 700; line-height: 1.2; color: var(--primary); }
.hero-subtitle { margin-top: 11.52rem; font-size: 2.8rem; font-weight: 600; line-height: 1.3; color: var(--surface); }
.hero-desc { margin-top: 1.56rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--surface); }
.hero-pic { grid-area: pic; margin-top: -4.4rem; }
.hero-pic img { width: 100%; height: auto; aspect-ratio: 544 / 454; object-fit: cover; }
.hero .store-btn { grid-area: btn; margin-top: 4.8rem; animation: store-float 3s ease-in-out infinite; }
.hero .store-btn:hover { animation-play-state: paused; }

@media (max-width: 1024px) {
  .hero { padding: 12rem 0 8rem; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr 1fr; column-gap: 2.4rem; }
  .hero-title { font-size: 5.6rem; }
  .hero-subtitle { margin-top: 6rem; font-size: 2.4rem; }
  .hero-pic { margin-top: 0; }
}

@media (max-width: 640px) {
  .hero { background-image: url(../img/hero-m.webp); padding: 12rem 0 6.4rem; min-height: 81.2rem; }
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "text" "pic" "btn"; column-gap: 0; justify-content: stretch; }
  .hero-title { font-size: 4.8rem; }
  .hero-subtitle { margin-top: 3.28rem; font-size: 2.4rem; }
  .hero-desc { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .hero-pic { margin-top: 1.8rem; width: 27.7rem; justify-self: center; }
  .hero .store-btn { margin-top: 2.4rem; justify-self: center; }
}
/* /stp:hero */
/* stp:how-it-works */
.card {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: 2.4rem;
  padding: 2.2rem;
}
.card-text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }

.how { padding: 8rem 0; }
.how .section-title { margin-bottom: 6.4rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; }
.step { display: flex; flex-direction: column; gap: 2.4rem; }
.step-num { font-size: 4.8rem; font-weight: 700; line-height: 1.2; color: var(--bg); }
.step-body { display: flex; flex-direction: column; gap: .8rem; }
.step-title { font-size: 2.8rem; font-weight: 600; line-height: 1.3; color: var(--accent); }

@media (max-width: 1024px) {
  .how { padding: 6rem 0; }
  .steps { gap: 2.4rem; }
  .card { padding: 1.8rem; }
  .step-num { font-size: 4rem; }
  .step-title { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  .how { padding: 6.4rem 0; }
  .how .section-title { margin-bottom: 4.8rem; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .card { padding: 2.2rem; }
  .step-num { font-size: 3.6rem; }
  .step-title { font-size: 2.4rem; }
  .card-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:how-it-works */
/* stp:features */
.features { padding: 8rem 0; }
.features-inner { display: grid; grid-template-columns: 54.4rem 54.4rem; column-gap: 3.2rem; align-items: start; justify-content: start; }
.features .section-title { margin-bottom: 6.4rem; }
.features-list { display: flex; flex-direction: column; gap: 1.6rem; }
.feature { display: flex; flex-direction: column; gap: .4rem; }
.feature-title { font-size: 2rem; font-weight: 600; line-height: 1.5; color: var(--accent); }
.feature-text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.features-pic img { width: 100%; height: auto; aspect-ratio: 544 / 549; object-fit: cover; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  .features { padding: 6rem 0; }
  .features-inner { grid-template-columns: 1fr 1fr; column-gap: 3.2rem; }
}

@media (max-width: 640px) {
  .features { padding: 6.4rem 0; }
  .features-inner { grid-template-columns: 1fr; row-gap: 3.2rem; }
  .features .section-title { margin-bottom: 4.8rem; }
  .feature-title { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .feature-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:features */
/* stp:reviews */
.reviews { padding: 8rem 0; }
.reviews .section-title { margin-bottom: 6.4rem; }
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; align-items: start; }
.review { display: flex; flex-direction: column; gap: 1.6rem; }
.review-stars { font-size: 2.8rem; font-weight: 600; line-height: 1.3; color: var(--primary); }
.review-name { font-size: 2rem; font-weight: 600; line-height: 1.5; text-align: right; color: var(--accent); }

@media (max-width: 1024px) {
  .reviews { padding: 6rem 0; }
  .reviews-list { gap: 2.4rem; }
  .review-stars { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  .reviews { padding: 6.4rem 0; }
  .reviews .section-title { margin-bottom: 4.8rem; }
  .reviews-list {
    display: flex; gap: 1.6rem; align-items: stretch;
    margin-right: -1.6rem; padding-right: 1.6rem;
    overflow-x: auto; scrollbar-width: none;
  }
  .reviews-list::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 30rem; }
  .review-stars { font-size: 2.4rem; }
  .review-name { font-size: clamp(14px, 1.8rem, 1.8rem); }
}
/* /stp:reviews */
/* stp:faq */
.faq { padding: 8rem 0; }
.faq .section-title { margin-bottom: 6.4rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.6rem; }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.6rem;
  list-style: none; cursor: pointer;
  font-size: 2rem; font-weight: 600; line-height: 1.5; color: var(--accent);
  transition: color .3s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--text); }
.faq-icon { position: relative; flex: 0 0 2.8rem; width: 2.8rem; height: 2.8rem; margin-top: .1rem; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor; transition: transform .3s;
}
.faq-icon::before { width: 1.6rem; height: .2rem; transform: translate(-50%, -50%); }
.faq-icon::after { width: .2rem; height: 1.6rem; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { margin-top: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }

@media (max-width: 1024px) {
  .faq { padding: 6rem 0; }
}

@media (max-width: 640px) {
  .faq { padding: 6.4rem 0; }
  .faq .section-title { margin-bottom: 4.8rem; }
  .faq-q { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .faq-a { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:faq */
/* stp:footer */
.footer { background: var(--text); color: var(--bg); text-align: center; padding: 4rem 0 1.6rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 4rem; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.footer a:hover { color: var(--primary); }
.footer-copy { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; }

@media (max-width: 640px) {
  .footer-links { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .footer-copy { font-size: clamp(11px, 1.1rem, 1.1rem); }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 6rem; }
.legal-page { padding: 8rem 0; }
.legal-content { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 16rem; color: var(--text); }
.legal-content h1 { margin: 0 0 3.2rem; font-size: 4.8rem; font-weight: 700; line-height: 1.2; }
.legal-content h2 { margin: 3.6rem 0 2.7rem; font-size: 2.8rem; font-weight: 600; line-height: 1.3; }
.legal-content h3 { margin: 3.6rem 0 2.7rem; font-size: 2rem; font-weight: 600; line-height: 1.5; }
.legal-content h4 { margin: 2.7rem 0; font-size: 1.8rem; font-weight: 600; line-height: 1.5; }
.legal-content h1 + h2, .legal-content h2 + h3, .legal-content h3 + h4 { margin-top: 2.7rem; }
.legal-content p { margin: 0; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.legal-content ul, .legal-content ol { margin: 0; padding-left: 2.8rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: 0; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-content a:hover { color: var(--primary); }
.legal-content strong, .legal-content b { font-weight: 600; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

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

@media (max-width: 640px) {
  .legal-main { padding-top: 8rem; }
  .legal-page { padding: 4rem 0; }
  .legal-content { padding: 0 1.6rem; }
  .legal-content h1 { margin-bottom: 2.4rem; font-size: 3.6rem; }
  .legal-content h2 { margin: 3.1rem 0 2.4rem; font-size: 2.4rem; }
  .legal-content h3 { margin: 3.1rem 0 2.4rem; font-size: clamp(14px, 1.8rem, 1.8rem); }
  .legal-content h4 { margin: 2.4rem 0; font-size: clamp(14px, 1.6rem, 1.6rem); }
  .legal-content h1 + h2, .legal-content h2 + h3, .legal-content h3 + h4 { margin-top: 2.4rem; }
  .legal-content p, .legal-content ul, .legal-content ol { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:legal */
/* stp:title-anim */
.ta-word { display: inline-block; white-space: nowrap; }
.ta-l { display: inline-block; }

.hero-title { --ta-fall: -45rem; }
.anim-on .hero-title .ta-l { opacity: 0; transform: translateY(var(--ta-fall)); }
.anim-on .hero-title.is-in .ta-l {
  animation: ta-drop 1.05s both, ta-match .9s ease-out both;
  animation-delay: calc(var(--r) * .09s + var(--i) * .025s), calc(1.35s + var(--i) * .035s);
}
@keyframes ta-drop {
  0% { opacity: 0; transform: translateY(var(--ta-fall)) scale(1, 1); animation-timing-function: cubic-bezier(.5, 0, .75, .4); }
  10% { opacity: 1; }
  54% { transform: translateY(0) scale(1, 1); animation-timing-function: ease-out; }
  62% { transform: translateY(0) scale(1.18, .78); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  78% { transform: translateY(-1.2rem) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-match {
  0%, 100% { color: var(--primary); filter: none; }
  35% { color: var(--surface); filter: drop-shadow(0 0 1.2rem var(--primary)); }
}

.anim-on .section-title { perspective: 60rem; }
.anim-on .section-title .ta-l { opacity: 0; transform: rotateX(-95deg); transform-origin: 50% 100%; }
.anim-on .section-title.is-in .ta-l {
  animation: ta-flip .7s cubic-bezier(.34, 1.45, .55, 1) both, ta-settle 1s ease-out both;
  animation-delay: calc(var(--i) * .045s), calc(var(--i) * .045s);
}
@keyframes ta-flip {
  0% { opacity: 0; transform: rotateX(-95deg); }
  40% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-settle {
  0%, 30% { color: var(--primary); }
  100% { color: var(--text); }
}

@media (max-width: 640px) {
  .hero-title { --ta-fall: -24rem; }
  .anim-on .hero-title.is-in .ta-l { animation-duration: .85s, .8s; }
  .anim-on .section-title.is-in .ta-l { animation-duration: .55s, .8s; }
}
/* /stp:title-anim */
