/* עוסק פשוט, v2 (Oct 2026): plain, calm, phone first. One reading column, big type, clear boxes. */
:root {
  --bg: #ffffff;
  --soft: #f5f7fb;
  --tint: #eef3ff;
  --ink: #141a2e;
  --ink-2: #4a5272;
  --line: #e0e5ef;
  --brand: #2a3aae;
  --brand-2: #1c2887;
  --on-brand: #ffffff;
  --mark: #ffe45c;
  --on-mark: #141a2e;
  --ok: #157347;
  --no: #b3261e;
  --warn-bg: #fff8e1;
  --warn-line: #f2c94c;
  --shadow: 0 1px 2px rgba(20, 26, 46, .06), 0 4px 16px rgba(20, 26, 46, .06);
  --radius: 16px;
  --font: "Rubik", "Arial Hebrew", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1222;
    --soft: #161a2e;
    --tint: #1a2142;
    --ink: #eceef7;
    --ink-2: #aeb5cf;
    --line: #2a3152;
    --brand: #a3b2ff;
    --brand-2: #c7cfff;
    --on-brand: #0f1222;
    --mark: #e8cd45;
    --on-mark: #11152a;
    --ok: #63d69e;
    --no: #ff8f86;
    --warn-bg: #2a2512;
    --warn-line: #8f7a26;
    --shadow: none;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.75;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
mark { background: var(--mark); color: var(--on-mark); padding: 0 .15em; border-radius: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
b, strong { font-weight: 700; }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; }
p, li { text-wrap: pretty; }
.nw { white-space: nowrap; }
/* Button names and addresses move to the next line as one piece; they wrap inside only when wider than the whole line. */
.ui {
  unicode-bidi: isolate;
  display: inline-block;
  max-width: 100%;
  padding: .05em .4em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  font-size: .9em;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.code { unicode-bidi: isolate; display: inline-block; max-width: 100%; font-weight: 500; white-space: normal; overflow-wrap: anywhere; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap {
  max-width: 68rem;
  margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 44rem; }
.skip {
  position: absolute; top: -10rem; right: 1rem; z-index: 20;
  padding: .5rem 1rem; border-radius: 8px;
  background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--on-brand); }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.brand:hover { color: var(--ink); }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.brand .mk-bg { fill: var(--brand); }
.brand .mk-ck { stroke: var(--mark); }
.topnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; }
.topnav a { color: var(--ink); font-weight: 500; text-decoration: none; padding-block: .3rem; border-bottom: 2px solid transparent; }
.topnav a:hover { border-bottom-color: var(--line); color: var(--ink); }
.topnav a[aria-current="page"] { border-bottom-color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.4rem; border-radius: 999px;
  background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; line-height: 1.3;
}
.btn:hover { background: var(--brand-2); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--tint); color: var(--brand-2); }

/* Home */
.hero { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.hero h1 { margin: 0 0 .9rem; font-size: clamp(2.05rem, 1.4rem + 3vw, 3.25rem); font-weight: 700; max-width: 18ch; }
.hero .lead { margin: 0 0 1.5rem; max-width: 34rem; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--ink-2); }
.section { padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.section-soft { background: var(--soft); }
.section h2 { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.topic { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem .75rem; box-shadow: var(--shadow); scroll-margin-top: 1rem; }
.topic-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.topic-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--tint); color: var(--brand); flex: none; }
.topic h3 { margin: 0; font-size: 1.25rem; }
.topic ul { list-style: none; margin: 0; padding: 0; }
.topic li + li { border-top: 1px solid var(--line); }
.topic li a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .7rem; color: var(--ink); text-decoration: none; line-height: 1.45; }
.topic li a:hover { color: var(--brand); }
.topic li a::after { content: "\2190"; color: var(--brand); font-weight: 700; flex: none; }
.start {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.25rem; padding: 1.25rem; border-radius: var(--radius); background: var(--tint);
}
.start p { margin: 0; font-size: 1.2rem; font-weight: 500; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.trust li { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.trust h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.trust p { margin: 0; color: var(--ink-2); }

/* Page and guide header */
.page { padding-block: 1.25rem 3rem; }
.back { margin: 0 0 1rem; font-size: 1rem; }
.back a { text-decoration: none; font-weight: 500; }
.page h1 { margin: 0 0 .6rem; font-size: clamp(1.9rem, 1.5rem + 2vw, 2.6rem); font-weight: 700; }
.page .lead { margin: 0 0 .6rem; font-size: clamp(1.15rem, 1.07rem + .3vw, 1.3rem); color: var(--ink-2); }
.meta { margin: 0 0 1.5rem; font-size: .95rem; color: var(--ink-2); }
.page h2 { margin: 2.25rem 0 .75rem; font-size: clamp(1.4rem, 1.25rem + .6vw, 1.7rem); font-weight: 700; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-inline-start: 1.25rem; }
.prose li { margin-bottom: .45rem; }

/* Boxes */
.box { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--soft); }
.box h2 { margin: 0 0 .6rem; font-size: 1.2rem; }
.box ul { margin: 0; padding-inline-start: 1.2rem; }
.box li { margin-bottom: .35rem; }
.box li:last-child { margin-bottom: 0; }
.tldr { background: var(--tint); }
.facts { list-style: none; margin: .9rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.facts li { display: flex; align-items: flex-start; gap: .65rem; margin: 0; line-height: 1.5; }
.facts .icon { color: var(--brand); margin-top: .05rem; }
.facts b { font-weight: 700; }
.terms dl { margin: 0; display: grid; gap: .55rem; }
.terms dt { font-weight: 700; }
.terms dd { margin: 0; color: var(--ink-2); }
.terms .more { margin: .7rem 0 0; font-size: 1rem; }
.warn { background: var(--warn-bg); border: 1px solid var(--warn-line); }
.warn h2 { display: flex; align-items: center; gap: .5rem; }

/* Steps */
.steps { list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: step; }
.steps > li { position: relative; counter-increment: step; padding-inline-start: 3.3rem; padding-bottom: 1.35rem; }
.steps > li::before {
  content: counter(step);
  position: absolute; inset-inline-start: 0; top: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 1.05rem; line-height: 1;
}
.steps > li::after { content: ""; position: absolute; inset-inline-start: calc(1.15rem - 1px); top: 2.6rem; bottom: .3rem; width: 2px; background: var(--line); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: .15rem 0 .2rem; font-size: 1.2rem; }
.steps p { margin: 0; }

/* Compare table */
.table-wrap { margin: 0 0 1.25rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.compare th, .compare td { padding: .75rem .8rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--tint); font-size: 1.05rem; }
.compare tbody th { font-weight: 500; color: var(--ink-2); width: 34%; }
.compare td { width: 33%; }
.yes, .no { display: inline-flex; align-items: flex-start; gap: .3rem; }
.yes .icon, .no .icon { width: 1.15rem; height: 1.15rem; margin-top: .12rem; stroke-width: 2.6; }
.yes .icon { color: var(--ok); }
.no .icon { color: var(--no); }
.choose { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.choose li { padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); line-height: 1.5; }
.choose b { display: block; color: var(--brand); }

/* FAQ */
.faq { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .9rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1rem; color: var(--ink-2); }

/* Call to action */
.cta { margin: 2rem 0; padding: 1.4rem 1.25rem; border-radius: var(--radius); background: var(--tint); }
.cta h2 { margin: 0 0 .4rem; font-size: 1.35rem; }
.cta p { margin: 0 0 1rem; }
.cta .btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .fine { margin: 0 0 .6rem; font-size: .9rem; color: var(--ink-2); }

/* Sources and related */
details.sources { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; color: var(--ink-2); }
details.sources summary { cursor: pointer; font-weight: 500; color: var(--ink); }
details.sources p { margin: .6rem 0 .3rem; }
details.sources ul { margin: 0; padding-inline-start: 1.2rem; }
.related { margin-top: 2rem; }
.related h2 { margin: 0 0 .75rem; font-size: 1.25rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cards a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.45; }
.cards a:hover { border-color: var(--brand); color: var(--brand); }
.cards a::after { content: "\2190"; color: var(--brand); font-weight: 700; flex: none; }

/* Guides list page */
.chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .4rem .95rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-size: 1rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--brand); }
.group { margin-top: 2rem; scroll-margin-top: 1rem; }
.group-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .75rem; }
.group-head h2 { margin: 0; font-size: 1.45rem; }
.glist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.glist a { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.glist a:hover { border-color: var(--brand); }
.glist .t { display: block; font-weight: 700; font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.glist .d { display: block; margin-top: .2rem; color: var(--ink-2); line-height: 1.5; }
.glist .m { display: block; margin-top: .35rem; font-size: .9rem; color: var(--ink-2); }

/* Glossary */
.glossary { margin: 0; display: grid; gap: 0; }
.glossary div { padding-block: .9rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.glossary dt { font-weight: 700; font-size: 1.15rem; }
.glossary dd { margin: .15rem 0 0; color: var(--ink-2); }
.glossary div:target { background: var(--tint); padding-inline: .75rem; border-radius: 10px; }

/* Footer */
.foot { margin-top: 2rem; padding-block: 2rem 6rem; border-top: 1px solid var(--line); background: var(--soft); font-size: 1rem; color: var(--ink-2); }
.foot .brand-line { margin: 0 0 .75rem; color: var(--ink); }
.foot ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot p { margin: 0 0 .5rem; max-width: 44rem; }

@media (min-width: 48rem) {
  body { font-size: 1.1875rem; }
  .page { padding-block: 2rem 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
