html {
    min-block-size: 100%;
    font-size: 87.5%;
}

body {
    min-block-size: 100%;
    margin: 0;
    background: #f4f7fb;
    font-family: "Segoe UI Variable Text", "Segoe UI", "Trebuchet MS", sans-serif;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font: inherit;
}

.public-page {
    min-block-size: 100vh;
    background:
        radial-gradient(circle at 9% 15%, rgba(123, 77, 255, 0.31), transparent 30%),
        radial-gradient(circle at 84% 9%, rgba(79, 127, 255, 0.26), transparent 27%),
        radial-gradient(circle at 46% 78%, rgba(121, 86, 255, 0.14), transparent 36%),
        radial-gradient(circle at 22% 78%, rgba(99, 150, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #eef2fc 0%, #e3eafa 46%, #d7e1f5 100%);
}

.public-header {
    border-block-end: 1px solid rgba(28, 35, 90, 0.08);
    background: rgba(242, 246, 253, 0.82);
    backdrop-filter: blur(10px);
}

.public-header__inner {
    display: flex;
    inline-size: min(1120px, calc(100% - 32px));
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto;
    padding: 14px 0;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.public-brand__mark {
    display: block;
    flex: 0 0 auto;
    inline-size: 30px;
    block-size: 30px;
    object-fit: contain;
}

.public-brand__text {
    color: #21335d;
    font-family: "Segoe UI Variable Display", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: 1.2rem;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.public-nav a {
    color: #41507a;
    font-weight: 600;
    text-decoration: none;
}

.public-nav a:hover {
    color: #1d4ed8;
}

.public-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.public-nav__cta:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.public-main {
    inline-size: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 56px;
}

@media (max-width: 768px) {
    .public-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .public-brand__text {
        font-size: 1.08rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-nav__cta {
        transition: none;
    }
}
