/* Stay with Israel: one stylesheet for every page. Light only: the logo is
   drawn for a white background. Logical properties (margin-inline, padding-
   inline-start, text-align: start) keep Hebrew and Arabic right-to-left. */

:root {
  --blue: #2C45C2;
  --blue-dark: #1E3196;
  --blue-soft: #EEF1FC;
  --ink: #15181F;
  --muted: #5A6170;
  --line: #E2E5EC;
  --bg: #FFFFFF;
  --sand: #FBF8F1;
  --radius: 14px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Hebrew", "Noto Sans Arabic", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; }

a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header: logo at the start, language menu at the end. */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 760px; margin: 0 auto; padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.top::before {
  /* The two blue stripes of the flag, as a thin band above the page. */
  content: ""; position: fixed; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(var(--blue) 0 25%, #fff 25% 75%, var(--blue) 75%);
}
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }

.langs { position: relative; }
.langs summary {
  display: flex; align-items: center; gap: 6px;
  list-style: none; cursor: pointer; user-select: none;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.95rem; white-space: nowrap; color: var(--ink);
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: "▾"; color: var(--muted); }
.globe { color: var(--blue); flex: none; }
.langs[open] summary { border-color: var(--blue); }
.langs ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 2;
  margin: 0; padding: 6px; list-style: none; min-width: 160px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(21, 24, 31, 0.12);
}
.langs li a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink);
}
.langs li a:hover { background: var(--blue-soft); }
.langs li a[aria-current="page"] { font-weight: 700; color: var(--blue); }

/* Content column. */
.page { max-width: 760px; margin: 0 auto; padding: 8px 20px 48px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.2; margin: 32px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 6px; }
p, li { font-size: 1.02rem; }
ul, ol { padding-inline-start: 1.4em; }
li { margin: 6px 0; }
.lead { font-size: 1.18rem; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 0.95rem; margin-top: -4px; }

.short {
  background: var(--blue-soft); border-radius: var(--radius);
  padding: 4px 22px 10px; margin: 24px 0;
}
.short h2 { margin-top: 18px; }

.note {
  background: var(--sand); border-inline-start: 4px solid #E3B23C;
  border-radius: 8px; padding: 10px 14px; color: var(--ink);
}

/* Tables (the providers list) scroll sideways on a phone instead of squashing. */
.table { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.97rem; }
th, td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--blue-soft); font-weight: 700; }

/* Home. */
.hero { padding: 12px 0 8px; }
.hero h1 { font-size: clamp(2rem, 6.5vw, 3rem); margin-top: 36px; }
.hero h1 span { color: var(--blue); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; position: relative; margin: 0;
  padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: var(--radius);
}
[dir="rtl"] .steps li { padding: 16px 64px 16px 18px; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 18px; top: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.steps strong { display: block; font-size: 1.08rem; }
.points { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.points li { margin: 0; padding: 14px 16px; background: var(--blue-soft); border-radius: var(--radius); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.store {
  display: inline-block; padding: 12px 20px; border-radius: 12px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
}
.store:hover { color: #fff; background: #000; }
.store.soon { background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }

/* Footer. */
.bottom {
  max-width: 760px; margin: 0 auto; padding: 20px 20px 40px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem;
}
.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.bottom a { color: var(--muted); }
.bottom a:hover { color: var(--blue); }

@media (max-width: 480px) {
  .top { padding: 14px 16px; }
  .brand img { height: 44px; }
  .page { padding-inline: 16px; }
}
