/**
 * Общие токены и лёгкие анимации для публичных страниц (визитка, статьи, покупка).
 * Только transform/opacity; при prefers-reduced-motion отключаются.
 */
/* Отступ перед единым подвалом на внутренних блоках (витрина заканчивается секцией с собственным паддингом) */
.lp-site-footer {
    margin-top: 32px;
}

:root {
    --lp-bg: #f6f7fb;
    --lp-bg-alt: #eef1f7;
    --lp-text: #111827;
    --lp-muted: #4b5563;
    --lp-white: #ffffff;
    --lp-border: #e5e7eb;
    --lp-accent: #1d4ed8;
    --lp-accent-soft: rgba(29, 78, 216, 0.12);
    --lp-accent-hover: #1e40af;
    --lp-container: 1120px;
    --lp-radius: 14px;
    --lp-radius-lg: 16px;
    --lp-shadow: none;
    --lp-shadow-hover: none;
    --lp-font: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes lp-fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes lp-orb-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-18px, 12px, 0) scale(1.04);
    }
}

.lp-page {
    font-family: var(--lp-font);
    color: var(--lp-text);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
}

.lp-hero-wrap {
    position: relative;
    overflow: hidden;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.lp-hero-orb {
    position: absolute;
    width: min(420px, 75vw);
    height: min(420px, 75vw);
    border-radius: 50%;
    top: -100px;
    right: -60px;
    background: radial-gradient(circle at 35% 35%, rgba(29, 78, 216, 0.16), transparent 62%);
    animation: lp-orb-drift 16s ease-in-out infinite;
    will-change: transform;
}

.lp-hero-orb--2 {
    width: min(280px, 50vw);
    height: min(280px, 50vw);
    top: auto;
    bottom: -80px;
    left: -40px;
    right: auto;
    background: radial-gradient(circle at 60% 60%, rgba(37, 99, 235, 0.1), transparent 60%);
    animation-duration: 20s;
    animation-direction: alternate-reverse;
}

.lp-reveal {
    opacity: 0;
    animation: lp-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

main.lp-main-stagger > .section {
    opacity: 0;
    animation: lp-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

main.lp-main-stagger > .section:nth-child(1) {
    animation-delay: 0.04s;
}
main.lp-main-stagger > .section:nth-child(2) {
    animation-delay: 0.1s;
}
main.lp-main-stagger > .section:nth-child(3) {
    animation-delay: 0.16s;
}
main.lp-main-stagger > .section:nth-child(4) {
    animation-delay: 0.22s;
}
main.lp-main-stagger > .section:nth-child(5) {
    animation-delay: 0.28s;
}
main.lp-main-stagger > .section:nth-child(6) {
    animation-delay: 0.34s;
}
main.lp-main-stagger > .section:nth-child(7) {
    animation-delay: 0.4s;
}
main.lp-main-stagger > .section:nth-child(8) {
    animation-delay: 0.46s;
}

.hero-grid > .lp-reveal:nth-child(2) {
    animation-delay: 0.12s;
}

.logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.logo-lockup:hover {
    opacity: 0.88;
}

.logo-mark {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
    color: var(--lp-text);
}

.logo-accent {
    color: var(--lp-accent);
}

.card {
    transition: transform 0.22s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translate3d(0, -2px, 0);
    border-color: rgba(29, 78, 216, 0.22);
}

.news-card:hover .news-thumb {
    transition: transform 0.35s ease;
    transform: scale3d(1.02, 1.02, 1);
}
