/* PrepMe legal pages, in the same brand colors as the landing page. System fonts only, no external requests. */
:root {
  color-scheme: dark;
  --bg: #080a11;
  --surface: #10141f;
  --text: #f0eee6;
  --muted: #a7acb8;
  --border: #232838;
  --accent: #1fdb9e;
  --accent-text: #1fdb9e;
  --note-bg: #10141f;
  --warn-bg: #1d1a12;
  --warn-border: #e0a43a;
  --grad: linear-gradient(135deg, #12b5de, #1fdb9e);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.7 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
}
html[lang="ar"] body { line-height: 1.9; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--accent); color: var(--bg); padding: .5rem 1rem; z-index: 10; }
.skip:focus { inset-inline-start: 0; }

.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header .wrap { max-width: 64rem; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; margin-inline-end: auto; }
.brand img { width: 2rem; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a, .lang { color: var(--muted); text-decoration: none; padding: .25rem 0; }
nav a:hover, .lang:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.lang { border: 1px solid var(--border); border-radius: .5rem; padding: .2rem .7rem; }

main { padding-top: 1.5rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.25; margin: .5rem 0 .25rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2.2rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .25rem; }
p, ul, ol { margin: .75rem 0; }
li { margin: .35rem 0; }
ul, ol { padding-inline-start: 1.4rem; }
a { color: var(--accent-text); text-underline-offset: .15em; }
a:focus-visible, .skip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.meta { color: var(--muted); margin-top: 0; font-size: .95rem; }
.lead { font-size: 1.1rem; }
.hero { padding: 1rem 0 .5rem; }
.hero h1 { font-size: 2.3rem; }
.note { background: var(--note-bg); border: 1px solid var(--border); border-inline-start: 4px solid var(--accent); border-radius: .5rem; padding: .25rem 1rem; margin: 1.25rem 0; }
.note h2 { margin-top: .75rem; font-size: 1.15rem; }
.note.warn { background: var(--warn-bg); border-color: var(--warn-border); border-inline-start-color: var(--warn-border); }
.links { list-style: none; padding: 0; }
.links li { background: var(--surface); border: 1px solid var(--border); border-radius: .5rem; padding: .6rem 1rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--border); border-radius: .5rem; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95rem; line-height: 1.55; }
th, td { text-align: start; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--border); }
thead th { background: var(--note-bg); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; white-space: nowrap; }
@media (max-width: 40rem) { tbody th { white-space: normal; } }

.site-footer { border-top: 1px solid var(--border); background: var(--bg); color: var(--muted); font-size: .9rem; padding: 1rem 0 2rem; }
.site-footer p { margin: .35rem 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
@media print { .site-header, .site-footer .lang, .skip { display: none; } body { background: #fff; color: #000; } a { color: #000; } .note, .links li, .table-wrap { background: #fff; } }
