/* Homepage-only base utilities shared by the canonical component owners. */
:root {
  --bg: var(--ctg-public-surface-dark, #202226);
  --text: var(--ctg-public-heading-dark, #f8f8f5);
  --accent: var(--ctg-public-eyebrow-primary, #b8c9ff);
  --max: 1380px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background:
    radial-gradient(circle at 50% -8%, rgba(184, 198, 255, .075), transparent 29%),
    var(--bg);
  color: var(--text);
  font-family: var(--ctg-public-font-body, "Manrope", sans-serif);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 38%);
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: .024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.reveal-block {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s var(--ease);
}

.reveal-block.is-visible {
  opacity: 1;
  transform: none;
}

@supports not (overflow: clip) {
  html,
  body,
  main {
    overflow-x: hidden;
  }
}

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

  .reveal-block {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
