:root {
  --bg: #faf9f7;
  --bg-2: #f3f0ec;
  --surface: rgba(45, 30, 60, 0.04);
  --surface-hover: rgba(45, 30, 60, 0.07);
  --border: rgba(45, 30, 60, 0.1);
  --border-strong: rgba(45, 30, 60, 0.22);
  --text: #2a1f3d;
  --text-dim: #7a6b8f;
  --text-mid: rgba(45, 30, 60, 0.7);
  --text-faint: rgba(45, 30, 60, 0.38);
  --text-ghost: rgba(45, 30, 60, 0.12);
  --chip-bg: rgba(45, 30, 60, 0.04);
  --nav-bg: rgba(250, 249, 247, 0.82);
  --menu-bg: rgba(250, 249, 247, 0.97);
  --float-bg: rgba(250, 249, 247, 0.88);
  --frame-bg: linear-gradient(180deg, #f8f5f2, #ede6e0);
  --nav-shadow: 0 8px 32px rgba(45, 30, 60, 0.08);
  --accent: #b46edc;
  --accent-2: #e05db5;
  --accent-3: #7c4cc4;
  --grad: linear-gradient(135deg, #b46edc 0%, #e05db5 50%, #9b6dd7 100%);
  --radius: 18px;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-hand: 'Marck Script', cursive;
}

html[data-theme="dark"] {
  --bg: #0d0a12;
  --bg-2: #15111e;
  --surface: rgba(255, 240, 250, 0.04);
  --surface-hover: rgba(255, 240, 250, 0.07);
  --border: rgba(255, 240, 250, 0.08);
  --border-strong: rgba(255, 240, 250, 0.18);
  --text: #f0e8f5;
  --text-dim: #9b8fb0;
  --text-mid: rgba(255, 240, 250, 0.55);
  --text-faint: rgba(255, 240, 250, 0.28);
  --text-ghost: rgba(255, 240, 250, 0.12);
  --chip-bg: rgba(255, 240, 250, 0.03);
  --nav-bg: rgba(13, 10, 18, 0.7);
  --menu-bg: rgba(13, 10, 18, 0.94);
  --float-bg: rgba(21, 17, 30, 0.75);
  --frame-bg: linear-gradient(180deg, #1a1525, #120e1a);
  --nav-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(168, 85, 247, 0.4); color: #fff; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7, #6d28d9);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

@keyframes grad-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  background: var(--grad);
  background-size: 200% auto;
  animation: grad-flow 6s ease-in-out infinite;
  transform: scaleX(0);
  transform-origin: left;
}

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

/* ---------- background ---------- */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 50% at 15% 8%, rgba(180, 110, 220, 0.07) 0%, transparent 55%),
    radial-gradient(45% 35% at 88% 30%, rgba(224, 93, 181, 0.05) 0%, transparent 60%),
    radial-gradient(60% 55% at 45% 92%, rgba(124, 76, 196, 0.04) 0%, transparent 55%),
    var(--bg);
}

html[data-theme="dark"] .bg-glow {
  background:
    radial-gradient(70% 50% at 15% 8%, rgba(124, 76, 196, 0.22) 0%, transparent 55%),
    radial-gradient(45% 35% at 88% 30%, rgba(180, 110, 220, 0.14) 0%, transparent 60%),
    radial-gradient(60% 55% at 45% 92%, rgba(224, 93, 181, 0.09) 0%, transparent 55%),
    var(--bg);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* ---------- shared ---------- */

.btn {
  --pad-x: 24px;
  --pad-y: 13px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  will-change: transform;
}

.btn__label { position: relative; z-index: 1; }

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1);
  pointer-events: none;
}

.btn:hover::after { transform: translateX(130%); }

.btn__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  font-size: 16px;
  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.btn--solid {
  background: var(--grad);
  background-size: 150% auto;
  color: #fff;
  box-shadow: 0 6px 24px rgba(180, 110, 220, 0.3);
  animation: grad-flow 8s ease-in-out infinite;
}

.btn--solid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c98be8, #ea8cd4 50%, #b080e0);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn--solid:hover { box-shadow: 0 10px 36px rgba(180, 110, 220, 0.45); transform: translateY(-2px); }
.btn--solid:hover::before { opacity: 1; }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(180, 110, 220, 0.08);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn--ghost:hover {
  border-color: rgba(180, 110, 220, 0.4);
  box-shadow: 0 4px 20px rgba(180, 110, 220, 0.12);
}
.btn--ghost:hover::before { opacity: 1; }

.btn:hover .btn__icon { transform: translateY(2px); }
.btn--ghost:hover .btn__icon { transform: translateX(3px); }

.btn:active { transform: scale(0.97); }

.btn--sm { --pad-x: 16px; --pad-y: 9px; font-size: 13px; }
.btn--lg { --pad-x: 28px; --pad-y: 15px; font-size: 15px; }
.btn--xl { --pad-x: 36px; --pad-y: 18px; font-size: 16px; }

.section { padding: clamp(80px, 13vw, 160px) 6vw; }

.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.section-title em {
  font-style: normal;
  background: var(--grad);
  background-size: 150% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 8s ease-in-out infinite;
}

.nav__logo-mark,
.stat__num,
.footer__made,
.hero__title em,
.hero__line-inner--accent {
  background: var(--grad);
  background-size: 150% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 8s ease-in-out infinite;
}

.nav__logo-mark,
.footer__made {
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #fff;
}

/* ---------- navbar ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 6vw;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: var(--nav-shadow);
  border-bottom: 1px solid var(--border);
}

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

.nav__logo-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: var(--grad);
  background-size: 150% auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(180, 110, 220, 0.35);
  transition: transform 0.6s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.nav__logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  border-radius: inherit;
}

a:hover .nav__logo-mark { transform: rotate(-8deg) scale(1.06); }

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}

.nav__links { display: flex; gap: 28px; justify-self: center; }

.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s ease;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; gap: 10px; justify-self: end; }

/* burger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__burger span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1), opacity 0.3s ease;
}

.nav__burger--open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--menu-bg);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu--open { opacity: 1; visibility: visible; }

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 600;
  padding: 8px 14px;
  color: var(--text-dim);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.3s ease;
}

.mobile-menu--open .mobile-menu__link { opacity: 1; transform: none; }

.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu--open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }

.mobile-menu__link:hover { color: var(--text); }

.mobile-menu__link--btn {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(180, 110, 220, 0.35);
  border-radius: 12px;
  padding: 12px 26px;
}

.mobile-menu__link--btn:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 6vw 130px;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  will-change: transform;
}

html:not([data-theme="dark"]) .hero__orb,
html:not([data-theme="dark"]) .page-hero__orb {
  opacity: 0.15;
}

.hero__orb--1 {
  width: 440px;
  height: 440px;
  top: 10%;
  left: -6%;
  background: radial-gradient(circle, rgba(124, 76, 196, 0.7), transparent 65%);
}

.hero__orb--2 {
  width: 380px;
  height: 380px;
  bottom: 6%;
  right: -4%;
  background: radial-gradient(circle, rgba(224, 93, 181, 0.5), transparent 65%);
}

.hero__orb--3 {
  width: 260px;
  height: 260px;
  top: 58%;
  left: 44%;
  background: radial-gradient(circle, rgba(180, 110, 220, 0.45), transparent 65%);
}

.hero__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  margin-bottom: 18px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 8.5vw, 108px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: lowercase;
  margin-bottom: 24px;
}

.hero__line { display: block; overflow: hidden; padding: 0.06em 0 0.38em; margin-bottom: -0.38em; }

.hero__line-inner {
  display: inline-block;
  will-change: transform;
}

.motion-ready .hero__line-inner { transform: translateY(110%); }

.hero__line-inner--accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  position: relative;
  z-index: 1;
  color: var(--text-dim);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 42px;
}

.hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll-text {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-wheel {
  width: 2.5px;
  height: 7px;
  border-radius: 3px;
  background: var(--accent-2);
  animation: wheel 2s ease-in-out infinite;
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  65% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- about ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.about__text {
  color: var(--text-dim);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.9;
  margin-bottom: 20px;
  max-width: 52ch;
}

.about__text strong {
  color: var(--text);
  font-weight: 700;
}

.about__stats {
  display: flex;
  gap: clamp(28px, 5vw, 60px);
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
}

.stat__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- features ---------- */

.features { position: relative; }

.features__head { max-width: 580px; margin-bottom: clamp(48px, 6.5vw, 85px); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.card {
  position: relative;
  padding: clamp(24px, 2.8vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.5s ease;
  will-change: transform;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 85% at 0% 0%, rgba(180, 110, 220, 0.1), transparent 50%),
    radial-gradient(110% 85% at 100% 100%, rgba(224, 93, 181, 0.07), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover { border-color: rgba(180, 110, 220, 0.35); transform: translateY(-4px); box-shadow: 0 20px 56px rgba(180, 110, 220, 0.16); }
.card:hover::before { opacity: 1; }

.card__icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(180, 110, 220, 0.12);
  border: 1px solid rgba(180, 110, 220, 0.22);
  color: var(--accent);
  margin-bottom: 22px;
  transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.card:hover .card__icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(180, 110, 220, 0.35);
}

.card__icon svg { width: 22px; height: 22px; }

.card__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px);
  margin-bottom: 10px;
}

.card__text {
  position: relative;
  z-index: 1;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
}

.card__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-ghost);
  transition: color 0.4s ease;
}

.card:hover .card__num { color: rgba(180, 110, 220, 0.6); }

.card--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(150deg, rgba(124, 76, 196, 0.2), rgba(224, 93, 181, 0.12));
  border-color: rgba(180, 110, 220, 0.3);
}

.card--cta .card__text { margin-bottom: 22px; }

/* ---------- screenshots ---------- */

.shots { position: relative; }

.shots__head { max-width: 580px; margin-bottom: clamp(48px, 6.5vw, 85px); }

.shots__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

.shot {
  position: relative;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.5s ease;
  will-change: transform;
}

.shot:hover { border-color: rgba(180, 110, 220, 0.35); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(180, 110, 220, 0.14); }

.shot__frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 12px;
  background: var(--chip-bg);
  border-radius: 999px;
  z-index: 3;
}

.shot__frame {
  position: relative;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(110% 95% at 50% 0%, rgba(180, 110, 220, 0.14), transparent 55%),
    var(--frame-bg);
}

.shot__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.shot__frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.shot__caption {
  padding: 12px 6px 4px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
}

/* ---------- phrase ---------- */

.phrase {
  padding: clamp(80px, 11vw, 140px) 6vw;
  overflow: hidden;
  text-align: center;
}

.phrase__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6.5vw, 82px);
  text-transform: lowercase;
  line-height: 1.25;
}

.phrase__text span {
  display: inline-block;
  margin: 0 0.1em;
  opacity: 0.1;
  transform: translateY(36px) scale(0.92);
  will-change: transform, opacity;
}

.phrase__text span:nth-child(2) {
  background: var(--grad);
  background-size: 150% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 8s ease-in-out infinite;
}

.phrase__text span:nth-child(4) {
  background: var(--grad);
  background-size: 150% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 8s ease-in-out infinite;
}

/* ---------- handwritten notes ---------- */

.note {
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.3;
  color: var(--accent-2);
}

.note--hero {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  transform: rotate(-2.5deg);
}

.note--sticker {
  display: inline-block;
  margin-top: 30px;
  padding: 7px 16px 9px;
  background: rgba(180, 110, 220, 0.06);
  border: 1px dashed rgba(180, 110, 220, 0.4);
  border-radius: 12px;
  transform: rotate(-1.8deg);
}

.note--center { display: block; text-align: center; }

/* ---------- hero squiggle ---------- */

.hero__line-inner--accent { position: relative; }

.hero__squiggle {
  position: absolute;
  left: 0;
  bottom: -0.3em;
  width: 100%;
  height: 0.24em;
}

/* ---------- download ---------- */

.download {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: clamp(100px, 12vw, 160px);
  overflow: hidden;
}

.download__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 55% at 50% 50%, rgba(180, 110, 220, 0.18), transparent 65%),
    radial-gradient(28% 40% at 50% 100%, rgba(224, 93, 181, 0.12), transparent 65%);
  pointer-events: none;
}

.download__title { margin-bottom: 18px; }

.download__subtitle {
  color: var(--text-dim);
  font-size: clamp(14px, 1.6vw, 17px);
  max-width: 480px;
  margin-bottom: 38px;
}

.download__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}

.download__hint {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- subpages ---------- */

.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(140px, 18vh, 190px) 6vw clamp(44px, 5.5vw, 72px);
  overflow: hidden;
}

.page-hero__title { margin-bottom: 18px; }

.page-hero__subtitle {
  color: var(--text-dim);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.8;
  max-width: 520px;
}

.page-hero__orb {
  position: absolute;
  z-index: 0;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  animation: orb-float 16s ease-in-out infinite alternate;
}

.page-hero__orb--1 {
  width: 380px;
  height: 380px;
  top: -6%;
  left: -5%;
  background: radial-gradient(circle, rgba(124, 76, 196, 0.7), transparent 65%);
}

.page-hero__orb--2 {
  width: 320px;
  height: 320px;
  bottom: -12%;
  right: -4%;
  background: radial-gradient(circle, rgba(224, 93, 181, 0.5), transparent 65%);
  animation-delay: -8s;
}

@keyframes orb-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, -20px, 0) scale(1.08); }
}

.page-hero .section-tag,
.page-hero__title,
.page-hero__subtitle {
  position: relative;
  z-index: 1;
}

.page-hero .hero__badge { margin-bottom: 22px; }

/* platforms */

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 6vw clamp(72px, 9vw, 120px);
}

.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.5s ease;
  will-change: transform;
}

.platform:hover { border-color: rgba(180, 110, 220, 0.35); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(180, 110, 220, 0.14); }

.platform__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(180, 110, 220, 0.3);
  background: rgba(180, 110, 220, 0.08);
  padding: 4px 10px;
  border-radius: 10px;
}

.platform__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(180, 110, 220, 0.12);
  border: 1px solid rgba(180, 110, 220, 0.22);
  color: var(--accent);
  margin-bottom: 22px;
  transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1), background 0.4s ease, color 0.4s ease;
}

.platform:hover .platform__icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--grad);
  color: #fff;
}

.platform__icon svg { width: 22px; height: 22px; }

.platform__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px);
  margin-bottom: 8px;
}

.platform__text {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 26px;
  flex-grow: 1;
}

.platform__meta {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.platform--soon .platform__icon {
  color: var(--text-dim);
  background: var(--surface);
  border-color: var(--border);
}

.platform--soon:hover .platform__icon { background: var(--grad); color: #fff; }

.btn[disabled],
.btn--disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-dim);
  box-shadow: none;
}

.btn[disabled]::before,
.btn--disabled::before { opacity: 0; }

.download-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.85;
  padding: 0 6vw clamp(80px, 9vw, 130px);
}

.download-note__link {
  color: var(--accent);
  border-bottom: 1px solid rgba(180, 110, 220, 0.35);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.download-note__link:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* faq */

.faq {
  padding: 0 6vw clamp(80px, 9vw, 130px);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.faq__item:hover {
  border-color: rgba(180, 110, 220, 0.3);
  transform: translateY(-2px);
}

.faq__item[open] { border-color: rgba(180, 110, 220, 0.4); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 15px);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: '+';
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1), background 0.4s ease, border-color 0.4s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
  background: rgba(180, 110, 220, 0.1);
  border-color: rgba(180, 110, 220, 0.35);
}

.faq__a {
  overflow: hidden;
  padding: 0 24px 20px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.85;
}

.faq__a p { margin-bottom: 8px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- developers ---------- */

.devs {
  padding: 0 6vw clamp(80px, 9vw, 130px);
}

.devs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  max-width: 860px;
  margin: 0 auto;
}

.dev {
  padding: clamp(24px, 2.8vw, 36px);
}

.dev__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.dev__avatar {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(115% 115% at 28% 22%, rgba(180, 110, 220, 0.3), transparent 65%),
    rgba(180, 110, 220, 0.1);
  border: 1px solid rgba(180, 110, 220, 0.3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
}

.dev__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.dev__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 19px);
  margin-bottom: 5px;
}

.dev__bio {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.75;
}

.dev__roles {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  list-style: none;
}

.dev__chip {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
}

.dev__chip:first-child { color: var(--accent); border-color: rgba(180, 110, 220, 0.35); background: rgba(180, 110, 220, 0.08); }

.dev__site {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dev__site:hover { color: var(--text); }
.dev__site span { font-size: 12px; }

/* ---------- footer ---------- */

.footer {
  padding: 0 6vw 36px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.footer__links { display: flex; gap: 10px; }

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--text-faint);
}

.footer__info strong {
  font-weight: 600;
  color: var(--text-mid);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.footer__made {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- theme toggle ---------- */

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.5s ease;
}

.theme-toggle:hover {
  border-color: rgba(180, 110, 220, 0.4);
  color: var(--accent);
  transform: rotate(16deg);
}

.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }

html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- cursor ---------- */

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 200;
  border-radius: 50%;
  opacity: 0;
}

.cursor {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(180, 110, 220, 0.5);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.cursor--active {
  width: 58px;
  height: 58px;
  background: rgba(180, 110, 220, 0.1);
  border-color: rgba(224, 93, 181, 0.65);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

/* back to top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(180, 110, 220, 0.35);
  border-radius: 12px;
  background: var(--float-bg);
  backdrop-filter: blur(10px);
  color: var(--accent);
  font-size: 17px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, border-color 0.3s ease, color 0.3s ease;
}

.to-top--visible { opacity: 1; visibility: visible; transform: none; }

.to-top:hover { border-color: var(--accent-2); color: var(--accent-2); }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
}

/* spotlight */
.card::after,
.platform::after,
.shot::after,
.faq__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(180, 110, 220, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover::after,
.platform:hover::after,
.shot:hover::after,
.faq__item:hover::after { opacity: 1; }

/* ---------- reveal helper ---------- */

[data-reveal] { opacity: 1; }
.motion-ready [data-reveal] { opacity: 0; }

/* ---------- finish ---------- */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.site-loader[hidden] { display: none; }
html:not(.is-loading) .site-loader { opacity: 0; visibility: hidden; pointer-events: none; }
html.is-loading body > :not(.site-loader) { visibility: hidden; }

.site-loader__wordmark {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.site-loader__track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border);
}

.site-loader__fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(224, 93, 181, 0.6);
  transition: width 0.12s linear;
}

.nav {
  top: 14px;
  left: max(14px, calc((100vw - 1440px) / 2));
  right: max(14px, calc((100vw - 1440px) / 2));
  padding: 12px clamp(16px, 2.5vw, 32px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--nav-shadow);
}

.nav--scrolled {
  top: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
}

.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.hero,
.page-hero { isolation: isolate; }

.section-title,
.hero__title,
.page-hero__title { text-wrap: balance; }

.card,
.platform,
.shot,
.faq__item {
  background-color: var(--float-bg);
  box-shadow: 0 10px 30px rgba(45, 30, 60, 0.035);
}

.card:hover,
.platform:hover,
.shot:hover,
.faq__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(124, 76, 196, 0.13);
}

.footer__links { flex-wrap: wrap; }

.supporters {
  padding: 0 6vw clamp(96px, 12vw, 150px);
}

.supporters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
  justify-content: center;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.supporter {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding: 22px;
}

.supporter__avatar {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(180, 110, 220, 0.18);
}

.supporter__name {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.supporter__link { color: var(--accent); font-size: 14px; }
.supporter__link:hover { color: var(--accent-2); }

@media (max-width: 640px) {
  .nav {
    top: 8px;
    left: 8px;
    right: 8px;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 14px;
  }

  .nav__logo { gap: 7px; }
  .nav__logo-mark { width: 32px; height: 32px; }
  .nav__logo-text { font-size: 14px; }
  .nav__actions { gap: 6px; }
  .theme-toggle { width: 36px; height: 36px; }
  .nav__burger { padding: 8px 5px; }
  .footer__links { width: 100%; }
  .footer__links .btn { flex: 1 1 auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 900px) {
  .platforms { grid-template-columns: 1fr; max-width: 420px; }
  .shots__grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__stats { flex-wrap: wrap; }
  .nav__actions .btn--ghost { display: none; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .hero__actions, .download__actions { flex-direction: column; align-items: stretch; }
  .btn--lg, .btn--xl { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready [data-reveal] { opacity: 1; }
  .site-loader { transition: none; }
}
