html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  cursor: none;
  font-family: 'SF Pro Display', -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  touch-action: none;
  /* prevent scroll+zoom gestures over canvas */
}

.grain-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-outer,
.cursor-inner {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  mix-blend-mode: difference;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
  border-radius: 50%;
}

.cursor-outer {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
}

.cursor-inner {
  width: 8px;
  height: 8px;
  background: #fff;
}

.cursor-hover .cursor-outer {
  width: 24px;
  height: 24px;
}

.cursor-hover .cursor-inner {
  width: 4px;
  height: 4px;
}

.darken-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .20);
  z-index: 5;
}

.webgl-group {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.ui-group {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.ui-group>* {
  pointer-events: auto;
}

/* CTA button */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease
}

.cta-primary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25)
}

.cta-primary:active {
  transform: translateY(1px)
}

.cta-primary__icon {
  width: 14px;
  height: 14px;
  opacity: .9
}

/* Modal success */
.modal__success {
  display: none;
  text-align: center;
  padding: 18px 0 8px
}

.modal__success.is-visible {
  display: block;
  animation: success-in .26s cubic-bezier(.2, .7, .2, 1) both
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.success-svg {
  display: block;
  margin: auto;
  transform: scale(.96);
  opacity: .96
}

.success-check {
  stroke-dasharray: 60 120;
  stroke-dashoffset: 60;
  animation: draw-check .6s cubic-bezier(.2, .7, .2, 1) .12s forwards
}

.success-title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}

.success-message {
  color: rgba(255, 255, 255, .7);
  font-size: 12px
}

@keyframes success-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(.98)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0
  }
}

/* Inline validation */
.input-invalid {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, .06)
}

.field-error {
  display: block;
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: .02em
}

/* Make all mono text uppercase for consistency and apply SF Mono */
.font-mono {
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Use SF Pro Display for font-sans across the site */
.font-sans {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px)
}

.modal__panel {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 10, 10, .76);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: modal-in .24s cubic-bezier(.2, .7, .2, 1) both;
  color: #fff
}

@keyframes modal-in {
  from {
    transform: translateY(8px) scale(.98);
    opacity: 0
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .75);
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: .06em
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #1a1a1a;
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease
}

.icon-btn:hover {
  background: #262626;
  color: #fff;
  border-color: rgba(255, 255, 255, .2)
}

.icon-btn:active {
  transform: translateY(1px)
}

.modal__panel input[type="text"],
.modal__panel input[type="email"],
.modal__panel input[type="tel"],
.modal__panel textarea {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color .15s ease, background-color .15s ease
}

.modal__panel input::placeholder,
.modal__panel textarea::placeholder {
  color: rgba(255, 255, 255, .35);
  text-transform: none
}

.modal__panel input:focus,
.modal__panel textarea:focus {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .4);
}

.cta-primary--block {
  width: 100%;
  justify-content: center;
  padding-top: .8rem;
  padding-bottom: .8rem
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {

  .cursor-outer,
  .cursor-inner {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* Hide custom cursor when a modal is open */
body.modal-open {
  cursor: auto;
}

body.modal-open .cursor-outer,
body.modal-open .cursor-inner {
  display: none;
}

.animated-bg-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  z-index: 10;
}

.animated-bg-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 88px;
  z-index: 10;
}

/* Animated background (compiled from SCSS, hardcoded colors) */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* Allow clicking through */
}

.animated-bg--bottom {
  transform: rotate(180deg);
}

.animated-bg__container {
  width: 100%;
  height: 100%;
  position: relative;
}

.animated-bg__colors {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  width: 100%;
  height: 100%;
}

.animated-bg__blob {
  filter: blur(60px);
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.animated-bg__blob--orange {
  width: 50%;
  height: 50px;
  background: #fa8238;
  top: -75px;
  right: 0;
  animation: orange-animation 1.5s ease-out forwards 0.5s;
}

.animated-bg__blob--blue-yellow {
  width: 15%;
  height: 150px;
  background: linear-gradient(90deg, #00a0ff, #e4f4ff, #f1e8c8);
  top: -200px;
  left: 35%;
  animation: blue-yellow-animation 2s ease-in-out forwards;
}

.animated-bg__blob--yellow-orange {
  width: 25%;
  height: 150px;
  background: linear-gradient(90deg, #f1e8c8, #fdb545, #fa8238);
  top: -200px;
  right: 30%;
  animation: yellow-orange-animation 1.2s ease-in-out forwards;
}

.animated-bg__blob--blue {
  width: 60%;
  height: 75px;
  top: -100px;
  left: 0;
  background: #00a0ff;
  animation: blue-animation 1s ease 0.2s forwards;
}

.animated-bg--small {
  height: 88px;
}

.animated-bg--small .animated-bg__blob {
  filter: blur(20px);
}

.animated-bg--small .animated-bg__blob--orange {
  width: 50%;
  height: 50px;
  top: -75px;
  right: 0;
  animation: orange-animation-small 1.5s ease-out forwards 0.5s;
}

.animated-bg--small .animated-bg__blob--blue-yellow {
  width: 15%;
  height: 150px;
  top: -200px;
  left: 35%;
  animation: blue-yellow-animation-small 2s ease-in-out forwards;
}

.animated-bg--small .animated-bg__blob--yellow-orange {
  width: 25%;
  height: 150px;
  top: -200px;
  right: 30%;
  animation: yellow-orange-animation-small 1.2s ease-in-out forwards;
}

.animated-bg--small .animated-bg__blob--blue {
  width: 60%;
  height: 75px;
  top: -100px;
  left: 0;
  animation: blue-animation-small 1s ease 0.2s forwards;
}

@keyframes orange-animation {
  0% {
    top: -75px;
    right: 10%;
  }

  50% {
    top: 30px;
  }

  100% {
    top: 20px;
    right: -1%;
  }
}

@keyframes blue-yellow-animation {
  0% {
    top: -200px;
    transform: scaleX(1) translateX(0);
  }

  25% {
    top: 50px;
    transform: scaleX(1.5) translateX(0);
  }

  50% {
    top: 40px;
    transform: scaleX(2.25) translateX(10%);
  }

  100% {
    top: 60px;
    transform: scaleX(2.2) translateX(5%);
  }
}

@keyframes yellow-orange-animation {
  0% {
    top: -200px;
    transform: scaleX(0.5) translateX(0);
  }

  25% {
    top: 50px;
    transform: scaleX(0.7) translateX(-10%);
  }

  50% {
    top: 30px;
    transform: scaleX(2.25) translateX(-5%);
  }

  100% {
    top: 50px;
    transform: scaleX(2.25) translateX(0);
  }
}

@keyframes blue-animation {
  0% {
    top: -100px;
    transform: translateX(0);
  }

  50% {
    top: 50px;
    transform: translateX(-15%);
  }

  100% {
    top: 50px;
    transform: translateX(-5%);
  }
}

@keyframes orange-animation-small {
  0% {
    top: -75px;
    right: 10%;
  }

  50% {
    top: -30px;
  }

  100% {
    top: -28px;
    right: -1%;
  }
}

@keyframes blue-yellow-animation-small {
  0% {
    top: -200px;
    transform: scaleX(1) translateX(0);
  }

  25% {
    top: -110px;
    transform: scaleX(1.5) translateX(0);
  }

  50% {
    top: -120px;
    transform: scaleX(2.25) translateX(10%);
  }

  100% {
    top: -105px;
    transform: scaleX(2.2) translateX(5%);
  }
}

@keyframes yellow-orange-animation-small {
  0% {
    top: -200px;
    transform: scaleX(0.5) translateX(0);
  }

  25% {
    top: -110px;
    transform: scaleX(0.7) translateX(-10%);
  }

  50% {
    top: -130px;
    transform: scaleX(2.25) translateX(-5%);
  }

  100% {
    top: -110px;
    transform: scaleX(2.25) translateX(0);
  }
}

@keyframes blue-animation-small {
  0% {
    top: -100px;
    transform: translateX(0);
  }

  50% {
    top: -50px;
    transform: translateX(-15%);
  }

  100% {
    top: -50px;
    transform: translateX(-5%);
  }
}

@media (max-width: 768px) {
  .animated-bg__colors {
    transform: translate3d(0, 0, 0) translateY(-10px);
  }

  .animated-bg__blob {
    filter: blur(17px);
  }
}