/* Shared styling for the standalone legal pages (privacy, delete-account).
   These are plain static HTML rather than app screens: someone lands here
   from the Play listing or from a review queue, with no session and no
   app.js loaded. Kept in the landing's palette so they still read as وِرد. */

:root {
  --deep: #0E3F2E;
  --deep-2: #14503B;
  --gold: #E6C68A;
  --gold-ink: #B08A3E;
  --page: #F1F7F2;
  --card: #FFFFFF;
  --ink: #16211C;
  --muted: #4C6157;
  --muted-2: #6F8577;
  --line: rgba(22, 33, 28, .1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: 720px; margin: 0 auto; padding: 0 20px 64px; }

.head { padding: 34px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-bottom: 24px; }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--deep); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font: 700 18px/1 'Amiri', serif;
}
.brand-name { font: 700 20px/1 'Amiri', serif; color: var(--ink); }
h1 { margin: 0 0 8px; font: 700 32px/1.3 'Amiri', serif; }
.updated { margin: 0; font-size: 13px; color: var(--muted-2); }

section { margin-bottom: 30px; }
h2 { margin: 0 0 12px; font: 600 16px/1.5 'IBM Plex Sans Arabic', sans-serif; }
p { margin: 0 0 12px; font-size: 15px; line-height: 2; color: var(--muted); }
p:last-child { margin-bottom: 0; }
b { color: var(--ink); font-weight: 600; }
.lede { font-size: 16px; color: var(--ink); }

ul { margin: 0 0 12px; padding-inline-start: 22px; }
li { font-size: 15px; line-height: 2; color: var(--muted); margin-bottom: 8px; }

a { color: var(--deep-2); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }

/* The two passages a reader most needs to actually read: the microphone
   disclosure, and how to delete without the app. */
.flag {
  background: var(--card);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  border-radius: 14px;
  padding: 20px 22px;
}

.contact, .path {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  text-align: center;
  direction: ltr;
}
.path { direction: rtl; font-weight: 600; color: var(--ink); }

footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
}

@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .page { padding-bottom: 48px; }
}
