/* Build 5.76: Privacy and Terms pages. Uses the app's own colour variables, so light and dark follow Appearance. */
.legal-content{padding-top:8px}
.legal-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 22px}
.legal-switch a{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--xw-line);border-radius:10px;color:var(--xw-ink);text-decoration:none;font-size:15px}
.legal-switch a[aria-current=page]{border-color:var(--xw-red);font-weight:750}
.legal-title{margin:0;font-family:XWProfileDisplay,system-ui,sans-serif;font-weight:800;font-size:36px;line-height:1.05;letter-spacing:-.01em;color:var(--xw-ink)}
.legal-date{margin:8px 0 0;font-size:13px;color:var(--xw-muted)}
.legal-intro{margin:16px 0 0;font-size:16px;line-height:1.55;color:var(--xw-ink)}
.legal-short{margin:22px 0 6px;padding:18px 18px 16px;border:1px solid var(--xw-line);border-radius:18px;background:var(--xw-bg)}
.legal-short h2{margin:0 0 10px;font-size:13px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--xw-red)}
.legal-short ul{margin:0;padding:0;list-style:none}
.legal-short li{position:relative;padding:7px 0 7px 26px;font-size:15px;line-height:1.45;color:var(--xw-ink)}
.legal-short li::before{content:"";position:absolute;left:4px;top:14px;width:9px;height:9px;border-radius:50%;background:var(--xw-red)}
.legal-section{padding:22px 0 4px;border-bottom:1px solid var(--xw-line)}
.legal-section:last-of-type{border-bottom:0}
.legal-section h2{margin:0 0 10px;font-size:20px;font-weight:800;line-height:1.25;color:var(--xw-ink)}
.legal-section h3{margin:16px 0 6px;font-size:16px;font-weight:750;color:var(--xw-ink)}
.legal-section p,.legal-section li{font-size:15px;line-height:1.6;color:var(--xw-ink)}
.legal-section p{margin:0 0 12px}
.legal-section ul{margin:0 0 12px;padding-left:20px}
.legal-section li{margin:0 0 6px}
.legal-section b{font-weight:750}
.legal-section a,.legal-contact a{color:var(--xw-red);text-underline-offset:3px}
.legal-path{white-space:nowrap;font-weight:650}
.legal-contact{margin:24px 0 0;padding:18px;border-radius:18px;background:var(--xw-surface);font-size:15px;line-height:1.55;color:var(--xw-ink)}
.legal-contact b{display:block;margin-bottom:4px;font-size:16px}
.legal-foot{margin:22px 0 0;text-align:center;font-size:12px;color:var(--xw-muted)}
/* footer links on the More page */
.app-version a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:359px){.legal-title{font-size:31px}}
