/* ═══ LEGAL PAGES (Privacy, Terms) ═══ */
.legal-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
}

.legal-container h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-container h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.legal-container h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-dim);
}

.legal-container p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-container ul {
    list-style: none;
    margin-bottom: 16px;
    padding-left: 0;
}

.legal-container ul li {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.75;
    padding: 4px 0 4px 24px;
    position: relative;
}

.legal-container ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--turf-green);
}

/* Nested lists */
.legal-container ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.legal-container ul ul li::before {
    background: var(--text-muted);
    width: 4px;
    height: 4px;
    top: 15px;
}

.legal-container strong {
    color: var(--text-main);
    font-weight: 600;
}

/* ═══ CONTACT / DELETE ACCOUNT FORM ═══ */
.contact-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-input {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-input:focus {
    border-color: var(--turf-green);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-select option {
    background: #111;
    color: var(--text-main);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox-group {
    margin-top: 32px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--turf-green);
    cursor: pointer;
}

.form-checkbox-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.form-submit-btn {
    margin-top: 24px;
    padding: 16px;
    font-size: 1rem;
}

.form-success {
    text-align: center;
    padding: 48px 0;
}
.form-success svg {
    margin: 0 auto 20px;
    display: block;
}
.form-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}
.form-success p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}
