/* Центральное свечение (Tailwind: top-1/2 left-1/2 -translate w-96 blur) */
.hero-v12-glow-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    pointer-events: none;
    filter: blur(64px);
}

/* Иконки в ряду key-benefits (w-12 h-12 rounded-lg) */
.hero-v12-benefit-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-v12-benefit-icon i {
    line-height: 1;
}

/* Описание: как max-w-2xl в Bootstrap */
.hero-v12-desc-max {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

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

/* Liked state: the icon brightens and grows (works with every icon pack) */
.intro-thread__like i {
    display: inline-block;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.intro-thread__like[aria-pressed="true"] i {
    opacity: 1;
    transform: scale(1.2);
}

.chronicle-split-hero__media {
    min-height: 20rem;
}


.chronicle-split-hero__bead {
    width: 0.25rem;
    height: 0.25rem;
}
.chronicle-split-hero__img {
    object-fit: cover;
}

.chronicle-split-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* glossary invert — hover lift supplied via Tailwind on @sem('block'). */

/* faq v26 — masonry board */
.faq-masonry__col {
  min-width: 0;
}

.faq-masonry__cell {
  position: relative;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 768px) {
  .faq-masonry__cell {
    min-height: 13.5rem;
  }
}

.faq-masonry__body {
  width: 100%;
  flex: 1 1 auto;
}

.faq-masonry__answer {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.faq-masonry__col--featured .faq-masonry__cell {
  min-height: 14rem;
}

@media (min-width: 768px) {
  .faq-masonry__col--featured .faq-masonry__cell {
    min-height: 16.5rem;
  }
}

.faq-masonry__col--featured .faq-masonry__answer {
  -webkit-line-clamp: 5;
}

.faq-masonry__photo {
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 500ms ease;
}

.faq-masonry__cell:hover .faq-masonry__photo {
  filter: grayscale(0);
}

.faq-masonry__shade {
  transition: opacity 300ms ease;
}

.faq-masonry__cell--media:hover .faq-masonry__shade {
  opacity: 0.92;
}

/* subscribe v22 — terminal chrome: geometry shared by both CSS frameworks, no colors */
.mailing-terminal__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-2xl {
    max-width: 42rem !important;
}

.mailing-terminal__bar {
    gap: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mailing-terminal__lights {
    gap: 0.375rem;
}

.mailing-terminal__dot {
    width: 0.75rem;
    height: 0.75rem;
}

.mailing-terminal__body {
    gap: 0.75rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mailing-terminal__title {
    font-size: 1.125rem;
}

.mailing-terminal__form {
    gap: 0.75rem;
}

.mailing-terminal__prompt {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mailing-terminal__input {
    min-width: 0;
}

.mailing-terminal__cta {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
    padding: 0.375rem 0.75rem;
}

.mailing-terminal__hint {
    font-size: 0.75rem;
}

/* terminal cursor blink */
@keyframes mailing-terminal-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.mailing-terminal__cursor {
    display: inline-block;
    width: 0.5rem;
    height: 1.1rem;
    animation: mailing-terminal-blink 1s step-end infinite;
}

@media (min-width: 768px) {
    .mailing-terminal__title {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-terminal__cursor {
        animation: none;
    }
}

