@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --ink: #12122a;
  --text: #3a3a52;
  --muted: #6e6e84;
  --soft-text: #8d8da3;
  --line: #e9e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f4f7;
  --pink: #E20D79;
  --pink-2: #ff4d8d;
  --pink-3: #b80d4a;
  --violet: #7b5cff;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --header-h: 92px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --shadow-sm: 0 2px 10px rgba(18, 18, 42, .05);
  --shadow: 0 20px 50px -20px rgba(18, 18, 42, .18);
  --shadow-lg: 0 40px 90px -30px rgba(18, 18, 42, .35);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--pink);
  color: #fff;
}

/* sprite icons (<svg><use/></svg>) */
svg:not([viewBox]) {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 11vw, 100px) 0;
}

/* =========================================================
   TYPE
   ========================================================= */
.eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.h2 {
  font-size: clamp(1.7rem, 3.4vw, 4rem);
  line-height: 1.18;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.02em;
}

.soft {
  color: #73716B;
  font-weight: 400;
}

.sub {
  margin-top: 14px;
  font-size: clamp(.9rem, 1.1vw, 1.6rem);
  color: #181829;
  margin-inline: auto;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* =========================================================
   BUTTONS / CHIPS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 24px 0 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, box-shadow .4s var(--ease), color .3s;
  will-change: transform;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(18, 18, 42, .6);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--pink-2), var(--pink));
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}

.btn-dark:hover::before {
  transform: translateY(0);
}

.btn-dark:hover {
  box-shadow: 0 16px 40px -14px rgba(230, 25, 95, .7);
}

.btn-link {
  color: var(--ink);
  padding: 0 6px;
  position: relative;
}

.btn-link::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 28px;
  bottom: 12px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .5s var(--ease);
}

.btn-link:hover::after {
  transform: scaleX(0);
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .3s var(--ease);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn-pink {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(230, 25, 95, .8);
}

.icon-btn:hover {
  transform: scale(1.08) rotate(-8deg);
}

.pill {
  position: relative;
  width: min(315px, 100%);
  padding: 7px 20px;
  border-radius: 999px;
  background: #ededed;
  overflow: hidden;
}

/* static window so the edge fade stays put while text scrolls */
.pill-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.pill-track {
  display: flex;
  width: max-content;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #404040;
  white-space: nowrap;
  animation: pill-marquee 14s linear infinite;
}

.pill-track span {
  padding-right: .75em;
}

.pill:hover .pill-track {
  animation-play-state: paused;
}

@keyframes pill-marquee {
  to {
    transform: translateX(-50%);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
}

.chip svg {
  width: 18px;
  height: 18px;
  color: var(--pink-2);
}

.chip-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.chip-ghost svg {
  color: var(--pink);
}

/* =========================================================
   PROGRESS / HEADER
   ========================================================= */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--pink-2), var(--pink), var(--violet));
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #ececf1;
  transition: transform .5s var(--ease), box-shadow .4s, height .4s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 10px 30px -20px rgba(18, 18, 42, .25);
  height: calc(var(--header-h) - 10px);
}

.header.hide {
  transform: translateY(-100%);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

.logo img {
  display: block;
  height: 42px;
  width: auto;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease);
}

.logo:hover .logo-mark svg {
  transform: rotate(90deg) scale(1.06);
}

.logo-text {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .16em;
  line-height: 1;
  color: var(--ink);
}

.logo-sm {
  gap: 8px;
}

.logo-sm .logo-mark {
  width: 22px;
  height: 22px;
}

.logo-sm .logo-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: color .3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.nav-link:hover {
  color: var(--pink);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: #7d7d86;
  font-weight: 400;
}

.nav-link.active::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.6vw, 46px);
}

.header-actions .icon-btn {
  width: 42px;
  height: 42px;
  box-shadow: none;
}

.header-actions .icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.header-cta {
  height: 56px;
  padding: 0 24px 0 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  gap: 4px;
  box-shadow: none;
}

.header-cta svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  z-index: 2;
}

.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.6px;
  background: #fff;
  border-radius: 2px;
  transition: transform .5s var(--ease), top .5s var(--ease);
}

.burger span:first-child {
  top: 17px;
}

.burger span:last-child {
  top: 24px;
}

.menu-open .burger span:first-child {
  top: 20.5px;
  transform: rotate(45deg);
}

.menu-open .burger span:last-child {
  top: 20.5px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) calc(var(--header-h) / 2));
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}

.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 40px) calc(var(--header-h) / 2));
  visibility: visible;
  transition: clip-path .8s var(--ease-in-out), visibility 0s;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-nav a,
.mobile-menu-cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.mobile-menu-nav a {
  font-size: clamp(18px, 5.4vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.01em;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.mobile-menu-cta {
  align-self: flex-start;
}

.menu-open .mobile-menu-nav a,
.menu-open .mobile-menu-cta {
  opacity: 1;
  transform: none;
  transition-delay: calc(.25s + var(--i) * .07s);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 60px));
}

.hero-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.hero-title {
  margin-top: 28px;
  font-size: clamp(1.85rem, 4.3vw, 5.2rem);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--ink);
}

.hero-title .line {
  display: block;
}

.hero-title .line-soft {
  color:#73716B;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  margin-top: 30px;
}

.banner-wrap {
  margin-top: clamp(36px, 5vw, 60px);
}

/* Kosmoz network banner */
.kosmoz {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-top: clamp(40px, 6vw, 80px);
  background: radial-gradient(70% 55% at 18% 12%, rgba(255, 170, 200, .85), transparent 70%),
    radial-gradient(80% 70% at 100% 100%, #5e0630 0%, transparent 70%),
    linear-gradient(160deg, #ff4f86 0%, #f2185c 45%, #c80f4c 75%, #8c0a3a 100%);
}

.kosmoz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.kosmoz-title {
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.kosmoz-logo img {
  width: clamp(150px, 18vw, 240px);
  height: auto;
}

.kosmoz-network {
  --kw: max(125%, 1000px);
  position: relative;
  width: var(--kw);
  margin-left: calc((100% - var(--kw)) / 2);
  aspect-ratio: 1440 / 545;
  margin-top: 20px;
  container-type: inline-size;
  will-change: transform;
}

.kosmoz-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  will-change: transform;
}

.kosmoz-lines .k-petals path {
  fill: none;
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 1.84;
}

.kosmoz-lines .k-ring {
  fill: none;
  stroke: #f4ecd2;
  stroke-width: 1.84;
}

.kosmoz-network .k-core {
  position: absolute;
  left: 50%;
  top: 97.6146788991%;
  width: 13.1944444444%;
  height: auto;
  max-width: none;
  margin: -6.5972222222% 0 0 -6.5972222222%;
  pointer-events: none;
}

/* Each ring is a square centred on the lotus (720,554 on the 1440 x 545 grid) that rotates;
   its bubbles spin the other way so logos stay upright. Uses `rotate`/`translate` so GSAP can own `transform`. */
.k-orbit {
  position: absolute;
  left: 50%;
  top: 101.6513761468%;
  width: calc(var(--r) * 2 / 1440 * 100%);
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  animation: orbitSpin var(--dur) linear infinite;
}

.k-orbit .k-node {
  pointer-events: auto;
  animation: orbitSpin var(--dur) linear infinite reverse;
}

.k-orbit.is-reverse {
  animation-direction: reverse;
}

.k-orbit.is-reverse .k-node {
  animation-direction: normal;
}

.kosmoz.is-paused .k-orbit,
.kosmoz.is-paused .k-orbit .k-node {
  animation-play-state: paused;
}

@keyframes orbitSpin {
  to {
    rotate: 360deg;
  }
}

.k-node {
  --size: 5.1cqw;
  position: absolute;
  width: var(--size);
  aspect-ratio: 1;
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 28%, #fff 0, #f8f8f8 45%, #dcdcdc 100%);
  box-shadow: 0 12px 24px rgba(90, 0, 25, .35), inset 0 -5px 10px rgba(0, 0, 0, .08), inset 0 3px 6px #fff;
  overflow: hidden;
  transition: box-shadow .6s cubic-bezier(.22, 1, .36, 1), background .6s cubic-bezier(.22, 1, .36, 1);
}

.k-node img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  filter: grayscale(1);
  transition: filter .6s cubic-bezier(.22, 1, .36, 1);
}

.k-node:hover,
.k-node:focus-visible,
.k-node.is-hover {
  z-index: 2;
  background: radial-gradient(circle at 50% 28%, #fff 0, #fff 55%, #ececec 100%);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 18px 36px rgba(90, 0, 25, .5), inset 0 -5px 10px rgba(0, 0, 0, .06), inset 0 3px 6px #fff;
}

.k-node:hover img,
.k-node:focus-visible img,
.k-node.is-hover img {
  filter: grayscale(0);
}

.k-orbit--inner .k-node {
  --size: 4.3cqw;
}

.k-node--mark img {
  width: 42%;
  height: 42%;
}

.k-tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 228px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: rgba(42, 6, 16, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(40, 0, 12, .35);
  color: #fff;
  opacity: 0;
  visibility: hidden;
}

.k-tip-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.k-tip-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}

.k-tip-desc:empty {
  display: none;
}

.k-tip-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 22px 5px 5px;
  border-radius: 40px;
  background: #fff;
  color: #2b2b2b;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

.k-tip-btn:hover .k-tip-icon svg {
  transform: translate(2px, -2px);
}

.k-tip-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e20142;
  display: flex;
  justify-content: center;
  align-items: center;
}

.k-tip-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .k-orbit,
  .k-orbit .k-node {
    animation: none;
  }
}

.banner {
  position: relative;
  aspect-ratio: 1320 / 722;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #05050d;
  transform-origin: 50% 0;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transform: scale(1.1);
  will-change: transform;
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.hero-caption p {
  font-size: 16px;
  color: #181829;
}

.scroll-cue {
  width: 26px;
  height: 42px;
  border: 1.5px solid #BDBDBD;
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--pink);
  animation: cue 1.8s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}

.about-lead {
  font-size: clamp(1.25rem, 2.3vw, 4rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.015em;
}

.about-lead .w {
  color: var(--ink);
  opacity: var(--o, 1);
  transition: opacity .25s linear;
}

.js .about-lead .w {
  --o: .16;
}

.stats {
  display: grid;
  gap: 26px;
}

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.stat strong.stat-inf {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: .9;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat>span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid;
  gap: 14px;
  transform: rotate(-2deg);
  padding: 10px 0;
}

.marquee-row {
  overflow: hidden;
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
  will-change: transform;
}

/* =========================================================
   DISCOVER (pinned on desktop)
   ========================================================= */
.discover {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 80px);
}

.discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.discover-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  align-items: center;
  container-type: inline-size;
  color: #fff;
  background:
    radial-gradient(70% 55% at 18% 12%, rgba(255, 170, 200, .85), transparent 70%),
    radial-gradient(80% 70% at 100% 100%, #5e0630 0%, transparent 70%),
    linear-gradient(160deg, #ff4f86 0%, #f2185c 45%, #c80f4c 75%, #8c0a3a 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.blob-1 {
  width: 70%;
  aspect-ratio: 1;
  left: -20%;
  top: -15%;
  background: #ffb3cd;
  opacity: .45;
  animation: float1 14s ease-in-out infinite alternate;
}

.blob-2 {
  width: 80%;
  aspect-ratio: 1;
  right: -35%;
  bottom: -30%;
  background: #6a0733;
  opacity: .75;
  animation: float2 16s ease-in-out infinite alternate;
}

.blob-3 {
  width: 55%;
  aspect-ratio: 1;
  left: 10%;
  bottom: 5%;
  background: #ff2b6a;
  opacity: .5;
  animation: float1 18s ease-in-out infinite alternate-reverse;
}

@keyframes float1 {
  to {
    transform: translate(30%, 40%) scale(1.2);
  }
}

@keyframes float2 {
  to {
    transform: translate(-30%, -20%) scale(.9);
  }
}

.discover-list {
  width: 100%;
  display: grid;
  gap: clamp(10px, 2.2vw, 30px);
}

.d-item button {
  display: flex;
  align-items: baseline;
  gap: .45em;
  width: 100%;
  text-align: left;
  /* scales with the card so each title fits on one line */
  font-size: clamp(1.05rem, 4.9cqi, 2.05rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .42);
  transition: color .6s var(--ease), transform .6s var(--ease);
}

.d-num {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.d-item.active button {
  color: #fff;
  font-weight: 400;
}

.d-item button:hover {
  color: rgba(255, 255, 255, .8);
  transform: translateX(4px);
}

.discover-stage {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 652 / 854;
  background: linear-gradient(160deg, #f8f4f3 0%, #f2eaed 100%);
}

.stage-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.stage-orb-a {
  width: 55%;
  aspect-ratio: 1;
  left: -10%;
  bottom: -15%;
  background: rgba(255, 77, 141, .35);
  animation: float1 12s ease-in-out infinite alternate;
}

.stage-orb-b {
  width: 45%;
  aspect-ratio: 1;
  right: -10%;
  top: -10%;
  background: rgba(123, 92, 255, .28);
  animation: float2 14s ease-in-out infinite alternate;
}

.scene {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(.97);
  filter: blur(8px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease), visibility 0s .9s;
}

.scene.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: opacity .7s var(--ease) .1s, transform .9s var(--ease) .1s, filter .7s var(--ease) .1s, visibility 0s;
}

.scene.active>* {
  animation: rise .9s var(--ease) both;
}

.scene.active>*:nth-child(2) {
  animation-delay: .1s;
}

.scene.active>*:nth-child(3) {
  animation-delay: .2s;
}

.scene.active>*:nth-child(4) {
  animation-delay: .3s;
}

.scene.active>*:nth-child(5) {
  animation-delay: .4s;
}

/* photo scene: full-bleed image with a slow zoom instead of the rise */
.scene-photo {
  padding: 0;
}

.scene-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.14);
  transition: transform 1.6s var(--ease);
}

.scene-photo.active>* {
  animation: none;
}

.scene-photo.active img {
  transform: scale(1.04);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* -- Mock UI atoms -- */
.ui-ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c));
  box-shadow: 0 6px 16px -6px var(--c);
}

.ui-ico svg {
  width: 18px;
  height: 18px;
}

.ui-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--muted);
}

.ui-search>svg {
  width: 17px;
  height: 17px;
  color: var(--pink);
  flex-shrink: 0;
}

.ui-search>span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-search-go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ui-search-go svg {
  width: 15px;
  height: 15px;
}

.ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  font-size: 11.5px;
  color: var(--text);
  border: 1px solid rgba(18, 18, 42, .06);
}

.ui-chip svg {
  width: 13px;
  height: 13px;
}

.ui-chip.on {
  background: var(--pink);
  color: #fff;
  border-color: transparent;
}

.ui-result {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 360px;
  align-self: flex-end;
}

.ui-result-thumb {
  width: 74px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd1e1, #e6195f 60%, #7b5cff);
}

.ui-result b,
.ui-mini b,
.ui-rec b,
.app-card b,
.pm-task b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.ui-result small,
.ui-mini small,
.ui-rec small,
.app-card small,
.pm-task small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.ui-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.ui-stars svg {
  width: 11px;
  height: 11px;
  color: #ffb020;
}

.ui-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: var(--shadow);
  width: max-content;
  max-width: 100%;
}

.ui-mini-a {
  align-self: flex-start;
}

.ui-mini-b {
  align-self: center;
}

.ui-panel {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.ui-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.ui-panel-head svg {
  width: 16px;
  height: 16px;
  color: var(--pink);
}

.ui-rec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.ui-rec>div {
  flex: 1;
  min-width: 0;
}

.ui-rec em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--pink);
  background: #ffe6ef;
  padding: 4px 10px;
  border-radius: 999px;
}

.ui-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.bubble {
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 88%;
  box-shadow: var(--shadow);
}

.bubble-me {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.bubble-ai {
  align-self: flex-start;
  background: #fff;
  color: var(--text);
  border-bottom-left-radius: 6px;
}

.bubble-ai b {
  color: var(--pink);
  font-weight: 600;
}

.bubble-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.bubble-label svg {
  width: 14px;
  height: 14px;
  color: var(--pink);
}

.typing {
  display: inline-flex;
  gap: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  animation: blink 1.2s infinite;
}

.typing i:nth-child(2) {
  animation-delay: .15s;
}

.typing i:nth-child(3) {
  animation-delay: .3s;
}

@keyframes blink {

  0%,
  80%,
  100% {
    opacity: .25;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.ui-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: var(--soft-text);
  box-shadow: var(--shadow);
}

.ui-input span {
  flex: 1;
}

.ui-input i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
}

.ui-input svg {
  width: 14px;
  height: 14px;
}

.ui-match {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.ui-match-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ui-match-lines path {
  stroke: rgba(230, 25, 95, .4);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  fill: none;
  animation: dash 1.6s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}

.ui-match-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #ff7aa8, var(--pink) 55%, var(--pink-3));
  box-shadow: 0 0 0 10px rgba(230, 25, 95, .1), 0 0 0 22px rgba(230, 25, 95, .06), 0 20px 50px -10px rgba(230, 25, 95, .6);
  animation: pulse 3s ease-in-out infinite;
}

.ui-match-core b {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.ui-match-core small {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 16px rgba(230, 25, 95, .08), 0 0 0 34px rgba(230, 25, 95, .04), 0 20px 50px -10px rgba(230, 25, 95, .6);
  }
}

.ui-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c));
  box-shadow: 0 10px 24px -8px var(--c);
  animation: bob 4s ease-in-out infinite;
}

.ui-node:nth-of-type(2) {
  animation-delay: -1s;
}

.ui-node:nth-of-type(3) {
  animation-delay: -2s;
}

.ui-node:nth-of-type(4) {
  animation-delay: -3s;
}

.ui-node svg {
  width: 22px;
  height: 22px;
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* Pinning (desktop) */
@media (min-width: 992px) and (min-height: 640px) {
  .discover-track.pinned {
    height: 320vh;
  }

  .discover-track.pinned .discover-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
  }

  .discover-track.pinned .discover-grid {
    height: min(calc(100vh - 0px), 820px);
  }

  .discover-track.pinned .discover-stage {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* =========================================================
   FEATURES + SHOWCASE
   ========================================================= */
.universe {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 80px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  overflow: hidden;
  transition: transform .5s var(--ease), background .4s, box-shadow .5s var(--ease);
}

.feature::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 14px;
  border-radius: 10px;
  transition: background .4s, color .4s;
}


.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}

.feature p {
  font-size: 16px;
  color: #73716B;
  line-height: 1.55;
}

.showcase {
  position: relative;
  margin-top: 57px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 8vw, 100px) clamp(16px, 4vw, 60px) clamp(36px, 5vw, 70px);
  min-height: clamp(460px, 52vw, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(160deg, #fff6ef 0%, #ffe3ea 50%, #f1e8ff 100%);
  clip-path: inset(var(--ci, 0%) var(--ci, 0%) round var(--radius-lg));
}

.showcase-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.showcase-bg span:nth-child(1) {
  width: 40%;
  aspect-ratio: 1;
  left: -6%;
  top: 10%;
  background: rgba(255, 159, 67, .35);
  animation: float1 15s ease-in-out infinite alternate;
}

.showcase-bg span:nth-child(2) {
  width: 45%;
  aspect-ratio: 1;
  right: -8%;
  bottom: -10%;
  background: rgba(230, 25, 95, .3);
  animation: float2 17s ease-in-out infinite alternate;
}

.showcase-bg span:nth-child(3) {
  width: 30%;
  aspect-ratio: 1;
  right: 25%;
  top: -10%;
  background: rgba(123, 92, 255, .25);
  animation: float1 13s ease-in-out infinite alternate-reverse;
}

.toggle {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.toggle button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12.5px;
  color: var(--muted);
  border-radius: 999px;
  transition: color .4s;
}

.toggle button svg {
  width: 15px;
  height: 15px;
}

.toggle button[aria-selected="true"] {
  color: #fff;
}

.toggle-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform .6s var(--ease);
}

.showcase.mobile-view .toggle-pill {
  transform: translateX(100%);
}

.device {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  height: clamp(340px, 38vw, 480px);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(120, 20, 60, .35), 0 0 0 1px rgba(18, 18, 42, .06);
  transition: width .9s var(--ease), height .9s var(--ease), border-radius .9s var(--ease);
  display: flex;
  flex-direction: column;
}

.showcase.mobile-view .device {
  width: min(100%, 290px);
  height: clamp(460px, 44vw, 540px);
  border-radius: 40px;
  box-shadow: 0 50px 100px -30px rgba(120, 20, 60, .45), 0 0 0 8px #12122a;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  transition: padding .6s var(--ease), opacity .4s;
}

.device-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5e5ec;
}

.device-bar i:nth-child(1) {
  background: #ff6b6b;
}

.device-bar i:nth-child(2) {
  background: #ffc145;
}

.device-bar i:nth-child(3) {
  background: #3ee08f;
}

.device-bar span {
  margin-left: 12px;
  flex: 1;
  max-width: 300px;
  font-size: 11px;
  color: var(--soft-text);
  padding: 4px 12px;
  background: var(--bg-soft);
  border-radius: 999px;
}

.showcase.mobile-view .device-bar {
  justify-content: center;
  padding: 14px;
}

.showcase.mobile-view .device-bar i,
.showcase.mobile-view .device-bar span {
  display: none;
}

.showcase.mobile-view .device-bar::before {
  content: '';
  width: 80px;
  height: 22px;
  border-radius: 999px;
  background: #12122a;
}

.device-screen {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container-type: inline-size;
  background: linear-gradient(180deg, #fff 0%, #fff7fa 100%);
}

.app {
  padding: 18px clamp(16px, 4cqw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb199, #e6195f);
}

.app-hello {
  font-size: clamp(16px, 4cqw, 22px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
}

.ui-search-app {
  box-shadow: 0 10px 30px -14px rgba(230, 25, 95, .4);
  border: 1px solid #ffe0ea;
}

.ui-search-app>span {
  flex: 0 1 auto;
}

.ui-search-app .ui-search-go {
  margin-left: auto;
}

.caret {
  width: 1.5px;
  height: 16px;
  background: var(--pink);
  margin-left: -8px;
  animation: caret 1s steps(1) infinite;
  flex-shrink: 0;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.app-card {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .4s var(--ease), box-shadow .4s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.app-card .ui-ico {
  margin-bottom: 4px;
}

.app-card-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--bg-soft);
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}

.app-card-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink-2), var(--pink));
}

@container (max-width: 560px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container (max-width: 320px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .app-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    padding: 10px;
  }

  .app-card .ui-ico {
    margin: 0;
  }

  .app-card-bar,
  .app-card small {
    display: none;
  }

  .ui-chips .ui-chip:nth-child(n+4) {
    display: none;
  }
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.float-card b {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}

.float-card small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.float-card-a {
  left: max(12px, calc(50% - 600px));
  top: 34%;
}

.float-card-b {
  right: max(12px, calc(50% - 600px));
  top: 58%;
}

/* =========================================================
   ECOSYSTEM (stacking)
   ========================================================= */
.ecosystem {
  background: #F1F1F1;
}

.stack {
  display: grid;
  gap: 24px;
}

.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 24px + var(--i) * 22px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 -10px 40px -20px rgba(18, 18, 42, .18);
  transform-origin: 50% 0;
  will-change: transform;
  min-height: clamp(360px, 36vw, 440px);
}

.stack-card-text {
  padding: clamp(18px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 0;
}

.stack-card-num {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--soft-text);
  margin-bottom: auto;
  padding-bottom: 24px;
}

.stack-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.stack-card p {
  font-size: 16px;
  color: #73716B;
  margin-bottom: 24px;
}

.stack-card .btn {
  margin-bottom: auto;
}

.stack-card-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.silk {
  position: absolute;
  inset: -30%;
  z-index: -1;
  animation: silk 20s linear infinite;
}

@keyframes silk {
  to {
    transform: rotate(360deg);
  }
}

.vis-pm {
  background: linear-gradient(135deg, #ffd6e2, #f2557f 55%, #c1124d);
}

.vis-pm .silk {
  background: conic-gradient(from 90deg at 60% 40%, transparent, rgba(255, 255, 255, .45), transparent 30%, rgba(255, 120, 160, .5), transparent 60%);
  filter: blur(30px);
}

.vis-ai {
  background: linear-gradient(135deg, #b9b0ff, #8172ff 50%, #4b4fe8);
}

.vis-ai .silk {
  background: conic-gradient(from 0deg at 40% 60%, transparent, rgba(255, 255, 255, .55), transparent 25%, rgba(255, 140, 220, .45), transparent 55%);
  filter: blur(30px);
}

.vis-ent {
  background: linear-gradient(135deg, #5b0a2c, #a3134b 50%, #2a0716);
}

.vis-ent .silk {
  background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(255, 90, 150, .45), transparent 30%, rgba(255, 200, 220, .2), transparent 60%);
  filter: blur(30px);
}

.glass {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 30px 60px -20px rgba(60, 0, 30, .35);
}

.glass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}

.glass-head span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-head svg {
  width: 15px;
  height: 15px;
}

.glass-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
}

.pm-card {
  width: min(100%, 320px);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.pm-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pm-kpis b {
  display: block;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.pm-kpis small,
.pm-progress small {
  font-size: 11px;
  opacity: .85;
}

.pm-progress-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bar {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease) .3s;
}

.visible .bar i,
.stack-card.visible .bar i {
  transform: scaleX(1);
}

.pm-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .8);
  margin-left: -8px;
}

.avatars i:first-child {
  margin-left: 0;
  background: linear-gradient(135deg, #ffd0a8, #f08a5d);
}

.avatars i:nth-child(2) {
  background: linear-gradient(135deg, #b8c6ff, #6a7dff);
}

.avatars i:nth-child(3) {
  background: linear-gradient(135deg, #ffc2d6, #e6195f);
}

.avatars em {
  font-style: normal;
  font-size: 11px;
  margin-left: 8px;
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
}

.glass-btn svg {
  width: 12px;
  height: 12px;
}

.pm-task {
  position: absolute;
  right: 8%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(255, 255, 255, .9);
  animation: bob 5s ease-in-out infinite;
}

.pm-task b {
  color: var(--ink);
}

.ai-card {
  width: min(100%, 400px);
  display: flex;
  overflow: hidden;
}

.ai-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, .12);
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.ai-side i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.ai-side i.on {
  background: rgba(255, 255, 255, .9);
  color: var(--violet);
}

.ai-side svg {
  width: 16px;
  height: 16px;
}

.ai-main {
  flex: 1;
  padding: 18px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ai-hello {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  line-height: 1.2;
}

.ai-hello small {
  width: 100%;
  font-size: 12px;
  font-weight: 300;
  opacity: .9;
}

.ai-orb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff7ab6, #7b5cff, #5ad1ff, #ff7ab6);
  animation: silk 4s linear infinite;
  box-shadow: 0 0 18px rgba(255, 255, 255, .6);
}

.ai-sugs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ai-sugs span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(40, 20, 120, .22);
  border: 1px solid rgba(255, 255, 255, .25);
  line-height: 1.3;
}

.ai-sugs svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ui-input-glass {
  background: rgba(255, 255, 255, .92);
}

.ui-input-glass i {
  background: var(--violet);
}

.ent-card {
  width: min(100%, 440px);
  display: flex;
  overflow: hidden;
  background: rgba(30, 5, 16, .4);
  border-color: rgba(255, 255, 255, .15);
}

.ent-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  font-size: 11px;
  min-width: 112px;
}

.ent-side b {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}

.ent-side span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 8px;
  opacity: .7;
}

.ent-side span.on {
  background: rgba(255, 255, 255, .14);
  opacity: 1;
}

.ent-side svg {
  width: 13px;
  height: 13px;
}

.ent-main {
  flex: 1;
  padding: 16px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ent-tag {
  font-size: 10px;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.ent-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.ent-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ent-kpis div {
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}

.ent-kpis b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.ent-kpis small {
  font-size: 10px;
  opacity: .7;
}

.ent-chart {
  width: 100%;
  height: 90px;
}

.ent-chart-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 2.4s var(--ease) .3s;
}

.ent-chart-area {
  opacity: 0;
  transition: opacity 1.2s .9s;
}

.visible .ent-chart-line {
  stroke-dashoffset: 0;
}

.visible .ent-chart-area {
  opacity: 1;
}

/* =========================================================
   TUTORIALS
   ========================================================= */
.split-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.h2-left {
  text-align: left;
}

.split-head-text {
  font-size: 16px;
  color: #000002;
  max-width: 489px;
}

.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  perspective: 1200px;
}

.video {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  padding: clamp(18px, 2vw, 24px);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.video:hover {
  box-shadow: 0 40px 70px -30px rgba(230, 25, 95, .55);
}

.video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 5, 12, .92) 100%);
}

.video-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}

.video:hover .video-art {
  transform: scale(1.06);
}

.video-play {
  position: absolute;
  left: clamp(18px, 2vw, 24px);
  top: clamp(18px, 2vw, 24px);
  width: 62px;
  height: 45px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .4s, transform .5s var(--ease);
}

.video-play svg {
  width: 18px;
  height: 18px;
}

.video:hover .video-play {
  background: var(--pink);
  transform: scale(1.1);
  border-color: transparent;
}

.video-body h3 {
  font-size: clamp(14px, 1.3vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 290px;
}

.video-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.video-cta svg {
  width: 14px;
  height: 14px;
  transition: transform .4s var(--ease);
}

.video:hover .video-cta svg {
  transform: translateX(4px);
}

.art-stack {
  background: radial-gradient(70% 60% at 50% 35%, #3a3346, #0b0b16 75%);
  perspective: 600px;
}

.art-stack i {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 34%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%) rotateY(-28deg) translateX(calc((var(--n) - 1.5) * 34%)) translateZ(calc(var(--n) * -30px));
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6);
  transition: transform 1s var(--ease);
}

.art-stack i:nth-child(1) {
  --n: 0;
}

.art-stack i:nth-child(2) {
  --n: 1;
}

.art-stack i:nth-child(3) {
  --n: 2;
}

.art-stack i:nth-child(4) {
  --n: 3;
}

.video:hover .art-stack i {
  transform: translate(-50%, -50%) rotateY(-18deg) translateX(calc((var(--n) - 1.5) * 44%)) translateZ(calc(var(--n) * -30px));
}

.art-orb {
  background: radial-gradient(60% 55% at 50% 38%, #4a1a36, #12081a 60%, #07060d);
}

.art-orb i {
  position: absolute;
  left: 50%;
  top: 38%;
  border-radius: 50%;
  border: 1px solid rgba(255, 140, 190, .35);
  transform: translate(-50%, -50%);
  animation: ringpulse 4s ease-out infinite;
}

.art-orb i:nth-child(1) {
  width: 40%;
  aspect-ratio: 1;
}

.art-orb i:nth-child(2) {
  width: 40%;
  aspect-ratio: 1;
  animation-delay: 2s;
}

@keyframes ringpulse {
  from {
    width: 30%;
    opacity: 1;
  }

  to {
    width: 95%;
    opacity: 0;
  }
}

.art-orb span {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 28%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #ff8ab4, var(--pink) 50%, #6d0a33);
  box-shadow: 0 0 60px rgba(230, 25, 95, .6);
}

.art-orb span svg {
  width: 42%;
  height: 42%;
  stroke-width: 1.4;
}

.art-apps {
  background: radial-gradient(70% 60% at 50% 35%, #2c2030, #09080f 75%);
}

.art-apps i {
  position: absolute;
  top: 34%;
  width: 19%;
  aspect-ratio: 1;
  border-radius: 26%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 16px 30px -10px var(--c2), 0 0 40px -10px var(--c1);
  animation: bob 4s ease-in-out infinite;
}

.art-apps i svg {
  width: 44%;
  height: 44%;
}

.art-apps i:nth-child(1) {
  left: 6%;
  top: 38%;
  animation-delay: 0s;
}

.art-apps i:nth-child(2) {
  left: 24%;
  top: 30%;
  animation-delay: -.8s;
}

.art-apps i:nth-child(3) {
  left: 42%;
  top: 26%;
  animation-delay: -1.6s;
  width: 21%;
}

.art-apps i:nth-child(4) {
  left: 61%;
  top: 30%;
  animation-delay: -2.4s;
}

.art-apps i:nth-child(5) {
  left: 78%;
  top: 38%;
  animation-delay: -3.2s;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #F1F1F1;
  padding: clamp(56px, 7vw, 90px) 0 28px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 100px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
  max-width: 240px;
}

.footer-col h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  width: fit-content;
  font-size: 16px;
  color: var(--muted);
  padding: 4px 0;
  position: relative;
  transition: color .3s, transform .4s var(--ease);
}

.footer-col a:hover {
  color: var(--pink);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 60px;
  font-size: 16px;
  color: #000002;
}

.footer-bottom p {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gs-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff6b6b, #d4104f);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background .3s, color .3s, transform .4s var(--ease);
}

.socials a:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
}

.socials svg {
  width: 25px;
  height: 25px;
}

/* =========================================================
   REVEAL / SPLIT TEXT
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s);
}

.js [data-reveal="up"] {
  transform: translateY(40px);
}

.js [data-reveal="scale"] {
  transform: translateY(60px) scale(.94);
  filter: blur(6px);
}

.js [data-reveal].visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.split-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.split-w>span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--wi) * 45ms);
}

.visible .split-w>span,
.split-w.visible>span,
[data-split].visible .split-w>span {
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 64px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1199px) {
  .float-card-a {
    display: none;
  }

  :root {
    --header-h: 80px;
  }

  .logo-text {
    font-size: 19px;
  }

  .logo img {
    height: 36px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .nav-link {
    font-size: 15px;
  }

  .header-cta {
    height: 48px;
    padding: 0 20px;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .header-actions {
    gap: 12px;
  }
}

@media (max-width: 991px) {

  .nav,
  .header-actions .btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .banner {
    aspect-ratio: 16 / 10;
  }


  .stack-card {
    grid-template-columns: 1fr;
  }

  .stack-card-num {
    margin-bottom: 0;
  }

  .stack-card .btn {
    margin-bottom: 0;
  }

  .split-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .videos {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos .video:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8;
  }

  .float-card-a {
    top: 22%;
  }
}

@media (max-width: 767px) {
  .discover-grid {
    grid-template-columns: 1fr;
  }

  .discover-card {
    padding: 28px 22px;
  }

  .discover-stage {
    aspect-ratio: 4 / 4.6;
  }

  :root {
    --header-h: 68px;
  }

  .logo {
    gap: 10px;
  }

  .logo-text {
    font-size: 17px;
    letter-spacing: .14em;
  }

  .logo img {
    height: 30px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .header-actions .icon-btn {
    width: 40px;
    height: 40px;
  }

  .hero-caption p {
    font-size: 12.5px;
  }

  .banner {
    aspect-ratio: 4 / 3.6;
    border-radius: 22px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    padding: 18px;
  }

  .feature-icon {
    grid-row: span 2;
    margin: 0;
  }

  .showcase {
    padding-top: 80px;
    min-height: 0;
  }

  .device {
    height: 420px;
  }

  .float-card {
    display: none;
  }

  .stack {
    gap: 16px;
  }

  .stack-card {
    position: relative;
    top: 0;
    min-height: 0;
    padding: 8px;
    border-radius: 22px;
  }

  .stack-card-visual {
    min-height: 300px;
    padding: 18px;
  }

  .ent-side {
    display: none;
  }

  .videos {
    grid-template-columns: 1fr;
  }

  .videos .video,
  .videos .video:last-child {
    aspect-ratio: 4 / 3.6;
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .marquee {
    transform: rotate(-3deg);
  }

  .chip {
    padding: 10px 18px;
  }
}

@media (max-width: 420px) {
  .hero-cta {
    flex-direction: column;
  }

  .pill {
    width: min(250px, 100%);
    padding: 7px 14px;
  }

  .pill-track {
    font-size: 11.5px;
  }

  .ui-result {
    max-width: 100%;
  }

  .ui-mini-b {
    display: none;
  }

  .ai-side {
    display: none;
  }

  .ai-sugs {
    grid-template-columns: 1fr;
  }

  .ai-sugs span:nth-child(n+3) {
    display: none;
  }

  .pm-task {
    right: 4%;
    bottom: 4%;
  }

}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .split-w>span {
    transform: none;
  }

  .js .about-lead .w {
    --o: 1;
  }
}
/* =========================================================
   HELPER CLASSES (replace inline style attributes)
   ========================================================= */
svg.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* reveal delays */
.delay-5 { --d: .05s; }
.delay-10 { --d: .1s; }
.delay-12 { --d: .12s; }
.delay-15 { --d: .15s; }
.delay-20 { --d: .2s; }
.delay-24 { --d: .24s; }
.delay-28 { --d: .28s; }
.delay-30 { --d: .3s; }
.delay-35 { --d: .35s; }
.delay-50 { --d: .5s; }

/* icon colours */
.c-pink { --c: #ff4d8d; }
.c-violet { --c: #7b5cff; }
.c-teal { --c: #14b8a6; }
.c-orange { --c: #ff9f43; }
.c-rose { --c: #e6195f; }
.c-green { --c: #22c55e; }

/* bar widths */
.w-68 { --w: 68%; }
.w-74 { --w: 74%; }
.w-82 { --w: 82%; }
.w-90 { --w: 90%; }

/* match diagram node positions */
.ui-node.pos-1 { --x: 16%; --y: 20%; }
.ui-node.pos-2 { --x: 86%; --y: 26%; }
.ui-node.pos-3 { --x: 80%; --y: 83%; }
.ui-node.pos-4 { --x: 20%; --y: 80%; }

/* mobile menu stagger order */
.mobile-menu-nav a:nth-child(1) { --i: 0; }
.mobile-menu-nav a:nth-child(2) { --i: 1; }
.mobile-menu-nav a:nth-child(3) { --i: 2; }
.mobile-menu-nav a:nth-child(4) { --i: 3; }
.mobile-menu-cta { --i: 4; }

/* stacking card offsets */
.stack-card:nth-child(1) { --i: 0; }
.stack-card:nth-child(2) { --i: 1; }
.stack-card:nth-child(3) { --i: 2; }

/* tutorial app tiles */
.art-apps i:nth-child(1) { --c1: #ff9f43; --c2: #ff5e3a; }
.art-apps i:nth-child(2) { --c1: #ff4d6d; --c2: #d4104f; }
.art-apps i:nth-child(3) { --c1: #5b8cff; --c2: #3a4bff; }
.art-apps i:nth-child(4) { --c1: #ff6fb5; --c2: #c2187a; }
.art-apps i:nth-child(5) { --c1: #8b8b9a; --c2: #3b3b4a; }
