/* Shared look for the in-app pages (loaded by each page with a relative link). */
:root { --primary: #E3261F; --ink: #1A1A1A; --muted: #6b7280; --bg: #ffffff; --card: #f7f7f9; }
* { box-sizing: border-box; }
body { margin: 0; padding: 20px 18px 40px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
h1 { font-size: 24px; margin: 0 0 6px; color: var(--primary); }
h2 { font-size: 18px; margin: 22px 0 8px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); margin-bottom: 18px; }
.card { background: var(--card); border-radius: 14px; padding: 14px 16px; margin: 12px 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid #e5e7eb; }
html[dir="rtl"] .steps li { padding: 10px 44px 10px 0; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
html[dir="rtl"] .steps li::before { left: auto; right: 0; }
.steps b { display: block; }
.small { font-size: 13px; color: var(--muted); }
a { color: var(--primary); }
