/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,14..32,400;0,14..32,700;1,14..32,400&family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,400,0,1;0,9..144,700,0,1;1,9..144,700,0,1&display=swap');

:root {
  --bg: #05111f;
  --cyan: #22d3ee;
  --text: #94d7f9;
  --heading: #e8f4fd;
  --white: #ffffff;
  --card: rgba(10, 30, 48, 0.6);
  --card-border: rgba(34, 211, 238, 0.12);
  --line: rgba(34, 211, 238, 0.35);
  --font-body: 'DM Sans', sans-serif;
  --font-head: 'Fraunces', serif;
  --fs-s: clamp(14px, 1.6rem, 1.6rem);
}

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; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-s);
  line-height: 2.4rem;
  font-variation-settings: 'opsz' 14;
  overflow-x: hidden;
}

main { display: block; }
section { position: relative; overflow: hidden; }

.title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 6rem;
  line-height: 6.8rem;
  color: var(--heading);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  white-space: nowrap;
}
.title em { font-style: italic; color: var(--cyan); }

#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: 6.8rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.35); }
.header-inner { position: relative; height: 100%; }

.logo {
  position: absolute;
  left: 12rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.3s;
}
.logo:hover { opacity: 0.8; }
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: rgba(34, 211, 238, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.4);
}
.logo-icon img { width: 1.6rem; height: 1.6rem; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 3rem;
  color: var(--cyan);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  white-space: nowrap;
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 2.6rem;
  white-space: nowrap;
}
.nav-link, .menu-link { color: var(--text); font-size: var(--fs-s); line-height: 2.4rem; transition: color 0.3s; }
.nav-link:hover, .menu-link:hover { color: var(--cyan); }

.burger-btn {
  display: none;
  position: absolute;
  right: 1.6rem;
  top: 1.6rem;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.4rem 0.3rem;
  background: transparent;
  border: 0;
  z-index: 102;
  flex-direction: column;
  justify-content: space-between;
}
.burger-btn span {
  display: block;
  width: 100%;
  height: 0.3rem;
  border-radius: 0.2rem;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn.act span:nth-child(1) { transform: translateY(0.85rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-0.85rem) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: 19.2rem 6rem 4rem;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 60rem 40rem at 0% 55%, rgba(34, 211, 238, 0.2), transparent 70%),
    radial-gradient(ellipse 50rem 40rem at 100% 5%, rgba(34, 211, 238, 0.14), transparent 70%),
    var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
.menu-list { display: flex; flex-direction: column; align-items: flex-start; gap: 3.2rem; }

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

@media (max-width: 1024px) {
  .logo { left: 4rem; }
  .nav { gap: 1.6rem; }
  .title { white-space: normal; font-size: 4.4rem; line-height: 5.2rem; }
}

@media (max-width: 640px) {
  .header { height: 6rem; }
  .logo, .nav { display: none; }
  .burger-btn { display: flex; }
  .title { font-size: 3.2rem; line-height: 4rem; }
}
/* /stp:base */
/* stp:hero */
#hero {
  height: 80rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70rem 40rem at 30% 14%, rgba(34, 211, 238, 0.2), transparent 70%),
    radial-gradient(ellipse 35rem 45rem at 100% 35%, rgba(34, 211, 238, 0.18), transparent 70%),
    var(--bg);
}
.hero-inner {
  width: 100%;
  max-width: 94.2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  text-align: center;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 8.4rem;
  line-height: 9.4rem;
  color: var(--white);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  text-shadow: 0 0 1.2rem rgba(5, 17, 31, 0.8);
}
.hero-title span { color: var(--cyan); }
.hero-text { display: flex; flex-direction: column; gap: 1.2rem; }
.hero-text p { font-size: var(--fs-s); line-height: 2.4rem; color: var(--text); }

@media (max-width: 1024px) {
  .hero-inner { padding: 0 4rem; }
  .hero-title { font-size: 7rem; line-height: 8rem; }
}

@media (max-width: 640px) {
  #hero {
    height: 80rem;
    background:
      radial-gradient(ellipse 45rem 45rem at 100% 2%, rgba(34, 211, 238, 0.2), transparent 70%),
      radial-gradient(ellipse 30rem 45rem at 0% 62%, rgba(34, 211, 238, 0.22), transparent 70%),
      var(--bg);
  }
  .hero-inner { padding: 0 1.6rem; gap: 3.2rem; }
  .hero-title { font-size: 3.6rem; line-height: 4.4rem; }
}
/* /stp:hero */
/* stp:banner */
#banner { height: 60rem; background: var(--bg); }
.banner-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
#banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #05111f 0%, rgba(0, 0, 0, 0) 47%, rgba(0, 0, 0, 0) 66%, #05111f 100%);
}
/* /stp:banner */
/* stp:about */
#about { background: var(--bg); padding: 12rem 8rem; }
.about-inner { display: flex; align-items: center; gap: 3.2rem; }
.about-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4rem; }
.nw { white-space: nowrap; }
.about-copy { display: flex; flex-direction: column; gap: 1.8rem; }
.about-copy p { font-size: var(--fs-s); line-height: 2.4rem; color: var(--text); }
.about-img { flex: none; width: 46rem; height: 46rem; border-radius: 3.2rem; overflow: hidden; background: var(--white); }
.about-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 64% 50%; }

@media (max-width: 1024px) {
  #about { padding: 8rem 4rem; }
  .about-inner { flex-direction: column; align-items: flex-start; gap: 4rem; }
  .about-img { align-self: center; }
}

@media (max-width: 640px) {
  #about { padding: 4rem 1.6rem; }
  .about-inner { gap: 3.2rem; align-items: stretch; }
  .about-text { gap: 4rem; }
  .about-img { width: 34.3rem; height: 34.3rem; align-self: auto; }
  .about-img img { object-position: 69% 50%; }
}
/* /stp:about */
/* stp:challenges */
#challenges { background: linear-gradient(128.44deg, #0e2a40 2.38%, #05111f 98.16%); padding: 12rem 8rem; }
.ch-inner { display: flex; flex-direction: column; gap: 4rem; }
.ch-copy { display: flex; flex-direction: column; gap: 1.8rem; }
.ch-copy > p { font-size: var(--fs-s); line-height: 2.4rem; color: var(--text); }
.quote {
  margin: 0;
  padding: 4.9rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.6rem;
  font-style: italic;
  font-size: 2.6rem;
  line-height: 3.4rem;
  text-align: center;
  color: var(--white);
}

@media (max-width: 1024px) {
  #challenges { padding: 8rem 4rem; }
  .quote { padding: 3.2rem; font-size: 2.2rem; line-height: 3rem; }
}

@media (max-width: 640px) {
  #challenges { padding: 4rem 1.6rem; }
  .quote { padding: 2.2rem; font-size: 2.2rem; line-height: 3rem; }
}
/* /stp:challenges */
/* stp:how */
#how { background: var(--bg); padding: 12rem 8rem; }
.how-bg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 160.1rem;
  max-width: none;
  height: 120.1rem;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}
.how-inner { position: relative; display: flex; align-items: center; gap: 4rem; }
.how-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4rem; }
.how-text p { font-size: var(--fs-s); line-height: 2.4rem; color: var(--text); }
.how-list { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 1.3rem 2.3rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.6rem;
  font-size: var(--fs-s);
  line-height: 2.4rem;
  color: var(--text);
}
.card > span:last-child { flex: 1 1 0; min-width: 0; }
.card-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(34, 211, 238, 0.1);
}
.card-icon img { width: 1.8rem; height: 1.8rem; }

@media (max-width: 1024px) {
  #how { padding: 8rem 4rem; }
  .how-bg { width: 120rem; height: 90rem; }
  .how-inner { flex-direction: column; align-items: stretch; gap: 4rem; }
}

@media (max-width: 640px) {
  #how { padding: 4rem 1.6rem; }
  .how-bg { left: -52.9rem; top: -6rem; transform: none; width: 143.5rem; height: 107.6rem; }
  .how-inner { gap: 4rem; }
  .card { padding: 1.2rem 2.2rem; }
}
/* /stp:how */
/* stp:docks */
#docks { background: linear-gradient(119.69deg, #0e2a40 2.38%, #05111f 98.16%); padding: 12rem 8rem; }
#docks::before {
  content: '';
  position: absolute;
  left: calc(50% - 16.4rem);
  top: -13.7rem;
  width: 119.3rem;
  height: 119.3rem;
  background: radial-gradient(circle 110rem at 60% 30%, rgba(34, 211, 238, 0.25) 0, rgba(17, 106, 119, 0.125) 35%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
.docks-inner { position: relative; display: flex; align-items: center; gap: 3.2rem; }
.docks-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4rem; }
.docks-text p { font-size: var(--fs-s); line-height: 2.4rem; color: var(--text); }
.docks-img { flex: none; width: 37.6rem; height: 59.9rem; }
.docks-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

@media (max-width: 1024px) {
  #docks { padding: 8rem 4rem; }
  .docks-inner { flex-direction: column; align-items: stretch; }
  .docks-img { align-self: center; }
}

@media (max-width: 640px) {
  #docks { padding: 6rem 1.6rem; }
  .docks-inner { align-items: center; }
  .docks-text { align-self: stretch; }
  .docks-img { width: 30.1rem; height: 48rem; align-self: center; }
}
/* /stp:docks */
/* stp:faq */
#faq { background: var(--bg); padding: 12rem 8rem; }
.faq-bg { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: 100%; min-height: 115.2rem; object-fit: cover; object-position: left top; opacity: 0.2; pointer-events: none; }
.faq-inner { position: relative; width: 100%; max-width: 90rem; margin: 0 auto; display: flex; flex-direction: column; gap: 4rem; }
#faq .title { text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 1.2rem; }
.faq-item {
  padding: 1.3rem 2.3rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.6rem;
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6rem;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1 1 0; font-weight: 700; font-size: var(--fs-s); line-height: 2.4rem; color: var(--white); transition: color 0.3s; }
.faq-item summary:hover .faq-q { color: var(--cyan); }
.faq-icon { flex: none; width: 2rem; height: 2rem; margin-top: 0.2rem; transition: transform 0.3s; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-a { margin-top: 0.8rem; padding-right: 3.6rem; font-size: var(--fs-s); line-height: 2.4rem; color: var(--text); }

@media (max-width: 1024px) {
  #faq { padding: 8rem 4rem; }
}

@media (max-width: 640px) {
  #faq { padding: 6rem 1.6rem; }
  .faq-bg { min-height: 174.7rem; object-position: 50% top; }
  .faq-inner { gap: 4rem; }
  .faq-a { padding-right: 3.6rem; }
}
/* /stp:faq */
/* stp:footer */
.footer {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  padding: 4rem 8rem 2.4rem;
  background: var(--bg);
  color: var(--white);
  text-transform: uppercase;
  font-family: var(--font-head);
  font-size: var(--fs-s);
  line-height: 2.4rem;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
}
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.footer-brand { font-weight: 700; font-size: 2.8rem; line-height: 3.8rem; color: var(--cyan); transition: opacity 0.3s; }
.footer-brand:hover { opacity: 0.8; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 1.6rem; white-space: nowrap; }
.footer a:hover { color: var(--cyan); }
.footer-links a { transition: color 0.3s; }
.footer-copy { text-align: center; }

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

@media (max-width: 640px) {
  .footer { padding: 3.2rem 1.6rem; align-items: center; }
  .footer-top { width: 100%; flex-direction: column; align-items: stretch; gap: 2.2rem; }
  .footer-brand { font-size: 2.2rem; line-height: 3rem; }
  .footer-links { align-items: flex-end; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 6.8rem; background: linear-gradient(128.44deg, #0e2a40 2.38%, #05111f 98.16%); }
.legal-page { padding: 5rem 12rem 8rem; }
.legal-content { max-width: 120rem; margin: 0 auto; color: var(--text); font-size: var(--fs-s); line-height: 2.4rem; }
.legal-content h1 {
  margin-bottom: 2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 6rem;
  line-height: 6.8rem;
  color: var(--cyan);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
}
.legal-content h2, .legal-content h3, .legal-content h4 { margin-top: 1.6rem; font-weight: 700; font-size: var(--fs-s); line-height: 2.4rem; color: var(--heading); }
.legal-content p { margin-top: 0.4rem; }
.legal-content ul, .legal-content ol { margin: 0.4rem 0 0 2rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-top: 0.2rem; }
.legal-content a { text-decoration: underline; transition: color 0.3s; }
.legal-content a:hover { color: var(--cyan); }
.legal-content strong, .legal-content b { font-weight: 700; color: var(--heading); }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

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

@media (max-width: 640px) {
  .legal-main { padding-top: 6rem; }
  .legal-page { padding: 3rem 1.6rem 4rem; }
  .legal-content h1 { font-size: 3.6rem; line-height: 4.4rem; margin-bottom: 1.6rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; }
.ta-l { display: inline-block; }
.hero-title .ta-w, .title .ta-w, .title .ta-l { color: inherit; }

.anim-on .ta-hero .ta-w {
  opacity: 0;
  background-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(34, 211, 238, 0.55) 47%, rgba(34, 211, 238, 0) 56%, transparent 100%);
  background-size: 300% 0.3rem;
  background-repeat: no-repeat;
  background-position: 100% 88%;
  animation:
    ta-sail 1.25s cubic-bezier(0.22, 0.8, 0.3, 1) calc(0.9s + var(--l) * 0.32s + var(--i) * 0.07s) both,
    ta-wake 1.6s cubic-bezier(0.3, 0.5, 0.4, 1) calc(0.9s + var(--l) * 0.32s + var(--i) * 0.07s) both;
}
.anim-on .ta-hero span .ta-w {
  animation:
    ta-sail 1.25s cubic-bezier(0.22, 0.8, 0.3, 1) calc(0.9s + var(--l) * 0.32s + var(--i) * 0.07s) both,
    ta-wake 1.6s cubic-bezier(0.3, 0.5, 0.4, 1) calc(0.9s + var(--l) * 0.32s + var(--i) * 0.07s) both,
    ta-swell 7s ease-in-out calc(4s + var(--i) * 0.18s) infinite;
}

@keyframes ta-sail {
  0% { opacity: 0; transform: translateX(-4.5rem) skewX(-10deg); filter: blur(0.6rem); }
  55% { opacity: 1; filter: blur(0); }
  72% { transform: translateX(0.35rem) skewX(2deg); }
  86% { transform: translateX(-0.1rem) translateY(0.12rem) skewX(-0.5deg); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes ta-wake {
  0% { background-position: 100% 88%; }
  100% { background-position: 0% 88%; }
}
@keyframes ta-swell {
  0%, 78%, 100% { transform: none; }
  86% { transform: translateY(-0.45rem) rotate(-1.5deg); }
  93% { transform: translateY(0.15rem) rotate(0.8deg); }
}

.anim-on .ta-sec .ta-l {
  opacity: 0;
  transform-origin: 50% -80%;
}
.anim-on .ta-sec.is-in .ta-l {
  animation: ta-crane 0.9s cubic-bezier(0.3, 0.7, 0.35, 1) calc(var(--i) * 0.028s) both;
}

@keyframes ta-crane {
  0% { opacity: 0; transform: translateY(-2.6rem) rotate(-9deg); filter: brightness(1); }
  45% { opacity: 1; transform: translateY(0.3rem) rotate(4deg); filter: brightness(1.7) drop-shadow(0 0 0.6rem rgba(34, 211, 238, 0.7)); }
  70% { transform: translateY(-0.12rem) rotate(-1.5deg); }
  100% { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 640px) {
  .anim-on .ta-hero .ta-w,
  .anim-on .ta-hero span .ta-w { animation-duration: 1s, 1.3s, 7s; }
  @keyframes ta-sail {
    0% { opacity: 0; transform: translateX(-2.4rem) skewX(-8deg); filter: blur(0.4rem); }
    55% { opacity: 1; filter: blur(0); }
    75% { transform: translateX(0.2rem) skewX(1.5deg); }
    100% { opacity: 1; transform: none; filter: none; }
  }
  @keyframes ta-crane {
    0% { opacity: 0; transform: translateY(-1.6rem) rotate(-7deg); }
    50% { opacity: 1; transform: translateY(0.2rem) rotate(3deg); }
    100% { opacity: 1; transform: none; }
  }
  .anim-on .ta-sec.is-in .ta-l { animation-duration: 0.7s; animation-delay: calc(var(--i) * 0.02s); }
}
/* /stp:title-anim */
