/* ==========================================================================
   Jellywalk — 2026 site design
   Soft lavender canvas, chunky rounded type, one very fluffy mascot.
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fcfaff;
  --surface: #ffffff;
  --ink: #17122e;
  --ink-2: #57506f;
  --ink-3: #8b84a2;
  --purple: #7c5cfc;
  --purple-deep: #5b34e8;
  --violet: #a78bfa;
  --lav: #f4eeff;
  --lav-2: #ece1ff;
  --yellow: #ffc93c;
  --yellow-soft: #fff5d9;
  --mint: #35d0a5;
  --mint-soft: #e3fbf3;
  --pink: #ff8fb1;
  --pink-soft: #ffeaf1;
  --line: #ece4f8;
  --line-strong: #ded2f2;
  --radius-xl: 44px;
  --radius-lg: 30px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(39, 20, 96, 0.05);
  --shadow: 0 26px 60px -34px rgba(52, 28, 128, 0.32);
  --shadow-lg: 0 50px 110px -50px rgba(52, 28, 128, 0.42);
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans JP",
    "Hiragino Sans", sans-serif;
  --shell: min(1200px, 100% - 48px);
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
}

::selection {
  background: rgba(124, 92, 252, 0.22);
}

:focus-visible {
  outline: 3px solid rgba(124, 92, 252, 0.55);
  outline-offset: 3px;
  border-radius: 8px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 0 0 14px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip:focus {
  top: 0;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: linear-gradient(135deg, #8b6bff 0%, #6a45f0 100%);
  color: #fff;
  box-shadow: 0 16px 30px -14px rgba(96, 60, 235, 0.7);
}
.btn-primary:hover {
  box-shadow: 0 22px 40px -16px rgba(96, 60, 235, 0.78);
}
.btn-ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--violet);
  box-shadow: 0 12px 26px -18px rgba(60, 30, 140, 0.5);
}
.btn-yellow {
  background: var(--yellow);
  color: #211604;
  box-shadow: 0 18px 36px -18px rgba(255, 201, 60, 0.8);
}
.btn-yellow:hover {
  background: #ffd45e;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 22px 8px 16px;
  border-radius: 18px;
  background: #17122e;
  color: #fff;
  box-shadow: 0 20px 36px -22px rgba(23, 18, 46, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 44px -22px rgba(23, 18, 46, 0.9);
}
.play-btn svg {
  width: 27px;
  height: 27px;
  flex: none;
}
.play-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.play-btn small {
  color: #c9c2df;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.play-btn strong {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.play-btn.on-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px -24px rgba(40, 20, 100, 0.5);
}
.play-btn.on-light small {
  color: var(--ink-3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-deep);
  font-weight: 700;
}
.text-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.text-link:hover::after {
  transform: translateX(4px);
}

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(252, 250, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(252, 250, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(40, 20, 100, 0.5);
}
.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.brand img:last-child {
  width: 104px;
  height: auto;
}
.brand-mascot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(60, 30, 140, 0.5);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  margin-right: auto;
}
.nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover {
  color: var(--ink);
  background: rgba(124, 92, 252, 0.07);
}
.nav a[aria-current="page"] {
  color: var(--purple-deep);
  background: var(--lav);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9rem;
}

/* language */
.lang {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lang-btn:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.lang-btn .globe {
  width: 17px;
  height: 17px;
  color: var(--purple);
}
.lang-name {
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}
.lang-code {
  display: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lang-btn .chev {
  width: 13px;
  height: 13px;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease);
}
.lang-btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(40, 20, 100, 0.45);
  animation: menu-in 0.22s var(--ease);
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}
.lang-opt {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.lang-opt:hover {
  background: var(--lav);
}
.lang-opt[aria-selected="true"] {
  background: var(--lav);
  color: var(--purple-deep);
}
.lang-opt[aria-selected="true"]::after {
  content: "✓";
  font-size: 0.8rem;
}
.lang-opt .code {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-opt[aria-selected="true"] .code {
  color: var(--purple);
}
.lang-opt[aria-selected="true"]::after {
  display: none;
}

/* burger */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 55;
  inset: var(--header-h) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
    visibility 0.28s;
}
.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.6rem, 8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mobile-menu nav a[aria-current="page"] {
  color: var(--purple);
}
.mobile-menu .mobile-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 20px;
}

/* ------------------------------------------------------------------- hero */
.hero {
  --copy-top: 66%;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, calc(100svh - var(--header-h)), 840px);
  padding-block: clamp(40px, 7vh, 80px);
  background: linear-gradient(180deg, #fdf9ff 0%, #f7ebff 44%, #ecd9ff 100%);
  overflow: hidden;
}
.hero-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
}
.hero-scene canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  touch-action: pan-y;
}
.hero-scene::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(253, 249, 255, 0.975) 0%,
      rgba(253, 249, 255, 0.96) 32%,
      rgba(253, 249, 255, 0.94) 42%,
      rgba(253, 249, 255, 0.68) 50%,
      rgba(253, 249, 255, 0) 60%
    ),
    linear-gradient(180deg, rgba(253, 249, 255, 0.45) 0%, rgba(253, 249, 255, 0) 20%),
    linear-gradient(180deg, rgba(253, 249, 255, 0) 92%, rgba(253, 249, 255, 0.65) 100%);
  content: "";
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}
.hero-copy {
  position: relative;
  max-width: 580px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 700;
}
.pill .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(53, 208, 165, 0.16);
}
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.7rem, 4.6vw, 4.05rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.grad-text {
  display: inline-block;
  padding-bottom: 0.06em;
  background: linear-gradient(96deg, #7b5af7 0%, #a06bff 42%, #ff8fb1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 420px;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-fallback {
  position: absolute;
  top: 47%;
  left: 70%;
  z-index: 0;
  width: min(30vw, 380px);
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
}
.hero-fallback img {
  width: 100%;
  height: auto;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(84, 51, 190, 0.22));
}
.hero.is-live .hero-fallback {
  opacity: 0;
  pointer-events: none;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(-6px) rotate(-1.2deg);
  }
  50% {
    transform: translateY(10px) rotate(1.2deg);
  }
}
.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px -26px rgba(52, 28, 128, 0.65);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 700;
  animation: float 6.5s ease-in-out infinite;
}
.hero-chip .chip-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  background: var(--lav);
  color: var(--purple-deep);
  font-size: 0.85rem;
}
.hero-chip strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}
.hero-chip small {
  display: block;
  color: var(--ink-3);
  font-size: 0.67rem;
  font-weight: 600;
}
.hero-chip-1 {
  top: 17%;
  left: 78%;
}

/* ---------------------------------------------------------------- marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(244, 238, 255, 0.6);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 34px;
  padding: 18px 17px;
}
.marquee-group span {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--purple-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-group span::after {
  color: var(--yellow);
  content: "✦";
  font-size: 0.9rem;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------- section */
.section {
  padding: clamp(68px, 8vw, 112px) 0;
}
.section-tight-top {
  padding-top: clamp(12px, 2vw, 28px);
}
.section-head {
  max-width: 680px;
  margin: 0 auto clamp(36px, 4.4vw, 58px);
  text-align: center;
}
.section-head.flush {
  margin: 0;
  text-align: left;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--purple-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}
.section-head h2,
.h2-lg {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}

/* ------------------------------------------------------------ how it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.how-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 26px 60px -48px rgba(44, 22, 112, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -44px rgba(44, 22, 112, 0.55);
}
.how-card:nth-child(1) {
  background: linear-gradient(170deg, #fbf7ff 0%, #ffffff 62%);
}
.how-card:nth-child(2) {
  background: linear-gradient(170deg, #f2fdf9 0%, #ffffff 62%);
}
.how-card:nth-child(3) {
  background: linear-gradient(170deg, #fffaf0 0%, #ffffff 62%);
}
.step-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 14px;
  background: rgba(124, 92, 252, 0.1);
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.how-card:nth-child(2) .step-index {
  background: var(--mint-soft);
  color: #0f8f6c;
}
.how-card:nth-child(3) .step-index {
  background: var(--yellow-soft);
  color: #9a6c00;
}
.how-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.how-card p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.62;
}
.how-icon {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 44px;
  height: 44px;
  color: var(--purple);
  opacity: 0.6;
}
.how-icon svg {
  width: 100%;
  height: 100%;
}
.how-card:nth-child(2) .how-icon {
  color: #17a97f;
}
.how-card:nth-child(3) .how-icon {
  color: #d99a00;
}
.card-glow {
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28), transparent 68%);
  pointer-events: none;
}

/* -------------------------------------------------------------- point mode */
.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: radial-gradient(70% 80% at 96% 4%, #fff4d9 0%, transparent 60%),
    radial-gradient(60% 70% at 4% 96%, #efe4ff 0%, transparent 64%),
    #fbf9ff;
}
.preview-copy {
  max-width: 500px;
}
.preview-copy .hero-sub {
  margin-top: 16px;
}
.checklist {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #0c9970;
  font-size: 0.7rem;
  font-weight: 800;
}
.checklist strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.checklist span span,
.checklist li > span:last-child {
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.55;
}
.preview-note {
  margin-top: 26px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: #7a5a0a;
  font-size: 0.78rem;
  line-height: 1.5;
}
.stage-blob {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 0;
}
.stage-blob::before {
  position: absolute;
  inset: 4% 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(167, 139, 250, 0.4), transparent 68%);
  content: "";
  filter: blur(18px);
}

/* phone mockup */
.phone {
  position: relative;
  z-index: 1;
  width: min(310px, 76%);
  aspect-ratio: 9 / 18.4;
  padding: 8px;
  border-radius: 46px;
  background: linear-gradient(160deg, #322a4d 0%, #171226 40%, #0f0b1d 100%);
  box-shadow: 0 50px 90px -44px rgba(33, 18, 84, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.phone::before {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 50%;
  width: 74px;
  height: 20px;
  border-radius: 999px;
  background: #0d0a17;
  content: "";
  transform: translateX(-50%);
}
.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  padding: 30px 14px 10px;
  border-radius: 39px;
  background: linear-gradient(180deg, #fdfaff 0%, #f7f1ff 100%);
}
.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  color: #201a35;
  font-size: 8.5px;
  font-weight: 700;
}
.app-status .bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}
.app-status .bars i {
  display: block;
  width: 2.5px;
  border-radius: 1px;
  background: #201a35;
}
.app-status .bars i:nth-child(1) {
  height: 4px;
}
.app-status .bars i:nth-child(2) {
  height: 6px;
}
.app-status .bars i:nth-child(3) {
  height: 8px;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.app-toggle {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: #efe8fd;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.app-toggle span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #a49ab8;
}
.app-toggle .on {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 2px 6px rgba(60, 30, 140, 0.16);
}
.app-wallet {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #e7dff5;
  border-radius: 7px;
  color: #8a7fa0;
  font-size: 9px;
}
.app-hello {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.app-steps p {
  color: #9188a6;
  font-size: 8.5px;
  font-weight: 600;
}
.app-steps strong {
  display: block;
  margin-top: -2px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.app-mascot {
  position: absolute;
  top: 52px;
  right: 4px;
  width: 84px;
  height: auto;
}
.app-points {
  position: relative;
  margin-top: 2px;
  padding: 11px 12px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #8f6dff 0%, #6841ee 100%);
  color: #fff;
  box-shadow: 0 12px 22px -14px rgba(80, 45, 200, 0.7);
}
.app-points-top {
  display: flex;
  align-items: center;
  gap: 7px;
}
.app-p {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #3a2400;
  font-size: 9px;
  font-weight: 800;
}
.app-points strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.app-points p {
  margin-top: 3px;
  font-size: 8px;
  opacity: 0.85;
}
.app-bar {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}
.app-bar i {
  display: block;
  width: 73%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}
.app-bar-label {
  position: absolute;
  right: 12px;
  bottom: 11px;
  font-size: 7px;
  opacity: 0.8;
}
.app-missions {
  flex: 0 0 auto;
  padding: 9px 11px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px -16px rgba(60, 30, 140, 0.45);
}
.app-missions h4 {
  color: #9b92af;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0;
}
.app-missions ul {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.app-missions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f4effc;
  font-size: 9px;
  font-weight: 700;
}
.app-missions li:last-child {
  border-bottom: 0;
}
.app-missions li span:last-child {
  padding: 2px 7px;
  border-radius: 999px;
  background: #f1eaff;
  color: var(--purple-deep);
  font-size: 7.5px;
}
.app-missions li.locked {
  color: #b4abca;
}
.app-missions li.locked span:last-child {
  background: #f6f3fb;
  color: #b7aec8;
}
.app-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 9px 11px;
  border-radius: 14px;
  background: #f4edff;
}
.app-promo strong {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.app-promo small {
  display: block;
  color: #9b92af;
  font-size: 6.5px;
}
.app-promo span {
  font-size: 15px;
  line-height: 1;
}
.app-bottom {
  display: flex;
  justify-content: space-between;
  padding: 1px 10px 2px;
  color: #a49bb6;
  font-size: 6.5px;
  font-weight: 600;
}
.app-bottom span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.app-bottom i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1.4px solid currentColor;
  border-radius: 5px;
}
.app-bottom .on {
  color: var(--purple);
}
.phone-float {
  position: absolute;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -26px rgba(52, 28, 128, 0.55);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.phone-float small {
  display: block;
  color: var(--ink-3);
  font-size: 0.62rem;
  font-weight: 600;
}
.phone-float-1 {
  top: 14%;
  left: -4%;
}
.phone-float-2 {
  right: -5%;
  bottom: 14%;
  animation-delay: -2.2s;
}

/* ------------------------------------------------------------------ plus */
.plus-band {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4.6vw, 64px);
  border-radius: var(--radius-xl);
  background: radial-gradient(70% 90% at 92% 0%, rgba(124, 92, 252, 0.55), transparent 60%),
    radial-gradient(60% 80% at 4% 100%, rgba(255, 201, 60, 0.16), transparent 60%),
    linear-gradient(150deg, #221747 0%, #150e30 60%, #120b2a 100%);
  color: #fff;
  box-shadow: 0 50px 100px -50px rgba(28, 14, 74, 0.75);
}
.plus-band::after {
  position: absolute;
  top: -60px;
  right: 6%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 60, 0.3), transparent 68%);
  content: "";
  pointer-events: none;
}
.plus-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
}
.on-dark .eyebrow {
  color: #cbb7ff;
}
.on-dark .eyebrow::before {
  background: var(--yellow);
}
.plus-band h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: #fff;
}
.plus-band p {
  color: rgba(255, 255, 255, 0.7);
}
.plus-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.plus-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}
.plus-list li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 201, 60, 0.16);
  color: var(--yellow);
  content: "✦";
  font-size: 0.65rem;
}
.plus-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.plus-stat {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.plus-stat strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.plus-stat span {
  display: block;
  color: #d8cdff;
  font-size: 0.75rem;
  font-weight: 700;
}
.plus-stat small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.63rem;
  line-height: 1.4;
}
.walk-preview {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}
.walk-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
}
.walk-preview-head .live {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 201, 60, 0.18);
  color: var(--yellow);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}
.walk-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 18px;
}
.walk-metrics b {
  display: block;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}
.walk-metrics span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
}
.walk-bar + .walk-bar {
  margin-top: 12px;
}
.walk-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  font-weight: 600;
}
.walk-bar-label span:last-child {
  color: #fff;
}
.walk-bar-track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}
.walk-bar-track i {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a78bfa, #ffc93c);
}
.walk-bar + .walk-bar .walk-bar-track i {
  width: 64%;
}

/* ----------------------------------------------------------------- shoes */
.shoe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.shoe-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 50px -46px rgba(44, 22, 112, 0.45);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.shoe-card:hover {
  transform: translateY(-5px);
  border-color: var(--lav-2);
}
.shoe-art {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--lav);
  color: var(--purple);
}
.shoe-card:nth-child(2) .shoe-art {
  background: var(--mint-soft);
  color: #11a478;
}
.shoe-card:nth-child(3) .shoe-art {
  background: var(--yellow-soft);
  color: #c68a00;
}
.shoe-card:nth-child(4) .shoe-art {
  background: var(--pink-soft);
  color: #e05e8b;
}
.shoe-art svg {
  width: 34px;
  height: auto;
}
.shoe-card h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.shoe-card p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------------- faq */
.faq-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}
.faq-teaser .h2-lg {
  max-width: 380px;
}
.faq-teaser .hero-sub {
  margin-top: 18px;
}
.mini-faq {
  display: grid;
  gap: 10px;
}
.mini-faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, background 0.25s;
}
.mini-faq details[open] {
  border-color: var(--lav-2);
  background: linear-gradient(180deg, #fdfaff 0%, #fff 100%);
}
.mini-faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.mini-faq summary::-webkit-details-marker {
  display: none;
}
.mini-faq summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--lav);
  color: var(--purple-deep);
  content: "+";
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}
.mini-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.mini-faq .answer {
  padding: 0 20px 20px;
}
.mini-faq .answer p {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------------- cta */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: radial-gradient(80% 120% at 100% 0%, #a78bfa 0%, transparent 55%),
    radial-gradient(60% 90% at 0% 100%, #ff8fb1 0%, transparent 55%),
    linear-gradient(135deg, #7c5cfc 0%, #5b34e8 55%, #4a26c9 100%);
  color: #fff;
  box-shadow: 0 50px 100px -48px rgba(70, 40, 190, 0.7);
}
.cta-band .eyebrow {
  color: #ffe6a6;
}
.cta-band .eyebrow::before {
  background: var(--yellow);
}
.cta-band h2 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}
.cta-band p {
  max-width: 460px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}
.cta-band .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
}
.cta-mascot {
  position: absolute;
  right: 4%;
  bottom: -8%;
  width: min(300px, 28%);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(30, 10, 80, 0.35));
  animation: float 6.5s ease-in-out infinite;
  pointer-events: none;
}
.cta-band::after {
  position: absolute;
  top: 18%;
  right: 26%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 40px 80px 0 0 rgba(255, 255, 255, 0.65),
    120px -30px 0 0 rgba(255, 201, 60, 0.7),
    180px 100px 0 0 rgba(255, 255, 255, 0.4);
  content: "";
  pointer-events: none;
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  padding: clamp(46px, 6vw, 74px) 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fcfaff 0%, #f7f1ff 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
}
.footer-brand img {
  width: 120px;
  height: auto;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: var(--purple);
  border-color: var(--lav-2);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 17px;
  height: 17px;
}
.footer-col h3 {
  margin-bottom: 14px;
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--purple-deep);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.76rem;
}

/* ========================================================================
   Documentation pages
   ======================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px);
  background: radial-gradient(700px 420px at 88% 0%, #ffe9b8 0%, transparent 62%),
    radial-gradient(640px 420px at 4% 0%, #f0e5ff 0%, transparent 68%);
}
.page-hero::after {
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 600;
}
.crumbs a {
  color: var(--ink-2);
  transition: color 0.2s;
}
.crumbs a:hover {
  color: var(--purple-deep);
}
.crumbs span[aria-hidden] {
  color: var(--line-strong);
}
.page-hero .shell {
  position: relative;
  z-index: 1;
}
.page-hero-art {
  position: absolute;
  z-index: 0;
  right: 3%;
  bottom: -18px;
  width: min(260px, 21vw);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(84, 51, 190, 0.22));
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}
.page-hero .eyebrow {
  margin: 26px 0 12px;
}
.page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  letter-spacing: -0.05em;
}
.page-hero .lead {
  max-width: 640px;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.62;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.page-meta span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 600;
}

.doc-layout {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  padding: 36px 0 clamp(64px, 8vw, 100px);
}
.doc-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 14px;
  align-self: start;
}
.side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(165deg, #f7f1ff 0%, #ffffff 70%);
}
.side-mascot {
  width: 78px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 14px 20px rgba(84, 51, 190, 0.18));
}
.side-card h2 {
  font-size: 1rem;
  letter-spacing: -0.025em;
}
.side-card p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.79rem;
  line-height: 1.5;
}
.side-card .btn {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 12px;
  font-size: 0.78rem;
  white-space: normal;
  text-align: center;
}
.doc-toc {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 50px -46px rgba(44, 22, 112, 0.4);
}
.doc-toc > summary {
  padding: 0 0 12px;
  color: var(--ink-3);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}
.doc-toc > summary::-webkit-details-marker {
  display: none;
}
.doc-toc nav {
  display: grid;
  gap: 2px;
}
.doc-toc nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s, background 0.2s;
}
.doc-toc nav a:hover {
  color: var(--ink);
  background: var(--lav);
}
.doc-toc nav a.is-active {
  background: var(--lav);
  color: var(--purple-deep);
}
.doc-toc nav a.is-active::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 16px;
  border-radius: 3px;
  background: var(--purple);
  content: "";
  transform: translateY(-50%);
}

.doc-body {
  max-width: 780px;
}
.doc-intro {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, #fbf7ff 0%, #fff 70%);
}
.doc-intro h2 {
  font-size: 1.35rem;
}
.doc-intro p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.65;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  margin-top: 14px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 46px -46px rgba(44, 22, 112, 0.4);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.step:hover {
  border-color: var(--lav-2);
}
.step-num {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #8f6dff, #5b34e8);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 10px 20px -12px rgba(91, 52, 232, 0.7);
}
.step h2 {
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}
.step p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.65;
}
.tip {
  display: block;
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  background: var(--yellow-soft);
  color: #75590f;
  font-size: 0.82rem;
  line-height: 1.6;
}
.tip b {
  display: block;
  margin-bottom: 2px;
  color: #5c4508;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.callout {
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid var(--lav-2);
  border-radius: 24px;
  background: linear-gradient(150deg, #f6f0ff 0%, #fdfaff 100%);
}
.callout h2 {
  font-size: 1.05rem;
  color: var(--purple-deep);
}
.callout p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.65;
}
.doc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 28px 30px;
  border-radius: 26px;
  background: radial-gradient(80% 120% at 100% 0%, #a78bfa 0%, transparent 60%),
    linear-gradient(135deg, #7c5cfc, #5430d8);
  color: #fff;
  box-shadow: 0 36px 70px -40px rgba(70, 40, 190, 0.6);
}
.doc-cta h2 {
  font-size: 1.35rem;
  color: #fff;
}
.doc-cta p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}
.doc-footlink {
  margin-top: 22px;
  text-align: center;
}

/* ------------------------------------------------------------------- faq */
.faq-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}
.faq-search {
  position: relative;
}
.faq-search svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  transform: translateY(-50%);
  pointer-events: none;
}
.faq-search input {
  width: 100%;
  height: 54px;
  padding: 0 18px 0 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-search input::placeholder {
  color: var(--ink-3);
}
.faq-search input:focus {
  border-color: var(--violet);
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.12);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.chip:hover {
  border-color: var(--lav-2);
  color: var(--ink);
}
.chip[aria-pressed="true"] {
  border-color: transparent;
  background: var(--purple);
  color: #fff;
}
.faq-groups {
  display: grid;
  gap: 30px;
}
.faq-group-title {
  margin-bottom: 12px;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}
.faq-list {
  display: grid;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] {
  border-color: var(--lav-2);
  background: linear-gradient(180deg, #fdfaff 0%, #fff 100%);
}
.faq-item summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--lav);
  color: var(--purple-deep);
  content: "+";
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  padding: 0 20px 18px;
}
.faq-answer p {
  color: var(--ink-2);
  font-size: 0.89rem;
  line-height: 1.65;
}
.faq-empty {
  padding: 18px;
  border-radius: 14px;
  background: var(--lav);
  color: var(--ink-2);
  text-align: center;
  font-size: 0.9rem;
}
.faq-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 26px 28px;
  border: 1px solid var(--lav-2);
  border-radius: 24px;
  background: linear-gradient(150deg, #f6f0ff 0%, #fdfaff 100%);
}
.faq-help h2 {
  font-size: 1.2rem;
}
.faq-help p {
  margin-top: 4px;
  max-width: 480px;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* -------------------------------------------------------------- reveal anim */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .page-hero-art {
    width: 180px;
    right: 2%;
    opacity: 0.55;
  }
  .nav {
    gap: 0;
  }
  .nav a {
    padding: 8px 11px;
  }
  .brand img:last-child {
    width: 94px;
  }
  .how-card {
    padding: 26px 22px 28px;
  }
  .shoe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --shell: min(1200px, 100% - 36px);
  }
  .nav,
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .hero-copy {
    max-width: 470px;
  }
  .hero-chip-1 {
    top: 14%;
    left: 74%;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-card {
    padding: 26px;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .preview-copy {
    max-width: none;
  }
  .stage-blob {
    padding-top: 8px;
  }
  .plus-grid {
    grid-template-columns: 1fr;
  }
  .faq-teaser {
    grid-template-columns: 1fr;
  }
  .faq-teaser .h2-lg {
    max-width: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 26px;
  }
  .doc-side {
    position: static;
  }
  .side-card {
    display: none;
  }
  .doc-toc {
    padding: 16px 18px;
  }
  .doc-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .doc-toc nav a {
    padding: 7px 10px;
  }
  .doc-toc nav a.is-active::before {
    display: none;
  }
  .doc-body {
    max-width: none;
  }
  .cta-mascot {
    position: relative;
    right: auto;
    bottom: auto;
    width: 180px;
    margin-top: 26px;
  }
  .cta-band {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .hero {
    align-items: stretch;
    min-height: max(calc(100svh - var(--header-h)), 560px);
    padding-block: 0;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-block: clamp(20px, 4vh, 40px) clamp(24px, 4vh, 36px);
  }
  .hero-copy {
    width: 100%;
    max-width: 560px;
  }
  .hero-sub {
    max-width: 380px;
    margin-top: 14px;
  }
  .hero-actions {
    margin-top: 22px;
  }
  .hero-scene::after {
    background: linear-gradient(
      180deg,
      rgba(253, 249, 255, 0.45) 0%,
      rgba(253, 249, 255, 0) 12%,
      rgba(253, 249, 255, 0) calc(var(--copy-top) - 9%),
      rgba(253, 249, 255, 0.9) calc(var(--copy-top) - 1.5%),
      #fdf9ff var(--copy-top)
    );
  }
  .hero-fallback {
    top: 42%;
    left: 50%;
    width: min(62vw, 320px);
  }
  .hero-chip {
    display: none;
  }
}

@media (max-width: 900px) and (max-height: 660px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
  }
  .hero .pill,
  .hero-sub {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2.4rem, 8.6vw, 3.1rem);
  }
  /* The Play button already says where to get it; keep the phone hero short. */
  .hero .pill {
    display: none;
  }
  .phone {
    width: min(300px, 86%);
  }
  .phone-float {
    font-size: 0.68rem;
  }
  .phone-float-1 {
    left: -2%;
  }
  .phone-float-2 {
    right: -2%;
  }
  .plus-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .plus-stat {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
  }
  .plus-stat strong {
    font-size: 1.3rem;
  }
  .plus-stat small {
    margin: 0;
    text-align: right;
  }
  .shoe-grid {
    grid-template-columns: 1fr;
  }
  .shoe-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 20px;
  }
  .shoe-art {
    grid-row: span 2;
    margin: 0;
  }
  .shoe-card p {
    grid-column: 2;
    margin-top: 0;
  }
  .faq-help {
    align-items: flex-start;
    flex-direction: column;
  }
  .faq-help .btn {
    width: 100%;
  }
  .footer-grid {
    gap: 28px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }
  .step-num {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 0.9rem;
  }
  .doc-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .doc-cta .btn {
    width: 100%;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 8.6vw, 2.8rem);
  }
}

@media (max-width: 480px) {
  :root {
    --shell: calc(100% - 28px);
  }
  .page-hero-art {
    display: none;
  }
  .lang-name {
    display: none;
  }
  .lang-code {
    display: inline;
  }
  .brand-mascot {
    width: 30px;
    height: 30px;
  }
  .brand img:last-child {
    width: 82px;
  }
  .lang-btn {
    padding: 0 10px;
  }
  .lang-btn .globe {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 9.4vw, 2.6rem);
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .play-btn {
    min-height: 54px;
    padding: 8px 16px 8px 12px;
    gap: 9px;
  }
  .hero-actions .play-btn strong {
    font-size: 0.98rem;
  }
  .hero-actions .btn-ghost {
    padding: 0 17px;
    font-size: 0.88rem;
  }
  .marquee-group {
    gap: 22px;
    padding: 14px 11px;
  }
  .marquee-group span {
    gap: 22px;
    font-size: 0.68rem;
  }
  .preview-grid {
    padding: 22px 18px;
    border-radius: 30px;
  }
  .app-mascot {
    width: 76px;
  }
  .phone-float-1 {
    top: 8%;
  }
  .phone-float-2 {
    bottom: 8%;
  }
  .site-footer {
    padding-top: 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
