* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #000000;
        color: #e0e0e0;
    }
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.content {
    background: white;
    border-radius: 0;
    padding: 48px 24px;
    box-shadow: none;
}

@media (prefers-color-scheme: dark) {
    .content {
        background: #000000;
    }
}

h1 {
    font-family: 'Zilla Slab', serif;
    font-size: 56px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -1px;
}

@media (prefers-color-scheme: dark) {
    h1 {
        color: #ffffff;
    }
}

.tagline {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

@media (prefers-color-scheme: dark) {
    .tagline {
        color: #e0e0e0;
    }
}

.subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 48px;
    font-weight: 300;
}

@media (prefers-color-scheme: dark) {
    .subtitle {
        color: #999;
    }
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

@media (prefers-color-scheme: dark) {
    label {
        color: #e0e0e0;
    }
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #ffffff;
    color: #333;
}

@media (prefers-color-scheme: dark) {
    input[type="text"],
    input[type="email"],
    textarea {
        background: #1a1a1a;
        border: 1px solid #444;
        color: #e0e0e0;
    }
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #000;
}

@media (prefers-color-scheme: dark) {
    input[type="text"]:focus,
    input[type="email"]:focus,
    textarea:focus {
        border-color: #ffffff;
    }
}

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

.turnstile-container {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

button[type="submit"] {
    width: 100%;
    padding: 14px 32px;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

@media (prefers-color-scheme: dark) {
    button[type="submit"] {
        background: #ffffff;
        color: #000000;
    }
}

button[type="submit"]:hover {
    background: #333;
}

@media (prefers-color-scheme: dark) {
    button[type="submit"]:hover {
        background: #cccccc;
    }
}

button[type="submit"]:active {
    background: #000;
}

@media (prefers-color-scheme: dark) {
    button[type="submit"]:active {
        background: #ffffff;
    }
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

footer {
    text-align: center;
    margin-top: 48px;
    color: #999;
    font-size: 13px;
}

@media (prefers-color-scheme: dark) {
    footer {
        color: #666;
    }
}

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

    h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 20px;
    }

    .subtitle {
        font-size: 18px;
    }
}
