/* Shared by the Sakinah Tab public pages (about, privacy policy). */
:root {
  color-scheme: light dark;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --text: #1b2621;
  --muted: #55655d;
  --line: #dcd8cc;
  --accent: #1f6b4c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1f1a;
    --surface: #152a22;
    --text: #f2efe6;
    --muted: #a9b8b0;
    --line: #263c33;
    --accent: #7fd1a8;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
h1 { margin: 0; font-size: 2rem; line-height: 1.2; }
h2 { margin: 2.5rem 0 0.5rem; font-size: 1.25rem; line-height: 1.3; }
p, ul { margin: 0.75rem 0; }
ul { padding-inline-start: 1.25rem; }
li { margin: 0.375rem 0; }
a { color: var(--accent); text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: 0.9375rem; }
.summary {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.summary p { margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 0.625rem 0.75rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-bottom: 2rem; font-size: 0.9375rem; }
nav strong { margin-inline-end: auto; }
nav a[aria-current='page'] { color: var(--text); text-decoration: none; font-weight: 600; }

/* Support page */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.way { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 0.75rem; }
.way h2 { margin: 0; font-size: 1.125rem; }
.way p { margin: 0; }
.way img { align-self: center; width: 12rem; max-width: 100%; height: auto; margin-block: 0.5rem; border-radius: 0.5rem; }
.way code { padding: 0.375rem 0.625rem; font-size: 0.9375rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0.375rem; overflow-wrap: anywhere; user-select: all; }
.button { display: inline-block; margin-top: auto; padding: 0.625rem 1rem; text-align: center; font-weight: 600; text-decoration: none; color: var(--bg); background: var(--accent); border-radius: 0.5rem; }
