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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

h1 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.last-updated {
    color: #696969;
    font-size: 0.9em;
}

main {
    margin-bottom: 40px;
}

section {
    margin-bottom: 30px;
}

h2 {
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

h3 {
    color: #000000;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

p {
    margin-bottom: 15px;
    text-align: left;
}

ul, ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
    color: #696969;
    font-size: 0.9em;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.subtitle {
    color: #696969;
    font-size: 1em;
    margin-top: 10px;
    text-align: left;
}

/* Form Styles */
form {
    margin-top: 20px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #696969;
    font-weight: 500;
    font-size: 0.95em;
}

.required {
    color: #e74c3c;
}

.optional {
    color: #696969;
    font-weight: normal;
}

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.form-hint {
    display: block;
    margin-top: 5px;
    color: #696969;
    font-size: 0.85em;
}

.submit-btn {
    background-color: #696969;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #333333;
}

.submit-btn:active {
    transform: translateY(1px);
}

.submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.95em;
}

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

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

.footer-nav {
    margin-bottom: 10px;
}

.footer-nav a {
    margin: 0 10px;
    color: #7f8c8d;
}

.footer-nav a:hover {
    color: #3498db;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    h1, h2, h3 {
        color: #ffffff;
    }

    .last-updated,
    .subtitle,
    footer,
    label,
    .optional,
    .form-hint {
        color: #a0a0a0;
    }

    header {
        border-bottom-color: #404040;
    }

    footer {
        border-top-color: #404040;
    }

    a {
        color: #5dade2;
    }

    a:hover {
        color: #85c1e9;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        background-color: #2a2a2a;
        border-color: #404040;
        color: #e0e0e0;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    textarea:focus {
        border-color: #5dade2;
        box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.2);
    }

    .submit-btn {
        background-color: #5dade2;
        color: #1a1a1a;
    }

    .submit-btn:hover {
        background-color: #85c1e9;
    }

    .submit-btn:disabled {
        background-color: #404040;
        color: #808080;
    }

    .form-message.success {
        background-color: #1e4d2e;
        color: #90ee90;
        border-color: #2d5a3d;
    }

    .form-message.error {
        background-color: #4d1e1e;
        color: #ff6b6b;
        border-color: #5a2d2d;
    }

    .footer-nav a {
        color: #a0a0a0;
    }

    .footer-nav a:hover {
        color: #5dade2;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    body {
        padding: 10px;
    }
    
    .footer-nav a {
        display: inline-block;
        margin: 5px 10px;
    }
}
