:root {
  --field: #5146f0; --field-2: #6a60ff; --ink: #ffffff; --ink-soft: #e4e2ff;
  --page: #f2f1fb; --text: #1d1b3a; --muted: #55537a;
  --sans: 'Golos Text', system-ui, sans-serif; --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.55 var(--sans); }
::selection { background: #fff; color: var(--field); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.stage { position: relative; margin: 8px; min-height: calc(100svh - 72px); border-radius: 28px; overflow: hidden; color: var(--ink);
  background: radial-gradient(120% 90% at 50% 0%, var(--field-2) 0%, var(--field) 60%); display: flex; flex-direction: column; }
.top { position: relative; z-index: 2; display: flex; align-items: center; gap: 32px; padding: 26px clamp(20px, 5vw, 64px); }
.logo { font-weight: 600; font-size: 28px; letter-spacing: .02em; text-decoration: none; }
.login { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .16); text-decoration: none; font-weight: 500; transition: background .3s var(--ease); }
.login:hover { background: rgba(255, 255, 255, .28); }

.hero { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px clamp(20px, 5vw, 64px) 72px; }
.hero h1 { position: relative; z-index: 2; margin: 0 0 22px; max-width: 13em; font-weight: 600; font-size: clamp(40px, 6.4vw, 92px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.lead { position: relative; z-index: 2; max-width: 34em; margin: 0 0 40px; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-soft); }
.niches { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 14px; border-radius: 999px; background: #fff; color: var(--text); font-weight: 500; font-size: 17px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); box-shadow: 0 10px 24px -14px rgba(20, 10, 90, .6); }
a.pill:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(20, 10, 90, .7); }
.pill-soon { background: rgba(255, 255, 255, .16); color: var(--ink); box-shadow: none; }

.flock { position: absolute; inset: 0; z-index: 1; translate: var(--px, 0) var(--py, 0); transition: translate .9s var(--ease); }
.fly { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  filter: drop-shadow(0 18px 22px rgba(18, 8, 80, .35)); animation: float 6s ease-in-out var(--d) infinite alternate, pop .9s var(--ease) calc(var(--d) * .3) both; }
@keyframes float { from { transform: translateY(-8px) rotate(-4deg); } to { transform: translateY(10px) rotate(5deg); } }
@keyframes pop { from { opacity: 0; scale: .6; } }

.foot { padding: 14px clamp(20px, 5vw, 64px) 20px; font-size: 13px; color: var(--muted); text-align: center; }
.foot p { margin: 4px 0; }

@media (max-width: 760px) {
  .fly { left: var(--mx); top: var(--my); width: calc(var(--s) * .62); height: calc(var(--s) * .62); margin: calc(var(--s) * -.31) 0 0 calc(var(--s) * -.31); }
  .hero { padding-block: 110px 120px; }
  .desk-only { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fly { animation: none; } .flock { transition: none; } }
