/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

/* 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; }
}


.spark-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.spark-boost__inner {
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .spark-boost__inner { min-height: 600px; }
}

/* Bootstrap: как у Tailwind p-sm → md:p-lg → lg:p-xl → xl:p-4xl (без фиксированных 6rem на мобиле) */
.spark-boost__vessel-bs {
    box-sizing: border-box;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .spark-boost__vessel-bs { padding: 1.5rem; }
}

@media (min-width: 992px) {
    .spark-boost__vessel-bs { padding: 2rem; }
}

@media (min-width: 1280px) {
    .spark-boost__vessel-bs { padding: 6rem; }
}

/* Bootstrap: две колонки + стабильный gap (row/g-* часто «съедаются» сбросами) */
.spark-boost__split-grid-bs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .spark-boost__split-grid-bs { gap: 1.5rem; }
}

.spark-boost__split-grid-bs > * {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .spark-boost__split-grid-bs {
        flex-wrap: nowrap;
    }

    .spark-boost__split-grid-bs > * {
        flex: 1 1 0;
        max-width: 50%;
    }
}

.spark-boost__slab--glass { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

@keyframes spark-boost-highlight-throb-seq {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.spark-boost__highlight--throb {
    animation: spark-boost-highlight-throb-seq 2s cubic-bezier(.4,0,.6,1) infinite;
}

.spark-boost__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.spark-boost__control--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.spark-boost__surface--glow:hover { transform: scale(1.05); transition: transform .2s ease; }


