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

:root {
  --bg1: #FEFCBF;
  --bg2: #01092F;
  --bg-white: #FFFFFF;
  --text-black: #010101;
  --text-white: #FFFFFF;
  --accent: #2f3dbd;
  --card-border: #e5e7eb;
  --bg: var(--bg1);
  --font-head: 'Manrope', 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 { font-family: var(--font-body); color: var(--text-black); background: var(--bg1); line-height: 1.2; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s, background-color 0.3s, transform 0.3s, box-shadow 0.3s; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
main { padding-top: 10.4rem; overflow: hidden; }

#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; display: flex; align-items: center; justify-content: space-between; height: 10.4rem; padding: 0 6.4rem; background: var(--bg1); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.15); }
.logo { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; width: 6rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; color: var(--text-black); }
.logo img { width: 6rem; height: 6rem; }
.logo:hover { opacity: 0.75; }
.nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 5rem; }
.nav-link { font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; font-weight: 400; color: var(--text-black); white-space: nowrap; }
.nav-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.4rem; }
.burger-btn { display: none; background: transparent; border: 0; position: relative; width: 2.3rem; height: 1.6rem; flex-direction: column; justify-content: space-between; align-items: stretch; z-index: 110; }
.burger-btn span { display: block; width: 100%; height: 0.2rem; background: var(--text-black); transition: transform 0.3s, opacity 0.3s; }
.burger-btn:hover span { background: var(--accent); }
.burger-btn.act span:nth-child(1) { transform: translateY(0.7rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-0.7rem) rotate(-45deg); }

#mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: var(--bg1); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
.menu-nav { display: flex; flex-direction: column; align-items: center; gap: 5rem; }

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

.footer { background: var(--bg2); color: var(--text-white); padding: 5rem 6.4rem; }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 19.2rem; padding: 0 1.8rem; font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; text-align: center; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.footer a:hover { color: var(--bg1); text-decoration: underline; text-underline-offset: 0.4rem; }

@media (max-width: 1024px) {
  .header { padding: 0 4rem; }
  .footer { padding: 5rem 4rem; }
  .footer-inner { gap: 6rem; padding: 0; }
}

@media (max-width: 640px) {
  main { padding-top: 7.6rem; }
  .header { height: 7.6rem; padding: 0 4.8rem 0 2.4rem; }
  .logo { width: 4rem; gap: 0.4rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; }
  .logo img { width: 4rem; height: 4rem; }
  .nav { display: none; }
  .burger-btn { display: flex; }
  .menu-nav { gap: 5rem; }
  .nav-link { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .footer { padding: 3.2rem 0; }
  .footer-inner { flex-direction: column; gap: 4rem; padding: 0 2.4rem; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .footer-links { order: -1; gap: 0.8rem; }
}
/* /stp:base */
/* stp:hero */
.hero { padding: 6.4rem; }
.hero-inner { display: flex; align-items: center; gap: 6.4rem; }
.hero-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4rem; }
.hero-title { font-family: var(--font-head); font-weight: 700; font-size: 6rem; line-height: 7.5rem; color: var(--text-black); }
.hero-desc { font-family: var(--font-body); font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; color: var(--text-black); }
.hero-img { flex: 0 0 35.6rem; width: 35.6rem; height: 63.6rem; border-radius: 2.4rem; object-fit: cover; }

@media (max-width: 1024px) {
  .hero { padding: 6.4rem 4rem; }
  .hero-inner { gap: 4rem; }
  .hero-title { font-size: 5rem; line-height: 6.4rem; }
  .hero-desc { font-size: 2.6rem; line-height: 3.6rem; }
  .hero-img { flex-basis: 30rem; width: 30rem; height: auto; aspect-ratio: 356 / 636; }
}

@media (max-width: 640px) {
  .hero { padding: 2rem 2.4rem 0; }
  .hero-inner { flex-direction: column; align-items: center; gap: 2rem; }
  .hero-text { gap: 2rem; width: 100%; }
  .hero-title { font-size: 3rem; line-height: 4rem; }
  .hero-desc { font-weight: 600; font-size: 2rem; line-height: 3rem; }
  .hero-img { flex: 0 0 auto; width: 19rem; height: 33.9rem; border-radius: 2.4rem; }
}
/* /stp:hero */
/* stp:about */
.section-title { font-family: var(--font-head); font-weight: 600; font-size: 5rem; line-height: 6.5rem; text-align: center; color: var(--text-black); }
.about, .features, .faq { background: var(--bg2); color: var(--text-white); }
.about, .features, .faq { padding: 6.4rem 0; }
.about .section-title, .features .section-title, .faq .section-title { color: var(--text-white); }
.about { margin-top: 10rem; }
.about-inner { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 6.4rem; display: flex; flex-direction: column; gap: 4rem; }
.about-text { font-family: var(--font-body); font-size: clamp(14px, 2rem, 2rem); line-height: 2.4rem; color: var(--text-white); }

@media (max-width: 1024px) {
  .about-inner { padding: 0 4rem; }
}

@media (max-width: 640px) {
  .section-title { font-weight: 700; font-size: 3rem; line-height: 4rem; }
  .about { margin-top: 5rem; padding: 4rem 0; }
  .about-inner { padding: 0 2.4rem; gap: 2rem; }
  .about-text { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
}
/* /stp:about */
/* stp:features */
.features-inner { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 6.4rem; display: flex; flex-direction: column; gap: 4rem; }
.cards { width: 100%; max-width: 117.6rem; margin: 0 auto; display: flex; flex-direction: column; gap: 4rem; }
.card { background: var(--bg-white); border: 1px solid var(--card-border); border-radius: 1.6rem; padding: 2.4rem 2.3rem; box-shadow: 0 0.1rem 0.15rem rgba(0, 0, 0, 0.1), 0 0.1rem 0.1rem rgba(0, 0, 0, 0.1); color: var(--text-black); display: flex; flex-direction: column; gap: 1.6rem; }
.card-title { font-family: var(--font-body); font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; }
.card-text { font-family: var(--font-body); font-weight: 400; font-size: 2.4rem; line-height: 3rem; }

@media (max-width: 1024px) {
  .features-inner { padding: 0 4rem; }
  .card-title { font-size: 2.8rem; line-height: 3.6rem; }
  .card-text { font-size: 2.2rem; line-height: 2.8rem; }
}

@media (max-width: 640px) {
  .features { padding: 4rem 0; }
  .features-inner { padding: 0 2.4rem; gap: 2rem; }
  .cards { gap: 2rem; }
  .card { padding: 2rem; }
  .card-title { font-weight: 600; font-size: 2rem; line-height: 3rem; }
  .card-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2rem; }
}
/* /stp:features */
/* stp:how-it-works */
.how { margin-top: 10rem; }
.how-inner { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 6.4rem; display: flex; flex-direction: column; gap: 4rem; }
.steps { width: 100%; max-width: 103.6rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.step { gap: 1.6rem; }
.step-1 { grid-column: 1; grid-row: 1; }
.step-2 { grid-column: 2; grid-row: 2; }
.step-3 { grid-column: 1; grid-row: 3; }
.step { padding: 2.4rem; }

@media (max-width: 1024px) {
  .how-inner { padding: 0 4rem; }
}

@media (max-width: 640px) {
  .how { margin-top: 5rem; }
  .how-inner { padding: 0 2.4rem; gap: 2rem; }
  .steps { display: flex; flex-direction: column; gap: 2rem; }
  .step { padding: 2rem; }
}
/* /stp:how-it-works */
/* stp:faq */
.faq { margin-top: 10rem; }
.faq-inner { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 6.4rem; display: flex; flex-direction: column; gap: 4rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.6rem; }
.faq-item { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1.6rem; overflow: hidden; transition: background-color 0.3s; }
.faq-item:hover { background: rgba(255, 255, 255, 0.15); }
.faq-q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 3.2rem; min-height: 7.3rem; padding: 1.9rem 3.2rem; cursor: pointer; font-family: var(--font-body); font-weight: 500; font-size: clamp(14px, 2rem, 2rem); line-height: 3.2rem; color: var(--text-white); }
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; transition: transform 0.3s; }
.faq-item[open] .faq-q { min-height: 8rem; padding: 2.4rem 3.2rem; font-weight: 600; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 3.2rem 2.4rem; font-family: var(--font-body); font-size: clamp(14px, 2rem, 2rem); line-height: 2.4rem; color: var(--text-white); }

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

@media (max-width: 640px) {
  .faq { margin-top: 5rem; padding: 4rem 0; }
  .faq-inner { padding: 0 2.4rem; gap: 2rem; }
  .faq-list { gap: 1rem; }
  .faq-q { gap: 2rem; min-height: 7.7rem; padding: 1.9rem 3.2rem; font-weight: 400; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.8rem; }
  .faq-q span { max-width: 21.3rem; }
  .faq-item[open] .faq-q { min-height: 0; padding: 2.4rem 2.4rem 1.6rem; font-weight: 600; font-size: clamp(14px, 1.8rem, 1.8rem); }
  .faq-a { padding: 0 2.4rem 2.4rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.8rem; }
}
/* /stp:faq */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-white); }
.legal-main { flex: 1 0 auto; padding-top: 5.1rem; background: var(--bg-white); overflow: visible; }
.legal-header { height: 5.1rem; padding: 0 1rem; justify-content: flex-start; background: var(--bg-white); }
.legal-close { position: relative; display: block; width: 4.1rem; height: 4.1rem; }
.legal-close::before, .legal-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3.8rem; height: 0.2rem; background: var(--text-black); transition: background-color 0.3s; }
.legal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.legal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.legal-close:hover::before, .legal-close:hover::after { background: var(--accent); }
.legal-page { padding: 0 4rem 10rem; background: var(--bg-white); color: var(--text-black); }
.legal-content { width: 100%; max-width: 136rem; margin: 0 auto; font-family: var(--font-body); font-size: clamp(14px, 2.4rem, 2.4rem); line-height: 1.2; }
.legal-content h1 { font-family: var(--font-head); font-weight: 600; font-size: 5rem; line-height: 6.5rem; text-align: center; margin: 0 0 4rem; }
.legal-content h2, .legal-content h3, .legal-content h4 { font-family: var(--font-body); font-weight: 700; font-size: clamp(14px, 2.4rem, 2.4rem); line-height: 1.2; margin: 3rem 0 1rem; }
.legal-content p { margin: 0 0 1rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1rem; padding-left: 2.6rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: 0; }
.legal-content a { text-decoration: underline; text-underline-offset: 0.3rem; }
.legal-content a:hover { color: var(--accent); }
.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: 1024px) {
  .legal-page { padding: 0 4rem 8rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 3.4rem; }
  .legal-header { height: 3.4rem; padding: 0 1rem; }
  .legal-close { width: 2.4rem; height: 2.4rem; }
  .legal-close::before, .legal-close::after { width: 2.2rem; }
  .legal-page { padding: 0 0.8rem 5rem; }
  .legal-content { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .legal-content h1 { font-weight: 700; font-size: 3rem; line-height: 4rem; margin: 1.6rem 0 3.5rem; }
  .legal-content h2, .legal-content h3, .legal-content h4 { font-size: clamp(14px, 2rem, 2rem); margin: 2rem 0 1rem; }
  .legal-content ul, .legal-content ol { padding-left: 2.2rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on { --ta-gold: #f6c544; --ta-ease: cubic-bezier(0.22, 0.9, 0.3, 1); }
.anim-on .ta-w { position: relative; display: inline-block; white-space: nowrap; }
.anim-on .ta-l { display: inline-block; }
.anim-on .ta-w::after { content: ''; position: absolute; left: -0.2rem; right: -0.2rem; bottom: var(--ta-line-y, 0.6rem); height: 0.4rem; border-radius: 0.4rem; background: linear-gradient(90deg, var(--ta-flash), var(--ta-gold)); filter: drop-shadow(0 0 0.6rem var(--ta-gold)); clip-path: inset(0 100% 0 0); opacity: 0; pointer-events: none; }

.anim-on .ta-hero { --ta-flash: var(--accent); --ta-d: 0.9s; --ta-line-y: 0.6rem; }
.anim-on .ta-sec { --ta-flash: var(--bg1); --ta-d: 0s; --ta-line-y: 0.4rem; }
.anim-on .how .ta-sec { --ta-flash: var(--accent); }
.anim-on .ta-hero .ta-l, .anim-on .ta-sec .ta-l { opacity: 0; }

.anim-on .ta-hero .ta-l { animation: ta-step 0.7s var(--ta-ease) calc(var(--ta-d) + var(--i) * 0.06s) both; }
.anim-on .ta-hero .ta-w::after { animation: ta-path calc(var(--n) * 0.12s + 0.4s) linear calc(var(--ta-d) + var(--s) * 0.06s - 0.1s) both; }
.anim-on .ta-hero .ta-w--glow { animation: ta-lamp 5s ease-in-out 3.4s infinite; }

.anim-on .ta-sec.is-in .ta-l { animation: ta-step-sm 0.55s var(--ta-ease) calc(var(--i) * 0.045s) both; }
.anim-on .ta-sec.is-in .ta-w::after { animation: ta-path calc(var(--n) * 0.09s + 0.4s) linear calc(var(--s) * 0.045s - 0.1s) both; }

@keyframes ta-step {
  0% { opacity: 0; transform: translate(-1rem, 2rem); color: var(--ta-flash); filter: drop-shadow(0 0 0 transparent); }
  40% { opacity: 1; transform: translate(-1rem, 0); color: var(--ta-flash); filter: drop-shadow(0 0 0.8rem var(--ta-gold)); }
  70% { transform: translate(0.15rem, 0); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 0 0 transparent); }
}
@keyframes ta-step-sm {
  0% { opacity: 0; transform: translate(-0.6rem, 1.2rem); color: var(--ta-flash); filter: drop-shadow(0 0 0 transparent); }
  45% { opacity: 1; transform: translate(-0.6rem, 0); color: var(--ta-flash); filter: drop-shadow(0 0 0.6rem var(--ta-gold)); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 0 0 transparent); }
}
@keyframes ta-path {
  0% { opacity: 1; clip-path: inset(0 100% 0 0); }
  50% { opacity: 1; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}
@keyframes ta-lamp {
  0%, 78%, 100% { filter: drop-shadow(0 0 0 transparent); }
  88% { filter: drop-shadow(0 0 1rem var(--ta-gold)); }
}

@media (max-width: 640px) {
  .anim-on .ta-hero { --ta-line-y: 0.3rem; }
  .anim-on .ta-sec { --ta-line-y: 0.2rem; }
  .anim-on .ta-w::after { height: 0.3rem; }
  .anim-on .ta-hero .ta-l { animation-duration: 0.55s; animation-delay: calc(var(--ta-d) + var(--i) * 0.045s); animation-name: ta-step-sm; }
  .anim-on .ta-hero .ta-w::after { animation-duration: calc(var(--n) * 0.09s + 0.4s); animation-delay: calc(var(--ta-d) + var(--s) * 0.045s - 0.1s); }
  .anim-on .ta-sec.is-in .ta-l { animation-duration: 0.45s; }
}
/* /stp:title-anim */
