/* Декор не перехватывает клики */
.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);
}
.intro-gradient-card__area {
    max-width: 48rem;
}


/* Layout only — colors stay in Blade utilities */

.borderline-editorial__kicker {
  max-width: 36rem;
}

.borderline-editorial__rule {
  width: 2.5rem;
  height: 2px;
}

.borderline-editorial__body {
  min-width: 0;
}

.borderline-editorial__stamp {
  width: 7rem;
  align-self: stretch;
  min-height: 6rem;
}

@media (min-width: 768px) {
  .borderline-editorial__stamp {
    width: 11rem;
    min-height: 8rem;
  }
}

.borderline-editorial__stamp-pattern {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    rgba(var(--bs-primary-rgb), 0.1) 5px,
    rgba(var(--bs-primary-rgb), 0.1) 6px
  );
}

.borderline-editorial__stamp-ring {
  width: 4.5rem;
  height: 4.5rem;
  top: 50%;
  left: 50%;
  margin-top: -2.25rem;
  margin-left: -2.25rem;
  background: conic-gradient(
    from 0deg,
    rgba(var(--bs-primary-rgb), 0.55),
    rgba(var(--bs-primary-rgb), 0.05) 120deg,
    rgba(var(--bs-primary-rgb), 0.45) 240deg,
    rgba(var(--bs-primary-rgb), 0.05)
  );
  animation: borderline-editorial-ring-spin 10s linear infinite;
  mask: radial-gradient(circle, transparent 58%, black 60%);
  -webkit-mask: radial-gradient(circle, transparent 58%, black 60%);
}

.borderline-editorial__stamp--1 .borderline-editorial__stamp-ring {
  animation-duration: 12s;
  animation-direction: reverse;
}

.borderline-editorial__stamp--2 .borderline-editorial__stamp-ring {
  animation-duration: 8s;
}

.borderline-editorial__stamp-date {
  writing-mode: horizontal-tb;
}

.borderline-editorial__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes borderline-editorial-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .borderline-editorial__stamp-ring {
    animation: none;
  }
}

/* quote island — grain, grid draw-in, cutout type, device frame, vaporwave motion */

.quote-island__panel--blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.quote-island__grain {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
}

.quote-island__grid-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: quote-island-draw 1800ms ease forwards;
}

.quote-island__grid-line--delay {
    animation-delay: 350ms;
}

@keyframes quote-island-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.quote-island__orb {
    animation: quote-island-drift 9s ease-in-out infinite;
    filter: blur(4rem);
}

.quote-island__orb--a {
    width: 10rem;
    height: 10rem;
    top: -2rem;
    left: 25%;
}

.quote-island__orb--b {
    width: 13rem;
    height: 13rem;
    top: 33%;
    right: -2.5rem;
    animation-delay: -3s;
    animation-duration: 11s;
}

.quote-island__orb--c {
    width: 12rem;
    height: 12rem;
    bottom: -3rem;
    left: 33%;
    animation-delay: -6s;
    animation-duration: 13s;
}

@keyframes quote-island-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }
    33% {
        transform: translate(1.25rem, -0.75rem) scale(1.08);
        opacity: 0.85;
    }
    66% {
        transform: translate(-0.75rem, 1rem) scale(0.92);
        opacity: 0.65;
    }
}

.quote-island__panel {
    margin-inline: auto;
    max-width: 72rem;
}

.quote-island__cutout {
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1.05;
}

.quote-island__device {
    border-radius: 1.25rem;
    overflow: hidden;
}

.quote-island__device-notch {
    width: 3.5rem;
    height: 0.35rem;
    margin-inline: auto;
    border-radius: 9999px;
}

.quote-island__device-screen {
    aspect-ratio: 16 / 10;
}

.quote-island__device-display {
    height: 100%;
}

.quote-island__device-wave {
    max-width: 12rem;
}

.quote-island__device-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.quote-island__support-media,
.quote-island__glyph {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.quote-island__quotes.is-list .quote-island__support-media,
.quote-island__quotes.is-list .quote-island__glyph {
    width: 2.75rem;
    height: 2.75rem;
}

.quote-island__card-body {
    min-width: 0;
}

.quote-island__quotes.is-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .quote-island__quotes.is-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.quote-island__quotes.is-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-island__quotes.is-list .quote-island__support-inner {
    align-items: center;
    gap: 0.75rem;
}

.quote-island__support-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
}

.quote-island__toggle-btn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
    border-color: var(--bs-border-color);
    color: var(--bs-secondary-color);
    background-color: transparent;
}

.quote-island__toggle-btn.is-active {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
}

@media (prefers-reduced-motion: reduce) {
    .quote-island__grid-line {
        animation: none;
        stroke-dashoffset: 0;
    }

    .quote-island__orb {
        animation: none;
    }
}

@media (min-width: 992px) {
    .quote-island__split-col--featured {
        position: sticky;
        top: 1.5rem;
        align-self: start;
    }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-island-root [role="listitem"]:hover,
    .quote-island-root article:hover,
    .quote-island-root [class*="quote-island__card"]:hover,
    .quote-island-root .quote-island__book:hover,
    .quote-island-root .quote-island__step:hover,
    .quote-island-root .quote-island__index-card:hover,
    .quote-island-root .quote-island__pill:hover,
    .quote-island-root .quote-island__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-island-root [role="listitem"],
.quote-island-root article,
.quote-island-root [class*="quote-island__card"],
.quote-island-root .quote-island__book,
.quote-island-root .quote-island__step,
.quote-island-root .quote-island__index-card,
.quote-island-root .quote-island__pill {
    transition: transform 200ms ease;
}

.quote-island-root a:focus-visible,
.quote-island-root button:focus-visible,
.quote-island-root [tabindex="0"]:focus-visible,
.quote-island-root input:focus-visible,
.quote-island-root summary:focus-visible,
.quote-island-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-island-root button:hover,
    .quote-island-root a:hover,
    .quote-island-root summary:hover {
        opacity: 0.92;
    }
}

/* advantages v18 — pulse rail: layout / motion only */
.pulse-rail__eyebrow { font-size: 0.875rem; letter-spacing: 0.2em; }
.pulse-rail__heading { letter-spacing: -0.025em; }
.pulse-rail__toggle {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
}
.pulse-rail__num { min-width: 2rem; }
.pulse-rail__plus { transition: transform 200ms ease; }
.pulse-rail__item.is-open .pulse-rail__plus { transform: rotate(45deg); }
.pulse-rail__panel { padding-left: 3.25rem; }
.pulse-rail__cloud { filter: blur(2.5rem); pointer-events: none; }
.pulse-rail__cloud--a { width: 14rem; height: 8rem; transform: translate(-3rem, -2rem); }
.pulse-rail__cloud--b { width: 18rem; height: 10rem; transform: translate(50%, 140%); }
.pulse-rail__heatmap {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}
.pulse-rail__heat {
    aspect-ratio: 1.5 / 1;
    animation: pulse-rail-heat 2.8s ease-in-out infinite;
}
.pulse-rail__heat:nth-child(7n + 1) { animation-delay: 0s; }
.pulse-rail__heat:nth-child(7n + 2) { animation-delay: 0.2s; }
.pulse-rail__heat:nth-child(7n + 3) { animation-delay: 0.4s; }
.pulse-rail__heat:nth-child(7n + 4) { animation-delay: 0.6s; }
.pulse-rail__heat:nth-child(7n + 5) { animation-delay: 0.8s; }
.pulse-rail__heat:nth-child(7n + 6) { animation-delay: 1s; }
.pulse-rail__heat:nth-child(7n + 7) { animation-delay: 1.2s; }
@keyframes pulse-rail-heat {
    0%, 100% { opacity: 0.55; transform: scale(0.94); }
    50% { opacity: 1; transform: scale(1); }
}
.pulse-rail__tiny { font-size: 0.6875rem; line-height: 1rem; }
.pulse-rail__icon { width: 2rem; height: 2rem; font-size: 0.75rem; }
.pulse-rail__insight-body { min-width: 0; }
.pulse-rail__chart { height: 8.5rem; overflow: visible; }
.pulse-rail__chart-fill { animation: pulse-rail-fill 3.6s ease-in-out infinite; transform-origin: center bottom; }
.pulse-rail__chart-line { stroke-dasharray: 520; animation: pulse-rail-draw 4.8s ease-in-out infinite; }
.pulse-rail__chart-guide { animation: pulse-rail-guide 4.8s ease-in-out infinite; }
.pulse-rail__chart-mark,
.pulse-rail__chart-dot { animation: pulse-rail-mark 4.8s ease-in-out infinite; }
@keyframes pulse-rail-fill {
    0%, 100% { opacity: 0.7; transform: scaleY(0.92); }
    50% { opacity: 1; transform: scaleY(1); }
}
@keyframes pulse-rail-draw {
    0% { stroke-dashoffset: 520; opacity: 0.35; }
    35% { stroke-dashoffset: 0; opacity: 1; }
    70%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes pulse-rail-guide {
    0%, 20% { opacity: 0; }
    45%, 100% { opacity: 1; }
}
@keyframes pulse-rail-mark {
    0%, 30% { opacity: 0; transform: translateY(6px); }
    45%, 100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .pulse-rail__heat,
    .pulse-rail__chart-fill,
    .pulse-rail__chart-line,
    .pulse-rail__chart-guide,
    .pulse-rail__chart-mark,
    .pulse-rail__chart-dot {
        animation: none; opacity: 1; transform: none; stroke-dashoffset: 0;
    }
}

/* utility classes are renamed in production builds, so closed panels rely on the hidden attribute */
.pulse-rail__panel[hidden] { display: none !important; }

/* month labels under the heatmap: one line each, trimmed if long, so neighbours never collide */
.pulse-rail__heatmap.pulse-rail__tiny > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.newsletter-card-solo__shell {
    max-width: 48rem;
}

.newsletter-card-solo__card {
    max-width: 32rem;
}

