@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
    --bg: #f7f8fb;
    --card-bg: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --primary: #0050E0;
    --danger: #d63031;
    --radius-card: 16px;
    --radius-input: 10px;
    --shadow: 0 12px 30px rgba(0, 0, 0, .08);
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, .06);
    --grad-start: #356ae6;
    --grad-end: #e0475c;
}

* {
    box-sizing: border-box
}
                                           
html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(1800px 800px at 50% -200px, #e6ecff, transparent 60%), var(--bg);
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 20px 28px;
}

.header {
    margin: 8px 0 1px
}

.logo {
    height: 134px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.brand-bar {
    width: min(760px, 92vw);
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    box-shadow: var(--shadow-soft);
    margin: 6px auto 24px;
}

.headline {
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 700;
    text-align: center;
    margin: 10px 0 22px;
}

.pillars {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3b4a66;
    font-weight: 600;
}

.pillar-ico {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--grad-start);
}

.pillar-ico svg {
    width: 100%;
    height: 100%
}

.card {
    width: min(650px, 96vw);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 26px 24px;
}

.card h2 {
    margin: 4px 0 6px;
    font-size: clamp(22px, 2vw, 26px);
    text-align: center;
}

.subtitle {
    margin: 0 0 18px;
    color: var(--muted);
    text-align: center;
}

.form {
    display: grid;
    gap: 14px;
}

.label {
    font-weight: 600;
    font-size: 15px;
}

.field input,
.field select {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-input);
    border: 1px solid var(--border);
    background: #fff;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
    transition: box-shadow .2s ease, border-color .2s ease, transform .04s ease;
}

.field input::placeholder {
    color: #9aa3b2
}

.field input:focus,
.field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 80, 224, .15);
}

.btn-primary {
    margin-top: 6px;
    height: 50px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    cursor: pointer;
    transition: transform .06s ease, box-shadow .15s ease, filter .15s ease;
    box-shadow: 0 8px 20px rgba(53, 106, 230, .25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(53, 106, 230, .32);
    filter: brightness(1.02);
}

.btn-primary:active {
    transform: translateY(0);
}

.footer {
    color: #8a94a7;
    font-size: 14px;
    margin: 24px 0 6px;
    text-align: center;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid;
    margin-bottom: 16px;
    font-weight: 600;
}

.alert-error {
    background: #fff5f5;
    color: #b00020;
    border-color: #f3c2c2;
}

.alert-ico {
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e0475c;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 560px) {
    .pillars {
        gap: 16px
    }

    .card {
        padding: 22px 18px
    }
}