/* Публичный лендинг: лёгкая типографика и ритм, без тяжёлых анимаций */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.public-body {
    font-family: "Inter", system-ui, sans-serif;
}

.public-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.07), transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(15, 20, 25, 0.04), transparent 45%);
}

.public-header .public-nav-link {
    color: rgb(61 74 92);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.public-header .public-nav-link:hover {
    color: rgb(15 20 25);
}

.public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.65rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.public-btn--primary {
    background: rgb(37 99 235);
    color: white;
    box-shadow: 0 1px 2px rgba(15, 20, 25, 0.08);
}

.public-btn--primary:hover {
    background: rgb(29 78 216);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.public-btn--secondary {
    border: 1px solid rgb(203 213 225);
    background: white;
    color: rgb(15 20 25);
}

.public-btn--secondary:hover {
    border-color: rgb(148 163 184);
    transform: translateY(-1px);
}

.public-btn--ghost {
    border: 1px solid transparent;
    background: transparent;
    color: rgb(37 99 235);
}

.public-btn--ghost:hover {
    background: rgba(37, 99, 235, 0.06);
}

.public-btn:focus-visible {
    outline: 2px solid rgb(37 99 235);
    outline-offset: 2px;
}

.public-btn:focus:not(:focus-visible) {
    outline: none;
}

.public-header .public-nav-link:focus-visible {
    outline: 2px solid rgb(37 99 235);
    outline-offset: 2px;
    border-radius: 0.5rem;
}

.public-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
