@font-face {
    font-family: 'Stack Sans Notch';
    src: url('fonts/StackSansNotch.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Stack Sans Text';
    src: url('fonts/StackSansText.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

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

body {
    font-family: 'Stack Sans Text', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

h1 {
    font-family: 'Stack Sans Notch', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #000000;
}

.newsletter {
    text-align: center;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #333333;
}

#newsletter-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Stack Sans Text', sans-serif;
    border: 2px solid #000000;
    border-radius: 4px;
    background: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: #333333;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.checkbox-group label {
    flex: 1;
    font-size: 0.9rem;
    color: #666666;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-group label a {
    color: #000000;
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: #333333;
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Stack Sans Text', sans-serif;
    color: #ffffff;
    background: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background: #333333;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    margin-top: 1.5rem;
    padding: 12px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.message.success {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.message.error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

footer {
    margin-top: 3rem;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    color: #999999;
}

footer a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #000000;
    text-decoration: underline;
}

/* Legal Pages */
.legal {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.legal h1 {
    text-align: left;
    margin-bottom: 2rem;
}

.legal h2 {
    font-family: 'Stack Sans Notch', sans-serif;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000000;
}

.legal h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333333;
}

.legal h4 {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #555555;
}

.legal p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #333333;
    text-align: left;
}

.legal ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.back-link {
    margin-top: 3rem;
    text-align: center;
}

.back-link a {
    font-size: 1.1rem;
    color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .newsletter p {
        font-size: 1rem;
    }
}
