/* Декор не перехватывает клики */
.hero-v7-decor-layer {
    pointer-events: none;
}

/* Feature icon tile: fixed square (Tailwind w-12 h-12 rounded-lg) — Bootstrap без w/h растягивал блок */
.hero-v7-feature-icon {
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-v7-feature-icon i {
    line-height: 1;
}

/* Background blur blobs — позиции как у Tailwind top-12 left-8 / bottom-12 right-8 */
.hero-v7-blob-nw {
    position: absolute;
    top: 3rem;
    left: 2rem;
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
}

.hero-v7-blob-se {
    position: absolute;
    bottom: 3rem;
    right: 2rem;
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
}

/* Bootstrap: как max-w-3xl / max-w-2xl + mx-auto */
.hero-v7-subtitle-max {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v7-desc-max {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* CTA pills (как hero v6) */
.hero-v7-cta-pill {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 7rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-align: center;
}

.hero-v7-cta-secondary {
    max-width: min(100%, 28rem);
}

a.hero-v7-cta-pill.btn.btn-sm {
    padding: 0.5rem 1.5rem;
    min-height: 2.75rem;
    min-width: 7rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.digest-pair-fan__tile {
    max-width: 45%;
}

/* Bootstrap: explicit grid + gap (row gutters often collapse) */
.tips-grid__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.tips-grid__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .tips-grid__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-grid__subtitle {
    max-width: 42rem;
}

.tips-grid__thumb {
    width: 3rem;
    height: 3rem;
}

/* glossary split — footnote icon size (layout only) */
.glossary-split__note-ico {
    width: 3.5rem;
    height: 3.5rem;
}

.glossary-split__note-icon {
    font-size: 1.3rem;
    line-height: 1;
}


@keyframes knowledge-clarify-flare-throb-seq {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.knowledge-clarify__flare--throb {
    animation: knowledge-clarify-flare-throb-seq 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes knowledge-clarify-flare-rebound-seq {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.knowledge-clarify__flare--rebound {
    animation: knowledge-clarify-flare-rebound-seq 1s infinite;
}

@keyframes knowledge-clarify-flare-ping-seq {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.knowledge-clarify__flare--ping {
    animation: knowledge-clarify-flare-ping-seq 1s cubic-bezier(0,0,.2,1) infinite;
}

/* Animation delays */
.knowledge-clarify__flare--delay-1 { animation-delay: 0.3s; }
.knowledge-clarify__flare--delay-2 { animation-delay: 0.5s; }
.knowledge-clarify__flare--delay-3 { animation-delay: 0.8s; }
.knowledge-clarify__flare--delay-4 { animation-delay: 1s; }
.knowledge-clarify__flare--delay-5 { animation-delay: 1.2s; }
.knowledge-clarify__flare--delay-6 { animation-delay: 1.5s; }
.knowledge-clarify__flare--delay-7 { animation-delay: 2s; }

/* Dot positions and sizes */
.knowledge-clarify__dot-a { top: 3rem; left: 2.5rem; width: 0.75rem; height: 0.75rem; }
.knowledge-clarify__dot-b { top: 5rem; right: 4rem; width: 0.5rem; height: 0.5rem; }
.knowledge-clarify__dot-c { top: 8rem; left: 25%; width: 1rem; height: 1rem; }
.knowledge-clarify__dot-d { bottom: 6rem; right: 5rem; width: 0.75rem; height: 0.75rem; }
.knowledge-clarify__dot-e { bottom: 4rem; left: 4rem; width: 0.5rem; height: 0.5rem; }
.knowledge-clarify__dot-f { top: 50%; right: 3rem; width: 1.25rem; height: 1.25rem; }

/* Line decors */
.knowledge-clarify__line-a { top: 25%; left: 33%; width: 3rem; height: 0.125rem; }
.knowledge-clarify__line-b { bottom: 33%; right: 25%; width: 4rem; height: 0.125rem; }

/* Corner blob size */
.knowledge-clarify__corner-blob { width: 4rem; height: 4rem; }

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

.knowledge-clarify__flare--glow:hover { transform: scale(1.25); transition: transform .2s ease; }

/* cta particles card — animated dot field */
.cta-particles-card__root {
  position: relative;
  overflow: hidden;
}

.cta-particles-card__particles {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, var(--tw-primary-500, var(--bs-primary)) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: cta-particles-card__drift 20s linear infinite;
}

@keyframes cta-particles-card__drift {
  from { transform: translateY(0); }
  to { transform: translateY(100px); }
}

