/* ============================================================
   Jeevi — landing page
   Cyberpunk / glassmorphism, matching the app's design system.
   ============================================================ */
:root {
  --bg: #000000;
  --surface: #0a0a12;
  --purple: #9333ea;
  --purple-bright: #a855f7;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --text: #f4f4f8;
  --muted: #9aa0b4;
  --muted-dim: #6b7185;
  --glass-border: rgba(255, 255, 255, 0.14);
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease;
}
.nav.scrolled {
  background: rgba(6, 6, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__mascot {
  width: 34px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 14px rgba(147, 51, 234, .65));
  transform: translateY(1px);
  opacity: 0;
}
body.is-loaded .nav__mascot {
  animation:
    mascotFlyIn 1s .42s cubic-bezier(.22,.84,.24,1.12) both,
    mascotFloat 4.6s 1.55s ease-in-out infinite;
}
@keyframes mascotFlyIn {
  0% {
    opacity: 0;
    transform: translate(-120px, 54px) scale(.3) rotate(-24deg);
    filter: blur(6px) drop-shadow(0 0 24px rgba(147, 51, 234, .9));
  }
  68% {
    opacity: 1;
    transform: translate(8px, -4px) scale(1.06) rotate(7deg);
    filter: blur(0) drop-shadow(0 0 20px rgba(147, 51, 234, .78));
  }
  100% {
    opacity: 1;
    transform: translateY(1px) scale(1) rotate(0deg);
    filter: blur(0) drop-shadow(0 0 14px rgba(147, 51, 234, .65));
  }
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(1px) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(3deg); }
}

.brandmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--sans);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: lowercase;
  color: #fff;
}
.brandmark span {
  text-shadow:
    0 0 10px rgba(168, 85, 247, .92),
    0 0 26px rgba(147, 51, 234, .52);
}
.brandmark--nav { font-size: 30px; }
.brandmark--footer { font-size: 34px; }

.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin-left: clamp(28px, 6vw, 96px);
  margin-right: auto;
}
.nav__links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--purple-bright);
  transition: width .28s ease;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  width: 100%;
  background: linear-gradient(90deg, var(--purple-bright), var(--cyan));
}

.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__download {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(255, 255, 255, .35);
}
.nav__download.is-active { color: #fff; border-bottom-color: rgba(168, 85, 247, .75); }
.nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 8px var(--purple-bright);
  animation: navPulse 2.4s ease-in-out infinite;
}
@keyframes navPulse {
  0%, 100% { transform: scale(.88); opacity: .7; }
  50% { transform: scale(1.22); opacity: 1; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: #000;
  transform: scale(1.04);
  will-change: transform;
}
.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero__lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 18%, rgba(168, 85, 247, .78) 0 0.34rem, transparent .88rem),
    radial-gradient(circle at 74% 29%, rgba(255, 255, 255, .16) 0 0.34rem, transparent .96rem),
    radial-gradient(circle at 81% 12%, rgba(255, 98, 98, .84) 0 0.24rem, transparent .8rem),
    radial-gradient(circle at 88% 8%, rgba(82, 216, 255, .88) 0 0.32rem, transparent .95rem),
    radial-gradient(circle at 93% 21%, rgba(255, 214, 127, .72) 0 0.26rem, transparent .9rem);
  mix-blend-mode: screen;
  opacity: .72;
  animation: heroTwinkle 5.5s ease-in-out infinite;
}
.hero__cursor-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 1;
  width: clamp(280px, 30vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(147, 51, 234, .26) 0%, rgba(82, 216, 255, .12) 32%, rgba(147, 51, 234, .06) 48%, rgba(0, 0, 0, 0) 72%);
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: .78;
  transform: translate3d(-50%, -50%, 0);
  will-change: left, top, opacity;
}
@keyframes heroTwinkle {
  0%, 100% { opacity: .6; }
  45% { opacity: .9; }
  65% { opacity: .74; }
}
/* scrims: deepen the left so text always reads, soft top for nav, bottom fade into band */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.92) 28%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 72%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(180deg, rgba(0,0,0,0) 78%, rgba(0,0,0,.85) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
}
.hero__content {
  max-width: 640px;
  padding-top: 40px;
  will-change: transform;
}

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 6px;
}

.hero__title {
  font-weight: 600;
  font-size: clamp(96px, 19vw, 290px);
  line-height: .86;
  letter-spacing: -.04em;
  margin: 4px 0 6px -.06em;
  color: #fff;
}
.hero__title .glow {
  color: #fff;
  text-shadow:
    0 0 18px rgba(168, 85, 247, .95),
    0 0 46px rgba(147, 51, 234, .85),
    0 0 90px rgba(124, 58, 237, .6);
  animation: pulse 3.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { text-shadow: 0 0 18px rgba(168,85,247,.85), 0 0 46px rgba(147,51,234,.7), 0 0 90px rgba(124,58,237,.5); }
  50%      { text-shadow: 0 0 24px rgba(168,85,247,1),   0 0 64px rgba(147,51,234,.95), 0 0 120px rgba(124,58,237,.7); }
}

.hero__tagline {
  font-family: var(--mono);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  margin: 22px 0 38px;
}

.hero__cta-row {
  position: relative;
  width: fit-content;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__cta-buddy {
  position: absolute;
  left: 184px;
  top: -80px;
  z-index: 3;
  width: 76px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(.72) rotate(-10deg);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.hero__cta-buddy-burst {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, .34) 0%, rgba(168, 85, 247, .1) 38%, rgba(82, 216, 255, 0) 68%);
  opacity: 0;
  transform: scale(.72);
  transition: transform .28s ease, opacity .24s ease;
}
.hero__cta-buddy-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(124, 58, 237, .4));
}
body.is-loaded .hero__cta-buddy {
  animation: none;
}
body.is-loaded:not(.mascot-entry-done) .hero__cta-buddy {
  animation: heroBuddyEnter 1.08s 1.05s cubic-bezier(.22,.84,.22,1.08) both;
}
body.mascot-entry-done .hero__cta-buddy {
  opacity: .92;
  transform: translate3d(0, -2px, 0) scale(.9) rotate(-4deg);
}
body.is-loaded .hero__cta-buddy-img {
  animation: heroBuddyFloat 4.2s 2.2s ease-in-out infinite;
}
.hero__cta-row[data-buddy="ios"] .hero__cta-buddy {
  opacity: 1;
  transform: translate3d(-98px, 18px, 0) scale(1) rotate(-12deg);
}
.hero__cta-row[data-buddy="android"] .hero__cta-buddy {
  opacity: 1;
  transform: translate3d(184px, 0, 0) scale(1) rotate(10deg);
}
.hero__cta-row[data-buddy] .hero__cta-buddy-burst {
  opacity: 1;
  transform: scale(1.06);
}
@keyframes heroBuddyEnter {
  0% {
    opacity: 0;
    transform: translate3d(-220px, -150px, 0) scale(.34) rotate(-28deg);
    filter: blur(6px);
  }
  74% {
    opacity: 1;
    transform: translate3d(18px, 6px, 0) scale(1.05) rotate(8deg);
    filter: blur(0);
  }
  100% {
    opacity: .92;
    transform: translate3d(0, -2px, 0) scale(.9) rotate(-4deg);
    filter: blur(0);
  }
}
@keyframes heroBuddyFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}
.hero__scroll {
  position: absolute;
  right: 30px;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  transition: opacity .24s ease;
}
.hero__scroll span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: '';
  width: 2px;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(168, 85, 247, .96), rgba(255, 255, 255, 0));
  animation: scrollMarker 2.6s ease-in-out infinite;
}
@keyframes scrollMarker {
  0%, 100% { opacity: .34; transform: scaleY(.72); }
  50% { opacity: 1; transform: scaleY(1); }
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  opacity: 0;
}
.btn:hover::before { animation: btnSheen .9s ease; }
@keyframes btnSheen {
  0% { left: -30%; opacity: 0; }
  12% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}
.btn__icon { width: 20px; height: 20px; }
.btn--primary {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  box-shadow: 0 10px 34px rgba(124, 58, 237, .5);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 18px 54px rgba(124, 58, 237, .72); }
.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { transform: translateY(-3px) scale(1.01); border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: 0 16px 46px rgba(255, 255, 255, .08); }

/* ===================== TRUST BAND ===================== */
.trust {
  position: relative;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(124, 58, 237, .14), transparent 60%),
    radial-gradient(900px 500px at 95% 120%, rgba(6, 182, 212, .1), transparent 60%),
    #04040a;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 72px);
}
.trust__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.5fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.trust__title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.trust__title em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(100deg, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust__copy {
  margin: 20px 0 22px;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
}
.trust__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  transition: gap .2s;
}
.trust__link:hover { gap: 14px; }
.trust__link span { font-size: 10px; }

/* gauge */
.trust__gauge { display: flex; justify-content: center; }
.gauge {
  position: relative;
  width: 220px;
  height: 220px;
  transition: transform .3s ease, filter .3s ease;
}
.gauge:hover {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 0 24px rgba(147, 51, 234, .18));
}
.gauge__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 6; }
.gauge__progress {
  fill: none;
  stroke: url(#ring);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 553;          /* 2*pi*88 ≈ 553 */
  stroke-dashoffset: 553;
  filter: drop-shadow(0 0 8px rgba(147, 51, 234, .8));
  transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1);
}
.gauge.in .gauge__progress { stroke-dashoffset: 72; } /* ~8.7/10 */
.gauge__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.gauge__num { font-size: 52px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.gauge__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-top: 8px;
}
.gauge__sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.gauge__check {
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(147, 51, 234, .8);
}
.gauge__check svg { width: 15px; height: 15px; }

/* pillars */
.trust__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 0 clamp(16px, 2vw, 30px);
  border-left: 1px solid rgba(255, 255, 255, .08);
  transition: transform .28s ease, opacity .28s ease;
}
.pillar:first-child { border-left: none; padding-left: 0; }
.pillar__icon { color: var(--purple-bright); display: block; margin-bottom: 14px; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar:hover { transform: translateY(-4px); }
.pillar:hover .pillar__icon svg { transform: scale(1.08); }
.pillar__icon svg { transition: transform .24s ease; }
.pillar h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pillar p {
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__title .glow { animation: none; }
  .hero__lights,
  .nav__dot,
  .hero__scroll::after,
  .btn:hover::before { animation: none; }
  .hero__cursor-glow { opacity: .24; }
  .nav__mascot,
  .hero__cta-buddy,
  .hero__cta-buddy-img { animation: none !important; opacity: 1; transform: none; }
}

/* ===================== SHARED SECTION SHELL ===================== */
.section { padding: clamp(72px, 9vw, 140px) clamp(24px, 5vw, 72px); position: relative; }
.section__inner { max-width: 1400px; margin: 0 auto; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--purple-bright);
  display: inline-block;
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.section__title em {
  font-style: normal;
  background: linear-gradient(100deg, #a855f7, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lede {
  margin-top: 22px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  transition: gap .2s;
}
.text-link:hover { gap: 14px; }
.text-link span { font-size: 10px; }

/* ===================== FEATURES ===================== */
.features {
  background:
    radial-gradient(900px 460px at 12% 0%, rgba(124, 58, 237, .12), transparent 60%),
    #04040a;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.feature {
  position: relative;
  padding: clamp(26px, 2.4vw, 36px);
  border-radius: 20px;
  background: rgba(26, 26, 46, .5);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.feature::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(168, 85, 247, .2), transparent 58%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feature:hover {
  border-color: rgba(168, 85, 247, .5);
  background: rgba(34, 28, 56, .6);
  box-shadow: 0 20px 50px rgba(124, 58, 237, .22);
}
.feature.is-tilting::before,
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-bright);
  background: rgba(147, 51, 234, .12);
  border: 1px solid rgba(168, 85, 247, .28);
  margin-bottom: 22px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature:hover .feature__icon,
.feature.is-tilting .feature__icon {
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 12px 24px rgba(124, 58, 237, .18);
}
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.feature p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.feature em { font-style: normal; color: var(--purple-bright); }

/* ===================== HOW IT WORKS ===================== */
.how { background: #000; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  transition: transform .28s ease;
}
.step::after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-bright), var(--cyan));
  transition: width .32s ease;
}
.step:hover { transform: translateY(-4px); }
.step:hover::after { width: 100%; }
.step__num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--purple-bright);
  display: block;
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.step p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ===================== SAFETY ===================== */
.safety {
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(6, 182, 212, .1), transparent 60%),
    radial-gradient(700px 400px at 0% 90%, rgba(124, 58, 237, .12), transparent 60%),
    #04040a;
}
.safety__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
}
.safety__lede { position: sticky; top: 120px; }
.safety__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 30px) clamp(24px, 3vw, 48px);
}
.safety-item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(168, 85, 247, .45);
  transition: transform .26s ease, border-color .26s ease;
}
.safety-item::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-bright), var(--cyan));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.safety-item:hover {
  transform: translateX(6px);
  border-left-color: rgba(168, 85, 247, .8);
}
.safety-item:hover::before { transform: scaleY(1); }
.safety-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.safety-item p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ===================== STORIES ===================== */
.stories { background: #000; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}
.story {
  position: relative;
  padding: clamp(28px, 2.6vw, 40px);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(26,26,46,.6), rgba(10,10,18,.6));
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color .28s ease, box-shadow .28s ease;
}
.story::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(82, 216, 255, .16), transparent 58%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.story.is-tilting::before,
.story:hover::before { opacity: 1; }
.story:hover {
  border-color: rgba(82, 216, 255, .2);
  box-shadow: 0 22px 54px rgba(82, 216, 255, .08);
}
.story blockquote {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.01em;
  color: #eceaf4;
  margin-bottom: 26px;
  transition: transform .25s ease, color .25s ease;
}
.story:hover blockquote,
.story.is-tilting blockquote {
  transform: translateY(-2px);
  color: #fff;
}
.story figcaption { display: flex; flex-direction: column; gap: 4px; }
.story__name { font-weight: 700; font-size: 15px; }
.story__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

/* ===================== DOWNLOAD ===================== */
.download {
  text-align: center;
  background:
    radial-gradient(700px 460px at 50% 0%, rgba(124, 58, 237, .22), transparent 65%),
    #04040a;
  border-top: 1px solid rgba(255,255,255,.05);
}
.download__inner { max-width: 760px; }
.download__title { font-size: clamp(30px, 4.4vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
.download__title em {
  font-style: normal;
  background: linear-gradient(100deg, #a855f7, #06b6d4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.download__copy { margin: 22px auto 36px; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.download__cta { justify-content: center; }

/* ===================== FOOTER ===================== */
.footer { background: #000; border-top: 1px solid rgba(255,255,255,.08); padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px) 0; }
.footer__inner {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 48px;
}
.footer__logo { width: fit-content; }
.footer__tagline {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.footer__by { margin-top: 10px; font-size: 12.5px; color: var(--muted-dim); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 4px;
}
.footer__col a { font-size: 14px; color: rgba(255,255,255,.8); transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--purple-bright); }
.footer__addr { font-size: 13px; line-height: 1.6; color: var(--muted-dim); }
.footer__bar {
  max-width: 1400px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted-dim);
}
.footer__bar-links a:hover { color: var(--purple-bright); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .trust__pillars { grid-column: 1 / -1; margin-top: 12px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .safety__inner { grid-template-columns: 1fr; gap: 44px; }
  .safety__lede { position: static; }
  .stories-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero__bg-image { object-position: 68% center; }
  .hero__cursor-glow { display: none; }
  .hero__scroll { display: none; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 35%, rgba(0,0,0,.85) 100%);
  }
}
@media (max-width: 640px) {
  .nav__download { display: none; }
  .nav__brand { gap: 10px; }
  .nav__mascot { width: 28px; }
  .hero__content { padding-top: 80px; }
  .hero__cta-row { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta-buddy { display: none; }
  .hero__lights { opacity: .48; }
  .btn { justify-content: center; }
  .trust__inner { grid-template-columns: 1fr; text-align: center; }
  .trust__copy { margin-left: auto; margin-right: auto; }
  .trust__pillars { grid-template-columns: 1fr; gap: 28px; }
  .pillar { border-left: none; padding: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .safety__list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 10px; text-align: center; }
}

/* ===================== LEGAL PAGES ===================== */
.nav--solid {
  position: fixed;
  background: rgba(6, 6, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.legal-body { background: #04040a; }
.legal { padding-top: 84px; }
.legal__hero {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(124, 58, 237, .18), transparent 60%),
    #04040a;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.legal__hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 40px) clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 16px;
}
.legal__back {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  width: fit-content;
}
.legal__back:hover { color: var(--purple-bright); }

.legal__doc {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 40px) clamp(60px, 8vw, 110px);
  color: #d7d8e2;
  font-size: 15.5px;
  line-height: 1.78;
}
.legal__doc h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 18px;
}
.legal__doc h2 {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  margin: 52px 0 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.09);
  scroll-margin-top: 96px;
}
.legal__doc h3 {
  font-size: 17px;
  font-weight: 700;
  color: #f0f0f6;
  margin: 30px 0 10px;
}
.legal__doc h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--purple-bright);
  margin: 24px 0 6px;
}
.legal__doc p { margin: 0 0 16px; }
.legal__doc strong { color: #fff; font-weight: 700; }
.legal__doc a { color: var(--purple-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal__doc a:hover { color: #c79bff; }
.legal__doc code {
  font-family: var(--mono);
  font-size: 13px;
  background: rgba(255,255,255,.07);
  padding: 2px 6px;
  border-radius: 5px;
}
.legal__doc ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal__doc li { margin-bottom: 9px; }
.legal__doc li::marker { color: var(--purple-bright); }
.legal__doc ul.toc {
  list-style: none;
  padding: 22px 24px;
  margin: 18px 0 12px;
  columns: 2;
  column-gap: 40px;
  background: rgba(26,26,46,.4);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  counter-reset: toc;
}
.legal__doc ul.toc li {
  counter-increment: toc;
  break-inside: avoid;
  font-size: 14px;
  color: var(--muted);
}
.legal__doc ul.toc li::before {
  content: counter(toc, decimal-leading-zero) "  ";
  font-family: var(--mono);
  color: var(--purple-bright);
  font-size: 12px;
}
.legal__doc blockquote {
  margin: 0 0 26px;
  padding: 20px 24px;
  background: rgba(147, 51, 234, .08);
  border-left: 3px solid var(--purple-bright);
  border-radius: 0 12px 12px 0;
  color: #e7e3f4;
  font-size: 15px;
}
.legal__doc blockquote strong { color: #fff; }
.table-wrap { overflow-x: auto; margin: 0 0 22px; border-radius: 12px; border: 1px solid var(--glass-border); }
.legal__doc table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.legal__doc th, .legal__doc td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  vertical-align: top;
}
.legal__doc thead th {
  background: rgba(147, 51, 234, .12);
  color: #fff;
  font-weight: 600;
  letter-spacing: .04em;
}
.legal__doc tbody tr:last-child td { border-bottom: none; }
.legal__doc tbody tr:hover { background: rgba(255,255,255,.02); }

@media (max-width: 640px) {
  .legal__doc ul.toc { columns: 1; }
}
