/* Shared styling for Sakina legal pages.
   Intentionally minimal — high readability, print-friendly, no external deps. */
:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --primary: #1b6b4a;
  --border: #e5e0d8;
  --accent: #c8985e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

header .brand {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

header .brand:hover {
  text-decoration: underline;
}

h1 {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--text);
}

h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--text);
  scroll-margin-top: 24px;
}

h3 {
  font-size: 18px;
  margin: 28px 0 8px;
  color: var(--text);
}

p, li {
  color: var(--text);
}

ul, ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--primary);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: rgba(27, 107, 74, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.effective-date {
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
}

.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 15px;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  margin: 24px 0 40px;
}

.toc ol {
  margin: 0;
}

.toc li {
  margin-bottom: 4px;
}

footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 64px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

footer a {
  color: var(--text-muted);
  margin: 0 8px;
}

@media (max-width: 600px) {
  .container {
    padding: 32px 18px 64px;
  }
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
  body { font-size: 16px; }
}
