/* מאגר ידע — legal & support site. Dark-first, indigo accent, RTL Hebrew default. */
:root {
  --bg: #0b0e1a;
  --bg-soft: #11152a;
  --card: #151a33;
  --line: #262c4d;
  --text: #eef0ff;
  --muted: #a9aed6;
  --accent: #8c8aff;
  --accent-strong: #5856d6;
  --warn: #ffd60a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, #1a2044 0%, var(--bg) 55%);
  color: var(--text);
  font-family: -apple-system, "SF Pro Text", "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
header.site {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(11,14,26,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.12rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.mark {
  width: 34px; height: 34px; border-radius: 9px; position: relative; flex: none;
  background: linear-gradient(150deg, var(--accent-strong), #7b76f0);
  box-shadow: 0 4px 14px rgba(88,86,214,.45);
}
.mark::before, .mark::after {
  content: ""; position: absolute; inset-inline: 6px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.85);
}
.mark::before { top: 10px; box-shadow: 0 6px 0 rgba(255,255,255,.6); }
.mark::after { top: 22px; width: 40%; }
nav.top { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
nav.top a { color: var(--muted); font-size: .95rem; }
nav.top a:hover, nav.top a.active { color: var(--text); }
.langpick {
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted);
  border-radius: 8px; padding: 5px 10px; font-size: .85rem; cursor: pointer;
}
main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 42px 22px 60px; }
h1 { font-size: 1.9rem; margin: 0 0 6px; }
h2 { font-size: 1.22rem; margin: 34px 0 8px; color: var(--accent); }
h3 { font-size: 1.02rem; margin: 22px 0 6px; }
p, li { color: var(--text); font-size: .99rem; }
.updated { color: var(--muted); font-size: .85rem; margin-bottom: 26px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin: 14px 0;
}
.note { border-inline-start: 3px solid var(--accent-strong); padding-inline-start: 14px; color: var(--muted); }
ul { padding-inline-start: 22px; }
footer.site {
  border-top: 1px solid var(--line); padding: 18px 22px; text-align: center;
  color: var(--muted); font-size: .82rem;
}
.hero { text-align: center; padding: 34px 0 10px; }
.hero .mark { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 18px; }
.hero .mark::before { top: 21px; box-shadow: 0 12px 0 rgba(255,255,255,.6); }
.hero .mark::after { top: 45px; }
.hero p.sub { color: var(--muted); max-width: 560px; margin: 10px auto 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 26px; }
.grid .card h3 { margin-top: 0; color: var(--accent); }
.btnrow { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 11px; font-weight: 600;
  background: var(--accent-strong); color: #fff; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
[dir="ltr"] .mark::after { width: 40%; }
.hidden { display: none !important; }
@media (max-width: 560px) {
  header.site { padding: 10px 14px; flex-wrap: wrap; row-gap: 8px; }
  .brand { font-size: 1rem; gap: 9px; }
  .mark { width: 28px; height: 28px; }
  nav.top { width: 100%; justify-content: flex-start; gap: 13px; }
  [dir="rtl"] nav.top { justify-content: flex-start; }
  nav.top a { font-size: .88rem; }
  .langpick { margin-inline-start: auto; }
  main { padding: 30px 16px 48px; }
  h1 { font-size: 1.55rem; }
}
