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

:root {
  --bg: #BBC9CF;
  --bg-dark: #1E1E1E;
  --white: #FFFFFF;
  --black: #010101;
  --accent: #4F6B77;
  --card-border: #E5E7EB;
  --font-head: 'Roboto', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-faq: 'Manrope', 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); } }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--black); font-family: var(--font-body); overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s, background-color 0.3s, transform 0.3s; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
section { display: block; }

#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; height: 12.8rem; background: var(--bg); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.15); }
.header-inner { position: relative; height: 100%; padding: 0 6.4rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; width: 7.6rem; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; color: var(--black); }
.logo:hover { opacity: 0.7; }
.logo img { width: 6rem; height: 6rem; object-fit: cover; }
.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-weight: 600; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; color: var(--black); white-space: nowrap; }
.nav-link:hover { color: var(--accent); }

.store-btn { display: flex; align-items: center; justify-content: center; gap: 0.8rem; background: var(--bg-dark); color: var(--white); border-radius: 2.4rem; }
.store-btn:hover { opacity: 0.8; box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.25); }
.store-btn img { width: 1.6rem; height: 1.6rem; }
.header-btn { width: 28.8rem; height: 4rem; padding: 1rem 2.4rem; font-family: var(--font-body); font-weight: 500; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 2rem; }

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

#mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; align-items: center; padding-top: 28.3rem; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { display: block; text-align: center; }
.menu-nav { display: flex; flex-direction: column; align-items: center; gap: 5rem; }
.menu-btn { width: 28.8rem; height: 4rem; margin-top: 7.9rem; padding: 1rem 2.4rem; font-weight: 500; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 2rem; flex: 0 0 auto; }
html.menu-lock, html.menu-lock body { overflow: hidden; }

main { padding-top: 12.8rem; }

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

@media (max-width: 1024px) {
  .header-inner { padding: 0 3rem; }
  .nav { gap: 2.5rem; }
  .header-btn { width: 24rem; padding: 1rem 1.6rem; }
}

@media (max-width: 640px) {
  .header { height: 9.6rem; }
  .header-inner { padding: 0 4.4rem 0 2.4rem; }
  .logo { width: 5.1rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; }
  .logo img { width: 3.2rem; height: 3.2rem; }
  .nav, .header-btn { display: none; }
  .burger-btn { display: block; }
  main { padding-top: 9.6rem; }
}
/* /stp:base */
/* stp:hero */
.hero { padding: 6.4rem; }
.hero-inner { display: flex; align-items: center; gap: 6.4rem; }
.hero-text { flex: 0 0 54.8rem; width: 54.8rem; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: 6rem; line-height: 7.5rem; color: var(--black); margin-bottom: 4rem; }
.hero-text p { font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; margin-bottom: 4rem; }
.hero .store-btn { width: 41.1rem; height: 6.3rem; padding: 1rem 2.4rem; font-weight: 500; font-size: 2.2rem; line-height: 3.2rem; animation: store-float 3s ease-in-out infinite; }
.hero .store-btn:hover { animation-play-state: paused; }
.hero-img { flex: 0 0 auto; width: 70rem; height: 39.1rem; object-fit: cover; border-radius: 2.4rem; }

@media (max-width: 1024px) {
  .hero { padding: 4rem; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 4rem; }
  .hero-text { flex: 0 0 auto; width: 100%; }
  .hero-img { width: 100%; height: auto; aspect-ratio: 700 / 391; }
}

@media (max-width: 640px) {
  .hero { padding: 2rem 2.4rem 0; }
  .hero-inner { gap: 2rem; }
  .hero h1 { font-size: 3rem; line-height: 4rem; margin-bottom: 2rem; }
  .hero-text p { font-weight: 600; font-size: 2rem; line-height: 3rem; margin-bottom: 2rem; }
  .hero .store-btn { width: 100%; height: 6.3rem; font-size: 2rem; line-height: 3rem; }
  .hero-img { height: auto; aspect-ratio: 327 / 183; }
}
/* /stp:hero */
/* stp:features */
.features { margin-top: 10rem; padding: 6.4rem; background: var(--bg-dark); }
.features h2, .faq h2, .about h2 { font-family: var(--font-head); font-weight: 700; font-size: 5rem; line-height: 6.5rem; color: var(--white); text-align: center; margin-bottom: 4rem; }
.cards { width: 117.6rem; max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 4rem; }
.card { background: var(--white); border: 1px solid var(--card-border); border-radius: 1.6rem; padding: 2.4rem 2.3rem; box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1), 0 0.1rem 0.2rem rgba(0, 0, 0, 0.06); }
.card h3 { font-weight: 500; font-size: 3.2rem; line-height: 4.2rem; margin-bottom: 1.6rem; }
.card p { font-weight: 400; font-size: 2.4rem; line-height: 3rem; }

@media (max-width: 1024px) {
  .features { padding: 4rem; }
  .features h2 { font-size: 4rem; line-height: 5rem; }
  .card h3 { font-size: 2.6rem; line-height: 3.4rem; }
  .card p { font-size: 2rem; line-height: 2.8rem; }
}

@media (max-width: 640px) {
  .features { margin-top: 5rem; padding: 4rem 2.4rem; }
  .features h2 { font-size: 3rem; line-height: 4rem; margin-bottom: 2rem; }
  .cards { gap: 2rem; }
  .card { padding: 2rem; }
  .card h3 { font-weight: 600; font-size: 2rem; line-height: 3rem; }
  .card p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2rem; }
}
/* /stp:features */
/* stp:how-it-works */
.hiw { margin-top: 10rem; padding: 6.4rem; }
.hiw-inner { display: flex; align-items: center; gap: 6.4rem; }
.hiw-img { flex: 0 0 auto; width: 70rem; height: 31.5rem; object-fit: cover; border-radius: 2.4rem; }
.hiw-text { flex: 0 0 54.8rem; width: 54.8rem; display: flex; flex-direction: column; gap: 4rem; }
.hiw-text h2 { font-family: var(--font-head); font-weight: 700; font-size: 6rem; line-height: 7.5rem; }
.hiw-text p { font-weight: 400; font-size: 2rem; line-height: 2.4rem; }

@media (max-width: 1024px) {
  .hiw { padding: 4rem; }
  .hiw-inner { flex-direction: column; align-items: flex-start; gap: 4rem; }
  .hiw-img { width: 100%; height: auto; aspect-ratio: 700 / 315; }
  .hiw-text { flex: 0 0 auto; width: 100%; }
  .hiw-text h2 { font-size: 4.8rem; line-height: 6rem; }
}

@media (max-width: 640px) {
  .hiw { margin-top: 5rem; padding: 0 2.4rem; }
  .hiw-inner { gap: 2rem; }
  .hiw-text { gap: 2rem; }
  .hiw-text h2 { font-size: 3rem; line-height: 4rem; text-align: center; }
  .hiw-text p { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .hiw-img { order: 2; height: auto; aspect-ratio: 327 / 147; }
}
/* /stp:how-it-works */
/* stp:faq */
.faq { margin-top: 10rem; padding: 6.4rem; background: var(--bg-dark); }
.faq h2 { font-family: var(--font-faq); }
.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; color: var(--white); transition: background-color 0.3s; }
.faq-item:hover { background: rgba(255, 255, 255, 0.16); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 4rem; padding: 1.9rem 3.2rem; min-height: 7.3rem; cursor: pointer; font-weight: 500; font-size: 2rem; line-height: 3.2rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary img { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; transition: transform 0.3s; }
.faq-item[open] summary { padding: 2.4rem 3.2rem 1.6rem; font-weight: 600; }
.faq-item[open] summary img { transform: rotate(180deg); }
.faq-item p { padding: 0 3.2rem 2.4rem; font-weight: 400; font-size: 2rem; line-height: 2.4rem; }

@media (max-width: 1024px) {
  .faq { padding: 4rem; }
  .faq h2 { font-size: 4rem; line-height: 5rem; }
}

@media (max-width: 640px) {
  .faq { margin-top: 5rem; padding: 4rem 2.4rem; }
  .faq h2 { font-size: 3rem; line-height: 4rem; margin-bottom: 2rem; }
  .faq-list { gap: 1rem; }
  .faq-item summary { gap: 1.6rem; min-height: 7.6rem; font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.8rem; }
  .faq-item[open] summary { padding: 1.9rem 3.2rem 1.2rem; }
  .faq-item p { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
}
/* /stp:faq */
/* stp:about */
.about { padding: 6.4rem; background: var(--bg-dark); }
.about p { font-weight: 400; font-size: 2rem; line-height: 2.4rem; color: var(--white); }

@media (max-width: 1024px) {
  .about { padding: 4rem; }
  .about h2 { font-size: 4rem; line-height: 5rem; }
}

@media (max-width: 640px) {
  .about { padding: 4rem 2.4rem; }
  .about h2 { display: flex; align-items: center; justify-content: center; min-height: 8rem; font-size: 3rem; line-height: 4rem; margin-bottom: 2rem; }
  .about p { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
}
/* /stp:about */
/* stp:footer */
.footer { background: var(--bg-dark); color: var(--white); padding: 5rem 6.4rem; font-family: var(--font-head); font-weight: 600; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.4rem; text-align: center; }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 19.2rem; padding: 0 1.8rem; }
.footer a:hover { color: var(--bg); text-decoration: underline; }

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

@media (max-width: 640px) {
  .footer { padding: 3.2rem 2.4rem; font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.8rem; }
  .footer-inner { flex-direction: column; gap: 4rem; }
  .footer-links { order: -1; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--white); }
.legal-main { flex: 1 0 auto; padding-top: 12.8rem; }
.legal-page { padding: 3rem 4rem 6rem; }
.legal-content { max-width: 136rem; margin: 0 auto; font-family: var(--font-body); font-size: 2.4rem; line-height: 1.4; color: var(--black); }
.legal-content h1 { font-family: var(--font-head); font-weight: 700; font-size: 5rem; line-height: 6.5rem; margin: 0 0 3rem; text-align: center; }
.legal-content h2 { font-weight: 600; font-size: 2.6rem; line-height: 1.4; margin: 3rem 0 1rem; }
.legal-content h3, .legal-content h4 { font-weight: 600; font-size: 2.4rem; line-height: 1.4; margin: 2rem 0 1rem; }
.legal-content p { margin: 0 0 1.5rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1.5rem; padding-left: 4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.8rem; }
.legal-content a { text-decoration: underline; }
.legal-content a:hover { color: var(--accent); }
.legal-content strong { font-weight: 600; }
.legal-content em { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 1024px) {
  .legal-page { padding: 2rem 3rem 4rem; }
  .legal-content h1 { font-size: 4rem; line-height: 5rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 9.6rem; }
  .legal-page { padding: 3.3rem 0.8rem 4rem; }
  .legal-content { font-size: clamp(14px, 1.4rem, 1.4rem); }
  .legal-content h1 { font-size: 3rem; line-height: 4rem; margin-bottom: 2rem; }
  .legal-content h2 { font-size: clamp(14px, 1.6rem, 1.6rem); margin: 2rem 0 1rem; }
  .legal-content h3, .legal-content h4 { font-size: clamp(14px, 1.6rem, 1.6rem); margin: 1.5rem 0 1rem; }
  .legal-content p { margin-bottom: 1rem; }
  .legal-content ul, .legal-content ol { padding-left: 2.4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on { --ta-step: 1rem; --ta-lh: 7.5rem; --ta-t: 0.12rem; --ta-drop: 2rem; --ta-note: 0.62s; --ta-tick: 42ms; --ta-flash: var(--accent); }
.anim-on .features h2, .anim-on .faq h2, .anim-on .about h2 { --ta-flash: var(--bg); }

.anim-on .ta-w { display: inline-block; white-space: nowrap; }
.anim-on .ta-l { display: inline-block; }

.anim-on .hero h1 { position: relative; isolation: isolate; }
.anim-on .hero h1::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transform-origin: 0 50%;
  background: linear-gradient(to bottom, transparent 20%, var(--accent) 20%, var(--accent) calc(20% + var(--ta-t)), transparent calc(20% + var(--ta-t)), transparent 33%, var(--accent) 33%, var(--accent) calc(33% + var(--ta-t)), transparent calc(33% + var(--ta-t)), transparent 46%, var(--accent) 46%, var(--accent) calc(46% + var(--ta-t)), transparent calc(46% + var(--ta-t)), transparent 59%, var(--accent) 59%, var(--accent) calc(59% + var(--ta-t)), transparent calc(59% + var(--ta-t)), transparent 72%, var(--accent) 72%, var(--accent) calc(72% + var(--ta-t)), transparent calc(72% + var(--ta-t))) 0 0 / 100% var(--ta-lh) repeat-y; }
.anim-on .hero h1.ta-staff::before { animation: ta-staff 3.1s cubic-bezier(0.22, 0.8, 0.3, 1) 0.75s both; }
.anim-on .hero h1 .ta-l { animation: ta-note-land var(--ta-note) cubic-bezier(0.3, 0.7, 0.25, 1) both; animation-delay: calc(0.95s + var(--i) * var(--ta-tick)); }
.anim-on .hero h1.ta-loop .ta-phrase .ta-l { animation: ta-phrase-hop 7s ease-in-out 2s infinite; animation-delay: calc(2s + var(--j) * 70ms); }

.anim-on section:not(.hero) h2 .ta-keys { display: inline-block; position: relative; }
.anim-on section:not(.hero) h2 .ta-keys::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.6rem; height: 0.8rem; pointer-events: none; opacity: 0; background: repeating-linear-gradient(90deg, currentColor 0, currentColor 1.5rem, transparent 1.5rem, transparent 1.75rem); }
.anim-on section:not(.hero) h2 .ta-l { opacity: 0; transform-origin: 50% 0; }
.anim-on section:not(.hero) h2.is-in .ta-l { animation: ta-key-press 0.56s cubic-bezier(0.3, 0.7, 0.25, 1) both; animation-delay: calc(var(--i) * 48ms); }
.anim-on section:not(.hero) h2.is-in .ta-keys::after { animation: ta-key-run 1.5s cubic-bezier(0.25, 0.7, 0.3, 1) both; }

@keyframes ta-staff {
  0% { opacity: 0; transform: scaleX(0); }
  32% { opacity: 0.55; transform: scaleX(1); }
  72% { opacity: 0.55; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}
@keyframes ta-note-land {
  0% { opacity: 0; color: var(--ta-flash); transform: translateY(calc(var(--p) * var(--ta-step) * -1)) scale(0.3); }
  34% { opacity: 1; color: var(--ta-flash); transform: translateY(calc(var(--p) * var(--ta-step) * -1)) scale(1.08); }
  72% { opacity: 1; transform: translateY(0.12rem) scale(1.03, 0.96); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-phrase-hop {
  0%, 7%, 100% { color: var(--black); transform: none; }
  3.5% { color: var(--accent); transform: translateY(-0.6rem); }
}
@keyframes ta-key-press {
  0% { opacity: 0; color: var(--ta-flash); transform: translateY(calc(var(--ta-drop) * -1)); }
  48% { opacity: 1; color: var(--ta-flash); transform: translateY(0.4rem) scaleY(0.92); }
  74% { opacity: 1; transform: translateY(-0.12rem); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-key-run {
  0% { opacity: 0.6; clip-path: inset(0 100% 0 0); }
  55% { opacity: 0.6; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 0); }
}

@media (max-width: 640px) {
  .anim-on { --ta-step: 0.6rem; --ta-lh: 4rem; --ta-drop: 1.2rem; --ta-note: 0.5s; --ta-tick: 32ms; }
}
/* /stp:title-anim */
