.hero {
    margin: 30px auto 24px;
    text-align: center;
    max-width: 760px;
}

.hero h1 {
    margin: 8px 0 8px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary, #000);
    transition: color 0.3s ease;
}

.subtitle {
    margin: 0 0 18px;
    color: var(--text-secondary, #404349);
    font-size: 13px;
    transition: color 0.3s ease;
}

.form {
    width: min(520px, 92vw);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.field {
    width: 100%;
    margin-bottom: 14px;
}

.field input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--input-border, var(--line));
    background: var(--input-bg, #fff);
    color: var(--text-primary, #000);
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.3s ease, color 0.3s ease;
}

.field input::placeholder {
    color: var(--text-tertiary, #a8b0ba);
}

.field input:focus {
    border-color: var(--input-focus, var(--brand));
    box-shadow: 0 0 0 4px var(--focus);
}

.btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(18, 201, 212, 0.25);
    transition: transform 0.08s ease, filter 0.15s ease;
}

.btn:hover {
    filter: brightness(1.03);
}

.btn:focus-visible {
    outline: 4px solid var(--focus);
}

.small {
    font-size: 12px;
}

.muted {
    color: var(--muted);
}

.mt-16 {
    margin-top: 16px;
}

.link-strong {
    color: #12c9d4;
    text-decoration: none;
    font-weight: 600;
}

.link-strong:hover {
    text-decoration: underline;
}

.alert { 
    padding: 12px 14px; 
    border-radius: 6px; 
    margin-bottom: 16px; }

.alert-error { 
    background:#fde2e1; 
    color:#8b1a15; 
    border:1px solid #f7b4b1; }

.alert-success { 
    background:#e6f6e6; 
    color:#256029; 
    border:1px solid #b5e0b7; }

.errors { 
    margin:0; 
    padding-left:18px; }

.field select {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--input-border, var(--line));
    background: var(--input-bg, #fff);
    font-size: 14px;
    outline: none;
    color: var(--text-tertiary, #a8b0ba);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.3s ease, color 0.3s ease;
}

.field select:has(option:checked:not([value=""])),
.field select:not(:invalid) {
    color: var(--text-primary, #000);
}

.field select option {
    background: var(--bg-card, #fff);
    color: var(--text-primary, #000);
}

.field select:focus {
    border-color: var(--input-focus, var(--brand));
    box-shadow: 0 0 0 4px var(--focus);
}