:root {
    color-scheme: light;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #172033;
    background: #f4f6fb;
}

* { box-sizing: border-box; }

body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    place-items: center;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(82, 120, 201, .12), transparent 38%),
        #f4f6fb;
}

main {
    width: min(100%, 560px);
    padding: clamp(32px, 7vw, 64px);
    text-align: center;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(28, 43, 75, .09);
}

.mark {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 28px;
    place-items: center;
    color: #5278c9;
    background: #edf2ff;
    border-radius: 20px;
}

.mark svg { width: 30px; height: 30px; }

h1 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.2rem); letter-spacing: -.04em; }

p { margin: 16px 0 30px; color: #657087; font-size: 1rem; line-height: 1.7; }

nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

nav a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #fff;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
    background: #5278c9;
    border: 1px solid #5278c9;
    border-radius: 12px;
    transition: background-color .15s ease, transform .15s ease;
}

nav a:hover { background: #3f63b0; transform: translateY(-1px); }

nav a.secondary { color: #34415b; background: #fff; border-color: #dce2ed; }

nav a.secondary:hover { background: #f7f8fb; }

@media (max-width: 420px) {
    nav { flex-direction: column; }
    nav a { width: 100%; }
}
