/* intro v26 — Dieter Rams node: hex grid, bottom band, blurred ghost image, serif, typewriter */

/* Hexagon-ish grid (minimal, colour from Tailwind text-*, lines via currentColor) */
.intro-node__hex {
    background-image:
        repeating-linear-gradient(60deg, currentColor 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg, currentColor 0 1px, transparent 1px 26px);
    opacity: 0.1;
}

.intro-node__band { height: 10rem; opacity: 0.7; }

/* Blurred background photo behind the spotlight node */
.intro-node__ghost { height: 14rem; }
.intro-node__img {
    object-fit: cover;
    filter: blur(10px);
    opacity: 0.35;
    transform: scale(1.08);
}

/* Serif heading */
.intro-node__serif {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

/* Org-chart stem connector */
.intro-node__stem {
    width: 1px;
    height: 2rem;
}

/* Typewriter caret */
.intro-node__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-node-caret 800ms step-end infinite;
}
@keyframes intro-node-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-node__type .is-typing { animation: none; }
}

@media (min-width: 768px) {
    .steps-dual-panel__sticky-col {
        position: sticky;
        top: 2rem;
    }
}

.steps-dual-panel__badge-circle {
    width: 3rem;
    height: 3rem;
}

.steps-dual-panel__decor-dot {
    width: 0.5rem;
    height: 0.5rem;
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Dot grid background */
.integrations__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 20px 20px;
}

/* v23 — Zigzag alternating list: sizing, max-width, transitions (no colors) */
.integrations-zigzag-list__entry {
    width: 100%;
    max-width: 90%;
}

@media (min-width: 576px) {
    .integrations-zigzag-list__entry {
        max-width: 85%;
    }
}

.integrations-zigzag-list__entry:hover .integrations__icon-tile {
    transform: scale(1.05);
}

.integrations-zigzag-list__tile-size {
    width: 4rem;
    height: 4rem;
    flex: none;
}

.integrations-zigzag-list__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover: icon-tile scale already handled above; h3 color moved out of the sem directive */
.integrations-zigzag-list__entry .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-zigzag-list__entry h3 { transition: color 0.3s ease; }
.integrations-zigzag-list__entry:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-400) / 1)); }
.dark .integrations-zigzag-list__entry:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-600) / 1)); }

/* faq v22 — three-column bento */
.faq-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 768px) {
  .faq-bento__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.faq-bento__col {
  min-width: 0;
}

.faq-bento__cell {
  width: 100%;
}

.faq-bento__cell--tall {
  min-height: 16rem;
}

.faq-bento__cell--medium {
  min-height: 11rem;
}

.faq-bento__cell--short {
  min-height: 7rem;
}

/* Cards — shadow lift on hover (no colors) */
.faq-bento__card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.faq-bento__card:hover {
  transform: translateY(-0.35rem);
}

/* Animated background mesh */
.faq-bento__mesh--a {
  width: 20rem;
  height: 20rem;
  filter: blur(52px);
}

.faq-bento__mesh--b {
  width: 24rem;
  height: 24rem;
  filter: blur(64px);
}

.faq-bento__mesh--c {
  width: 14rem;
  height: 14rem;
  filter: blur(44px);
  transform: translateX(-50%);
}

.faq-bento__mesh--pulse {
  animation: faq-bento-mesh-pulse-seq 6s ease-in-out infinite;
}

@keyframes faq-bento-mesh-pulse-seq {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes faq-bento-mesh-drift-a-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2rem, 1.5rem) scale(1.05);
  }
}

.faq-bento__mesh--a {
  animation: faq-bento-mesh-drift-a-seq 22s ease-in-out infinite;
}

@keyframes faq-bento-mesh-drift-b-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2rem, -1.25rem) scale(1.07);
  }
}

.faq-bento__mesh--b {
  animation: faq-bento-mesh-drift-b-seq 26s ease-in-out infinite;
}

@keyframes faq-bento-mesh-drift-c-seq {
  0%,
  100% {
    transform: translate(-50%, 0) rotate(0deg);
  }
  50% {
    transform: translate(-50%, 1rem) rotate(8deg);
  }
}

.faq-bento__mesh--c {
  animation: faq-bento-mesh-drift-c-seq 18s ease-in-out infinite;
}

.faq-bento__mesh--delay-2 {
  animation-delay: 2s;
}

.faq-bento__mesh--delay-3 {
  animation-delay: 0.9s;
}

.faq-bento__mesh--delay-5 {
  animation-delay: 1.5s;
}

.faq-bento__dot--a {
  top: 4rem;
  left: 2.5rem;
  width: 0.75rem;
  height: 0.75rem;
}

.faq-bento__dot--b {
  top: 7rem;
  right: 4rem;
  width: 0.5rem;
  height: 0.5rem;
}

.faq-bento__dot--c {
  bottom: 6rem;
  left: 30%;
  width: 0.625rem;
  height: 0.625rem;
}

@keyframes faq-bento-flare-throb-seq {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.faq-bento__flare--throb {
  animation: faq-bento-flare-throb-seq 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes faq-bento-flare-rebound-seq {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-28%);
  }
}

.faq-bento__flare--rebound {
  animation: faq-bento-flare-rebound-seq 1.3s ease-in-out infinite;
}

@keyframes faq-bento-flare-ping-seq {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.faq-bento__flare--ping {
  animation: faq-bento-flare-ping-seq 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (max-width: 767px) {
  .faq-bento__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .faq-bento__col {
    display: contents;
  }

  .faq-bento__cell--tall,
  .faq-bento__cell--medium,
  .faq-bento__cell--short {
    min-height: 0;
  }

  .faq-bento__cell--order-0 { order: 0; }
  .faq-bento__cell--order-1 { order: 1; }
  .faq-bento__cell--order-2 { order: 2; }
  .faq-bento__cell--order-3 { order: 3; }
  .faq-bento__cell--order-4 { order: 4; }
  .faq-bento__cell--order-5 { order: 5; }
  .faq-bento__cell--order-6 { order: 6; }
  .faq-bento__cell--order-7 { order: 7; }
}

