:root {
  --bg: #ffffff; /* start on white */
  --text-active: #ffffff;
  --text-inactive: #555555; /* dimmed */
  --suite-max-width: min(1560px, 94vw);
  /* Shared vertical spacing between Studio and Pricing */
  --studio-pricing-gap: clamp(220px, 35vh, 760px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  background: var(--bg);
  color: var(--text-active);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  scroll-behavior: auto;
  transition: background-color 0.6s ease, color 0.35s ease;
}

.guide-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  transform: translate(-200px, -200px);
  transition: transform 0.8s cubic-bezier(.4,0,.2,1), opacity 0.4s ease;
  pointer-events: none;
  z-index: 120;
  opacity: 0;
}

.guide-cursor.is-visible {
  opacity: 1;
}

.guide-cursor::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, rgba(255, 170, 118, 0.75), rgba(255, 120, 180, 0.6) 35%, rgba(130, 78, 255, 0.45) 64%, rgba(38, 120, 255, 0.35) 78%, rgba(18, 30, 64, 0));
  filter: blur(32px);
  opacity: 0.85;
  transition: opacity 1.2s ease, transform 1.2s ease;
  pointer-events: none;
}

.guide-cursor.is-pulsing::before {
  animation: guideGlowBreath 2.8s ease-in-out forwards;
}

.guide-cursor-pointer {
  width: 40px;
  height: 40px;
  background: url('/guide-cursor.png') center/contain no-repeat;
  transform: translate(-50%, -50%) rotate(-4deg);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}

.guide-cursor.is-pulsing .guide-cursor-pointer {
  animation: guideCursorPulse 1.4s ease forwards;
}

@keyframes guideCursorPulse {
  0% { transform: translate(-50%, -50%) rotate(-4deg) scale(0.85); }
  50% { transform: translate(-50%, -50%) rotate(-4deg) scale(1.1); }
  100% { transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
}

.guide-cursor:not(.is-visible)::before {
  opacity: 0;
}

@keyframes guideGlowBreath {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.92);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
  100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
}

.guide-edge-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(circle at top center, rgba(255, 181, 146, 0.25), rgba(0, 0, 0, 0) 48%),
    radial-gradient(circle at bottom center, rgba(138, 120, 255, 0.32), rgba(0, 0, 0, 0) 46%),
    radial-gradient(circle at 10% 50%, rgba(255, 110, 186, 0.2), rgba(0, 0, 0, 0) 35%, transparent 60%),
    radial-gradient(circle at 90% 50%, rgba(104, 192, 255, 0.2), rgba(0, 0, 0, 0) 35%, transparent 60%),
    radial-gradient(circle at 0% 0%, rgba(255, 205, 120, 0.18), rgba(0, 0, 0, 0) 40%),
    radial-gradient(circle at 100% 100%, rgba(92, 150, 255, 0.22), rgba(0, 0, 0, 0) 42%);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: guideEdgeBreath 4.6s ease-in-out infinite;
}

.guide-edge-glow.is-visible {
  opacity: 0.65;
}

.guide-edge-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 32px);
  opacity: 0.35;
  filter: blur(0.4px);
  animation: guideEdgeGridBreath 6s ease-in-out infinite;
}

@keyframes guideEdgeBreath {
  0% { filter: blur(34px); transform: scale(1); }
  50% { filter: blur(42px); transform: scale(1.03); }
  100% { filter: blur(34px); transform: scale(1); }
}

@keyframes guideEdgeGridBreath {
  0% { opacity: 0.3; }
  40% { opacity: 0.4; }
  100% { opacity: 0.3; }
}

main {
  position: relative;
}

/* WebGL canvas achter alles */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
  opacity: 1;
  filter: none;
  box-shadow: none;
  will-change: opacity, filter, box-shadow;
}

/* Cross-as-grid overlay (revealed during Pricing grid zoom) */
#grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: block;
  /* Remove perspective: flat text (no 3D) */
  perspective: none;
  perspective-origin: 50% 50%;
  pointer-events: none; /* enabled when .pricing-grid is active */
  opacity: 0;
  transition: opacity 0.5s ease;
}

html:not(.pricing-grid) #grid-overlay,
html:not(.pricing-grid) #grid-overlay * {
  pointer-events: none !important;
}

#grid-overlay .grid-cell {
  position: relative;
  padding: clamp(12px, 2.2vw, 28px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  opacity: calc(var(--grid-alpha, 0));
  transition: opacity 0.45s ease;
}

/* Slides container fills overlay */
#grid-overlay .grid-slides { position: absolute; inset: 0; }

/* Each slide is its own 2x3 grid */
#grid-overlay .grid-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-areas:
    "tl tr"
    "ml mr"
    "bl br";
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(.2,.8,.2,1);
  transform-style: flat; /* no 3D preservation */
}
#grid-overlay .grid-slide.is-active { opacity: 1; pointer-events: auto; }
#grid-overlay.grid-nav-text-hidden .grid-slide.is-active {
  opacity: 0 !important;
  transition-duration: 120ms;
}

/* Place cells in areas */
.cell-tl { grid-area: tl; }
.cell-tr { grid-area: tr; }
.cell-ml { grid-area: ml; }
.cell-mr { grid-area: mr; }
.cell-bl { grid-area: bl; }
.cell-br { grid-area: br; }

/* Visualize arms and center lightly for debugging/preview */
/* Faint outlines to preview zones */
.pricing-grid #grid-overlay .grid-cell { outline: none !important; }

/* Keep only the middle two cells visible (ml, mr); hide corners */
.pricing-grid #grid-overlay .cell-tl,
.pricing-grid #grid-overlay .cell-tr,
.pricing-grid #grid-overlay .cell-bl,
.pricing-grid #grid-overlay .cell-br {
  display: none !important;
}

/* Middle row now permitted to carry content (ml shows intro) */

/* Force black text on white pricing theme */
.pricing-grid #grid-overlay,
.pricing-light #grid-overlay { color: #000; }

/* Typography for preview */
#grid-overlay .grid-title {
  font-size: clamp(19px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}
#grid-overlay .grid-title--caps { text-transform: uppercase; }
#grid-overlay .grid-body {
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
}
/* Align first card text width to ROI reading measure */
#grid-overlay .grid-stack {
  max-width: min(56ch, 640px); /* close to ROI text measure */
  display: flex;
  flex-direction: column;
  min-height: clamp(220px, 34vh, 520px);
}
#grid-overlay .grid-stack .grid-title { margin-bottom: 10px; }
/* Tighter gap between title and text for first card (left box) */
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-stack .grid-title {
  margin-bottom: clamp(18px, 1.6vw, 32px);
  font-size: clamp(18px, 1.6vw, 22px);
}
/* Push the paragraph to the bottom of the left card box */
#grid-overlay .grid-stack .grid-body { margin-top: auto; }

/* On first slide, align both boxes' bottoms to the cell bottom so left paragraph matches the lowest line on the right */
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-stack {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* keep title pinned; body is pushed by margin-top:auto */
}
#grid-overlay .grid-slide[data-index="0"] .cell-mr .grid-stack {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* start from top to match Integrations starting height */
}
/* Ensure slide 1 (card 1) boxes are exactly the same height: remove min/max constraints so height tracks the row (driven by right box) */
#grid-overlay .grid-slide[data-index="0"] .grid-stack {
  min-height: 0;
  max-height: none;
  overflow: visible;
}
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-stack {
  min-height: 0;
  max-height: clamp(360px, 35vw, 520px);
}
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-stack .grid-body {
  margin-top: clamp(18px, 1.6vw, 32px);
}

/* Raise all overlay boxes slightly (approx 3% of viewport height) */
#grid-overlay .grid-product,
#grid-overlay .grid-stack {
  transform: translateY(-3vh);
}
/* Integrations/Analytics slide: nudge the pair ~5.5% upward (0.5% more than default lift) */
#grid-overlay .grid-slide[data-index="1"] .grid-product {
  transform: translateY(-6vh);
}

/* Ensure amaso Chat box fully expands so all text is visible */
#grid-overlay .grid-slide[data-index="1"] .cell-ml .grid-product {
  max-height: none;
  overflow: visible;
}

/* Ensure Analytics column on slide 1 also shows full content */
#grid-overlay .grid-slide[data-index="1"] .cell-mr .grid-product {
  max-height: none;
  overflow: visible;
}

/* Preserve consistent spacing beneath the lifted Integrations/Analytics cards */
#grid-overlay .grid-slide[data-index="1"] .grid-product {
  margin-top: clamp(8px, 3vh, 40px);
}

/* Do the same for Integrations (left) and Analytics (right) on slide 2 */
#grid-overlay .grid-slide[data-index="2"] .cell-ml .grid-product,
#grid-overlay .grid-slide[data-index="2"] .cell-mr .grid-product {
  max-height: none;
  overflow: visible;
}

/* Allow vertical scrolling of the overlay if content exceeds viewport */
.pricing-grid #grid-overlay { overflow-y: auto; }

/* Ensure all cards use the same box width/position as slide 2/3 */
#grid-overlay .grid-product {
  max-width: min(56ch, 640px);
}
/* Default positioning matches slides 2/3 */
#grid-overlay .cell-ml { justify-content: flex-end; }
#grid-overlay .cell-ml .grid-product { margin-left: auto; }
#grid-overlay .cell-mr { justify-content: flex-start; }
#grid-overlay .cell-mr .grid-product { margin-right: auto; }
/* Slide 0 right column: centered between default and mirrored positions */
#grid-overlay .grid-slide[data-index="0"] .cell-mr {
  justify-content: center;
}
#grid-overlay .grid-slide[data-index="0"] .cell-mr .grid-stack {
  margin-right: clamp(-20px, -2.6vw, -8px);
  margin-top: 8%;
  max-width: min(56ch, 640px);
}
/* Slide 0 left column: hug outer edge like slide 2 */
#grid-overlay .grid-slide[data-index="0"] .cell-ml {
  justify-content: center;
}
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-stack {
  margin-left: clamp(-4px, -0.8vw, -2px);
  max-width: min(56ch, 640px);
}

/* Product headers + three-column detail layout to match mock */
#grid-overlay .grid-product-head {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(12px, 2vw, 28px);
  row-gap: clamp(0px, 0.4vw, 6px);
  align-items: flex-start;
  padding-top: clamp(10px, 2vw, 28px);
  margin-bottom: clamp(-4px, -0.6vw, 6px);
}
#grid-overlay .grid-product-name {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  position: relative;
  padding-bottom: 0;
  margin-bottom: clamp(2px, 0.4vw, 6px);
  line-height: 1;
}
#grid-overlay .grid-product-dot {
  color: #ff3b3b;
  margin-left: 2px;
  display: inline-block;
  opacity: 0;
  transform: scale(0.35) translateY(-2px);
  animation: gridDotPop 240ms cubic-bezier(.22,.75,.4,1) forwards;
}
#grid-overlay .grid-product-dot--instant {
  opacity: 1;
  transform: none;
  animation: none;
}
#grid-overlay .grid-product-dot::selection { color: #ff3b3b; }
#grid-overlay .grid-product-underline {
  display: block;
  height: 2px;
  width: 100%;
  margin-top: clamp(2px, 0.6vw, 6px);
  background-image: repeating-linear-gradient(90deg, #ff3b3b 0, #ff3b3b 6px, transparent 6px, transparent 12px);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation: gridLineDraw 360ms ease forwards;
}
#grid-overlay .grid-product-underline--right {
  transform-origin: right center;
}
@keyframes gridLineDraw {
  0% { transform: scaleX(0); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
@keyframes gridDotPop {
  0% { opacity: 0; transform: scale(0.35) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  #grid-overlay .grid-product-dot {
    animation: none;
    opacity: 1;
    transform: none;
  }
  #grid-overlay .grid-product-underline {
    animation: none;
    transform: scaleX(1);
    opacity: 1;
  }
}
#grid-overlay .grid-product--mirror {
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  align-items: flex-start;
}
#grid-overlay .grid-product--mirror .grid-product-head {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  row-gap: clamp(4px, 0.8vw, 10px);
}
#grid-overlay .grid-product--mirror .grid-product-name {
  justify-content: flex-start;
  width: 100%;
}
#grid-overlay .grid-product--mirror .grid-product-descriptor {
  width: 100%;
  text-align: left;
}
#grid-overlay .grid-product--mirror .grid-product-details {
  justify-items: flex-start;
  text-align: left;
}
#grid-overlay .grid-product--mirror .grid-product-detail {
  text-align: left;
  justify-self: start;
}
#grid-overlay .grid-product--mirror .grid-detail-list {
  padding-left: 0;
  padding-right: 0;
  list-style-position: outside;
  text-align: left;
}
#grid-overlay .grid-product--mirror .grid-product-detail:last-child {
  grid-column: -2 / -1;
}
#grid-overlay .grid-product--stacked {
  width: 100%;
  margin-left: clamp(-48px, -4vw, -16px);
  margin-right: auto;
  text-align: left;
}
#grid-overlay .grid-product--stacked .grid-product-head {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  row-gap: clamp(4px, 0.8vw, 10px);
}
#grid-overlay .grid-product--stacked .grid-product-name {
  width: 100%;
  justify-content: flex-start;
}
#grid-overlay .grid-product--stacked .grid-product-descriptor {
  width: 100%;
  text-align: left;
}
#grid-overlay .grid-product-descriptor {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  color: #1c1c1c;
  margin-top: clamp(-8px, -0.8vw, -3px);
}
#grid-overlay .grid-product-details {
  display: grid;
  gap: clamp(12px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  width: 100%;
  margin-top: clamp(10px, 2vw, 20px);
}
#grid-overlay .grid-product-detail {
  list-style: none;
}
#grid-overlay .grid-detail-label {
  font-weight: 700;
  font-size: clamp(14px, 1.3vw, 18px);
  margin: 0 0 8px;
  color: #111;
}
#grid-overlay .grid-detail-copy {
  margin: 0 0 6px;
  color: #333;
  line-height: 1.5;
}
#grid-overlay .grid-detail-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #111;
  line-height: 1.45;
}
#grid-overlay .grid-detail-list li {
  margin-bottom: 4px;
}
#grid-overlay .grid-detail-list li .quick-type-inline {
  display: inline-block;
  min-width: 0;
}
#grid-overlay .grid-detail-list li:last-child { margin-bottom: 0; }

/* Ensure box content stays fully visible */
/* Cells don't clip; scrolling happens inside the box containers */
#grid-overlay .grid-cell {
  overflow: visible;
  /* add headroom so translateY(-3vh) never clips the top */
  padding-top: calc(clamp(12px, 2.2vw, 28px) + 3vh);
  padding-bottom: clamp(12px, 2.2vw, 28px);
}

/* Constrain internal boxes and allow them to scroll if needed */
#grid-overlay .grid-product,
#grid-overlay .grid-stack {
  /* Revert to original constraint */
  max-height: calc(100% - clamp(24px, 5vh, 56px));
  overflow: auto;
  transform-style: flat;
  backface-visibility: visible;
}

@media (max-height: 740px) {
  /* Reduce vertical offset on short viewports to avoid clipping */
  #grid-overlay .grid-product,
  #grid-overlay .grid-stack { transform: translateY(-1.5vh); }
}

/* Keep the left box flush toward center, but left-align its text */
#grid-overlay .cell-ml { justify-content: flex-end; }
#grid-overlay .cell-ml .grid-stack,
#grid-overlay .cell-ml .grid-product {
  margin-left: auto;        /* keep the box positioned on the right side of left cell */
  text-align: left;         /* left-align text inside the box */
  align-items: flex-start;  /* in case of flex containers within */
}

/* Reset any 3D transforms on text: keep normal flat text */
#grid-overlay .grid-title,
#grid-overlay .grid-kicker,
#grid-overlay .grid-body,
#grid-overlay .grid-product-details,
#grid-overlay .grid-product-detail { transform: none !important; will-change: auto; }

/* Slide 0 intro (left box) — match grid sizing like other slides */
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-title {
  font-size: clamp(19px, 2.6vw, 36px) !important;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-body {
  font-size: clamp(14px, 1.4vw, 18px) !important;
  line-height: 1.5;
  max-width: 56ch;
}

/* Slightly larger label/copy in bullet/list blocks so alignment remains consistent */
#grid-overlay .grid-list-label { font-size: clamp(16px, 1.8vw, 26px); }
#grid-overlay .grid-list-copy { font-size: clamp(15px, 1.6vw, 22px); }

/* Subtle shading to enhance perceived depth on light background */
/* Remove shadow for clean 3D effect */
#grid-overlay .cell-ml .grid-product-details,
#grid-overlay .cell-ml .grid-list {
  text-align: left;
}

/* Strong depth specifically for Slide 0 intro (left box) */
/* Force strong inward perspective on intro (left) */
#grid-overlay .grid-slide[data-index="0"] .cell-ml {
  perspective: none;
  perspective-origin: 50% 50%;
}
#grid-overlay .grid-slide[data-index="0"] .cell-ml .grid-stack {
  transform-style: flat;
  transform-origin: center;
  /* align to grid center like slides 1/2 */
  transform: none !important;
}
#grid-overlay .cell-ml .grid-product-details,
#grid-overlay .cell-ml .grid-list {
  text-align: left;
}

/* Grid list for 'How pricing works' */
#grid-overlay .grid-kicker {
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #222;
  margin: 0 0 8px 0;
}
#grid-overlay .grid-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
#grid-overlay .grid-list-label {
  font-weight: 700;
  margin: 0 0 1px 0;
  font-size: clamp(14px, 1.3vw, 18px);
}
#grid-overlay .grid-list-copy {
  margin: 0;
  color: #333;
  font-size: clamp(13px, 1.2vw, 17px);
}

/* Nav */
#grid-overlay .grid-nav {
  display: none !important;
}
#grid-overlay .grid-nav button {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.7);
  color: #000;
  width: 34px; height: 34px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  display: grid; place-items: center;
}
#grid-overlay .grid-nav button.is-hidden,
#grid-overlay .grid-side-nav .grid-prev.is-hidden,
#grid-overlay .grid-side-nav .grid-next.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
#grid-overlay .grid-nav button:hover { background: rgba(255,255,255,0.9); }

/* Avoid duplicate visual content: hide original intro heading/body while overlay shows them */
.pricing-grid #pricing .pricing-title,
.pricing-grid #pricing .pricing-description {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Hide original breakdown while grid shows it in middle-right */
.pricing-grid #pricing .pricing-breakdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Replace horizontal cards with grid when active: visually hide inner gallery but keep layout height */
.pricing-grid #pricing .roi-gallery-shell .roi-gallery {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Hide original pricing arrow bar when grid is active; keep space so section height stays constant */
.pricing-grid #pricing .roi-gallery-shell .roi-gallery-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Optional: debug outlines
#grid-overlay .grid-cell { outline: 1px dashed rgba(0,0,0,0.15); }
*/

/* Activate overlay when pricing grid is engaged */
.pricing-grid #grid-overlay {
  opacity: var(--grid-alpha, 0);
  pointer-events: auto;
}

/* removed fold cover */

/* Scroll spacer (kept for legacy JS logic) */
#scrollspace {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  pointer-events: none;
  opacity: 0;
}

.hero-gap {
  height: clamp(320px, 45vh, 640px);
  width: 100%;
}

.dark-transition-sentinel {
  width: 100%;
  height: clamp(200px, 28vh, 340px);
  pointer-events: none;
}


/* Contentblok rechtsonder (komt na keywords) */
#content-block {
  position: fixed;
  right: 5%;
  bottom: 10%;
  max-width: 480px;
  text-align: right;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.35s cubic-bezier(.2,.8,.2,1), filter 0.5s ease;
  pointer-events: none;
}

@keyframes push-bump {
  0% { transform: translateX(0); }
  25% { transform: translateX(120px); }
  55% { transform: translateX(220px); }
  80% { transform: translateX(160px); }
  100% { transform: translateX(0); }
}
#content-block.pushed { animation: push-bump 950ms cubic-bezier(.2,.8,.2,1) 1; }
/* steady hold while 'Integrations' is active */
#content-block.hold { --push-x: clamp(120px, 18vw, 320px); transform: translateX(var(--push-x)); }

.content-lines {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  font-size: clamp(18px, 2.2vw, 36px);
}

#content-block[data-statement-state="pending"] .content-lines div {
  color: transparent;
  text-shadow: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .keyword { transition: none; }
  #content-block { transition: none; }
}

/* Typing effect top-left during white intro */
#typing {
  position: fixed;
  left: clamp(16px, 6vw, 120px);
  top: clamp(24px, 10vh, 140px);
  bottom: auto;
  transform: none;
  transform-origin: 0% 0%;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  color: #000000; /* on white */
  font-weight: 700;
  letter-spacing: 0.02em;
  /* prefix stays lowercase; word may be Capitalized */
  font-size: clamp(28px, 8vw, 120px);
  line-height: 1;
  will-change: transform, opacity;
  transition: opacity 0.65s ease, transform 0.5s cubic-bezier(.2,.8,.2,1), filter 0.5s ease;
}

[data-intro-muted="true"] #typing,
[data-intro-muted="true"] #content-block {
  opacity: 0;
  filter: blur(26px);
}

[data-intro-muted="true"] #typing {
  transform: translateY(-40px);
}

.typing-prefix { text-transform: lowercase; }
.typing-word { text-transform: none; }

.typing-cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.9em;
  margin-left: 0; /* no gap between last letter and cursor */
  background: currentColor;
  transform: translateY(0.06em);
  animation: blink 1.1s steps(1, end) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Amaso Suite Static (end white page) */
#suite {
  position: relative; /* static section at page end */
  z-index: 6; /* keep Studio stack above fixed overlays */
  background: transparent;
  padding: 0 clamp(24px, 6vw, 32px); /* no vertical padding for true centering */
  padding-bottom: 0;
  /* Lift Studio higher on the page */
  margin-top: clamp(-220px, -15vh, -80px);
  overflow: visible;
  display: flex;
  justify-content: center;
}

/* Solutions page keeps the suite stack close to the hero (but not overlapping) */
#suite.solutions-suite {
  margin-top: clamp(-64px, -8vh, -12px);
}

/* Launch section (pre-pricing promo) */
.launch-section {
  position: relative;
  z-index: 3;
  margin-top: clamp(48px, 12vh, 160px);
  padding: clamp(32px, 6vw, 96px) clamp(16px, 6vw, 72px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.launch-shell {
  --launch-accent: #3bc7ff;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 32px);
  max-width: 1200px; /* match ROI frame width */
  margin: 0 auto;
}

.launch-hero-layer {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  min-height: auto;
}

.launch-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 24px);
  margin-top: clamp(12px, 3vw, 24px);
  margin-bottom: clamp(8px, 2vw, 16px);
}

.launch-body-column {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 24px);
}

@media (min-width: 900px) {
  .launch-body-grid {
    /* two columns (widget removed) */
    grid-template-columns: 0.6fr 0.4fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: stretch;
  }
}

.launch-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  color: #fff;
}

.launch-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d1d1d1;
  border: 1px solid rgba(79, 79, 79, 0.8);
  border-radius: 999px;
  padding: 6px 18px;
}

.launch-heading {
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.launch-subheading {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  text-transform: lowercase;
  color: #f4f4f4;
  letter-spacing: 0.08em;
}

.launch-body {
  margin: 0;
  color: #d1d1d1;
  line-height: 1.6;
  max-width: 56ch;
}

.launch-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: clamp(12px, 2vw, 24px);
}

.launch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.launch-cta-primary {
  background: var(--launch-accent);
  color: #050505;
  box-shadow: 0 18px 40px rgba(59, 199, 255, 0.25);
}

.launch-cta-primary:hover { transform: translateY(-1px) scale(1.01); }
.launch-cta-primary:active { transform: translateY(1px); }

.launch-cta-secondary {
  border: 1px solid rgba(79, 79, 79, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.launch-cta-secondary:hover {
  border-color: var(--launch-accent);
  color: var(--launch-accent);
}

.launch-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  padding: 0;
  margin: clamp(16px, 3vw, 32px) 0 0;
  list-style: none;
}

.launch-badges li {
  border: 1px solid rgba(79, 79, 79, 0.6);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d1d1d1;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.launch-feature-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 18px);
  color: #d1d1d1;
  justify-content: flex-start;
  align-items: flex-start;
}

.launch-feature-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #a1a1a1;
}

.launch-feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 18px);
}

.launch-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.launch-feature-copy h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.launch-feature-copy p {
  margin: 0;
  color: #d1d1d1;
  font-size: 13px;
  line-height: 1.5;
}

.launch-faq-panel {
  margin-top: clamp(8px, 2vw, 18px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
}

.launch-faq-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
}

.launch-faq-title {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: #fff;
}

.launch-faq-subtitle {
  margin: 0;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.45;
}

.launch-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 22px);
}

@media (min-width: 820px) {
  .launch-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.launch-faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: clamp(10px, 1.8vw, 16px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.launch-faq-item h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.launch-faq-item p {
  margin: 0;
  color: #dcdcdc;
  font-size: 13px;
  line-height: 1.45;
}

.launch-preview-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: #d1d1d1;
}

.launch-preview-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.launch-preview-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
}

.launch-preview-badge {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(79, 79, 79, 0.8);
  color: #d1d1d1;
}

.launch-preview-meta {
  margin: 0;
  text-transform: lowercase;
  letter-spacing: 0.12em;
  color: var(--launch-accent);
  font-size: 13px;
}

.launch-preview-body {
  margin: 0;
  color: #d1d1d1;
  line-height: 1.6;
  max-width: 48ch;
}

.launch-widget-card {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 18px);
  border-radius: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(79, 79, 79, 0.75);
  background: rgba(8, 8, 8, 0.85);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  max-width: min(360px, 100%);
}

.launch-widget-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.launch-widget-avatar {
  width: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--launch-accent), rgba(59, 199, 255, 0.35));
  color: #050505;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.launch-widget-avatar svg {
  width: 22px;
  height: 22px;
}

.launch-widget-prompt {
  margin: 0;
  font-weight: 600;
  color: #fff;
  font-size: clamp(18px, 2.5vw, 22px);
}

.launch-widget-hint {
  margin: 4px 0 0;
  color: #d1d1d1;
  font-size: 14px;
  line-height: 1.4;
}

.launch-widget-column {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: clamp(10px, 2vw, 20px);
  text-align: left;
}

.launch-widget-card > * {
  text-align: left;
}

.launch-widget-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #d1d1d1;
}

.launch-widget-tagline {
  margin: 0;
  font-size: 14px;
  color: #a3a3a3;
  max-width: 32ch;
  line-height: 1.5;
}

/* ROI section */
.roi-section {
  position: relative;
  z-index: 3;
  padding: clamp(48px, 8vw, 72px) clamp(16px, 6vw, 72px);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: clamp(32px, 6vw, 72px);
}

/* ROI right side trigger */
/* ROI inline gallery */
.roi-gallery-shell { position: relative; margin: clamp(16px, 4vw, 28px) 0; overflow: visible; }
.roi-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
}
.roi-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: clamp(14px, 2.6vw, 22px);
  color: #fff;
  box-shadow: none;
}
.roi-slide-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.roi-slide-body { color: #d1d1d1; }
.roi-slide-body ul { margin: 0; padding-left: 18px; }

.roi-gallery-nav { position: absolute; inset: 0; pointer-events: none; }
.roi-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 9, 11, 0.65);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
}
.roi-gallery-prev { left: clamp(8px, 2vw, 18px); }
.roi-gallery-next { right: clamp(8px, 2vw, 18px); }
@media (min-width: 768px) {
  .roi-gallery-prev { left: calc(-1 * clamp(16px, 4vw, 56px)); }
  .roi-gallery-next { right: calc(-1 * clamp(16px, 4vw, 56px)); }
}
.roi-gallery-btn:hover { background: rgba(255,255,255,0.08); }
.roi-gallery-btn[disabled] { opacity: 0.25; cursor: default; pointer-events: none; }

/* Lower the pricing nav arrows well below center */
/* Center pricing arrows vertically when grid is active */
.pricing-grid #pricing .roi-gallery-btn {
  top: 50% !important;
  transform: translateY(-50%);
}

/* Overlay side nav arrows (centered vertically on edges) */
#grid-overlay .grid-side-nav {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}
#grid-overlay .grid-side-nav .grid-prev,
#grid-overlay .grid-side-nav .grid-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.9);
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
#grid-overlay .grid-side-nav .grid-prev { left: clamp(8px, 2vw, 24px); }
#grid-overlay .grid-side-nav .grid-next { right: clamp(8px, 2vw, 24px); }

/* Support styles used inside ROI slides */
.roi-panel-source { margin: 0 0 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #bdbdbd; }
.roi-panel-columns { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 720px) { .roi-panel-columns { grid-template-columns: 1fr 1fr; } }

/* Page-wide gallery arrows (overlay) */
.page-gallery-nav { position: fixed; inset: 0; z-index: 9; pointer-events: none; }
.page-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(9,9,11,0.65);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
}
.page-gallery-prev { left: clamp(10px, 3vw, 22px); }
.page-gallery-next { right: clamp(10px, 3vw, 22px); }
.page-gallery-btn:hover { background: rgba(255,255,255,0.08); }
.page-gallery-btn[disabled] { opacity: 0.25; cursor: default; pointer-events: none; }

.roi-frame {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 48px);
}

.roi-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}

.roi-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: #d1d1d1;
}

.roi-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
}

.roi-head-controls { display: flex; justify-content: flex-end; margin: 6px 0 0; }
.roi-switch-btn {
  width: 40px; height: 40px; border-radius: 999px; cursor: pointer; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.16);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.roi-switch-btn:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }

.roi-intro {
  margin: 0;
  color: #d1d1d1;
  line-height: 1.7;
}

.roi-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 3vw, 24px);
}

.roi-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(12, 12, 12, 0.65);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.roi-card-label {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6e6e6;
}

.roi-card h3 {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

.roi-metric {
  margin: 8px 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.roi-detail {
  margin: 0;
  color: #d1d1d1;
  line-height: 1.5;
}

.roi-mini-chart {
  --chart-fill: 50%;
  --chart-color: #6cf0ff;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.roi-mini-chart.bar {
  height: 52px;
}

.roi-progress-set {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.roi-progress {
  position: relative;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.roi-progress.before {
  background: rgba(221, 68, 68, 0.15);
}

.roi-progress.after,
.roi-progress.single {
  background: rgba(46, 204, 113, 0.12);
}

.roi-progress-bar {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2ecc71, rgba(46, 204, 113, 0.55));
}

.roi-progress.before .roi-progress-bar {
  background: linear-gradient(90deg, #dd4444, rgba(221, 68, 68, 0.55));
}

.roi-progress-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.roi-progress.single {
  margin-top: 14px;
}

.roi-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.roi-columns h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #ffffff;
}

.roi-columns ul {
  margin: 0;
  padding-left: 18px;
  color: #f2f2f2;
  line-height: 1.6;
}

.roi-fast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 3vw, 24px);
}

.roi-fast-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(12, 12, 12, 0.65);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  color: #f5f5f5;
}

.roi-fast-card h4 {
  margin: 6px 0;
  font-size: 18px;
  color: #fff;
}

.roi-formula {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(12, 12, 12, 0.7);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.roi-formula h3 {
  margin: 0;
  font-size: 22px;
  color: #ffffff;
}

.roi-math {
  margin: 0;
  font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  color: #2ecc71;
}

.roi-formula-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 3vw, 24px);
}

.roi-formula-columns h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #f8f8f8;
}

.roi-formula-columns ul {
  margin: 0;
  padding-left: 18px;
  color: #f2f2f2;
}

.roi-payback {
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.roi-sources {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.roi-sources p {
  margin: 0 0 6px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: #a1a1a1;
}

.roi-sources ul {
  margin: 0;
  padding-left: 18px;
  color: #d1d1d1;
  line-height: 1.5;
}


@media (min-width: 900px) {
  .launch-widget-column {
    justify-content: flex-start;
  }
}

/* Slightly lift the card section so it sits closer under the orbit */
#suite-card { margin-top: clamp(-320px, -20vh, -128px); position: relative; z-index: 5; }

.suite-wrapper {
  width: 100%;
  max-width: min(var(--suite-max-width), 1560px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto;
}

.suite-frame {
  width: 100%;
  max-width: var(--suite-max-width);
  margin: 0 auto;
  color: #111;
  position: relative;
}

.suite-studio {
  text-align: center;
  margin: 0 auto 32px;
  color: #fff; /* white on black */
}
.suite-studio h2 {
  margin: 0 0 8px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  /* subtle glow control via CSS var */
  --glow: 0;
  text-shadow: 0 0 calc(var(--glow) * 24px) rgba(255,255,255,.85);
}
.suite-studio p {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
  color: #eee;
}

/* Scroll navigation arrows */
.scroll-nav {
  position: fixed;
  left: clamp(12px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}

.scroll-nav button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 9, 11, 0.65);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
}

.scroll-nav button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.scroll-nav button:active {
  transform: translateY(0);
}

.scroll-nav button[disabled] {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

/* Bottom-left section dock */
.section-dock {
  position: fixed;
  left: clamp(12px, 3vw, 32px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}

.section-dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.section-dock-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 9, 11, 0.65);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
}

.section-dock-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.section-dock-button.is-active {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.35);
}

.section-dock-label {
  display: inline-block;
  opacity: 0;
  transform: translateX(0) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: #fff;
  background: rgba(9, 9, 11, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.section-dock-item:hover .section-dock-label {
  opacity: 1;
  transform: translateX(6px) scale(1);
}

/* Generic reveal helpers */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), opacity 600ms ease;
  will-change: transform, opacity;
}
.reveal.from-right { transform: translateX(64px); }
.reveal.in { opacity: 1; transform: none; }

/* Orbit system */
:root { --accent: #3bc7ff; }

.orbit {
  position: relative;
  min-height: clamp(380px, 70vh, 640px);
  margin: 0 auto;
  z-index: 1;
  width: 100%;
  max-width: var(--suite-max-width);
  --orbit-center-y: 50%;
  --wheel-size: min(62vmin, 820px);
  --ring-r: calc(var(--wheel-size) * 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-wheel,
.laser-layer {
  display: none;
}
.orbit-wheel.spinning { animation: orbit-spin 75s linear infinite; }
@keyframes orbit-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit-lines { position: absolute; inset: 0; z-index: 0; }
.orbit-lines .ring { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; }
.orbit-lines .ring { vector-effect: non-scaling-stroke; }

/* nodes removed per request */

/* Lightning overlay (replaces straight laser) */
.laser-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.laser-layer .bolt { opacity: 0; }
.laser-layer .bolt-glow {
  fill: none;
  stroke: #ffffff; /* white glow */
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#bolt-glow) drop-shadow(0 0 8px rgba(255,255,255,.75));
}
.laser-layer .bolt-core {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.9));
}

/* Suite layout with orbit circle + detail card */


.module-stack {
  max-width: 920px;
  margin: clamp(-8px, -1vw, 8px) auto clamp(14px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2vw, 12px);
  position: relative;
  z-index: 1;
}

.module-stack .module-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  z-index: 2;
}

.module-stack .module-card {
  width: 100%;
  text-align: left;
}

.module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(62px, 6.4vw, 92px);
  height: clamp(62px, 6.4vw, 92px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(12,12,12,0.7);
  color: #f5f5f5;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  position: relative;
  z-index: 3;
  cursor: pointer;
  pointer-events: auto;
}
.module-icon svg { width: clamp(26px, 2.6vw, 34px); height: clamp(26px, 2.6vw, 34px); }
.module-icon.is-active {
  background: #ffffff;
  color: #000;
  border-color: #fff;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 24px 52px rgba(0,0,0,0.45);
}
.module-icon:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.module-card {
  --text: #f1f1f1;
  --muted: #cacaca;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: clamp(12px, 1.6vw, 20px) 0;
  box-shadow: none;
  color: var(--text);
}

.module-card .qc-title { color: #fff; }
.module-card .qc-sub { color: rgba(255,255,255,0.72); }
.module-card .qc-body { color: var(--text); }
.module-card .qc-sec { color: rgba(255,255,255,0.68); }
.module-card .qc-list li { color: var(--text); }

.qc-title { margin: 0 0 2px; font-size: clamp(18px, 1.9vw, 22px); font-weight: 800; color: #fff; }
.qc-sub { margin: 0 0 2px; color: #d8d8d8; font-style: italic; }
.qc-body { margin: 0 0 2px; line-height: 1.35; color: var(--text); }
.qc-sec { margin: 4px 0 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #bdbdbd; }
.qc-list { margin: 0; padding-left: 0; list-style: none; }
.qc-list li { margin: 0 0 1px; color: var(--text); padding-left: 1.25em; text-indent: -1.05em; white-space: pre-wrap; }

.qc-cols { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(8px, 2vw, 16px); margin-top: 4px; }
.qc-cols::before { content: none; }

@media (max-width: 1024px) {
  .module-stack { margin: clamp(-36px, -12vw, -8px) auto clamp(18px, 7vw, 48px); gap: clamp(14px, 4.5vw, 22px); }
  .module-stack .module-icon-row { gap: clamp(12px, 3vw, 20px); }
}

@media (max-width: 768px) {
  .module-stack { margin: clamp(-28px, -14vw, -6px) auto clamp(18px, 12vw, 48px); }
  .module-stack .module-icon-row { justify-content: center; }
}

.solutions-hero {
  position: relative;
  width: 100%;
  min-height: clamp(120px, 24vh, 240px);
  padding: clamp(6px, 1.5vw, 28px) clamp(16px, 4vw, 34px);
  margin: clamp(-72px, -8vh, -18px) auto clamp(80px, 14vh, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.solutions-hero--secondary {
  margin: clamp(40px, 6vh, 120px) auto clamp(40px, 10vh, 160px);
  flex-direction: column;
  gap: clamp(18px, 4vw, 40px);
}
.solutions-hero-inner {
  width: 100%;
  max-width: 1100px;
  display: grid;
  gap: clamp(2px, 0.8vw, 10px);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.solutions-hero-title {
  font-size: clamp(70px, 16vw, 200px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.96;
  margin: 0;
  display: block;
}
.solutions-hero-copy {
  font-size: clamp(16px, 1.8vw, 24px);
  color: rgba(255,255,255,0.72);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-top: clamp(-4px, -0.8vw, 6px);
}

.solutions-hero--secondary .solutions-hero-title,
.solutions-hero--secondary .solutions-hero-title--secondary,
.solutions-hero--secondary .solutions-hero-copy {
  opacity: 0;
  transition: transform 0.65s cubic-bezier(.17,.84,.44,1), opacity 0.65s ease;
}
.solutions-hero--secondary .solutions-hero-title {
  transform: translateX(140vw);
}
.solutions-hero--secondary .solutions-hero-title--secondary {
  justify-self: end;
  transform: translateX(-140vw);
  margin-top: clamp(-14px, -2vw, -4px);
}
.solutions-hero--secondary .solutions-hero-copy {
  transform: translateY(18px);
}
.solutions-hero--secondary.is-visible .solutions-hero-title,
.solutions-hero--secondary.is-visible .solutions-hero-title--secondary,
.solutions-hero--secondary.is-visible .solutions-hero-copy {
  opacity: 1;
  transform: translateX(0);
}
.solutions-hero--secondary.is-visible .solutions-hero-copy {
  transform: translateY(0);
}

.solutions-hero--initial .solutions-hero-title,
.solutions-hero--initial .solutions-hero-title--secondary,
.solutions-hero--initial .solutions-hero-copy {
  opacity: 1;
  transform: none;
}


/* Typed Card pinned inside orbit */
/* remove pinned card inside orbit; card will be in normal flow under it */
.typed-card { display: grid; grid-template-columns: 1fr; min-height: 0; align-items: center; }
.typed-card .card-box { margin: 0 auto 48px; }
.typed-card.left .card-box {
  margin-right: auto;
  margin-left: clamp(16px, 4vw, 48px);
  /* Keep the right edge near the viewport center (with a small gutter) */
  width: min(720px, 92vw, calc(50vw - 24px));
}
.typed-card.left > .card-title {
  margin: 0 0 4px;
  margin-left: clamp(16px, 4vw, 48px);
  width: min(720px, 92vw, calc(50vw - 24px));
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  position: relative;
  z-index: 6;
}
.typed-card .card-box { width: min(720px, 92vw); background: rgba(12,12,12,.85); border: 1px solid #1c1c1c; border-radius: 14px; padding: clamp(12px, 2.4vw, 24px); color: #fff; box-shadow: 0 10px 36px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.02) inset; backdrop-filter: blur(4px); }
.typed-card.left .card-box { margin-right: auto; }
.typed-card.right .card-box { margin-left: auto; }

.card-head { margin-top: 0; margin-bottom: 10px; }
.card-title { margin: 0 0 4px; font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: .02em; }
.card-sub { margin: 0; font-weight: 600; color: #f2f2f2; opacity: .9; }
.card-copy { margin-top: 10px; }
.card-par { margin: 0 0 14px; line-height: 1.7; color: #e5e5e5; }
.card-sec { margin: 16px 0 6px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #eaeaea; opacity: .9; }
.card-list { margin: 0; padding-left: 18px; }
.card-list li { margin: 2px 0; color: #d9d9d9; }

/* Split layout for Use cases / Highlights (clean + minimal) */
.card-split { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.card-col .card-sec:first-child { margin-top: 0; }
@media (min-width: 720px) {
  .card-split { grid-template-columns: 1fr 1fr; gap: 24px; }
  .card-split .card-col + .card-col { border-left: 1px solid rgba(255,255,255,.14); padding-left: 16px; }
}

/* Typewriter prep (disabled for now: always visible) */
[data-typing], [data-typing-list] li { visibility: visible; }

@media (max-width: 820px) {
  .typed-card { min-height: 0; }
  .typed-card .card-box { width: min(640px, 94vw); }
}
/* Particle wallpaper section */
#particles { position: relative; z-index: 1; background: transparent; }
.particles-frame { max-width: 2600px; margin: 0 auto; padding: 24px 0; }
#particle-slider { width: 100%; height: 80vh; min-height: 700px; max-height: 1200px; }
#particle-slider .draw { width: 100%; height: 100%; }
.particle-fallback { display: none; width: 100%; text-align: center; padding: 64px 0; }
.particle-fallback img { width: min(1200px, 90vw); height: auto; }

/* Header theme sync with background */
.site-header {
  /* default flow (not fixed or sticky) */
  position: relative; /* ensure z-index applies */
  z-index: 50; /* stay above overlays while in view */
  background: transparent; /* fully transparent */
  color: #111;
  border-bottom: none; /* no dividing line */
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}
.site-header a { color: inherit; }
.site-header svg { stroke: currentColor; }
.site-header.is-light { background: transparent; color: #111; border-bottom-color: transparent; }
.site-header.is-dark { background: transparent; color: #fff; border-bottom-color: transparent; backdrop-filter: none; }
.site-header .header-btn-ghost { color: inherit; }
.site-header.is-dark .header-btn-ghost:hover { background: rgba(255,255,255,.08); }
html.intake-overlay-open .site-header,
html.intake-overlay-open .scroll-nav,
html.intake-overlay-open .section-dock {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

/* Brands marquee */
.brands-section {
  position: relative;
  z-index: 3;
  padding: 16px 0;
  margin-top: clamp(60px, 18vh, 200px);
}
.brands-frame--hero {
  width: 100%;
  padding: 8px 0;
}
.brands-frame { overflow: hidden; mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 8%, rgba(0,0,0,1) 92%, rgba(0,0,0,0)); }
.brands-row { display: inline-flex; gap: clamp(12px, 2.2vw, 24px); padding: 8px 0; white-space: nowrap; will-change: transform; animation: marquee-rtl 40s linear infinite; }
.brands-row:hover { animation-play-state: paused; }
.brand-pill { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(12,12,12,.6); color: #eaeaea; font-weight: 600; letter-spacing: .02em; }
@keyframes marquee-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Pricing (dark) */
.pricing-section {
  position: relative;
  z-index: 3;
  background: transparent; /* use page's fixed background */
  /* Half the global gap; the other half sits above via brands-section */
  margin-top: clamp(32px, 5vw, 64px);
  padding: clamp(32px, 6vw, 72px) clamp(16px, 5vw, 28px);
  color: #fff;
}
.pricing-frame { max-width: 1200px; margin: 0 auto; }
.pricing-head { max-width: 760px; }
.pricing-title { margin: 10px 0 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 800; letter-spacing: .01em; }
.pricing-description {
  margin: clamp(10px, 2vw, 18px) 0 0;
  color: #d1d1d1;
  line-height: 1.6;
  max-width: 640px;
}
.pricing-kicker {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #eee;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.pricing-divider {
  width: 100%;
  height: 1px;
  margin: clamp(20px, 5vw, 40px) 0;
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.4), rgba(255,255,255,.05));
}
.pricing-breakdown { max-width: 900px; }
.pricing-breakdown-list {
  list-style: none;
  margin: clamp(12px, 2vw, 18px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 2vw, 18px);
}
/* Make each breakdown item a card/box */
.pricing-breakdown-list li {
  background: rgba(12,12,12,.85);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: clamp(12px, 2.4vw, 20px);
  box-shadow: 0 4px 16px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.05) inset;
  min-height: clamp(140px, 18vw, 220px);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .pricing-breakdown-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pricing-breakdown-label {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: #f3f3f3;
}
.pricing-breakdown-copy { margin: 0; color: #d6d6d6; line-height: 1.5; }
.pricing-products { display: flex; flex-direction: column; }
.pricing-product-head {
  padding-top: clamp(8px, 1.6vw, 20px);
  margin-bottom: clamp(-2px, -0.4vw, 6px);
}
.pricing-product-title {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 0;
  align-items: flex-end;
}
.pricing-product-name {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 800;
  position: relative;
  padding-bottom: 0;
  margin-bottom: 2px;
}
.pricing-product-name::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, #ff3b3b 0, #ff3b3b 6px, transparent 6px, transparent 12px);
}
.pricing-product-name-dot {
  color: #ff3b3b;
  font-weight: 800;
}
.pricing-product-descriptor {
  color: #d4d4d4;
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 20px);
  margin-top: clamp(4px, 0.8vw, 14px);
  display: block;
}
.pricing-product-details {
  display: grid;
  gap: clamp(12px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: start;
}
.pricing-product-detail {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  box-shadow: none;
}
.pricing-detail-label {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #f5f5f5;
  margin: 0 0 8px;
}
.pricing-detail-copy { margin: 0; color: #dfdfdf; line-height: 1.5; }
.pricing-detail-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: #dfdfdf;
  line-height: 1.5;
}
.pricing-detail-list li { margin: 0 0 4px; }
.pricing-detail-list li:last-child { margin-bottom: 0; }
.pricing-next-step {
  max-width: 780px;
  transition: opacity 180ms ease;
}
.pricing-next-step.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pricing-next-heading {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
}
.pricing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(14px, 2.6vw, 22px);
}
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  text-decoration: none;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .06s ease;
}
.pricing-cta-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.pricing-cta-primary:hover { background: #eaeaea; border-color: #eaeaea; }
.pricing-cta-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.pricing-cta-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.pricing-cta:active { transform: translateY(1px); }

/* Pricing (light on white background) */
.pricing-light .pricing-section { color: #111; }
.pricing-light .pricing-title { color: #111; }
.pricing-light .pricing-description { color: #333; }
.pricing-light .pricing-kicker {
  border-color: rgba(0,0,0,.18);
  background: rgba(0,0,0,.06);
  color: #222;
}
.pricing-light .pricing-divider { background: linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.25), rgba(0,0,0,.08)); }
.pricing-light .pricing-breakdown-label { color: #1a1a1a; }
.pricing-light .pricing-breakdown-copy { color: #444; }
.pricing-light .pricing-breakdown-list li {
  background: #fafafa;
  border-color: #e6e6e6;
  box-shadow: 0 6px 18px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.02) inset;
}
.pricing-light .pricing-product-descriptor { color: #444; }
.pricing-light .pricing-product-detail { color: #222; }
.pricing-light .pricing-detail-label { color: #222; }
.pricing-light .pricing-detail-copy { color: #444; }
.pricing-light .pricing-detail-list { color: #444; }
.pricing-light .pricing-cta-ghost {
  background: transparent;
  color: #111;
  border-color: rgba(0,0,0,.35);
}
.pricing-light .pricing-cta-ghost:hover { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.55); }
.pricing-light .pricing-cta-primary { border-color: #000; }
/* Next step — separate section with larger top gap so previous text isn't visible */
.next-step-section {
  position: relative;
  z-index: 8; /* sit above pricing overlay so CTAs remain clickable */
  background: transparent;
  /* Larger separation from previous content */
  /* 4x bigger than original (2x over previous) */
  margin-top: clamp(320px, 56vh, 800px);
  padding: clamp(160px, 40vh, 640px) clamp(16px, 5vw, 28px) clamp(160px, 24vh, 320px);
  scroll-margin-top: 12vh;
}
.next-step-section { color: #fff; }
.next-step-section .pricing-next-heading {
  color: #fff;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
}
.next-step-section .pricing-description {
  max-width: 780px;
  color: #fff;
}
