.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--nav-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-mark,
.brand-icon,
.brand small {
  display: none !important;
}

.brand-name,
.brand strong {
  display: block;
  font-family: "Sora", var(--font-sans), sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ede9fe 52%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-name,
  .brand:hover strong {
    background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 45%, #ddd6fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-soft);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-cta,
.btn-primary {
  color: var(--text);
  background: linear-gradient(135deg, var(--blue), #a855f7);
  box-shadow: 0 18px 56px rgba(139, 75, 220, 0.34);
}

.header-cta {
  padding: 0 20px;
}

.btn {
  min-width: 154px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(15, 23, 42, 0.74);
}

a.btn:hover,
button.btn:hover,
a.btn:focus-visible,
button.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-soft);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(183, 140, 255, 0.2);
  border-radius: 999px;
  color: var(--blue-soft);
  background: rgba(15, 23, 42, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-mini {
  color: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: var(--section-y) 0;
}

.section-panel {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0), rgba(7, 17, 31, 0.72), rgba(7, 17, 31, 0));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  margin-inline: auto;
}

.section-heading h2 {
  font-size: var(--heading-section);
}

.section-heading p {
  color: var(--muted);
}

.section-heading p {
  margin: 14px 0 0;
  font-size: 1.06rem;
}

.btn[disabled],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.site-footer {
  border-top: 1px solid rgba(183, 140, 255, 0.12);
  background: rgba(3, 7, 18, 0.78);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 0;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 6px;
  max-width: 520px;
}

.footer-brand strong {
  color: var(--text);
}

.footer-brand p {
  color: var(--muted);
}

.footer-inner a {
  color: var(--blue-soft);
  font-weight: 800;
}

.footer-nav {
  display: flex;
  gap: 14px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px;
  }

  .header-cta {
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .brand small,
  .header-cta {
    display: none;
  }
}

body::before {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.5px),
    radial-gradient(circle at 50% 50%, rgba(139, 75, 220, 0.18), transparent 42rem);
  background-position: 0 0, 50% 8%;
  background-size: 112px 112px, 100% 100%;
  opacity: 0.34;
  animation: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn,
.header-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background-position 260ms ease,
    opacity 260ms ease;
}

.btn-primary,
.header-cta {
  background-size: 160% 160%;
}

a.btn::after,
button.btn::after,
.header-cta::after {
  position: absolute;
  inset: -45% auto -45% -70%;
  width: 48%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 560ms ease;
}

a.btn::before,
button.btn::before,
.header-cta::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.16) 42%, transparent 62%);
  opacity: 0;
  transform: translateX(-42%);
  transition:
    opacity 240ms ease,
    transform 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  a.btn:hover::after,
  button.btn:hover::after,
  .header-cta:hover::after {
    left: 125%;
  }

  a.btn:hover,
  button.btn:hover,
  .header-cta:hover {
    transform: translateY(-3px);
    background-position: 100% 0;
    box-shadow: 0 18px 48px rgba(139, 75, 220, 0.3);
  }

  a.btn:hover::before,
  button.btn:hover::before,
  .header-cta:hover::before {
    opacity: 1;
    transform: translateX(42%);
  }
}

a.btn:active,
button.btn:active,
.header-cta:active {
  transform: translateY(0) scale(0.98);
}

a.btn:focus-visible,
button.btn:focus-visible,
.header-cta:focus-visible,
.site-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 3px solid rgba(183, 140, 255, 0.48);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  body::before {
    opacity: 0.22;
    background-size: 148px 148px, 100% 100%;
    animation-duration: 42s;
  }

  .reveal {
    filter: none;
    transform: translateY(14px);
    transition-duration: 420ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

.site-header {
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(183, 140, 255, 0.18);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 10px 42px rgba(0, 0, 0, 0.34), 0 0 32px rgba(139, 75, 220, 0.08);
}

.reveal {
  transition-duration: 520ms;
}

.reveal:not(.is-visible) {
  pointer-events: none;
}

a.btn-primary:hover,
button.btn-primary:hover,
.header-cta:hover {
  box-shadow: 0 20px 58px rgba(139, 75, 220, 0.38), 0 0 0 1px rgba(183, 140, 255, 0.28);
}

.section {
  padding: clamp(36px, 4.8vw, 56px) 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:not(.is-visible) {
  pointer-events: auto;
}

.stagger-item {
  transition-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
}

.section-reveal {
  /* Marker only — section wrapper stays visible; content animates separately */
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-on-scroll,
.reveal-child {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--child-delay, 0ms);
}

.reveal-on-scroll.is-visible,
.reveal-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1,
.reveal-on-scroll[data-delay="1"] {
  transition-delay: 80ms;
}

.reveal-delay-2,
.reveal-on-scroll[data-delay="2"] {
  transition-delay: 160ms;
}

.reveal-delay-3,
.reveal-on-scroll[data-delay="3"] {
  transition-delay: 240ms;
}

@media (max-width: 640px) {
  .reveal-on-scroll,
  .reveal-child {
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-child {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.site-header {
  opacity: 1;
  transform: translateY(0);
}

body.js-enabled .site-header {
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-loaded .site-header {
  opacity: 1;
  transform: translateY(0);
}

.section-reveal,
.reveal-child {
  opacity: 1;
  filter: none;
  transform: none;
}

body.js-enabled .section-reveal {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

body.js-enabled .section-reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

body.js-enabled .reveal-child {
  opacity: 0;
  filter: none;
  transform: translateY(18px);
  transition:
    opacity 660ms ease var(--child-delay, 0ms),
    transform 660ms cubic-bezier(0.22, 1, 0.36, 1) var(--child-delay, 0ms);
}

body.js-enabled .section-reveal.is-visible .reveal-child,
body.js-enabled .reveal-child.is-visible {
  opacity: 1;
  filter: none;
  transform: translateY(0);
}

@media (max-width: 640px) {
  body.js-enabled .section-reveal {
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .section-reveal,
  .reveal-child {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

html,
body {
  scroll-behavior: auto;
}

body.js-enabled .section-reveal {
  filter: none;
  transform: translateY(18px);
  transition:
    opacity 480ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

body.js-enabled .reveal-child {
  filter: none;
  transform: translateY(12px);
  transition:
    opacity 420ms ease var(--child-delay, 0ms),
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1) var(--child-delay, 0ms);
  will-change: opacity, transform;
}

.section {
  padding: var(--section-y) 0;
}

@media (max-width: 640px) {
  body.js-enabled .section-reveal {
    transform: translateY(14px);
    transition-duration: 400ms;
  }

  body.js-enabled .reveal-child {
    transform: translateY(10px);
    transition-duration: 360ms;
  }

  .section {
    padding: 40px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto !important;
  }

  .section-reveal,
  .reveal-child {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

html {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding: 0 !important;
  scroll-snap-type: none !important;
  overscroll-behavior: auto;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: none !important;
  overscroll-behavior: auto;
}

main,
.section,
.site-footer {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

body.modal-open {
  overflow-y: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-heading {
  margin-bottom: clamp(20px, 3.2vw, 30px);
}

.section-heading.centered {
  margin-bottom: clamp(22px, 3.5vw, 32px);
}

.site-footer {
  padding-top: clamp(30px, 4vw, 44px);
  padding-bottom: clamp(30px, 4vw, 44px);
}

body.js-enabled .section-reveal {
  transform: translateY(14px);
}

body.js-enabled .reveal-child {
  transform: translateY(10px);
}

@media (max-width: 768px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-heading,
  .section-heading.centered {
    margin-bottom: 20px;
  }
}

@media (max-width: 430px) {
  .section {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

html,
body {
  scroll-behavior: auto !important;
  overflow-y: auto;
  overscroll-behavior-y: auto;
}

body {
  position: static;
}

main {
  overflow: visible;
}

body.js-enabled .section-reveal {
  opacity: 1;
  filter: none !important;
  transform: none;
  transition: none;
  will-change: auto;
}

body.js-enabled .section-reveal.is-visible {
  opacity: 1;
  filter: none !important;
  transform: none;
}

body.js-enabled .reveal-child {
  opacity: 0;
  filter: none !important;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 320ms ease var(--child-delay, 0ms),
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1) var(--child-delay, 0ms);
  will-change: auto;
}

body.js-enabled .section-reveal.is-visible .reveal-child,
body.js-enabled .reveal-child.is-visible {
  opacity: 1;
  filter: none !important;
  transform: translate3d(0, 0, 0);
}

.section-reveal,
.reveal-child {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

html {
  scroll-behavior: auto !important;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  position: static;
}

body.js-enabled .section-reveal {
  opacity: 1;
  filter: none !important;
  transform: none;
  transition: none;
  will-change: auto;
}

body.js-enabled .section-reveal.is-visible {
  opacity: 1;
  filter: none !important;
  transform: none;
}

body.js-enabled .reveal-child {
  opacity: 0;
  filter: none !important;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 360ms ease var(--child-delay, 0ms),
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1) var(--child-delay, 0ms);
  will-change: auto;
}

body.js-enabled .section-reveal.is-visible .reveal-child,
body.js-enabled .reveal-child.is-visible {
  opacity: 1;
  filter: none !important;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 430px) {
  body.js-enabled .section-reveal {
    filter: none !important;
    transform: translate3d(0, 12px, 0);
  }

  body.js-enabled .reveal-child {
    filter: none !important;
    transform: translate3d(0, 8px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.js-enabled .section-reveal,
  body.js-enabled .reveal-child {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

html,
body {
  scroll-behavior: auto !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: auto;
}

body {
  position: static;
}

.site-header {
  transform: translate3d(0, 0, 0);
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: auto;
}

body.js-enabled .site-header {
  transform: translate3d(0, -10px, 0);
}

body.page-loaded .site-header,
.site-header.is-scrolled {
  transform: translate3d(0, 0, 0);
}

.site-footer.section-reveal {
  filter: none !important;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 380ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer.section-reveal.is-visible {
  filter: none !important;
  transform: translate3d(0, 0, 0);
}

body::before {
  pointer-events: none !important;
}

.brand,
.site-nav,
.site-nav a,
.header-cta,
.nav-toggle,
.btn {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-footer.section-reveal {
    transition: none !important;
    transform: none !important;
  }
}

html {
  height: auto;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  overscroll-behavior: auto;
}

body {
  height: auto;
  min-height: 100%;
  overflow: visible !important;
  position: relative;
  scroll-snap-type: none !important;
  overscroll-behavior: auto;
}

main,
.main,
.site,
.site-main,
.page,
.page-shell,
.page-wrapper,
.site-shell,
.landing-page,
.home-page,
.subpage,
.subpage-page,
.app,
.layout,
.wrapper,
.content,
.section,
.site-footer {
  height: auto !important;
  max-height: none !important;
  overflow-x: visible;
  overflow-y: visible !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

body.modal-open {
  overflow: visible !important;
  position: relative;
}

.eyebrow,
.section-badge,
.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.eyebrow::after,
.section-badge::after,
.section-kicker::after {
  display: none;
}

/* Eyebrow/badge fades in together with its reveal-child/reveal-on-scroll
   ancestor — no separate opacity gated on .section-reveal.is-visible, which
   sections never receive (that caused badges to stay stuck invisible). */

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -10px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.92), transparent);
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a.is-active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a.is-active {
  text-shadow: 0 0 18px rgba(183, 140, 255, 0.34);
}

@media (max-width: 640px) {
  .site-nav a::after {
    left: 10px;
    right: auto;
    bottom: 6px;
    width: 44px;
    transform-origin: left center;
  }

  .btn,
  .header-cta {
    min-height: 46px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .header-inner,
  .footer-inner {
    max-width: 100%;
  }

  .site-header {
    overflow: visible;
  }

  .header-inner {
    justify-content: space-between;
    gap: 10px;
    min-height: 64px;
    padding-inline: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-name,
  .brand strong {
    font-size: 1.12rem;
    white-space: nowrap;
  }

  .brand-mark,
  .brand-icon,
  .brand small {
    display: none !important;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-toggle {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .site-nav a {
    min-height: 48px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.94rem;
  }

  .site-nav a.is-active {
    border-color: rgba(216, 180, 254, 0.34);
    color: #f8fafc;
    background:
      radial-gradient(circle at 14% 20%, rgba(168, 85, 247, 0.18), transparent 44%),
      rgba(139, 92, 246, 0.12);
  }

  .site-nav .mobile-menu-cta {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    border: 1px solid rgba(216, 180, 254, 0.34);
    color: #f8fafc;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 14px 34px rgba(139, 92, 246, 0.26);
    font-weight: 900;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .section-heading p {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .section-heading,
  .section-heading.centered {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: clamp(1.72rem, 7vw, 2.35rem);
    line-height: 1.1;
    text-wrap: balance;
  }

  .site-footer {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-inner,
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-nav {
    align-items: start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 22px, var(--max-width));
  }

  .brand-name,
  .brand strong {
    font-size: 1rem;
  }

  .brand-mark,
  .brand-icon,
  .brand small {
    display: none !important;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    margin-left: auto;
  }

  .site-nav {
    left: 10px;
    right: 10px;
  }

  .site-nav a {
    min-height: 46px;
    font-size: 0.9rem;
  }

  .section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section-heading,
  .section-heading.centered {
    margin-bottom: 18px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(100% - 20px, var(--max-width));
  }

  .brand-name,
  .brand strong {
    font-size: 0.95rem;
  }

  .section-heading h2 {
    font-size: clamp(1.54rem, 8vw, 2rem);
  }
}

html {
  background-color: #070411;
  min-height: 100%;
}

body {
  position: relative;
  isolation: isolate;
  background-color: #070411 !important;
  background-image:
    linear-gradient(
      to bottom,
      #070411 0%,
      #10071d 18%,
      #160824 42%,
      #1a0926 68%,
      #1e0a24 100%
    ) !important;
  background-attachment: scroll;
  min-height: 100%;
  overflow-x: hidden;
}

body::before,
body::after {
  position: absolute;
  pointer-events: none;
  content: "";
  will-change: auto;
}

body::after {
  filter: none;
  animation: none;
}

body::before {
  inset: -16%;
  z-index: -3;
  background:
    radial-gradient(circle, #fff 0 1.7px, rgba(216, 180, 254, 0.5) 2.5px, transparent 6.5px) 7% 13% / 14px 14px no-repeat,
    radial-gradient(circle, #fff 0 2px, rgba(192, 132, 252, 0.44) 3px, transparent 7px) 19% 61% / 16px 16px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 1px, rgba(244, 114, 182, 0.28) 1.8px, transparent 4px) 31% 27% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 1.6px, rgba(216, 180, 254, 0.42) 2.5px, transparent 6px) 43% 79% / 13px 13px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 1px, rgba(168, 85, 247, 0.32) 1.7px, transparent 3.8px) 56% 17% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 2.1px, rgba(216, 180, 254, 0.44) 3px, transparent 7.5px) 68% 48% / 17px 17px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 1.1px, rgba(244, 114, 182, 0.24) 1.8px, transparent 4px) 77% 84% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 1.8px, rgba(192, 132, 252, 0.42) 2.7px, transparent 6.5px) 88% 24% / 15px 15px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 0.9px, rgba(216, 180, 254, 0.3) 1.5px, transparent 3.4px) 94% 67% / 7px 7px no-repeat,
    radial-gradient(circle, #fff 0 1.65px, rgba(168, 85, 247, 0.36) 2.5px, transparent 6px) 12% 89% / 13px 13px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 1px, rgba(216, 180, 254, 0.3) 1.7px, transparent 3.8px) 48% 42% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 1.7px, rgba(244, 114, 182, 0.24) 2.5px, transparent 6px) 82% 6% / 13px 13px no-repeat,
    radial-gradient(circle, #fff 0 1.45px, rgba(216, 180, 254, 0.36) 2.2px, transparent 5.4px) 25% 93% / 12px 12px no-repeat,
    radial-gradient(circle, #fff 0 1.9px, rgba(192, 132, 252, 0.4) 2.8px, transparent 6.8px) 61% 72% / 15px 15px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 1.35px, rgba(244, 114, 182, 0.2) 2.1px, transparent 5px) 97% 39% / 11px 11px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 0.55px, transparent 1.2px) 4% 47% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.82) 0 0.7px, transparent 1.45px) 16% 34% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 0.5px, transparent 1.1px) 22% 74% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.76) 0 0.75px, transparent 1.5px) 36% 8% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.55px, transparent 1.15px) 39% 58% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.82) 0 0.7px, transparent 1.45px) 53% 91% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 0.5px, transparent 1.1px) 64% 29% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.8) 0 0.75px, transparent 1.55px) 72% 68% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.55px, transparent 1.15px) 84% 53% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.78) 0 0.7px, transparent 1.45px) 91% 94% / 6px 6px no-repeat;
  opacity: 0.7;
  transform: translate3d(0, 0, 0);
  animation: none;
}

body::after {
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 15% 12%, rgba(142, 72, 255, 0.16), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(156, 72, 255, 0.12), transparent 24%),
    radial-gradient(circle at 18% 52%, rgba(139, 75, 220, 0.09), transparent 26%),
    radial-gradient(circle at 82% 68%, rgba(180, 45, 130, 0.06), transparent 28%),
    radial-gradient(circle at 28% 88%, rgba(160, 40, 110, 0.05), transparent 30%),
    radial-gradient(circle at 70% 96%, rgba(120, 28, 80, 0.04), transparent 32%);
  filter: none;
  opacity: 0.7;
  transform: none;
  transform-origin: 50% 50%;
  animation: none;
}

main,
.section {
  background-color: transparent;
}

.section-panel {
  background: transparent;
}

.site-footer {
  background: rgba(1, 0, 4, 0.76);
  backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  body::before {
    inset: 0;
    min-height: 100%;
    opacity: 0.62;
    animation: none;
  }

  body::after {
    inset: 0;
    min-height: 100%;
    filter: none;
    opacity: 0.32;
    animation: none;
  }

  .site-footer {
    backdrop-filter: blur(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}

body::before {
  background:
    radial-gradient(circle, #fff 0 1.7px, rgba(216, 180, 254, 0.5) 2.5px, transparent 6.5px) 7% 13% / 14px 14px no-repeat,
    radial-gradient(circle, #fff 0 2px, rgba(192, 132, 252, 0.44) 3px, transparent 7px) 19% 61% / 16px 16px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 1px, rgba(244, 114, 182, 0.28) 1.8px, transparent 4px) 31% 27% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 1.6px, rgba(216, 180, 254, 0.42) 2.5px, transparent 6px) 43% 79% / 13px 13px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 1px, rgba(168, 85, 247, 0.32) 1.7px, transparent 3.8px) 56% 17% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 2.1px, rgba(216, 180, 254, 0.44) 3px, transparent 7.5px) 68% 48% / 17px 17px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 1.1px, rgba(244, 114, 182, 0.24) 1.8px, transparent 4px) 77% 84% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 1.8px, rgba(192, 132, 252, 0.42) 2.7px, transparent 6.5px) 88% 24% / 15px 15px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 0.9px, rgba(216, 180, 254, 0.3) 1.5px, transparent 3.4px) 94% 67% / 7px 7px no-repeat,
    radial-gradient(circle, #fff 0 1.65px, rgba(168, 85, 247, 0.36) 2.5px, transparent 6px) 12% 89% / 13px 13px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 1px, rgba(216, 180, 254, 0.3) 1.7px, transparent 3.8px) 48% 42% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 1.7px, rgba(244, 114, 182, 0.24) 2.5px, transparent 6px) 82% 6% / 13px 13px no-repeat,
    radial-gradient(circle, #fff 0 1.45px, rgba(216, 180, 254, 0.36) 2.2px, transparent 5.4px) 25% 93% / 12px 12px no-repeat,
    radial-gradient(circle, #fff 0 1.9px, rgba(192, 132, 252, 0.4) 2.8px, transparent 6.8px) 61% 72% / 15px 15px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 1.35px, rgba(244, 114, 182, 0.2) 2.1px, transparent 5px) 97% 39% / 11px 11px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 0.55px, transparent 1.2px) 4% 47% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.82) 0 0.7px, transparent 1.45px) 16% 34% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 0.5px, transparent 1.1px) 22% 74% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.76) 0 0.75px, transparent 1.5px) 36% 8% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.55px, transparent 1.15px) 39% 58% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.82) 0 0.7px, transparent 1.45px) 53% 91% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 0.5px, transparent 1.1px) 64% 29% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.8) 0 0.75px, transparent 1.55px) 72% 68% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.55px, transparent 1.15px) 84% 53% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.78) 0 0.7px, transparent 1.45px) 91% 94% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 0.6px, transparent 1.25px) 2% 81% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.84) 0 0.8px, transparent 1.65px) 29% 49% / 7px 7px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.78) 0 0.55px, transparent 1.2px) 45% 12% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.86) 0 0.85px, transparent 1.7px) 58% 55% / 7px 7px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 0.6px, transparent 1.25px) 74% 9% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.82) 0 0.75px, transparent 1.55px) 87% 76% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 0.55px, transparent 1.15px) 99% 18% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.5px, transparent 1.05px) 9% 69% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.8) 0 0.7px, transparent 1.45px) 18% 4% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.78) 0 0.55px, transparent 1.15px) 34% 87% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.84) 0 0.8px, transparent 1.6px) 51% 66% / 7px 7px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 0.5px, transparent 1.05px) 66% 96% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.78) 0 0.7px, transparent 1.45px) 79% 31% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 0.55px, transparent 1.15px) 93% 47% / 5px 5px no-repeat;
}

body::before,
body::after {
  z-index: 0;
}

.global-cosmic-smudge {
  --nebula-x: -12px;
  --nebula-y: -22px;
  --nebula-rotate: -7deg;
  --nebula-scale: 1.02;
  position: fixed;
  inset: -22%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.66;
  transform:
    translate3d(var(--nebula-x), var(--nebula-y), 0)
    rotate(var(--nebula-rotate))
    scale(var(--nebula-scale));
  transform-origin: 50% 50%;
  transition: opacity 500ms ease;
  will-change: transform;
}

.global-cosmic-smudge::before,
.global-cosmic-smudge::after {
  position: absolute;
  content: "";
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.global-cosmic-smudge::before {
  inset: 10% -7%;
  border-radius: 47% 53% 61% 39% / 56% 40% 60% 44%;
  background:
    radial-gradient(ellipse 50% 12% at 4% 60%, rgba(76, 29, 149, 0.12), transparent 74%),
    radial-gradient(ellipse 60% 17% at 26% 51%, rgba(126, 34, 206, 0.25), transparent 70%),
    radial-gradient(ellipse 66% 19% at 50% 47%, rgba(168, 85, 247, 0.21), transparent 72%),
    radial-gradient(ellipse 57% 15% at 75% 41%, rgba(107, 33, 168, 0.17), transparent 73%),
    radial-gradient(ellipse 44% 12% at 98% 34%, rgba(76, 29, 149, 0.1), transparent 75%),
    radial-gradient(ellipse 25% 24% at 34% 53%, rgba(244, 114, 182, 0.055), transparent 72%),
    radial-gradient(ellipse 31% 20% at 69% 45%, rgba(216, 180, 254, 0.07), transparent 74%);
  filter: blur(34px) saturate(1.08);
  mix-blend-mode: screen;
  animation: global-smudge-flow 34s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.global-cosmic-smudge::after {
  inset: 18% 4% 16%;
  border-radius: 62% 38% 48% 52% / 42% 58% 38% 62%;
  background:
    conic-gradient(
      from 225deg at 50% 50%,
      transparent 0deg,
      rgba(126, 34, 206, 0.07) 42deg,
      rgba(192, 132, 252, 0.18) 94deg,
      rgba(168, 85, 247, 0.09) 146deg,
      transparent 202deg,
      transparent 286deg,
      rgba(244, 114, 182, 0.055) 326deg,
      transparent 360deg
    );
  filter: blur(28px);
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: global-smudge-pulse 26s ease-in-out infinite alternate;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  z-index: 30;
}

body::before {
  opacity: 0.82;
  animation: none;
  will-change: auto;
}

body::after {
  opacity: 0.38;
}

@media (max-width: 768px) {
  body::before {
    opacity: 0.68;
    animation: none;
  }

  .global-cosmic-smudge {
    inset: -28%;
    opacity: 0.48;
  }

  .global-cosmic-smudge::before {
    filter: blur(28px) saturate(1.04);
    animation-duration: 52s;
  }

  .global-cosmic-smudge::after {
    filter: blur(22px);
    animation-duration: 42s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-cosmic-smudge {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .global-cosmic-smudge::before,
  .global-cosmic-smudge::after {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}

.global-cosmic-smudge {
  display: none !important;
}

body::before {
  background:
    radial-gradient(circle, #fff 0 1.9px, rgba(216, 180, 254, 0.42) 2.8px, transparent 7px) 6% 11% / 16px 16px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 0.65px, transparent 1.5px) 10% 38% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.78) 0 0.8px, transparent 1.7px) 14% 76% / 7px 7px no-repeat,
    radial-gradient(circle, #fff 0 1.4px, rgba(192, 132, 252, 0.34) 2.2px, transparent 5px) 19% 57% / 12px 12px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.55px, transparent 1.25px) 23% 18% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.82) 0 0.75px, transparent 1.6px) 27% 89% / 7px 7px no-repeat,
    radial-gradient(circle, #fff 0 1.7px, rgba(168, 85, 247, 0.3) 2.6px, transparent 6px) 31% 31% / 14px 14px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 0.5px, transparent 1.15px) 35% 66% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.86) 0 0.85px, transparent 1.8px) 39% 8% / 7px 7px no-repeat,
    radial-gradient(circle, #fff 0 1.25px, rgba(216, 180, 254, 0.3) 2px, transparent 4.8px) 43% 83% / 11px 11px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 0.6px, transparent 1.3px) 47% 48% / 5px 5px no-repeat,
    radial-gradient(circle, #fff 0 2.1px, rgba(192, 132, 252, 0.38) 3px, transparent 7.5px) 52% 15% / 17px 17px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.76) 0 0.7px, transparent 1.55px) 55% 72% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 0.55px, transparent 1.2px) 59% 38% / 5px 5px no-repeat,
    radial-gradient(circle, #fff 0 1.45px, rgba(168, 85, 247, 0.32) 2.3px, transparent 5.4px) 63% 91% / 12px 12px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.84) 0 0.8px, transparent 1.7px) 67% 24% / 7px 7px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.55px, transparent 1.25px) 71% 61% / 5px 5px no-repeat,
    radial-gradient(circle, #fff 0 1.8px, rgba(216, 180, 254, 0.38) 2.7px, transparent 6.5px) 75% 6% / 15px 15px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.8) 0 0.75px, transparent 1.6px) 79% 79% / 7px 7px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 0.5px, transparent 1.15px) 83% 43% / 5px 5px no-repeat,
    radial-gradient(circle, #fff 0 1.35px, rgba(192, 132, 252, 0.3) 2.1px, transparent 5px) 87% 94% / 11px 11px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.82) 0 0.8px, transparent 1.7px) 91% 28% / 7px 7px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 0.55px, transparent 1.2px) 95% 68% / 5px 5px no-repeat,
    radial-gradient(circle, #fff 0 1.7px, rgba(168, 85, 247, 0.34) 2.6px, transparent 6px) 98% 12% / 14px 14px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.64) 0 0.45px, transparent 1.05px) 3% 88% / 4px 4px no-repeat,
    radial-gradient(circle, rgba(244, 230, 255, 0.74) 0 0.65px, transparent 1.45px) 17% 4% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.66) 0 0.5px, transparent 1.1px) 29% 52% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.78) 0 0.7px, transparent 1.5px) 41% 96% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 0.5px, transparent 1.15px) 57% 3% / 5px 5px no-repeat,
    radial-gradient(circle, rgba(233, 220, 255, 0.78) 0 0.7px, transparent 1.5px) 69% 49% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.64) 0 0.45px, transparent 1.05px) 81% 20% / 4px 4px no-repeat,
    radial-gradient(circle, rgba(216, 180, 254, 0.76) 0 0.7px, transparent 1.5px) 93% 86% / 6px 6px no-repeat;
  opacity: 0.72;
  filter: drop-shadow(0 0 3px rgba(216, 180, 254, 0.18));
  animation: none;
  will-change: auto;
}

@media (max-width: 640px) {
  body::before {
    opacity: 0.64;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none !important;
  }
}

.cosmic-stars-layer {
  position: fixed;
  inset: -6%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Global smoke patches — a STATIC texture snapshot of the real hero WebGL
   plasma (rendered once in JS, GL context then destroyed → no continuous
   WebGL/rAF site-wide). The layer is absolute and JS-sized to scrollHeight
   so patches scroll with the document (not fixed). z-index: 0 renders above
   the body gradient; the stars layer is a later DOM node so stars stay on
   top. Each patch is feathered by a large soft radial mask that fades to
   transparent well inside the box, so there is NO visible rectangle / start
   / end. Only transform + opacity animate. */
.smoke-patch-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Each patch is a <canvas> that receives a live blit of the shared hero
   plasma every frame (see initSmokeSystem in bootstrap.js) — so the smoke
   churns exactly like the hero. The soft radial mask fades to transparent
   well before the canvas edge, so there is no visible rectangle / hard edge.
   The internal churn comes from the shader/blit; this gentle CSS drift only
   adds a slow float/opacity breathe on top (transform + opacity, cheap). */
.smoke-patch {
  position: absolute;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 60% 52% at 50% 50%,
    #000 0%,
    rgba(0, 0, 0, 0.62) 34%,
    rgba(0, 0, 0, 0.22) 54%,
    transparent 70%
  );
  mask-image: radial-gradient(
    ellipse 60% 52% at 50% 50%,
    #000 0%,
    rgba(0, 0, 0, 0.62) 34%,
    rgba(0, 0, 0, 0.22) 54%,
    transparent 70%
  );
  opacity: var(--patch-op-max, 0.4);
  will-change: transform, opacity;
  animation: smokePatchDrift var(--patch-dur, 40s) ease-in-out infinite alternate;
}

@keyframes smokePatchDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--patch-rot, 0deg));
    opacity: var(--patch-op-min, 0.3);
  }

  to {
    transform: translate3d(var(--patch-dx, 20px), var(--patch-dy, -14px), 0)
      rotate(calc(var(--patch-rot, 0deg) + 1.5deg));
    opacity: var(--patch-op-max, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .smoke-patch {
    animation: none;
  }
}

.cosmic-aurora-layer {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: -1;
  pointer-events: none;
  border-radius: 0;
  background:
    radial-gradient(ellipse 105% 52% at 50% -4%, rgba(20, 38, 96, 0.26), transparent 74%),
    radial-gradient(ellipse 92% 58% at 50% 44%, rgba(109, 40, 217, 0.24), transparent 72%),
    radial-gradient(ellipse 64% 46% at 32% 50%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(ellipse 88% 42% at 72% 78%, rgba(140, 30, 90, 0.08), transparent 72%),
    radial-gradient(ellipse 98% 48% at 50% 106%, rgba(40, 8, 28, 0.2), transparent 72%);
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.22;
  transform: none;
  transform-origin: 50% 50%;
  animation: none;
  will-change: auto;
}

@media (max-width: 768px) {
  .cosmic-stars-layer {
    inset: -2%;
  }

  .cosmic-aurora-layer {
    inset: 0;
    min-height: 100%;
    filter: none;
    opacity: 0.16;
  }
}

@media (max-width: 430px) {
  .cosmic-aurora-layer {
    opacity: 0.12;
  }
}

body::after {
  inset: 0;
  z-index: -2;
  border-radius: 0;
  background:
    radial-gradient(ellipse 88% 26% at 50% 4%, rgba(24, 44, 100, 0.14), transparent 76%),
    radial-gradient(ellipse 78% 38% at 50% 46%, rgba(107, 33, 168, 0.12), transparent 74%),
    radial-gradient(circle at 18% 58%, rgba(142, 72, 255, 0.08), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(170, 45, 120, 0.055), transparent 28%),
    radial-gradient(ellipse 86% 28% at 50% 92%, rgba(55, 12, 36, 0.12), transparent 76%),
    radial-gradient(circle at 28% 94%, rgba(150, 40, 105, 0.045), transparent 30%);
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.58;
  transform: none;
  transform-origin: 50% 50%;
  animation: none;
  will-change: auto;
}

@media (max-width: 768px) {
  .cosmic-stars-layer {
    inset: -2%;
  }

  body::after {
    inset: 0;
    min-height: 100%;
    filter: none;
    opacity: 0.3;
  }
}

@media (max-width: 430px) {
  body::after {
    opacity: 0.38;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-aurora-layer,
  .cosmic-stars-layer,
  body::before,
  body::after {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .bg-star {
    animation: none !important;
    transform: none !important;
    opacity: 0.55 !important;
    will-change: auto;
  }
}

.faq-section .section-heading {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.faq-question:focus-visible {
  outline: 2px solid rgba(216, 180, 254, 0.8);
  outline-offset: -4px;
}

@keyframes data-drift {
  from {
    background-position: 0 0, 50% 8%;
  }
  to {
    background-position: 112px 168px, 50% 8%;
  }
}

@keyframes global-stars-drift {
  from {
    transform: translate3d(-8px, -6px, 0) scale(1);
  }
  to {
    transform: translate3d(38px, 52px, 0) scale(1.008);
  }
}

@keyframes global-stars-twinkle {
  0% {
    opacity: 0.56;
  }
  36% {
    opacity: 0.76;
  }
  68% {
    opacity: 0.62;
  }
  100% {
    opacity: 0.72;
  }
}

@keyframes global-nebula-drift {
  from {
    opacity: 0.58;
    transform: translate3d(-1%, 0.5%, 0) scale(1.02);
  }
  to {
    opacity: 0.74;
    transform: translate3d(1%, -0.5%, 0) scale(1.05);
  }
}

@keyframes global-nebula-drift-mobile {
  from {
    transform: translate3d(-0.7%, 0.4%, 0) scale(1.02);
  }
  to {
    transform: translate3d(0.7%, -0.4%, 0) scale(1.04);
  }
}

@keyframes global-smudge-flow {
  0% {
    opacity: 0.54;
    transform: translate3d(-5%, 2%, 0) rotate(-11deg) scale(1.02, 0.94);
  }
  45% {
    opacity: 0.78;
    transform: translate3d(0, -1.5%, 0) rotate(-8deg) scale(1.08, 1.02);
  }
  100% {
    opacity: 0.62;
    transform: translate3d(5%, 1.5%, 0) rotate(-5deg) scale(1.03, 1.08);
  }
}

@keyframes global-smudge-pulse {
  from {
    opacity: 0.34;
    transform: translate3d(-2%, 1%, 0) rotate(-7deg) scale(0.97);
  }
  to {
    opacity: 0.62;
    transform: translate3d(2%, -1%, 0) rotate(5deg) scale(1.06);
  }
}

@keyframes premiumStarsDrift {
  0% {
    transform: translate3d(-3px, -2px, 0) scale(1);
  }
  25% {
    transform: translate3d(3px, -5px, 0) scale(1.006);
  }
  50% {
    transform: translate3d(-4px, 3px, 0) scale(1.01);
  }
  75% {
    transform: translate3d(5px, 2px, 0) scale(1.006);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes premiumStarsTwinkle {
  0%,
  100% {
    opacity: 0.52;
  }

  25% {
    opacity: 0.74;
  }

  50% {
    opacity: 0.92;
  }

  75% {
    opacity: 0.66;
  }
}

@keyframes cosmicStarsNearDrift {
  0% {
    transform: translate3d(0.25%, -0.2%, 0) scale(1);
  }
  50% {
    transform: translate3d(-0.3%, 0.24%, 0) scale(1.004);
  }
  100% {
    transform: translate3d(0.12%, 0.38%, 0) scale(1.002);
  }
}

@keyframes cosmicStarsNearTwinkle {
  0% {
    opacity: 0.52;
  }
  43% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.6;
  }
}

@keyframes globalCosmicRibbonDrift {
  0% {
    opacity: 0.56;
    transform: translate3d(-2%, 1.2%, 0) rotate(-9deg) scale(1.01, 0.96);
  }
  38% {
    opacity: 0.7;
    transform: translate3d(0.4%, -0.8%, 0) rotate(-6deg) scale(1.045, 1.01);
  }
  72% {
    opacity: 0.62;
    transform: translate3d(1.8%, 0.5%, 0) rotate(-4deg) scale(1.02, 1.04);
  }
  100% {
    opacity: 0.68;
    transform: translate3d(-0.4%, -1%, 0) rotate(-7deg) scale(1.05, 0.98);
  }
}

@keyframes globalCosmicRibbonDriftMobile {
  0% {
    opacity: 0.32;
    transform: translate3d(-1%, 0.6%, 0) rotate(-7deg) scale(1.01, 0.98);
  }
  100% {
    opacity: 0.42;
    transform: translate3d(1%, -0.5%, 0) rotate(-4deg) scale(1.025, 1.01);
  }
}

.bg-star {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--star-size, 8px);
  height: var(--star-size, 8px);
  margin: calc(var(--star-size, 8px) / -2) 0 0 calc(var(--star-size, 8px) / -2);
  pointer-events: none;
  transform: translateZ(0);
  overflow: visible;
  animation: starTwinkle var(--twinkle-duration, 4.8s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

.bg-star__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(var(--star-rotate, 0deg));
}

.bg-star__shape {
  fill: rgba(255, 255, 255, 0.94);
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 4px var(--star-glow, rgba(168, 85, 247, 0.28)));
}

.bg-star--star-4 .bg-star__shape {
  fill: rgba(255, 255, 255, 0.9);
}

.bg-star--star-5 .bg-star__shape {
  fill: rgba(252, 248, 255, 0.96);
}

.bg-star--tone-violet {
  --star-glow: rgba(168, 85, 247, 0.3);
}

.bg-star--tone-blue {
  --star-glow: rgba(96, 165, 250, 0.28);
}

.bg-star--tone-blue .bg-star__shape {
  fill: rgba(232, 244, 255, 0.95);
}

.bg-star--tone-rose {
  --star-glow: rgba(190, 80, 120, 0.22);
}

.bg-star--tone-rose .bg-star__shape {
  fill: rgba(255, 242, 248, 0.93);
}

.bg-star--large .bg-star__shape {
  fill: #fff;
  filter:
    drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 6px var(--star-glow, rgba(168, 85, 247, 0.36)))
    drop-shadow(0 0 12px var(--star-glow, rgba(168, 85, 247, 0.18)));
}

.bg-star--large {
  animation: starTwinkleLarge var(--twinkle-duration, 5.2s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

.bg-star.is-bright .bg-star__shape {
  fill: rgba(255, 255, 255, 0.96);
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 5px var(--star-glow, rgba(168, 85, 247, 0.32)));
}

.bg-star.is-bright {
  animation: starTwinkleLarge var(--twinkle-duration, 5s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

.bg-star--drift-soft {
  will-change: transform, opacity;
  animation:
    starTwinkle var(--twinkle-duration, 4.6s) ease-in-out infinite,
    starDriftSoft var(--drift-duration, 9s) ease-in-out infinite;
  animation-delay:
    var(--twinkle-delay, 0s),
    var(--drift-delay, 0s);
}

.bg-star--drift-soft.bg-star--large,
.bg-star--drift-soft.is-bright {
  animation:
    starTwinkleLarge var(--twinkle-duration, 4.8s) ease-in-out infinite,
    starDriftSoft var(--drift-duration, 9s) ease-in-out infinite;
  animation-delay:
    var(--twinkle-delay, 0s),
    var(--drift-delay, 0s);
}

.bg-star--drift-lively {
  will-change: transform, opacity;
  animation:
    starTwinkle var(--twinkle-duration, 4.2s) ease-in-out infinite,
    starDriftLively var(--drift-duration, 8s) ease-in-out infinite;
  animation-delay:
    var(--twinkle-delay, 0s),
    var(--drift-delay, 0s);
}

.bg-star--drift-lively.bg-star--large,
.bg-star--drift-lively.is-bright {
  animation:
    starTwinkleLarge var(--twinkle-duration, 4.4s) ease-in-out infinite,
    starDriftLively var(--drift-duration, 8s) ease-in-out infinite;
  animation-delay:
    var(--twinkle-delay, 0s),
    var(--drift-delay, 0s);
}

.bg-star:nth-child(3n):not(.bg-star--drift-soft):not(.bg-star--drift-lively) {
  will-change: transform, opacity;
  animation:
    starTwinkle var(--twinkle-duration, 3.6s) ease-in-out infinite,
    starDrift var(--drift-duration, 9.5s) ease-in-out infinite;
  animation-delay:
    var(--twinkle-delay, 0s),
    var(--drift-delay, 0s);
}

.bg-star:nth-child(4n) {
  --twinkle-duration: 4.8s;
  --twinkle-delay: -2.4s;
}

.bg-star:nth-child(5n) {
  --twinkle-duration: 5.8s;
  --drift-duration: 10.5s;
  --twinkle-delay: -3.4s;
  --drift-delay: -2.2s;
}

.bg-star:nth-child(3n).bg-star--large,
.bg-star:nth-child(3n).is-bright {
  animation:
    starTwinkleLarge var(--twinkle-duration, 4.6s) ease-in-out infinite,
    starDrift var(--drift-duration, 9.5s) ease-in-out infinite;
  animation-delay:
    var(--twinkle-delay, 0s),
    var(--drift-delay, 0s);
}

.bg-star--large {
  opacity: 0.96;
}

.bg-star.is-bright {
  opacity: 0.92;
}

.bg-star--tier-sm {
  opacity: 0.84;
}

.bg-star--tier-md {
  opacity: 0.94;
}

.bg-star--tier-lg {
  opacity: 1;
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: calc(0.22 * var(--star-intensity, 1));
  }

  22% {
    opacity: calc(0.62 * var(--star-intensity, 1));
  }

  50% {
    opacity: calc(1 * var(--star-intensity, 1));
  }

  78% {
    opacity: calc(0.48 * var(--star-intensity, 1));
  }
}

@keyframes starTwinkleLarge {
  0%,
  100% {
    opacity: 0.28;
  }

  22% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }

  78% {
    opacity: 0.54;
  }
}

@keyframes starDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  30% {
    transform: translate3d(3px, -4px, 0) scale(1.06);
  }

  65% {
    transform: translate3d(-4px, 3px, 0) scale(1.1);
  }
}

@keyframes starDriftSoft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  35% {
    transform: translate3d(2px, -3px, 0) scale(1.04);
  }

  70% {
    transform: translate3d(-2px, 2px, 0) scale(1.07);
  }
}

@keyframes starDriftLively {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(4px, -5px, 0) scale(1.08);
  }

  55% {
    transform: translate3d(-3px, 4px, 0) scale(1.12);
  }

  80% {
    transform: translate3d(2px, 2px, 0) scale(1.05);
  }
}

@keyframes cosmicAuroraDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1.02);
  }

  100% {
    transform: translate3d(0.5%, -0.35%, 0) rotate(-3deg) scale(1.028);
  }
}

@keyframes cosmicMistDrift {
  0% {
    transform: translate3d(-1.5%, 0.8%, 0) rotate(-8deg) scale(1.03);
  }

  100% {
    transform: translate3d(0.4%, -0.25%, 0) rotate(-7deg) scale(1.034);
  }
}

@media (min-width: 1024px) {
  .header-cta,
  .btn {
    min-height: 38px;
    min-width: 140px;
    padding: 0 18px;
  }

  .header-cta {
    padding: 0 18px;
    font-size: 0.86rem;
  }

  .section-heading p {
    font-size: 0.98rem;
  }

  .footer-inner {
    padding: 24px 0;
  }
}

/* Stable background — prevents white flash on fast scroll */
main {
  position: relative;
  z-index: 1;
  background: transparent;
  min-height: 100vh;
}

body::before {
  position: absolute !important;
  inset: 0;
  min-height: 100%;
}

body::after {
  position: absolute !important;
  inset: 0;
  min-height: 100%;
  filter: none !important;
  animation: none !important;
  will-change: auto !important;
}

.cosmic-aurora-layer {
  position: absolute !important;
  inset: 0;
  min-height: 100%;
  filter: none !important;
  animation: none !important;
  will-change: auto !important;
}

.cosmic-stars-layer {
  position: fixed !important;
  inset: -6% !important;
  min-height: auto !important;
  z-index: 0 !important;
  filter: none !important;
  animation: none !important;
  will-change: auto !important;
}

@media (max-width: 768px) {
  .cosmic-stars-layer {
    inset: -2% !important;
  }
}

.section-panel {
  background: transparent;
}

/* Content-only scroll reveals — override legacy section/child blur rules */
body.js-enabled .section-reveal,
body.js-enabled .section-reveal.is-visible,
.section-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  transition: none !important;
  will-change: auto !important;
}

body.js-enabled .reveal-on-scroll,
body.js-enabled .reveal-child {
  opacity: 0 !important;
  transform: translateY(22px) !important;
  filter: none !important;
  backdrop-filter: none !important;
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  transition-delay: var(--child-delay, 0ms) !important;
  will-change: auto !important;
}

body.js-enabled .reveal-on-scroll.is-visible,
body.js-enabled .reveal-child.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: none !important;
  backdrop-filter: none !important;
}

body.js-enabled .section-reveal.is-visible .reveal-child,
body.js-enabled .section-reveal.is-visible .reveal-on-scroll {
  filter: none !important;
  backdrop-filter: none !important;
}

@media (max-width: 640px) {
  body.js-enabled .reveal-on-scroll,
  body.js-enabled .reveal-child {
    transform: translateY(18px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.js-enabled .reveal-on-scroll,
  body.js-enabled .reveal-child {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
