/* Colours match the app's theme (core/designsystem/theme/Color.kt). */
:root {
  --primary: #006972; --on-primary: #fff; --primary-container: #9df0fa; --on-primary-container: #004f56;
  --sand: #ffdea9; --on-sand: #5f4100;
  --bg: #f5fafb; --surface: #e9eff0; --text: #171d1d; --muted: #3f484a; --line: #bec8ca;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #81d3de; --on-primary: #00363c; --primary-container: #004f56; --on-primary-container: #9df0fa;
    --sand: #5f4100; --on-sand: #ffdea9;
    --bg: #0e1415; --surface: #1b2122; --text: #dee4e4; --muted: #bec8ca; --line: #3f484a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
}
a { color: var(--primary); }
.bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 880px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { border-radius: 8px; }
.bar nav a { text-decoration: none; font-weight: 600; }

.hero { max-width: 880px; margin: 24px auto 0; padding: 0 16px; display: grid; gap: 32px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.15; margin: 0; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0; }
.badge { display: inline-block; background: var(--sand); color: var(--on-sand); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.cta { display: inline-block; background: var(--primary); color: var(--on-primary); padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.features { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border-radius: 20px; padding: 18px 20px; }
.card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.ar { direction: rtl; text-align: right; }

.doc { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }
.doc article + article { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.doc h1 { font-size: 1.8rem; line-height: 1.25; }
.doc h2 { font-size: 1.2rem; margin-top: 28px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: start; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { background: var(--surface); }
footer { max-width: 880px; margin: 48px auto 0; padding: 20px 16px 32px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
