body.home {
  background:
    radial-gradient(circle at 82% 10%, rgba(88,215,255,0.18), transparent 18%),
    radial-gradient(circle at 68% 20%, rgba(107,109,255,0.14), transparent 24%),
    linear-gradient(180deg, var(--st-v2-bg-2) 0%, var(--st-v2-bg-1) 22%, var(--st-v2-bg-0) 100%);
  color: var(--st-v2-text-0);
}

body.home .st-site-main {
  min-height: auto;
}

.st-homepage-v2 {
  position: relative;
  min-height: 100vh;
  color: var(--st-v2-text-0);
  overflow: clip;
}

.st-homepage-v2::before,
.st-homepage-v2::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.st-homepage-v2::before {
  background:
    radial-gradient(circle at 20% 12%, rgba(88,215,255,0.10), transparent 18%),
    radial-gradient(circle at 78% 34%, rgba(107,109,255,0.10), transparent 22%);
  animation: st-v2-background-drift 18s ease-in-out infinite alternate;
}

.st-homepage-v2::after {
  opacity: 0.18;
  background-image:
    linear-gradient(var(--st-v2-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--st-v2-grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 78%);
}

.st-v2-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), var(--st-v2-shell));
  margin: 0 auto;
}

.st-v2-glass {
  border: 1px solid var(--st-v2-line-0);
  backdrop-filter: blur(24px);
  box-shadow: var(--st-v2-shadow);
}

.st-v2-glass--l1 { background: var(--st-v2-glass-1); }
.st-v2-glass--l2 { background: var(--st-v2-glass-2); }
.st-v2-glass--l3 { background: var(--st-v2-glass-3); }

.st-v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--st-v2-text-0);
  text-decoration: none;
  font-weight: 700;
}

.st-v2-brand__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--st-v2-cyan), var(--st-v2-indigo));
  box-shadow: 0 0 24px rgba(88,215,255,0.42);
}

.st-v2-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 84px;
  border-bottom: 1px solid var(--st-v2-nav-border);
  background: var(--st-v2-nav-bg);
  backdrop-filter: blur(18px);
}

.admin-bar .st-v2-nav {
  top: 32px;
}

.st-v2-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.st-v2-nav__links,
.st-v2-nav__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.st-v2-nav__link {
  color: var(--st-v2-text-1);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.st-v2-nav__link:hover,
.st-v2-nav__link--active {
  color: var(--st-v2-text-0);
}

.st-v2-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(88,215,255,0.24);
  background: var(--st-v2-chip-bg);
  color: var(--st-v2-chip-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-v2-chip--small {
  min-height: 32px;
  font-size: 12px;
  padding: 0 12px;
}

.st-v2-btn {
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.st-v2-btn:hover { transform: translateY(-1px); }

.st-v2-btn--nav {
  height: 44px;
  padding-inline: 18px;
}

.st-v2-btn--primary {
  color: var(--st-v2-btn-primary-text);
  background: linear-gradient(90deg, var(--st-v2-cyan), #7ef0ff 40%, #7fc8ff 75%, var(--st-v2-indigo));
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(88,215,255,0.20);
}

.st-v2-btn--secondary {
  color: var(--st-v2-text-0);
  background: var(--st-v2-btn-secondary-bg);
  border-color: var(--st-v2-btn-secondary-border);
}

.st-v2-btn--ghost {
  color: var(--st-v2-btn-ghost-text);
  background: transparent;
  border-color: var(--st-v2-btn-ghost-border);
}

.st-v2-section {
  position: relative;
  z-index: 1;
  padding: 96px 0 0;
}

.st-v2-section__intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.st-v2-section__intro h2 {
  margin: 16px 0 0;
  font-size: clamp(44px, 4.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--st-v2-text-0);
}

.st-v2-section__intro p {
  margin: 14px 0 0;
  color: var(--st-v2-text-1);
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
}

.st-v2-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: st-v2-reveal 520ms ease-out forwards;
}

.st-v2-reveal--delay-1 { animation-delay: 80ms; }
.st-v2-reveal--delay-2 { animation-delay: 140ms; }
.st-v2-reveal--delay-3 { animation-delay: 220ms; }
.st-v2-reveal--delay-4 { animation-delay: 300ms; }
.st-v2-reveal--delay-5 { animation-delay: 380ms; }

@keyframes st-v2-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes st-v2-background-drift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-1.5%) scale(1.02); }
}

@media (max-width: 900px) {
  .st-v2-shell {
    width: min(calc(100% - 32px), var(--st-v2-shell));
  }

  .st-v2-nav__links {
    display: none;
  }

  .st-v2-nav__actions {
    gap: 10px;
  }

  .st-v2-section {
    padding-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-homepage-v2::before,
  .st-v2-reveal {
    animation: none;
  }

  .st-v2-reveal {
    opacity: 1;
    transform: none;
  }
}