:root {
    --bg: #0f1115;
    --fg: #e7e9ee;
    --muted: #9ba1ad;
    --accent: #ffb347;
    --accent-fg: #0f1115;
    --border: #2a2f3a;
    --container: 720px;
    --radius: 6px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    line-height: 1.55;
    font-size: 17px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--fg);
}

.site-header nav a {
    margin-left: 1.25rem;
}

main {
    min-height: calc(100vh - 130px);
    padding: 3rem 0 4rem;
}

.hero h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    line-height: 1.2;
    margin: 0 0 1rem;
}

.hero .lede {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0 0 2rem;
}

.signup-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2.25rem;
}

.signup-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.signup-row {
    display: flex;
    gap: 0.5rem;
}

.signup-row input {
    flex: 1;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 0.75rem;
    font: inherit;
    font-size: 0.95rem;
}

.signup-row input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 0;
    border-color: var(--accent);
}

.signup-row button {
    background: var(--accent);
    color: var(--accent-fg);
    border: 0;
    border-radius: var(--radius);
    padding: 0.65rem 1.2rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.signup-row button:hover {
    filter: brightness(1.1);
}

.hint {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0.75rem 0 0;
}

.signup-success {
    background: rgba(255, 179, 71, 0.08);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2.25rem;
}

.signup-success h2 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.signup-error {
    background: rgba(255, 100, 100, 0.08);
    border: 1px solid #d04848;
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2.25rem;
}

.bullets {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bullets li {
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.bullets li:last-child {
    border-bottom: 1px solid var(--border);
}

.bullets strong {
    color: var(--fg);
    font-weight: 600;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.site-footer p { margin: 0; }
