:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #172033;
    --muted: #687086;
    --primary: #315efb;
    --primary-dark: #2146ca;
    --border: #e3e7ef;
    --success: #157347;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(
        1120px,
        calc(100% - 32px)
    );

    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;

    border-bottom:
        1px solid var(--border);

    background:
        rgba(255, 255, 255, .94);
}

.nav {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.nav nav {
    display: flex;
    gap: 18px;
}

.brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.hero {
    padding: 84px 0;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, .75fr);

    gap: 42px;
    align-items: center;
}

.badge {
    display: inline-flex;

    padding: 7px 12px;

    border-radius: 999px;

    background: #e9efff;
    color: var(--primary-dark);

    font-weight: 700;
}

h1 {
    margin: 18px 0;

    font-size:
        clamp(2rem, 5vw, 4rem);

    line-height: 1.08;
}

.lead {
    max-width: 680px;

    font-size: 1.15rem;
    line-height: 1.9;

    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 28px;
}

.button {
    appearance: none;

    border: 0;
    border-radius: 12px;

    padding: 13px 20px;

    font: inherit;
    font-weight: 800;

    cursor: pointer;
}

.primary {
    color: white;
    background: var(--primary);
}

.primary:hover {
    background: var(--primary-dark);
}

.secondary {
    color: var(--text);
    background: white;

    border:
        1px solid var(--border);
}

.full {
    width: 100%;
    margin-top: 10px;
}

.card,
.auth-card {
    border:
        1px solid var(--border);

    border-radius: 20px;

    background: var(--surface);

    box-shadow:
        0 18px 50px
        rgba(24, 32, 51, .07);
}

.card {
    padding: 26px;
}

.clean-list {
    margin: 0;
    padding-right: 22px;

    line-height: 2.1;
}

.features {
    padding: 0 0 84px;
}

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.status {
    min-height: 24px;
    margin-top: 16px;

    color: var(--success);
    font-weight: 700;
}

footer {
    padding: 32px 0;

    border-top:
        1px solid var(--border);

    color: var(--muted);
    background: white;
}

.auth-page {
    min-height: 100vh;

    display: grid;
    place-items: center;

    padding: 24px;
}

.auth-card {
    width: min(100%, 440px);
    padding: 30px;
}

.auth-card h1 {
    font-size: 2rem;
}

.auth-card label {
    display: block;

    margin: 16px 0 7px;

    font-weight: 700;
}

.auth-card input {
    width: 100%;
    min-height: 48px;

    padding: 10px 12px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    font: inherit;
    background: white;
}

.muted {
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 760px) {
    .hero-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    .nav {
        align-items: flex-start;
        padding: 16px 0;
    }

    .nav nav {
        gap: 12px;
        font-size: .92rem;
    }

    .hero {
        padding: 56px 0;
    }
}
