:root {
    --bg: #000;
    /* slate-900 */
    --card: #111827;
    /* gray-900 */
    --muted: #94a3b8;
    /* slate-400 */
    --text: #e5e7eb;
    /* gray-200 */
    --accent: #60a5fa;
    /* blue-400 */
    --accent-2: #a78bfa;
    /* violet-400 */
    --ring: #334155;
    /* slate-700 */
    --error: #ef4444;
    /* red-500 */
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 600px at 50% 20%, #363636, var(--bg));
    display: grid;
    justify-items: center;
    line-height: 1.5;
}

.card {
    width: min(92vw, 75%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 28px;
    backdrop-filter: blur(8px);
}

.header_image {
    width: min(48vw, 480px);
}

.stack {
    display: grid;
    gap: 22px;
}

a {
    color: white;
}

header {
    text-align: center;
}

h1 {
    margin: 10px 0 4px;
    font-size: clamp(1.5rem, 1vw + 1.2rem, 2rem);
    font-weight: 700;
}

p.lead {
    color: var(--muted);
    margin: 0;
}

/* Centered SVG placeholder */
.logoWrap {
    display: grid;
    place-items: center;
    padding: 16px 0 8px;
}

svg.logo {
    width: clamp(120px, 18vw, 200px);
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

form {
    display: grid;
    gap: 14px;
    margin-top: 6px;
}

.field {
    display: grid;
    gap: 6px;
}

label {
    font-size: 0.95rem;
}

input,
textarea,
button {
    font: inherit;
    color: inherit;
}

input,
textarea {
    background: #0b1020;
    border: 1px solid var(--ring);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .row {
        grid-template-columns: 1fr 1fr;
    }
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.hint {
    color: var(--muted);
    font-size: 0.9rem;
}

button[type="submit"] {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: 0;
    color: #0b1020;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
}

button[type="submit"]:focus {
    outline: 4px solid rgba(96, 165, 250, 0.25);
    outline-offset: 2px;
}

.status {
    font-size: 0.95rem;
}

.status.error {
    color: var(--error);
}

.status.success {
    color: #34d399;
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 10px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}