:root {
    --bg: #0a0a0a;
    --surface: #0f0f0f;
    --border: #1a1a1a;
    --text: #f0f0f0;
    --muted: #888;
    --dim: #555;
    --accent: #00BFBF;
    --accent-soft: #00BFBF22;
    --danger: #ffb4b4;
    --danger-bg: #2a0e0e;
    --success: #b4ffce;
    --success-bg: #0e2a1a;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 191, 191, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(0, 191, 191, 0.05) 0%, transparent 50%),
        var(--bg);
}

.shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 32px;
}

.card {
    width: 100%;
    max-width: 560px;
    padding: 48px 40px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
    .card { padding: 32px 24px; }
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.brand-text h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.brand-dot {
    color: var(--accent);
}

.brand-sub {
    margin: 2px 0 0;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 2.5px;
    font-weight: 500;
}

/* Headline */
.headline {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: -0.5px;
}

@media (max-width: 600px) {
    .headline { font-size: 22px; }
}

.lede {
    margin: 0 0 36px;
    font-size: 16px;
    color: #cfcfcf;
}

/* Form */
.form {
    margin-bottom: 28px;
}

.label {
    display: block;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 500;
}

.row {
    display: flex;
    gap: 10px;
}

@media (max-width: 480px) {
    .row { flex-direction: column; }
}

input[type=email] {
    flex: 1;
    padding: 14px 16px;
    background: #060606;
    color: #fff;
    font-size: 15px;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

input[type=email]::placeholder { color: #555; }

input[type=email]:focus {
    border-color: var(--accent);
    background: #080808;
}

.btn {
    padding: 14px 24px;
    background: #fff;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.05s ease;
}

.btn:hover { background: #e8e8e8; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* Messages */
.form-error, .form-success {
    margin: 12px 0 0;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 8px;
    display: none;
}

.form-error.visible {
    display: block;
    background: var(--danger-bg);
    color: var(--danger);
}

.form-success.visible {
    display: block;
    background: var(--success-bg);
    color: var(--success);
}

/* Meta */
.meta {
    margin: 0;
    font-size: 12px;
    color: var(--dim);
}

/* Footer */
.footer {
    font-size: 12px;
    color: var(--dim);
}

.footer a {
    color: var(--muted);
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent);
}
