/* ── Legal Pages (Privacy Policy & Terms of Service) ──── */
.legal-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.legal-header {
    padding: 20px 32px;
}

.legal-header a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.legal-container {
    max-width: 740px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.legal-container h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.legal-effective-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-intro {
    margin-bottom: 32px;
    line-height: 1.7;
}

.legal-container h2 {
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-container h3 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-container p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-container ul {
    margin: 8px 0 16px 24px;
    line-height: 1.7;
}

.legal-container ul li {
    margin-bottom: 4px;
}

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

.legal-container a:hover {
    text-decoration: underline;
}

.legal-contact {
    margin-top: 8px;
    line-height: 1.7;
}

/* ── Contact Form ──── */
.contact-form {
    margin-top: 24px;
}

.contact-field {
    margin-bottom: 20px;
}

.contact-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.contact-field textarea {
    resize: vertical;
}

.contact-submit {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent);
    color: var(--accent-text);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-submit:hover {
    background: var(--accent-hover);
}

.contact-success {
    margin-top: 24px;
    padding: 16px 20px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    line-height: 1.7;
}

.contact-error {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #fdecea;
    border-radius: 8px;
    color: #c62828;
    line-height: 1.7;
}

.contact-alt {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
