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

:root {
  --primary: #442FAF;
  --accent: #FFA524;
  --bg: #F3EEE9;
  --surface: #F9FFF1;
  --text: #161A20;
  --secondary: #5B5F5F;
  --hero-bg: #3E1E13;
  --shadow: 0 1.2rem 3.2rem rgba(68, 47, 175, 0.08);
  --font-display: 'Poetsen One', 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; }
body, h1, h2, h3, p, ul, ol, li, figure, details, summary { margin: 0; padding: 0; }
body { font-family: var(--font-body); font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--text); background: var(--surface); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s, background 0.3s, box-shadow 0.3s; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
main { display: block; }
section { margin: 0; }

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

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

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; height: 6rem; background: var(--surface); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.15); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; width: 4.4rem; height: 4.4rem; border-radius: 1rem; overflow: hidden; flex: 0 0 auto; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo:hover { opacity: 0.8; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 54.4rem; }
.nav-link { font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--text); }
.nav-link:hover { color: var(--primary); }

.burger-btn { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 0.5rem; width: 6.4rem; height: 6.4rem; padding: 0; background: transparent; border: 0; position: relative; z-index: 101; }
.burger-btn span { display: block; width: 2.4rem; height: 0.2rem; background: var(--text); transition: transform 0.3s, opacity 0.3s, background 0.3s; }
.burger-btn:hover span { background: var(--primary); }
.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: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.2rem; padding: 8rem 1.6rem 1.6rem; background: var(--surface); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { font-size: 2.4rem; }

.store-btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem 1.2rem; background: #000; border: 1px solid #A6A6A6; border-radius: 0.6rem; overflow: hidden; }
.store-btn:hover { opacity: 0.85; box-shadow: 0 0.4rem 2rem rgba(255, 165, 36, 0.45); }

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

.footer a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .container { padding: 0 6rem; }
  .nav { width: 50%; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.6rem; }
  .header { height: 8rem; }
  .logo { width: 4.4rem; height: 4.4rem; }
  .nav { display: none; }
  .burger-btn { display: flex; margin-right: 0; }
  #mobile-menu { padding-top: 10rem; }
}
/* /stp:base */
/* stp:hero */
#hero { position: relative; height: 70.9rem; background: var(--hero-bg); overflow: hidden; }
#hero .hero-pic { position: absolute; top: 0; right: 0; width: 92.8rem; height: 70.9rem; }
#hero .hero-pic img { width: 100%; height: 100%; object-fit: cover; }
#hero .hero-inner { position: relative; z-index: 1; padding-top: 15rem; }
#hero h1 { font-family: var(--font-display); font-weight: 400; font-size: 7.2rem; line-height: 1.2; color: var(--accent); }
#hero .hero-sub { margin-top: 12.4rem; font-size: 2.8rem; font-weight: 700; line-height: 1.3; color: var(--bg); }
#hero .hero-text { margin-top: 1.6rem; max-width: 54.4rem; font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--bg); }
#hero .store-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 { height: 60rem; }
  #hero .hero-pic { width: auto; height: 100%; aspect-ratio: 928 / 709; }
  #hero h1 { font-size: 5rem; }
  #hero .hero-inner { padding-top: 13rem; }
  #hero .hero-sub { margin-top: 9rem; font-size: 2.4rem; }
  #hero .hero-text { max-width: 36rem; }
  #hero .hero-store { margin-top: 3.2rem; }
}

@media (max-width: 640px) {
  #hero { height: 81.2rem; }
  #hero .hero-pic { top: auto; bottom: 0; left: 0; width: 100%; height: 59.5rem; aspect-ratio: auto; }
  #hero .hero-inner { padding-top: 10rem; }
  #hero h1 { font-size: 4.8rem; }
  #hero .hero-inner { position: static; }
  #hero .hero-inner > * { position: relative; z-index: 1; }
  #hero .hero-sub { margin-top: 3.2rem; font-size: 2.4rem; white-space: nowrap; }
  #hero .hero-text { margin-top: 0.8rem; max-width: none; font-size: clamp(14px, 1.6rem, 1.6rem); }
  #hero .hero-inner > .hero-store { position: absolute; left: 50%; bottom: 6.4rem; margin: 0; translate: -50% 0; }
}
/* /stp:hero */
/* stp:how-it-works */
h2 { font-family: var(--font-display); font-weight: 400; font-size: 4.8rem; line-height: 1.2; color: var(--primary); text-align: center; }
#how-it-works { padding: 8rem 0; background: var(--surface); }
#how-it-works .hiw-list { margin-top: 6.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; align-items: start; }
#how-it-works .hiw-item { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
#how-it-works h3 { font-size: 2.8rem; font-weight: 700; line-height: 1.3; color: var(--text); }
#how-it-works img { width: 100%; height: auto; aspect-ratio: 352 / 350; border-radius: 3.2rem; object-fit: cover; }
#how-it-works p { font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--text); }

@media (max-width: 1024px) {
  #how-it-works .hiw-list { gap: 2.4rem; }
  #how-it-works h3 { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  h2 { font-size: 3.6rem; }
  #how-it-works { padding: 6.4rem 0; }
  #how-it-works .hiw-list { margin-top: 4.8rem; grid-template-columns: 1fr; gap: 3.2rem; }
  #how-it-works h3 { font-size: 2.4rem; }
  #how-it-works img { aspect-ratio: 343 / 341; }
  #how-it-works p { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:how-it-works */
/* stp:features */
#features { padding: 8rem 0; background: var(--bg); }
#features .feat-list { margin-top: 6.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; align-items: stretch; }
#features .feat-card { display: flex; flex-direction: column; gap: 2rem; padding: 3.2rem; background: var(--surface); border-radius: 3.2rem; box-shadow: var(--shadow); }
#features .feat-icon { display: flex; align-items: center; justify-content: center; width: 6.4rem; height: 6.4rem; border-radius: 2rem; background: rgba(68, 47, 175, 0.1); flex: 0 0 auto; }
#features .feat-icon-accent { background: rgba(255, 165, 36, 0.1); }
#features .feat-icon-bg { background: var(--bg); }
#features .feat-icon img { width: 3.2rem; height: 3.2rem; }
#features .feat-text { display: flex; flex-direction: column; gap: 1.2rem; }
#features h3 { font-size: 2.8rem; font-weight: 700; line-height: 1.3; color: var(--text); }
#features p { font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--secondary); }

@media (max-width: 1024px) {
  #features .feat-list { gap: 2.4rem; }
  #features .feat-card { padding: 2.4rem; border-radius: 2.4rem; }
  #features h3 { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  #features { padding: 6.4rem 0; }
  #features .feat-list { margin-top: 4.8rem; grid-template-columns: 1fr; gap: 3.2rem; }
  #features .feat-card { padding: 3.2rem; border-radius: 3.2rem; }
  #features h3 { font-size: 2.4rem; }
  #features p { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:features */
/* stp:reviews */
#reviews { padding: 8rem 0; background: var(--surface); }
#reviews .rev-wrap { margin-top: 6.4rem; }
#reviews .rev-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; }
#reviews .rev-card { display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: 3.2rem; text-align: center; background: var(--bg); border-radius: 3.2rem; box-shadow: var(--shadow); }
#reviews .rev-stars { font-size: 2.8rem; font-weight: 700; line-height: 1.3; color: var(--accent); }
#reviews .rev-quote { font-size: 2rem; font-weight: 700; line-height: 1.5; color: var(--text); }
#reviews .rev-name { margin-top: auto; font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--secondary); }

@media (max-width: 1024px) {
  #reviews .rev-list { gap: 2.4rem; }
  #reviews .rev-card { padding: 2.4rem; border-radius: 2.4rem; }
  #reviews .rev-quote { font-size: 1.8rem; }
}

@media (max-width: 640px) {
  #reviews { padding: 6.4rem 0; }
  #reviews .rev-wrap { margin-top: 3.2rem; padding: 1.6rem 0 3.2rem; margin-bottom: -3.2rem; max-width: none; overflow: hidden; }
  #reviews .rev-list { display: flex; gap: 3.2rem; padding: 0 1.6rem; touch-action: pan-y; will-change: transform; }
  #reviews .rev-card { flex: 0 0 30rem; padding: 3.2rem; border-radius: 3.2rem; }
  #reviews .rev-quote { font-size: clamp(14px, 1.8rem, 1.8rem); }
  #reviews .rev-name { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:reviews */
/* stp:faq */
#faq { padding: 8rem 0; background: var(--bg); }
#faq h2 { text-align: left; }
#faq .faq-list { margin-top: 4.7rem; display: flex; flex-direction: column; gap: 1.6rem; }
#faq .faq-item { padding: 3.2rem; background: var(--surface); border-radius: 3.2rem; box-shadow: var(--shadow); }
#faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; list-style: none; cursor: pointer; font-size: 2rem; font-weight: 700; line-height: 1.5; color: var(--text); transition: color 0.3s; }
#faq summary::after { transition: transform 0.3s ease; }
#faq .faq-item.is-open summary::after { transform: rotate(180deg); }
#faq summary::-webkit-details-marker { display: none; }
#faq summary:hover { color: var(--primary); }
#faq summary::after { content: ''; flex: 0 0 2.8rem; width: 2.8rem; height: 2.8rem; background: linear-gradient(var(--text), var(--text)) center / 1.6rem 0.2rem no-repeat, linear-gradient(var(--text), var(--text)) center / 0.2rem 1.6rem no-repeat; }
#faq .faq-item.is-open summary::after { background: linear-gradient(var(--text), var(--text)) center / 1.6rem 0.2rem no-repeat; }
#faq .faq-item p { margin-top: 2rem; font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--secondary); }

@media (max-width: 1024px) {
  #faq .faq-item { padding: 2.4rem; border-radius: 2.4rem; }
}

@media (max-width: 640px) {
  #faq { padding: 6.4rem 0; }
  #faq .faq-list { margin-top: 4.8rem; }
  #faq .faq-item { padding: 3.2rem; border-radius: 3.2rem; }
  #faq summary { font-size: clamp(14px, 1.8rem, 1.8rem); }
  #faq .faq-item p { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:faq */
/* stp:footer */
.footer { display: flex; flex-direction: column; align-items: center; gap: 4rem; padding: 4rem 16rem 1.6rem; background: var(--text); color: var(--bg); text-align: center; }
.footer .footer-links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; }
.footer .footer-copy { font-size: clamp(12px, 1.2rem, 1.2rem); font-weight: 400; line-height: 1.5; }

@media (max-width: 1024px) {
  .footer { padding: 4rem 6rem 1.6rem; }
}

@media (max-width: 640px) {
  .footer { padding: 4rem 1.6rem 1.6rem; }
  .footer .footer-links { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .footer .footer-copy { font-size: clamp(11px, 1.1rem, 1.1rem); }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.legal-main { flex: 1 0 auto; padding-top: 6rem; background: var(--bg); }
.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 2.4rem; font-family: var(--font-display); font-weight: 400; font-size: 4.8rem; line-height: 1.2; color: var(--text); }
.legal-content h2 { margin: 4rem 0 1.6rem; font-size: 2.8rem; font-weight: 700; line-height: 1.3; }
.legal-content h3 { margin: 3.2rem 0 1.6rem; font-size: 2rem; font-weight: 700; line-height: 1.5; }
.legal-content h4 { margin: 2.4rem 0 1.2rem; font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 700; line-height: 1.5; }
.legal-content p, .legal-content li { font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; }
.legal-content p { margin: 0 0 1.6rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1.6rem; padding-left: 2.8rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.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-content { padding: 0 6rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 8rem; }
  .legal-page { padding: 4rem 0; }
  .legal-content { padding: 0 1.6rem; }
  .legal-content h1 { font-size: 3.6rem; }
  .legal-content h2 { font-size: 2.4rem; margin-top: 3.2rem; }
  .legal-content h3 { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .legal-content p, .legal-content li { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:legal */
/* stp:title-anim */
:root { --ta-d: 1.4rem; --ta-sw: 1.6rem; --ta-st: 0.04s; }
.ta-in { display: inline-block; position: relative; }
.ta-w { display: inline-block; white-space: nowrap; position: relative; }
.ta-l { display: inline-block; position: relative; }

.anim-on .ta-hero .ta-in::after,
.anim-on .ta-sec .ta-in::after { content: ''; position: absolute; left: 0; width: 100%; border-radius: 1rem; pointer-events: none; opacity: 0; clip-path: inset(0 100% 0 0); }
.anim-on .ta-hero .ta-in::after { top: 48%; height: 0.5rem; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 35%, var(--accent) 75%, rgba(255, 165, 36, 0)); transform: rotate(-8deg); animation: ta-blade 0.75s 0.85s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
.anim-on .ta-sec .ta-in::after { top: 56%; height: 0.3rem; background: linear-gradient(90deg, rgba(255, 165, 36, 0), var(--accent) 30%, var(--accent) 70%, rgba(255, 165, 36, 0)); transform: rotate(-4deg); }
.anim-on .ta-sec.is-in .ta-in::after { animation: ta-blade 0.6s 0.05s cubic-bezier(0.7, 0, 0.3, 1) forwards; }

.anim-on .ta-hero .ta-l { color: transparent; animation: ta-ink-hero 0.01s calc(1.42s + var(--i) * var(--ta-st)) forwards; }
.anim-on .ta-hero .ta-l::before,
.anim-on .ta-hero .ta-l::after,
.anim-on .ta-sec .ta-w::before,
.anim-on .ta-sec .ta-w::after { content: attr(data-c); position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none; opacity: 0; color: var(--accent); }
.anim-on .ta-hero .ta-l::before,
.anim-on .ta-sec .ta-w::before { clip-path: polygon(0 0, 100% 0, 100% 44%, 0 62%); }
.anim-on .ta-hero .ta-l::after,
.anim-on .ta-sec .ta-w::after { clip-path: polygon(0 62%, 100% 44%, 100% 100%, 0 100%); }
.anim-on .ta-hero .ta-l::before { animation: ta-half-top 0.62s calc(1s + var(--i) * var(--ta-st)) both; }
.anim-on .ta-hero .ta-l::after { animation: ta-half-bot 0.62s calc(1s + var(--i) * var(--ta-st)) both; }

.anim-on .ta-hero .ta-cut .ta-l { animation: ta-ink-hero 0.01s calc(1.42s + var(--i) * var(--ta-st)) forwards, ta-recut-ink 7s 4s infinite; }
.anim-on .ta-hero .ta-cut .ta-l::before { animation: ta-half-top 0.62s calc(1s + var(--i) * var(--ta-st)) both, ta-recut-top 7s 4s infinite; }
.anim-on .ta-hero .ta-cut .ta-l::after { animation: ta-half-bot 0.62s calc(1s + var(--i) * var(--ta-st)) both, ta-recut-bot 7s 4s infinite; }

.anim-on .ta-sec .ta-w { color: transparent; }
.anim-on .ta-sec.is-in .ta-w { animation: ta-ink-sec 0.01s calc(0.62s + var(--i) * 0.09s) forwards; }
.anim-on .ta-sec.is-in .ta-w::before { animation: ta-slide-top 0.55s calc(0.2s + var(--i) * 0.09s) cubic-bezier(0.22, 1.2, 0.36, 1) both; }
.anim-on .ta-sec.is-in .ta-w::after { animation: ta-slide-bot 0.55s calc(0.2s + var(--i) * 0.09s) cubic-bezier(0.22, 1.2, 0.36, 1) both; }

@keyframes ta-blade {
  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-half-top {
  0% { opacity: 0; color: #fff; transform: translate(calc(var(--ta-d) * -0.5), calc(var(--ta-d) * -1)) rotate(-14deg); animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
  25% { opacity: 1; }
  68% { opacity: 1; color: var(--accent); transform: none; }
  100% { opacity: 0; color: var(--accent); transform: none; }
}
@keyframes ta-half-bot {
  0% { opacity: 0; color: #fff; transform: translate(calc(var(--ta-d) * 0.5), var(--ta-d)) rotate(12deg); animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
  25% { opacity: 1; }
  68% { opacity: 1; color: var(--accent); transform: none; }
  100% { opacity: 0; color: var(--accent); transform: none; }
}
@keyframes ta-ink-hero { from { color: transparent; } to { color: var(--accent); } }
@keyframes ta-recut-ink {
  0%, 89% { color: var(--accent); }
  89.5%, 97.5% { color: transparent; }
  98%, 100% { color: var(--accent); }
}
@keyframes ta-recut-top {
  0%, 89% { opacity: 0; transform: none; }
  89.5% { opacity: 1; transform: none; }
  92% { opacity: 1; transform: translate(-0.3rem, -0.4rem) rotate(-5deg); }
  97.5% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes ta-recut-bot {
  0%, 89% { opacity: 0; transform: none; }
  89.5% { opacity: 1; transform: none; }
  92% { opacity: 1; transform: translate(0.3rem, 0.4rem) rotate(4deg); }
  97.5% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes ta-slide-top {
  0% { opacity: 0; color: var(--accent); transform: translate(calc(var(--ta-sw) * -1), -0.2rem); }
  30% { opacity: 1; }
  80% { opacity: 1; color: var(--primary); transform: none; }
  100% { opacity: 0; color: var(--primary); transform: none; }
}
@keyframes ta-slide-bot {
  0% { opacity: 0; color: var(--accent); transform: translate(var(--ta-sw), 0.2rem); }
  30% { opacity: 1; }
  80% { opacity: 1; color: var(--primary); transform: none; }
  100% { opacity: 0; color: var(--primary); transform: none; }
}
@keyframes ta-ink-sec { from { color: transparent; } to { color: var(--primary); } }

@media (max-width: 640px) {
  :root { --ta-d: 0.8rem; --ta-sw: 1rem; --ta-st: 0.03s; }
}
/* /stp:title-anim */
