/* The privacy pages on this site (build.py copies this over the app repo's own privacy.css).
   Same words as the app's pages; the look follows the site: light only, square corners, no
   see-through text, 15px and up, 18px body, 44px tap targets. The pages' own security policy
   allows no web fonts, so they use the system's sans. */
:root {
  --bg: #f1eae0; --tile: #fffcf7; --ink: #2a211c; --muted: #5e534b; --line: #d9ccbd;
  --accent: #8f1d2c; --on: #fffcf7;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
:lang(ja) body, :lang(zh) body, :lang(ko) body { line-height: 1.75; }
:lang(ko) body { word-break: keep-all; }
:lang(ar) body { font-size: 19px; line-height: 1.8; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; background: var(--ink); color: var(--bg);
  padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
.skip:focus { top: 8px; }
header { padding-top: 16px; }
.home { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 8px; color: var(--ink);
  text-decoration: none; font-weight: 600; }
.home:hover { text-decoration: underline; }
.langs ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.langs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--tile); color: var(--ink);
  text-decoration: none; font-size: 16px; border: 1px solid var(--line);
}
.langs a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hero { background: var(--accent); color: var(--on); padding: 24px 24px 22px; margin-bottom: 12px; }
.hero .brand { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin: 4px 0 12px; font-size: clamp(28px, 6vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.hero .lead { margin: 0 0 12px; font-size: 18px; }
.hero .updated { margin: 0; font-size: 16px; }
.hero a { color: var(--on); }
.tile { background: var(--tile); border: 1px solid var(--line); padding: 20px 22px; margin: 0 0 12px; }
.cap { margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-inline-start: 1.4em; columns: 2 14rem; column-gap: 24px; }
.toc li { margin: 10px 0; break-inside: avoid; }
h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; font-weight: 700; }
h3 { margin: 22px 0 6px; font-size: 18px; line-height: 1.35; font-weight: 700; }
h2 + h3 { margin-top: 8px; }
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px; padding-inline-start: 1.3em; }
li { margin: 4px 0; }
li::marker { color: var(--muted); }
p:last-child, ul:last-child { margin-bottom: 0; }
.note { color: var(--muted); }
bdi { white-space: nowrap; }
section.aside { border: 2px dashed var(--line); background: transparent; }
.foot { padding: 8px 16px 40px; color: var(--muted); font-size: 16px; }
@media (max-width: 420px) {
  .tile { padding: 18px 16px; }
  .hero { padding: 20px 16px 18px; }
}
@media print {
  :root { --bg: #fff; --tile: #fff; --accent: #fff; --on: #000; }
  .langs, .skip, .toc, .home { display: none; }
  .tile { padding: 0; margin-bottom: 16px; border: 0; }
}
