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

:root {
  --bg: #00a2eb;
  --cyan: #00d5e9;
  --sky: #00a4eb;
  --panel: #2774a3;
  --ink: #003a5d;
  --accent: #fbdb08;
  --line: #1fa1ff;
  --dark: #000006;
  --white: #ffffff;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-sans: 'Inter', sans-serif;
  --font-logo: 'Limelight', 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-sans); color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; }
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; cursor: pointer; }
section { position: relative; }

#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: 9.8rem; background: var(--panel); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.25); }
.header__inner { position: relative; display: flex; align-items: center; height: 100%; padding: 0 7.3rem; }
.logo { font-family: var(--font-logo); font-size: 2rem; line-height: 2.8rem; color: var(--white); text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25); white-space: nowrap; }
.logo:hover { opacity: 0.8; }
.nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4rem; }
.nav-link { font-family: var(--font-mono); font-size: 2rem; line-height: 2.8rem; font-weight: 400; color: var(--white); white-space: nowrap; }
.nav-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.4rem; }

.burger-btn { display: none; position: relative; z-index: 110; width: 2.4rem; height: 2.4rem; margin-left: auto; background: transparent; border: 0; }
.burger-btn span { position: absolute; left: 0.2rem; width: 2rem; height: 0.2rem; background: var(--white); border-radius: 0.2rem; transition: transform 0.3s, opacity 0.3s, top 0.3s; }
.burger-btn span:nth-child(1) { top: 0.7rem; }
.burger-btn span:nth-child(2) { top: 1.1rem; }
.burger-btn span:nth-child(3) { top: 1.5rem; }
.burger-btn.act span:nth-child(1) { top: 1.1rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.1rem; transform: rotate(-45deg); }

#mobile-menu { position: fixed; top: 6.8rem; left: 0; width: 100%; z-index: 90; opacity: 0; pointer-events: none; background: var(--panel); padding: 4.4rem 4.8rem; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
.menu-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; }
.menu-nav .nav-link { display: block; }

.container { width: 100%; max-width: 144rem; margin: 0 auto; }
.section-title { font-family: var(--font-mono); font-weight: 700; font-size: 4.8rem; line-height: 5.6rem; letter-spacing: -0.02em; color: var(--ink); }
.txt { font-family: var(--font-sans); font-weight: 400; font-size: 2rem; line-height: 2.8rem; letter-spacing: 0.02em; color: var(--ink); }
.txt strong { font-weight: 700; }

@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }
.store-btn { display: block; transition: opacity 0.3s, box-shadow 0.3s; }
.store-btn:hover { opacity: 0.85; box-shadow: 0 0.6rem 1.6rem rgba(0, 58, 93, 0.35); }

@media (max-width: 1024px) {
  .header__inner { padding: 0 4rem; }
  .nav { gap: 3rem; }
  .section-title { font-size: 4.4rem; line-height: 5.2rem; }
}

@media (max-width: 640px) {
  .header { height: 6.8rem; }
  .header__inner { padding: 0 2rem; }
  .logo { font-size: 2rem; }
  .nav { display: none; }
  .burger-btn { display: block; }
  .section-title { font-size: 4rem; line-height: 4.8rem; text-align: center; }
  .txt { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.8rem; }
}
/* /stp:base */
/* stp:hero */
.hero { overflow: hidden; min-height: 80rem; padding: 16.6rem 8rem 8rem; background: linear-gradient(180deg, var(--bg), var(--cyan)); }
.hero__city { position: absolute; left: 50%; bottom: 0; width: 172.2rem; max-width: none; height: 62.8rem; transform: translateX(-50%); opacity: 0.2; }
.hero__plane { position: absolute; left: 74.9rem; top: 29.2rem; width: 63.8rem; max-width: none; height: 36rem; transform: rotate(-13.43deg); }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; width: 64.3rem; }
.hero__title { font-family: var(--font-mono); font-weight: 700; font-size: 6rem; line-height: 6.8rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 2rem; }
.hero__text { width: 61rem; font-family: var(--font-sans); font-weight: 500; font-size: 2rem; line-height: 2.8rem; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 4rem; }
.hero__text strong { font-weight: 700; }
.hero .store-btn { width: 25.6rem; height: 5.9rem; animation: store-float 3s ease-in-out infinite; }
.hero .store-btn:hover { animation-play-state: paused; }
.hero__store img { width: 100%; height: 100%; }

@media (max-width: 1024px) {
  .hero { min-height: 0; padding: 14rem 4rem 6rem; }
  .hero__city { width: 130rem; height: auto; }
  .hero__content { width: 100%; }
  .hero__title { font-size: 5.2rem; line-height: 6rem; }
  .hero__text { width: 100%; }
  .hero__plane { position: relative; z-index: 1; left: auto; top: auto; display: block; width: 56rem; height: auto; margin: 4rem auto 0; }
}

@media (max-width: 640px) {
  .hero { min-height: 127.6rem; padding: 9.7rem 2rem 0; }
  .hero__city { left: -33rem; width: 103.6rem; height: 37.8rem; transform: none; }
  .hero__content { align-items: center; width: 100%; }
  .hero__title { font-size: 5.2rem; line-height: 6rem; text-align: center; }
  .hero__text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.8rem; margin-bottom: 2rem; }
  .hero__plane { position: absolute; left: 1.4rem; top: 100.45rem; width: 34.7rem; height: 19.6rem; margin: 0; transform: rotate(-13deg); }
}
/* /stp:hero */
/* stp:course */
.course { overflow: hidden; min-height: 79.2rem; padding: 10rem 8rem 10rem 75rem; background: #00d4e9; }
.course__city { position: absolute; left: -103.6rem; top: 9.5rem; width: 172.2rem; max-width: none; height: 70rem; }
.course__content { position: relative; z-index: 1; width: 61rem; }
.course__title { max-width: 48.1rem; font-weight: 600; margin-bottom: 5.2rem; }

@media (max-width: 1024px) {
  .course { min-height: 0; padding: 8rem 4rem 52rem; }
  .course__city { left: -72.2rem; top: auto; bottom: 0; width: 120rem; height: 48.8rem; }
  .course__content { width: 100%; }
}

@media (max-width: 640px) {
  .course { min-height: 131.7rem; padding: 6.4rem 2rem 42.9rem; }
  .course__city { left: -65.5rem; bottom: -1rem; width: 103rem; height: 41.9rem; }
  .course__title { max-width: none; margin-bottom: 4rem; }
}
/* /stp:course */
/* stp:coins */
.coins { overflow: hidden; min-height: 95.6rem; padding: 10rem 8rem; background: linear-gradient(180deg, var(--cyan), var(--bg)); }
.coins__city { position: absolute; left: 76rem; top: 27rem; width: 172.1rem; max-width: none; height: 70rem; }
.coins__content { position: relative; z-index: 1; width: 61.6rem; }
.coins__title { font-weight: 600; margin-bottom: 5.2rem; }
.coins__p { margin-bottom: 3.6rem; }
.coins__sub { font-family: var(--font-sans); font-weight: 700; font-size: 2.4rem; line-height: 3.2rem; color: var(--ink); margin-bottom: 3.2rem; }
.coins__list { display: flex; flex-direction: column; gap: 1.6rem; }
.coins__item { display: flex; align-items: center; gap: 1.6rem; }
.coins__item img { flex: none; width: 3.9rem; height: 3.9rem; }

@media (max-width: 1024px) {
  .coins { min-height: 0; padding: 8rem 4rem 52rem; }
  .coins__city { left: 40rem; top: auto; bottom: 0; width: 120rem; height: 48.8rem; }
  .coins__content { width: 100%; }
}

@media (max-width: 640px) {
  .coins { min-height: 145.5rem; padding: 6.4rem 2rem 42.6rem; }
  .coins__city { left: -11.2rem; bottom: -1.3rem; width: 103rem; height: 41.9rem; }
  .coins__title { font-weight: 700; margin-bottom: 4rem; }
  .coins__p--last { margin-bottom: 2.4rem; }
  .coins__sub { font-size: 2rem; line-height: 2.8rem; }
}
/* /stp:coins */
/* stp:badges */
.badges { overflow: hidden; min-height: 68rem; padding: 10rem 8rem; background: var(--sky); }
.badges__content { width: 61.6rem; }
.badges__title { margin-bottom: 5.2rem; }
.badges__p { margin-bottom: 3.6rem; }
.badges__img { position: absolute; left: 86.4rem; top: 4.6rem; width: 40.8rem; height: 58.9rem; border: 0.2rem solid #394e87; border-radius: 2rem; }

@media (max-width: 1024px) {
  .badges { min-height: 0; padding: 8rem 4rem; }
  .badges__content { width: 100%; }
  .badges__img { position: static; margin: 4rem auto 0; }
}

@media (max-width: 640px) {
  .badges { padding: 6.4rem 2rem; }
  .badges__title { margin-bottom: 4rem; }
  .badges__img { width: 33.5rem; height: 48.3rem; margin: 2.8rem auto 0; }
}
/* /stp:badges */
/* stp:why */
.why { overflow: hidden; min-height: 95.6rem; padding: 10rem 8rem 0; text-align: center; background: linear-gradient(180deg, var(--bg), var(--cyan)); }
.why__content { position: relative; z-index: 1; max-width: 104rem; margin: 0 auto; }
.why__title { font-weight: 700; margin-bottom: 3.6rem; }
.why__p { margin-bottom: 3.6rem; }
.why__content .txt { text-align: center; }
.why__city { position: absolute; left: 0; top: 44rem; width: 143.8rem; max-width: none; height: 61.6rem; }

@media (max-width: 1024px) {
  .why { min-height: 0; padding: 8rem 4rem 46rem; }
  .why__city { top: auto; bottom: 0; width: 100%; height: auto; }
}

@media (max-width: 640px) {
  .why { min-height: 100.1rem; padding: 6.4rem 2rem 24.9rem; }
  .why__title { font-weight: 600; margin-bottom: 4rem; }
  .why__city { left: -4.4rem; bottom: -0.7rem; width: 58rem; height: 23.6rem; }
}
/* /stp:why */
/* stp:facts */
.facts { overflow: hidden; min-height: 48rem; padding: 10rem 11.4rem; background: #50c8ef; }
.facts__cloud { position: absolute; left: 6.4rem; width: 131.2rem; max-width: none; height: 27.3rem; }
.facts__cloud--a { top: 2.8rem; }
.facts__cloud--b { top: 32rem; }
.facts__content { position: relative; z-index: 1; }
.facts__title { text-align: center; margin-bottom: 5.2rem; }
.facts__panel { display: flex; align-items: center; gap: 8rem; padding: 4.4rem 7rem; background: rgba(217, 217, 217, 0.2); border: 1px solid rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem); }
.facts__col:first-child { flex: none; width: 29.9rem; }
.facts__col:last-child { flex: 1; }

@media (max-width: 1024px) {
  .facts { padding: 8rem 4rem; }
  .facts__cloud { left: -10rem; width: 100rem; height: auto; }
  .facts__panel { flex-wrap: wrap; gap: 3rem 6rem; padding: 4.4rem 4rem; }
  .facts__col:first-child { width: auto; }
}

@media (max-width: 640px) {
  .facts { min-height: 61.2rem; padding: 6.4rem 2rem; }
  .facts__cloud--a { left: -12.9rem; top: 2.8rem; width: 63.4rem; height: 13.2rem; }
  .facts__cloud--b { left: -16.2rem; top: 20.8rem; width: 138.6rem; height: 28.9rem; }
  .facts__title { line-height: 4.4rem; margin-bottom: 4rem; }
  .facts__panel { flex-direction: column; align-items: stretch; gap: 4rem; padding: 3.2rem 3.2rem; }
  .facts__col:first-child { width: auto; }
}
/* /stp:facts */
/* stp:footer */
.footer { background: var(--dark); border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; padding: 3.9rem 8rem; }
.footer__logo { font-family: var(--font-logo); font-size: 3.5rem; line-height: 4.9rem; color: var(--white); text-shadow: 0 0.7rem 0.7rem rgba(0, 0, 0, 0.25); white-space: nowrap; }
.footer__logo:hover { opacity: 0.8; }
.footer__right { display: flex; align-items: center; gap: 20.8rem; }
.footer__copy { padding: 1.6rem 0.8rem; font-family: var(--font-mono); font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 2rem; color: var(--white); white-space: nowrap; }
.footer__links { display: flex; align-items: center; gap: 1.6rem; }
.footer__link { display: flex; align-items: center; justify-content: center; height: 4.8rem; padding: 1.6rem 0.8rem; border-radius: 4rem; font-family: var(--font-mono); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2.4rem; color: var(--white); white-space: nowrap; }
.footer__link:hover { color: var(--accent); background: rgba(31, 161, 255, 0.15); }

@media (max-width: 1024px) {
  .footer__inner { flex-direction: column; gap: 2rem; padding: 4rem; }
  .footer__right { flex-wrap: wrap; justify-content: center; gap: 1rem 4rem; }
}

@media (max-width: 640px) {
  .footer__inner { padding: 6rem 2rem; gap: 1.6rem; }
  .footer__right { flex-direction: column; gap: 1.6rem; }
  .footer__copy { padding: 1.6rem 0.8rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; white-space: normal; text-align: center; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: #00273f; }
.legal-main { flex: 1 0 auto; padding-top: 9.8rem; background: #00273f; }
.legal-page { padding: 8rem 8.8rem; }
.legal-content { max-width: 126.4rem; margin: 0 auto; font-family: var(--font-sans); font-size: 2rem; line-height: 2.8rem; color: var(--white); overflow-wrap: break-word; }
.legal-content h1 { font-family: var(--font-mono); font-weight: 700; font-size: 3.2rem; line-height: 4rem; text-align: center; color: var(--white); margin-bottom: 6rem; }
.legal-content h2, .legal-content h3, .legal-content h4 { font-family: var(--font-sans); font-weight: 700; font-size: 2rem; line-height: 2.8rem; color: var(--white); margin-bottom: 2.8rem; }
.legal-content p { margin-bottom: 2.8rem; }
.legal-content ul, .legal-content ol { margin: 0 0 2.8rem 4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.8rem; }
.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 { color: var(--white); text-decoration: underline; text-underline-offset: 0.3rem; }
.legal-content a:hover { color: var(--accent); }

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

@media (max-width: 640px) {
  .legal-main { padding-top: 6.8rem; }
  .legal-page { padding: 6rem 2rem 4rem; }
  .legal-content p, .legal-content li { text-align: justify; }
  .legal-content h1 { margin-bottom: 4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; }
.ta-c { display: inline-block; }
.ta-hero { --ta-dx: 12rem; --ta-dy: -2.4rem; --ta-r: -8deg; }

.anim-on .ta-hero .ta-w { opacity: 0; transform: translate3d(var(--ta-dx), var(--ta-dy), 0) rotate(var(--ta-r)); }
.ta-hero .ta-w { animation: ta-flyin 0.9s steps(6, end) calc(0.9s + var(--i) * 0.09s) forwards, ta-land 0.5s steps(3, end) calc(1.8s + var(--i) * 0.09s) both; }
.ta-hero .ta-score { animation: ta-flyin 0.9s steps(6, end) calc(0.9s + var(--i) * 0.09s) forwards, ta-land 0.5s steps(3, end) calc(1.8s + var(--i) * 0.09s) both, ta-score 6s steps(1, end) 3.6s infinite; }

@keyframes ta-flyin {
  0% { opacity: 0; transform: translate3d(var(--ta-dx), var(--ta-dy), 0) rotate(var(--ta-r)); }
  30% { opacity: 1; }
  80% { opacity: 1; transform: translate3d(-0.6rem, 0.4rem, 0) rotate(1deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
}
@keyframes ta-land {
  0% { color: var(--accent); text-shadow: 0.3rem 0.3rem 0 var(--ink); }
  100% { color: var(--ink); text-shadow: 0 0 0 transparent; }
}
@keyframes ta-score {
  0%, 88%, 100% { color: var(--ink); text-shadow: 0 0 0 transparent; transform: translate3d(0, 0, 0); }
  90%, 94% { color: var(--accent); text-shadow: 0.3rem 0.3rem 0 var(--ink); transform: translate3d(0, -0.4rem, 0); }
  92%, 96% { color: var(--ink); text-shadow: 0 0 0 transparent; transform: translate3d(0, 0, 0); }
}

.anim-on .ta-sec .ta-c { opacity: 0; transform: scale(0.2); }
.ta-sec.is-in .ta-c { animation: ta-block 0.48s steps(4, end) calc(var(--i) * 0.025s) forwards; }

@keyframes ta-block {
  0% { opacity: 1; transform: scale(0.2); color: var(--accent); background-color: var(--accent); }
  50% { opacity: 1; transform: scale(1.25); color: var(--accent); background-color: transparent; }
  75% { transform: scale(0.95); color: var(--white); }
  100% { opacity: 1; transform: scale(1); color: var(--ink); background-color: transparent; }
}

@media (max-width: 640px) {
  .ta-hero { --ta-dx: 5rem; --ta-dy: -1.6rem; --ta-r: -6deg; }
  .ta-hero .ta-w { animation-duration: 0.7s, 0.4s; }
  .ta-hero .ta-score { animation-duration: 0.7s, 0.4s, 6s; }
  .ta-sec.is-in .ta-c { animation-duration: 0.4s; animation-delay: calc(var(--i) * 0.018s); }
}
/* /stp:title-anim */
