:root {
    color-scheme: dark;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #080b12;
    color: #f5f7fb;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(80, 105, 255, .16), transparent 34rem),
        #080b12;
}

a { color: #aebcff; }

.container {
    width: min(1100px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(8,11,18,.78);
    backdrop-filter: blur(16px);
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand {
    color: white;
    font-weight: 800;
    text-decoration: none;
}

.hero {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 140px);
}

.card {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 80px rgba(0,0,0,.25);
}

.hero .card {
    max-width: 720px;
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .8rem;
    color: #aebcff;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: .4rem 0 1rem;
}

h2 { margin-top: 0; }

.muted { color: #a8afbf; }

.actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.button {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: white;
    background: linear-gradient(135deg, #5b6cff, #8d5bff);
}

.button.secondary {
    color: white;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.form-card {
    max-width: 520px;
    margin: 64px auto;
}

form {
    display: grid;
    gap: 10px;
}

input {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 12px 14px;
    background: rgba(0,0,0,.22);
    color: white;
    margin-bottom: 10px;
}

.form-footer { margin-top: 18px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 64px;
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    color: #8e96a8;
    padding: 24px 0;
}

.error-box {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 100, 100, 0.35);
    border-radius: 12px;
    background: rgba(180, 35, 35, 0.16);
    color: #ffd8d8;
}

.error-box ul {
    margin-bottom: 0;
    padding-left: 20px;
}