/* The privacy pages (public/privacy.html and ar/privacy.html): the same quiet paper as the 404 page. It fits a small phone
   without scrolling; on a smaller or zoomed screen it scrolls rather than cut anything off. */
:root { --bg: #efe6d8; --fg: #3b3127; --muted: #6b5d4f; --card: #fbf6ee; --main-bg: #3b3127; --main-fg: #f6efe3; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font: 300 13px/1.4 "Readex Pro", system-ui, sans-serif; min-height: 100vh; min-height: 100dvh; display: grid; padding: 10px 14px; }
main { width: 100%; max-width: 440px; margin: auto; }
header { display: flex; justify-content: space-between; align-items: center; }
img { display: block; width: 64px; height: auto; }
a { color: inherit; }
.lang { display: inline-block; padding: 12px 4px; }
h1 { font-weight: 600; font-size: 20px; margin: 2px 0 0; }
.lead { margin: 0 0 8px; color: var(--muted); }
ul { list-style: none; margin: 0; padding: 2px 12px; background: var(--card); border-radius: 18px; }
li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 6px 0; align-items: start; }
li + li { border-top: 1px solid #e6dccb; }
svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h2 { font-size: 13px; font-weight: 600; margin: 0; }
li p { margin: 0; color: var(--muted); font-size: 12px; }
footer { text-align: center; }
footer p { margin: 8px 0; }
footer p a { display: inline-block; padding: 4px 0; }
small { color: var(--muted); }
.back { display: inline-block; background: var(--main-bg); color: var(--main-fg); text-decoration: none; font-weight: 400; padding: 12px 24px; border-radius: 999px; }
@media (min-height: 700px) { body { font-size: 14px; } li { padding: 10px 0; } li p { font-size: 13px; } img { width: 78px; } h1 { font-size: 24px; } }
/* A small phone (320 by 568): tighter, so the whole page is seen at once. */
@media (max-height: 640px) {
  body { font-size: 12px; line-height: 1.3; padding: 4px 10px; }
  img { width: 50px; }
  .lang { padding: 6px 4px; }
  header { margin-bottom: 4px; }
  h1 { font-size: 16px; margin: 0; }
  .lead { font-size: 11px; margin: 0 0 4px; }
  ul { padding: 0 10px; border-radius: 14px; }
  li { grid-template-columns: 18px 1fr; gap: 8px; padding: 3px 0; }
  svg { width: 18px; height: 18px; }
  h2 { font-size: 11.5px; }
  li p { font-size: 10.5px; line-height: 1.3; }
  footer p { margin: 3px 0; font-size: 11px; }
  footer p a { padding: 0; }
  footer small { font-size: 10px; }
  .back { padding: 7px 20px; }
}
