/* The hosted legal pages (plan 2026-09-30-store-blockers, SB1): the app's
   own cream, ink and one brown. Light only, like the app. */
:root {
  --ground: #FAF7F4;
  --ink: #33241A;
  --ink-soft: #7A654F;
  --line: #E9E1D3;
  --accent: #7A4A2B;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); padding: 16px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 800; letter-spacing: .18em; color: var(--ink); text-decoration: none; }
.lang { color: var(--accent); font-weight: 600; text-decoration: none; }
nav.pages { padding: 12px 0; border-bottom: 1px solid var(--line); }
nav.pages .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; }
nav.pages a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
nav.pages a[aria-current="page"] { color: var(--accent); font-weight: 700; }
main { padding: 28px 0 40px; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 6px; }
.updated { color: var(--ink-soft); margin: 0 0 24px; font-size: .95rem; }
h2 { font-size: 1.15rem; margin: 32px 0 8px; }
p, li { margin: 0 0 10px; }
ul, ol { padding-inline-start: 1.3rem; margin: 0 0 12px; }
a { color: var(--accent); }
.note { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
/* Content safety phase 3 (T1): the copyright notice form. */
form.notice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 8px 0 24px; }
form.notice > * { min-width: 0; max-width: 100%; }
form.notice label { font-weight: 600; margin-top: 10px; }
form.notice label.choice { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
form.notice input[type=text], form.notice input[type=email], form.notice input[type=url], form.notice textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
form.notice fieldset { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; }
form.notice legend { font-weight: 600; padding: 0; }
form.notice button {
  margin-top: 16px; min-height: 48px; border: 0; border-radius: 12px; padding: 0 22px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
form.notice button:disabled { opacity: .6; cursor: default; }
form.notice .status { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; }
form.notice .hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
footer.bottom { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--ink-soft); font-size: .95rem; }
