/* Motion enhances the static composition; all content is visible without it. */
/* Bounded decorative planes: painted gradients stay static; GSAP moves their layers. */
[data-atmosphere] {
  position: relative;
  isolation: isolate;
}

[data-atmosphere]>.container {
  position: relative;
  z-index: 1;
}

.section-atmosphere {
  --glow-rgb: 8, 107, 216;
  --glow-alpha: .10;
  --grid-alpha: .045;
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
  contain: strict;
}

.section-atmosphere>span {
  position: absolute;
  display: block;
  pointer-events: none;
}

.atmosphere-glow {
  width: min(860px, 85vw);
  height: 640px;
  right: -100px;
  top: -140px;
  background: radial-gradient(ellipse at center, rgba(var(--glow-rgb), var(--glow-alpha)) 0%, rgba(var(--glow-rgb), 0) 70%);
}

.atmosphere-grid {
  width: min(720px, 64vw);
  height: 480px;
  right: 0;
  top: 0;
  background-image: linear-gradient(rgba(var(--glow-rgb), var(--grid-alpha)) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--glow-rgb), var(--grid-alpha)) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 72%);
}

.atmosphere-shape {
  width: 400px;
  height: 400px;
  right: -150px;
  top: 60px;
  border: 1px solid rgba(var(--glow-rgb), .12);
  border-radius: 50%;
}

.atmosphere-shape:after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(var(--glow-rgb), .065);
  border-radius: inherit;
}

.atmosphere-sweep {
  width: 200px;
  height: 560px;
  top: -100px;
  left: 55%;
  opacity: 0;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(var(--glow-rgb), .06), transparent);
}

/* The right-hand light grounds the hero screenshot; its copy stays on a calm field. */
[data-atmosphere=hero] .section-atmosphere {
  --glow-alpha: .18;
  --grid-alpha: .06;
  background: linear-gradient(180deg, transparent 65%, #ffffff70);
}

[data-atmosphere=hero] .atmosphere-glow {
  width: min(1100px, 90vw);
  height: 800px;
  right: -160px;
  top: -100px;
}

[data-atmosphere=hero] .atmosphere-shape {
  width: 620px;
  height: 620px;
  right: -320px;
  top: 70px;
}

/* Broad fields fade at the edges so consecutive editorial sections share a canvas. */
[data-atmosphere=bridge] .section-atmosphere {
  --glow-alpha: .075;
  background: linear-gradient(180deg, #f6f9fc55, transparent 28%);
}

[data-atmosphere=bridge] .atmosphere-glow {
  right: auto;
  left: -320px;
  top: -260px;
}

[data-atmosphere=bridge] .atmosphere-grid {
  opacity: .35;
}

[data-atmosphere=product] .section-atmosphere {
  --glow-alpha: .13;
  --grid-alpha: .065;
  background: linear-gradient(180deg, #fff 0%, transparent 25%, transparent 78%, #ffffff80 100%);
}

[data-atmosphere=product] .atmosphere-glow {
  top: 60px;
  right: auto;
  left: -220px;
}

[data-atmosphere=product] .atmosphere-grid {
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(180deg, transparent, #000 35%, transparent 95%);
}

[data-atmosphere=product] .atmosphere-shape {
  right: -210px;
  top: 0;
  border-radius: 32px;
  transform: rotate(-14deg);
}

[data-atmosphere=quiet] .section-atmosphere {
  --glow-alpha: .055;
  --grid-alpha: .025;
}

[data-atmosphere=quiet] .atmosphere-glow {
  right: -340px;
  top: -280px;
}

[data-atmosphere=quiet] .atmosphere-grid {
  background-size: 64px 64px;
}

[data-atmosphere=ledger] .section-atmosphere {
  --glow-alpha: .08;
  --grid-alpha: .035;
}

[data-atmosphere=ledger] .atmosphere-grid {
  height: 240px;
  mask-image: linear-gradient(180deg, #000, transparent);
}

[data-atmosphere=route] .section-atmosphere {
  --glow-alpha: .13;
  --grid-alpha: .05;
  background: linear-gradient(180deg, #f6f9fc 0%, transparent 80%);
}

[data-atmosphere=route] .atmosphere-glow {
  top: -200px;
  right: -80px;
}

[data-atmosphere=route] .atmosphere-shape {
  width: 600px;
  height: 600px;
  right: -260px;
  top: -200px;
}

[data-atmosphere=close] .section-atmosphere {
  --glow-rgb: 120, 183, 255;
  --glow-alpha: .22;
  --grid-alpha: .09;
}

[data-atmosphere=close] .atmosphere-glow {
  width: 900px;
  right: -200px;
  top: -240px;
}

[data-atmosphere=close] .atmosphere-grid {
  mask-image: linear-gradient(90deg, transparent, #000);
}

[data-atmosphere=close] .atmosphere-shape {
  width: 520px;
  height: 520px;
  right: -130px;
  top: -140px;
}

[data-atmosphere=close] .atmosphere-sweep {
  background: linear-gradient(90deg, transparent, #78b7ff18, transparent);
}

#assessment .atmosphere-glow {
  left: -260px;
  top: 80px;
}

#partner .atmosphere-glow {
  left: -400px;
  right: auto;
}

#faq .atmosphere-grid {
  opacity: .4;
}

/* A small light edge anchors the demo without altering its dimensions. */
.demo-panel {
  box-shadow: 0 16px 40px -32px #102e4840;
}

@media(max-width:979px) {
  .atmosphere-glow {
    width: 640px;
    height: 480px;
    right: -320px;
  }

  .atmosphere-grid {
    width: 75%;
    height: 320px;
    background-size: 40px 40px;
    opacity: .65;
  }

  .section-atmosphere .atmosphere-shape,
  .section-atmosphere .atmosphere-sweep {
    display: none;
  }

  [data-atmosphere=hero] .atmosphere-glow {
    width: 740px;
    height: 640px;
    right: -340px;
    top: auto;
    bottom: 0;
  }

  [data-atmosphere=hero] .atmosphere-grid {
    top: auto;
    bottom: 0;
  }

  [data-atmosphere=product] .atmosphere-glow {
    left: -400px;
  }
}

@media(forced-colors:active) {
  .section-atmosphere {
    display: none;
  }
}

[data-action=motion-toggle] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--muted);
  font-size: .75rem;
}

[data-action=motion-toggle]:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-dark);
}

[data-action=motion-toggle][aria-pressed=true]:before {
  background: var(--muted);
}

[data-action=motion-toggle]:disabled {
  cursor: default;
  opacity: 1;
}

.tab-list {
  position: relative;
  isolation: isolate;
}

html[data-motion=full] .tab-list[data-indicator=ready]:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: var(--pill-width, 0px);
  transform: translateX(var(--pill-x, 0px));
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 2px 4px #102e4808;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), width .2s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
  z-index: -1;
}

html[data-motion=full] .tab-list[data-indicator=ready] button[aria-selected=true] {
  background: transparent;
  box-shadow: none;
}

html[data-motion=full] .button {
  transition: background .18s, border-color .18s;
}

html[data-motion=full] .button span[aria-hidden],
html[data-motion=full] .text-link span[aria-hidden] {
  transition: transform .18s ease-out;
}

@media(hover:hover) and (pointer:fine) {

  html[data-motion=full] .button:hover span[aria-hidden],
  html[data-motion=full] .text-link:hover span[aria-hidden] {
    transform: translateX(2px);
  }
}

html[data-motion=full] .demo-dialog[open] {
  animation: dialog-enter .2s cubic-bezier(.16, 1, .3, 1);
}

html[data-motion=full] .demo-dialog[open]::backdrop {
  animation: backdrop-enter .18s ease-out;
}

html[data-motion=full] .faq-list details[open] p {
  animation: content-enter .16s ease-out;
}

html[data-motion=full] .stepper li span {
  transition: background .18s, color .18s;
}

@keyframes dialog-enter {
  from {
    opacity: .6;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes content-enter {
  from {
    opacity: .7;
  }

  to {
    opacity: 1;
  }
}

html[data-page-hidden=true] *,
html[data-page-hidden=true] *:before,
html[data-page-hidden=true] *:after {
  animation-play-state: paused !important;
}

html[data-motion=reduced] {
  scroll-behavior: auto;
}

html[data-motion=reduced] *,
html[data-motion=reduced] *:before,
html[data-motion=reduced] *:after {
  animation: none !important;
  transition: none !important;
}

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

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }

  .button span[aria-hidden],
  .text-link span[aria-hidden] {
    transform: none !important;
  }
}