/* الصفحات الثابتة في الموقع العام (الخصوصية، الشروط، حذف الحساب، 404، الصيانة) بنظام تصميم مجيد: بطاقات 12px وحقول وأزرار 8px بارتفاع 44px. يعتمد متغيرات site.css */
.sp-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .sp-wrap { padding: 0 1.5rem; } }
.sp-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgb(var(--border) / .7); background: rgb(var(--bg) / .8); backdrop-filter: blur(16px); }
.sp-header .sp-wrap { display: flex; align-items: center; gap: 1rem; height: 4rem; }
.sp-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 15px; color: rgb(var(--text)); text-decoration: none; }
.sp-brand svg { width: 2rem; height: 2rem; }
.sp-actions { margin-inline-start: auto; display: flex; gap: .25rem; align-items: center; }
.sp-btn { display: inline-flex; align-items: center; gap: .4rem; height: 2.5rem; padding: 0 .8rem; border-radius: 8px; font-size: 14px; color: rgb(var(--muted)); text-decoration: none; background: none; border: 0; cursor: pointer; }
.sp-btn:hover { background: rgb(var(--surface-2)); color: rgb(var(--text)); }
.sp-main { padding: 3rem 0 4rem; min-height: 60vh; }
.sp-crumbs { font-size: 13px; color: rgb(var(--muted)); margin-bottom: 1rem; }
.sp-crumbs a { color: inherit; text-decoration: none; }
.sp-crumbs a:hover { color: rgb(var(--text)); }
.sp-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5rem; }
.sp-lead { color: rgb(var(--muted)); font-size: 1.05rem; line-height: 1.8; margin: 0 0 2rem; max-width: 65ch; }
.sp-meta { font-size: 13px; color: rgb(var(--muted)); margin-bottom: 2rem; }

/* نص المحتوى */
.sp-prose { max-width: 70ch; font-size: 1rem; line-height: 1.95; }
.sp-prose h2 { font-size: 1.3rem; font-weight: 700; margin: 2.2rem 0 .7rem; line-height: 1.4; }
.sp-prose h3 { font-size: 1.1rem; font-weight: 700; margin: 1.6rem 0 .5rem; }
.sp-prose p { margin: 0 0 1rem; }
.sp-prose ul, .sp-prose ol { margin: 0 0 1rem; padding-inline-start: 1.4rem; }
.sp-prose li { margin: .3rem 0; }
.sp-prose a { color: rgb(var(--primary)); text-underline-offset: 3px; }
.sp-prose blockquote { margin: 1rem 0; padding: .6rem 1rem; border-inline-start: 3px solid rgb(var(--accent)); background: rgb(var(--surface-2)); border-radius: 8px; }
.sp-prose hr { border: 0; border-top: 1px solid rgb(var(--border)); margin: 2rem 0; }

/* نموذج حذف الحساب */
.sp-card { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; padding: 1.5rem; max-width: 34rem; }
.sp-field { display: block; margin-bottom: 1rem; }
.sp-field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: .4rem; }
.sp-input, .sp-select { width: 100%; min-height: 2.75rem; border-radius: 8px; border: 1px solid rgb(var(--border)); background: rgb(var(--surface)); color: rgb(var(--text)); padding: 0 .9rem; font: inherit; }
.sp-input:focus, .sp-select:focus { outline: none; border-color: rgb(var(--primary)); box-shadow: 0 0 0 3px rgb(var(--primary) / .15); }
.sp-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 8px; border: 0; font: inherit; font-weight: 700; cursor: pointer; background: rgb(var(--primary)); color: rgb(var(--primary-contrast)); }
.sp-submit.danger { background: #b42318; color: #fff; }
.sp-note { padding: .625rem .875rem; border-radius: 8px; margin-bottom: 1rem; font-size: 14px; line-height: 1.7; }
.sp-note.ok { background: rgb(22 163 74 / .12); color: rgb(var(--text)); }
.sp-note.err { background: rgb(220 38 38 / .12); color: rgb(var(--text)); }
.sp-list { margin: 0 0 1.5rem; padding-inline-start: 1.2rem; line-height: 1.9; color: rgb(var(--muted)); }

/* التذييل */
.sp-footer { border-top: 1px solid rgb(var(--border)); }
.sp-footer .sp-wrap { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding-top: 2rem; padding-bottom: 2rem; font-size: 14px; color: rgb(var(--muted)); }
.sp-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.sp-footer a { color: inherit; text-decoration: none; }
.sp-footer a:hover { color: rgb(var(--text)); }

.sp-center { text-align: center; padding: 6rem 1rem; }
.sp-center .sp-title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.sp-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.sp-input, .sp-select { border-color: rgb(205 216 219); }
.dark .sp-input, .dark .sp-select { border-color: rgb(47 70 77); }
