/* Shared styles for public/legal/*.html — copied from public/index.html's
   :root tokens, header (.brand / .lang-pill) and footer, so the legal pages
   read as part of the same site. Keep in sync by hand; no build step. */

:root{
  --bg:#fafaf7;
  --surface:#ffffff;
  --ink:#14201a;
  --ink-muted:#5c6b62;
  --primary:#0f5132;
  --primary-bright:#15803d;
  --border:#e7e5df;
  --ghost-bg:#eef4f0;
  --radius-lg:18px;
  --radius-md:16px;
  --radius-sm:12px;
  --shadow-soft:0 1px 3px rgba(20,32,26,.06);
  --font:"Segoe UI","Arial Hebrew","Rubik","Assistant",Arial,sans-serif;
  color-scheme: light;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
[hidden]{display:none!important}
img{max-width:100%}
a{color:inherit}
h1,h2,p,ul,ol{margin:0}

/* ---------- header (copied from public/index.html .site-header) ---------- */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:960px;
  margin:0 auto;
  padding:18px 20px;
}
.brand{
  font-weight:700;
  font-size:1rem;
  color:var(--primary);
  letter-spacing:.01em;
  text-decoration:none;
}
.brand:focus-visible{
  outline:2px solid var(--primary-bright);
  outline-offset:2px;
}
.lang-pill{
  font-family:inherit;
  font-size:.85rem;
  font-weight:600;
  background:var(--surface);
  color:var(--primary);
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 16px;
  min-height:44px;
  cursor:pointer;
}
/* No :hover on this control — it's a touch target too, and :hover latches
   on touch devices (see repo CLAUDE.md "hard rules"). */
.lang-pill:focus-visible{
  outline:2px solid var(--primary-bright);
  outline-offset:2px;
}

/* ---------- legal content ---------- */
.legal{
  max-width:720px;
  margin:0 auto;
  padding:12px 20px 56px;
}
.legal h1{
  font-size:1.7rem;
  line-height:1.3;
  font-weight:700;
  color:var(--ink);
}
.legal .updated{
  margin-top:10px;
  font-size:.9rem;
  color:var(--ink-muted);
}
.legal h2{
  margin-top:32px;
  font-size:1.15rem;
  line-height:1.4;
  font-weight:700;
  color:var(--ink);
}
.legal p{
  margin-top:12px;
  font-size:.98rem;
  line-height:1.75;
  color:var(--ink);
}
.legal ul{
  margin-top:12px;
  padding-inline-start:22px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.legal li{
  font-size:.98rem;
  line-height:1.65;
  color:var(--ink);
}
.legal a{
  color:var(--primary);
  text-decoration:underline;
  text-underline-offset:2px;
}
.legal a:focus-visible{
  outline:2px solid var(--primary-bright);
  outline-offset:2px;
}

/* ---------- footer (copied from public/index.html .site-footer) ---------- */
.site-footer{
  text-align:center;
  padding:26px 20px 40px;
  color:var(--ink-muted);
  font-size:.85rem;
}
.footer-links{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:4px;
}
.footer-links a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding-inline:8px;
  color:var(--ink-muted);
  text-decoration:none;
}
.footer-links a[aria-current="page"]{
  color:var(--primary);
  font-weight:600;
}
.footer-links a:focus-visible{
  outline:2px solid var(--primary-bright);
  outline-offset:2px;
  text-decoration:underline;
}

@media (prefers-reduced-motion: reduce){
  *{transition-duration:.001ms!important; animation-duration:.001ms!important}
}
