/* 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: #cde5dd;
  --bg2: #1e444c;
  --bg-white: #ffffff;
  --text-black: #010101;
  --text-white: #ffffff;
  --text-answer: #f4f8ff;
  --card-border: #e5e7eb;
  --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); font-size: 2rem; line-height: 2.4rem; color: var(--text-black); background: var(--bg1); -webkit-font-smoothing: antialiased; }
img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }
h1, h2, h3, h4, p, ul, ol, li { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
section { position: relative; }

#preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg1); }
#preloader img { width: 8rem; height: 8rem; }

main { padding-top: 10.4rem; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: var(--bg1); transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 10.4rem; padding: 0 6.4rem; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; width: 9rem; transition: opacity 0.3s ease; }
.logo:hover { opacity: 0.7; }
.logo img { width: 6rem; height: 6rem; object-fit: cover; }
.logo span { font-family: var(--font-head); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; text-align: center; white-space: nowrap; }
.nav { 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; white-space: nowrap; transition: color 0.3s ease; }
.nav-link:hover { color: var(--bg2); text-decoration: underline; text-underline-offset: 0.4rem; }

.burger-btn { display: none; position: relative; width: 3.1rem; height: 3.1rem; padding: 0; background: transparent; border: 0; }
.burger-btn span { position: absolute; left: 0.4rem; width: 2.3rem; height: 0.26rem; border-radius: 0.2rem; background: var(--text-black); transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, left 0.3s ease, width 0.3s ease; }
.burger-btn span:nth-child(1) { top: 0.78rem; }
.burger-btn span:nth-child(2) { top: 1.42rem; }
.burger-btn span:nth-child(3) { top: 2.07rem; }
.burger-btn.act span:nth-child(1) { top: 1.42rem; left: 0.15rem; width: 2.8rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.42rem; left: 0.15rem; width: 2.8rem; transform: rotate(-45deg); }

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

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

@media (max-width: 640px) {
  main { padding-top: 7.6rem; }
  .header-inner { height: 7.6rem; padding: 0 4.4rem 0 2.4rem; }
  .logo { width: 5.7rem; }
  .logo img { width: 4rem; height: 4rem; }
  .logo span { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; }
  .nav { display: none; }
  .burger-btn { display: block; }
}
/* /stp:base */
/* stp:hero */
.hero { padding: 6.4rem; background: url('../img/hero.webp') center / cover no-repeat; }
.hero-inner { display: flex; align-items: center; min-height: 57.1rem; }
.hero-content { display: flex; flex-direction: column; gap: 4rem; width: 89.2rem; max-width: 100%; }
.hero-title { font-family: var(--font-head); font-weight: 700; font-size: 6rem; line-height: 7.5rem; }
.hero-text { font-family: var(--font-body); font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; }

@media (max-width: 640px) {
  .hero { padding: 4rem 2.4rem; background-image: url('../img/hero-m.webp'); background-size: 100% 100%; }
  .hero-inner { min-height: 42.9rem; }
  .hero-content { gap: 2rem; width: 100%; }
  .hero-title { font-size: 3rem; line-height: 4rem; }
  .hero-text { font-weight: 600; font-size: 2rem; line-height: 3rem; }
}
/* /stp:hero */
/* stp:features */
.title { font-family: var(--font-head); font-weight: 600; font-size: 5rem; line-height: 6.5rem; text-align: center; }

.features { display: flex; flex-direction: column; gap: 4rem; margin-top: 10rem; padding: 0 6.4rem; }
.cards { display: grid; grid-template-columns: repeat(2, 39.3rem); gap: 4rem 6.4rem; justify-content: center; }
.card { display: flex; flex-direction: column; gap: 1.6rem; padding: calc(2.4rem - 1px); background: var(--bg-white); border: 1px solid var(--card-border); border-radius: 1.6rem; box-shadow: 0 0.1rem 0.2rem -0.1rem rgba(0, 0, 0, 0.1), 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1); }
.card-title { font-family: var(--font-body); font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; text-align: center; }
.card-text { font-family: var(--font-body); font-weight: 400; font-size: 2.4rem; line-height: 3rem; }

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 39.3rem)); }
}

@media (max-width: 640px) {
  .title { font-weight: 700; font-size: 3rem; line-height: 4rem; }
  .features { gap: 2rem; margin-top: 5rem; padding: 0 2.4rem; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .card { padding: calc(2rem - 1px); border-radius: 1.6rem; }
  .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 */
.title-white { color: var(--text-white); }

.how { display: flex; flex-direction: column; gap: 4rem; margin-top: 10rem; padding: 6.4rem; background: var(--bg2); color: var(--text-white); }
.how-grid { display: flex; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 6.4rem; }
.steps { position: relative; display: flex; flex-direction: column; gap: 4rem; width: 85rem; flex-shrink: 0; }
.step { display: flex; flex-direction: column; gap: 1.6rem; }
.step-title { font-family: var(--font-body); font-weight: 700; font-size: 2rem; line-height: 3.2rem; }
.step-text { font-family: var(--font-body); font-weight: 400; font-size: 2rem; line-height: 2.4rem; }
.arrow { position: absolute; left: -5rem; width: 95rem; height: 8.5rem; pointer-events: none; }
.arrow img { width: 100%; height: 100%; max-width: none; }
.arrow-1 { top: 5.8rem; }
.arrow-2 { top: 17rem; }
.how-img { width: 39.8rem; height: 71.2rem; flex-shrink: 0; object-fit: cover; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  .how-grid { flex-direction: column; gap: 6rem; }
}

@media (max-width: 640px) {
  .how { gap: 2rem; margin-top: 5rem; padding: 4rem 2.4rem; }
  .how .title { padding: 2rem 0; }
  .how-grid { gap: 2rem; }
  .steps { gap: 7.4rem; width: 32.7rem; max-width: 100%; }
  .step { gap: 0.8rem; width: 29rem; }
  .step:nth-child(2) { margin-left: 3.7rem; }
  .step-title { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .step-text { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .arrow { left: auto; width: 17.3rem; height: 9rem; }
  .arrow-1 { top: 4.2rem; left: 16.73rem; }
  .arrow-2 { top: 17.8rem; left: -1.3rem; }
  .how-img { width: 30rem; height: 53.6rem; }
}
/* /stp:how-it-works */
/* stp:faq */
.faq { display: flex; flex-direction: column; gap: 4rem; margin-top: 10rem; padding: 0 16rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.6rem; }
.faq-item { padding: 1.6rem; background: var(--bg2); border-radius: 1.2rem; color: var(--text-white); }
.faq-title { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; list-style: none; cursor: pointer; transition: opacity 0.3s ease; }
.faq-title::-webkit-details-marker { display: none; }
.faq-title:hover { opacity: 0.8; }
.faq-q { font-family: var(--font-body); font-weight: 700; font-size: 2rem; line-height: 3.2rem; }
.faq-icon { position: relative; flex-shrink: 0; width: 3rem; height: 2.4rem; }
.faq-icon::before { content: ''; position: absolute; left: 1rem; top: 0.35rem; width: 1rem; height: 1rem; border-right: 2px solid var(--text-white); border-bottom: 2px solid var(--text-white); transform: rotate(45deg); transition: transform 0.3s ease; }
.faq-item[open] .faq-icon::before { top: 1.05rem; transform: rotate(-135deg); }
.faq-a { margin-top: 0.8rem; font-family: var(--font-body); font-weight: 400; font-size: 2rem; line-height: 2.4rem; color: var(--text-answer); }
.faq-item[open] .faq-a { color: var(--text-white); }

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

@media (max-width: 640px) {
  .faq { gap: 2rem; margin-top: 5rem; padding: 0 1.6rem; }
  .faq-q { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .faq-a { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
}
/* /stp:faq */
/* stp:about */
.about { margin-top: 10rem; padding: 6.4rem; background: var(--bg2); color: var(--text-white); }
.about-grid { display: flex; align-items: center; justify-content: center; gap: 6.4rem; }
.about-text { display: flex; flex-direction: column; gap: 4rem; width: 85rem; flex-shrink: 0; }
.about-p { font-family: var(--font-body); font-weight: 400; font-size: 2rem; line-height: 2.4rem; }
.about-img { width: 39.8rem; height: 71rem; flex-shrink: 0; object-fit: cover; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  .about-grid { flex-direction: column; gap: 6rem; }
  .about-text { width: 100%; flex-shrink: 1; }
}

@media (max-width: 640px) {
  .about { margin-top: 5rem; padding: 4rem 2.4rem; }
  .about-grid { gap: 2rem; }
  .about-text { gap: 2rem; }
  .about-p { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .about-img { width: 30rem; height: 53.5rem; }
}
/* /stp:about */
/* stp:footer */
.footer { padding: 5rem 6.4rem; background: var(--bg2); color: var(--text-white); }
.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-copy { white-space: nowrap; }
.footer-links { min-width: 35.2rem; white-space: nowrap; }
.footer-sep { margin: 0 0.9rem; }
.footer-link:hover { color: var(--bg1); text-decoration: underline; text-underline-offset: 0.4rem; }

@media (max-width: 1024px) {
  .footer-inner { gap: 4rem; }
}

@media (max-width: 640px) {
  .footer { padding: 3.2rem 2.4rem; }
  .footer-inner { flex-direction: column; gap: 4rem; padding: 0; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .footer-copy { white-space: normal; }
  .footer-links { order: -1; min-width: 0; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-white); }
.legal-main { flex: 1 0 auto; padding-top: 3rem; }
.header-legal { height: 6.1rem; background: transparent; }
.header-legal.scrolled { background: var(--bg-white); }
.legal-close { position: absolute; top: 1rem; left: 1rem; width: 4.1rem; height: 4.1rem; transition: opacity 0.3s ease; }
.legal-close::before, .legal-close::after { content: ''; position: absolute; top: 50%; left: 50%; width: 3.8rem; height: 2px; background: #000000; transform: translate(-50%, -50%) rotate(45deg); }
.legal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.legal-close:hover { opacity: 0.6; }
.legal-body .footer { background: transparent; color: var(--text-black); }
.legal-body .footer-link:hover { color: var(--bg2); }

.legal-page { padding: 0 4rem 10rem; }
.legal-content { font-family: var(--font-body); font-weight: 400; font-size: 2.4rem; line-height: normal; color: #000000; }
.legal-content h1 { margin-bottom: 6.1rem; font-family: var(--font-head); font-weight: 600; font-size: 5rem; line-height: 6.5rem; text-align: center; }
.legal-content h2, .legal-content h3, .legal-content h4 { margin: 3rem 0 1rem; font-family: var(--font-body); font-weight: 700; font-size: 3rem; line-height: normal; }
.legal-content h4 { font-size: 2.4rem; }
.legal-content h1 + h2, .legal-content h1 + h3 { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 2.4rem; line-height: normal; }
.legal-content ul, .legal-content ol { padding-left: 3.6rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content strong, .legal-content b { font-weight: 700; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }
.legal-content a { text-decoration: underline; transition: color 0.3s ease, opacity 0.3s ease; }
.legal-content a:hover { color: var(--bg2); opacity: 0.75; }

@media (max-width: 640px) {
  .legal-main { padding-top: 5rem; }
  .header-legal { height: 4.4rem; }
  .legal-close { width: 2.4rem; height: 2.4rem; }
  .legal-close::before, .legal-close::after { width: 2.26rem; }
  .legal-page { padding: 0 0.8rem 5rem; }
  .legal-content { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .legal-content h1 { margin-bottom: 3.5rem; font-weight: 700; font-size: 3rem; line-height: 4rem; }
  .legal-content h2, .legal-content h3, .legal-content h4 { margin: 2rem 0 1rem; font-size: 2rem; }
  .legal-content h4 { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .legal-content p, .legal-content li { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .legal-content ul, .legal-content ol { padding-left: 2.1rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; }
.ta-l { display: inline-block; }

.anim-on .ta-hero { --ta-ink: var(--text-black); --ta-glow: #f6d58c; perspective: 90rem; }
.anim-on .ta-hero .ta-w { opacity: 0; transform-origin: 0 60%; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(105deg, var(--ta-ink) 0 40%, var(--ta-glow) 47%, var(--bg1) 50%, var(--ta-glow) 53%, var(--ta-ink) 60% 100%); background-size: 320% 100%; background-position: 100% 0; animation: ta-turn-in 1.1s cubic-bezier(0.2, 0.75, 0.2, 1) calc(0.9s + var(--i) * 0.07s) both, ta-dawn 1.4s cubic-bezier(0.45, 0, 0.25, 1) calc(1.5s + var(--i) * 0.06s) both; }
.anim-on .ta-hero .ta-key { animation: ta-turn-in 1.1s cubic-bezier(0.2, 0.75, 0.2, 1) calc(0.9s + var(--i) * 0.07s) both, ta-dawn 1.4s cubic-bezier(0.45, 0, 0.25, 1) calc(1.5s + var(--i) * 0.06s) both, ta-shift 7s ease-in-out 4.5s infinite; }

.anim-on .ta-sec .ta-l { opacity: 0; transform: translateY(-0.9rem) rotate(var(--r)) scale(0.85); filter: blur(0.25rem); }
.anim-on .ta-sec.is-in .ta-l { animation: ta-align 0.75s cubic-bezier(0.34, 1.5, 0.6, 1) calc(var(--i) * 0.045s) both; }

@keyframes ta-turn-in {
  0% { opacity: 0; transform: rotateY(-78deg) translateX(-1.2rem); filter: blur(0.35rem); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes ta-dawn {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
@keyframes ta-shift {
  0%, 82%, 100% { transform: none; }
  88% { transform: rotateY(-22deg) skewY(-2deg); }
  94% { transform: rotateY(8deg); }
}
@keyframes ta-align {
  0% { opacity: 0; transform: translateY(-0.9rem) rotate(var(--r)) scale(0.85); filter: blur(0.25rem); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

@media (max-width: 640px) {
  .anim-on .ta-hero .ta-w { animation-duration: 0.85s, 1.1s; }
  .anim-on .ta-hero .ta-key { animation-duration: 0.85s, 1.1s, 7s; }
  .anim-on .ta-sec .ta-l { transform: translateY(-0.5rem) rotate(var(--r)) scale(0.9); }
  .anim-on .ta-sec.is-in .ta-l { animation-duration: 0.6s; }
}
/* /stp:title-anim */
