@font-face {
  font-family: "Polin";
  src: url("assets/fonts/polin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10131a;
  --paper: #f8f8f4;
  --plate: #fff;
  --blue: #1f55d8;
  --coral: #ff654b;
  --lemon: #f3df62;
  --text: #10131a;
  --muted: #555a66;
  --rule: rgba(16, 19, 26, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Polin", "Arial Hebrew", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #153996; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link {
  position: fixed;
  z-index: 999;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  background: var(--lemon);
  color: var(--ink);
  border: 2px solid var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.legal-header { background: var(--ink); color: var(--plate); border-bottom: 2px solid var(--ink); }
.legal-header-inner,
.legal-main,
.legal-footer-inner { width: min(820px, calc(100% - 36px)); margin-inline: auto; }
.legal-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.legal-brand { display: inline-flex; align-items: center; text-decoration: none; }
.legal-brand img { width: 124px; height: 44px; object-fit: contain; background: white; }
.back-link { color: var(--plate); }
.legal-main { padding-block: clamp(54px, 8vw, 92px); }
.legal-main h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 6vw, 3.3rem); line-height: 1.12; }
.legal-main h2 { margin: 2.2em 0 .5em; font-size: clamp(1.45rem, 3.5vw, 1.85rem); line-height: 1.25; }
.legal-main p,
.legal-main li { max-width: 70ch; }
.legal-main ul { padding-inline-start: 1.2em; }
.legal-updated { color: var(--muted); border-bottom: 2px solid var(--rule); padding-bottom: 28px; margin-bottom: 36px; }
.legal-callout { margin-block: 30px; padding: 22px 24px; background: var(--plate); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--lemon); }
.legal-contact { background: #ffd8d1; border: 2px solid var(--ink); padding: 22px 24px; }
.legal-footer { background: var(--ink); color: rgba(255, 255, 255, .82); }
.legal-footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal-footer a { color: inherit; }
@media (max-width: 620px) {
  body { font-size: 17px; }
  .legal-header-inner { min-height: 72px; }
  .legal-brand img { width: 108px; height: 40px; }
  .back-link { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
