/* Legal pages (imprint, later privacy). Builds on site.css. */
.legal { padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 var(--sec-y); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 760; letter-spacing: -0.03em; margin: 12px 0 10px; }
.legal-lede { color: var(--muted); max-width: 65ch; margin-bottom: 36px; }
.legal-block { max-width: 640px; padding: 22px 0; border-top: 1px solid var(--border); }
.legal-block h2 { font-size: 0.82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.legal-block address, .legal-block p { font-style: normal; font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.legal-block dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; font-size: 1.05rem; }
.legal-block dt { color: var(--muted); }
.legal-block dd { margin: 0; color: var(--text); }

/* Contact form */
.contact-form { display: grid; gap: 16px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 11px 14px; width: 100%; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-status { font-size: 0.92rem; color: var(--text); min-height: 1.4em; }
.form-status.bad { color: var(--bad); }
.form-status.good { color: var(--ok); }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Privacy page: two parts (website, app), each opened by a large heading; the app part is PRIVACY.md
   rendered as is, so it gets plain document typography instead of the label-style block headings. */
.privacy-part { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 760; letter-spacing: -0.02em; margin: 44px 0 6px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.privacy .legal-block p + p { margin-top: 10px; }
.privacy .legal-block code { font-family: var(--mono); font-size: .9em; }
.app-notice { max-width: 640px; border-top: 1px solid var(--border); padding-top: 8px; }
.app-notice h3 { font-size: 0.82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 30px 0 10px; }
.app-notice h4 { font-size: 1.08rem; font-weight: 700; color: var(--text); margin: 22px 0 6px; }
.app-notice p, .app-notice li { font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.app-notice p + p { margin-top: 10px; }
.app-notice code { font-family: var(--mono); font-size: .9em; }
.app-notice > p:first-child em { color: var(--muted); }
/* Art. 21(4) GDPR wants the right to object "clearly and separately from any other information". */
.right-to-object { padding-left: 18px; border-left: 3px solid var(--green); }
