/* The legal pages of tryshapeup.com: privacy, terms, support, account deletion.
   The same tokens as index.html. System fonts only: a page about privacy
   should not send every visitor's address to a font server. */
:root {
  color-scheme: light;
  --paper: #f5f6ee;
  --ink: #183d30;
  --muted: #526359;
  --line: #d3dbce;
  --panel: #e9eddf;
  --accent: #d6f473;
  --leaf: #648029;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-ar: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.9; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 4px; }

.wrap { width: min(780px, calc(100% - 32px)); margin-inline: auto; padding-bottom: 56px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.brand { font-size: 24px; font-weight: 750; letter-spacing: -1px; text-decoration: none; }
.brand span { color: var(--leaf); }
.lang { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.lang button {
  font: 600 14px/1 var(--font); color: var(--muted); background: none; border: 0;
  min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
}
.lang button[lang="ar"] { font-family: var(--font-ar); }
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--accent); }

article { padding-top: 40px; }
h1 { margin: 0 0 8px; font-size: clamp(32px, 6vw, 44px); line-height: 1.1; font-weight: 750; letter-spacing: -0.03em; }
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.3; }
.updated { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
h2 { margin: 36px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 650; }
p, li { color: var(--ink); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-inline-start: 22px; }
li { margin-bottom: 6px; }
.lead { padding: 20px 24px; background: var(--panel); border-radius: 14px; }
.lead ul { margin: 0; }
.muted { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
th, td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 650; background: var(--panel); }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 650; }
}

.contact { margin-top: 40px; padding: 24px; background: var(--panel); border-radius: 14px; }
.contact p:last-child { margin-bottom: 0; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
