:root{--a11y-font:'Assistant','Segoe UI',Arial,sans-serif;--a11y-brand:#0e2a45;--a11y-brand-hover:#0a1f35;--a11y-ink:#10263b;--a11y-muted:#3d4f5e;--a11y-link:#0b5563;--a11y-soft:#eef3f5;--a11y-line:#c9d3d8;--a11y-focus:#0b5fff}
/* Accessibility menu + preferences. Colors come from variables set per site (see theme.*.css). */
.a11y-root { font-family: var(--a11y-font, system-ui, 'Segoe UI', Arial, sans-serif); direction: rtl; }
.a11y-fab {
  position: fixed; z-index: 2147483000;
  inset-inline-end: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: var(--a11y-brand, #0e2a45); color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}
.a11y-fab:hover { background: var(--a11y-brand-hover, #0a1f35); }
.a11y-fab:focus-visible, .a11y-root button:focus-visible, .a11y-root a:focus-visible { outline: 3px solid var(--a11y-focus, #0b5fff); outline-offset: 3px; }
.a11y-panel {
  position: fixed; z-index: 2147483001;
  inset-inline-end: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 60px);
  width: min(320px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 96px)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--a11y-surface, #fff); color: var(--a11y-ink, #10263b);
  border: 1px solid var(--a11y-line, #cfd8dc); border-radius: 18px; padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: 15px; line-height: 1.5;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.a11y-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: inherit; }
.a11y-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.a11y-close:hover { background: var(--a11y-soft, #eef3f5); }
.a11y-reset, .a11y-step, .a11y-toggle { font: inherit; color: inherit; cursor: pointer; background: var(--a11y-surface, #fff); border: 1.5px solid var(--a11y-line, #cfd8dc); }
.a11y-reset { width: 100%; min-height: 44px; border-radius: 999px; font-weight: 700; margin-bottom: 16px; }
.a11y-reset:hover, .a11y-step:hover:not(:disabled), .a11y-toggle:hover { background: var(--a11y-soft, #eef3f5); }
.a11y-label { margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--a11y-muted, #3d4f5e); }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; border: 1.5px solid var(--a11y-line, #cfd8dc); border-radius: 14px; padding: 6px; }
.a11y-step { width: 44px; height: 44px; border-radius: 50%; font-size: 22px; font-weight: 700; line-height: 1; padding: 0; }
.a11y-step:disabled { opacity: .4; cursor: not-allowed; }
.a11y-val { font-weight: 800; font-size: 16px; }
.a11y-toggles { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.a11y-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; text-align: start; font-weight: 600; }
.a11y-toggle i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #8a99a5; flex: none; transition: background .2s; }
.a11y-toggle i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.a11y-toggle[aria-pressed="true"] { border-color: var(--a11y-brand, #0e2a45); }
.a11y-toggle[aria-pressed="true"] i { background: var(--a11y-brand, #0e2a45); }
.a11y-toggle[aria-pressed="true"] i::after { inset-inline-start: 19px; }
.a11y-statement { display: inline-block; font-weight: 700; color: var(--a11y-link, #0b5563); text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.a11y-hint { margin: 6px 0 0; font-size: 13px; color: var(--a11y-muted, #3d4f5e); }

/* ---- preferences (words in <html data-a11y="..."> set by the boot snippet and by a11y.js) ---- */
html[data-a11y~="fs-110"] body { zoom: 1.1; }
html[data-a11y~="fs-120"] body { zoom: 1.2; }
html[data-a11y~="fs-130"] body { zoom: 1.3; }
html[data-a11y~="links"] a:not(.a11y-fab) { text-decoration-line: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; }
html[data-a11y~="motion"] *, html[data-a11y~="motion"] *::before, html[data-a11y~="motion"] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html[data-a11y~="contrast"] .a11y-panel { --a11y-line: #4b5a66; --a11y-muted: #1b2630; }
@media (prefers-reduced-motion: reduce) { .a11y-toggle i, .a11y-toggle i::after { transition: none; } }

.a11y-note { margin: 0 0 10px; font-size: 13.5px; color: var(--a11y-ink, #10263b); }
.a11y-note:empty { display: none; }

/* ---- "מגיע לי": accessibility additions for the landing page itself (look unchanged) ---- */
.skip { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 2147482000; background: #fff; color: #0b5563; padding: 10px 16px; border-radius: 12px; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.skip:focus { top: 12px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #0b5563; outline-offset: 3px; }
.s-navy a:focus-visible, .s-navy button:focus-visible, footer a:focus-visible, .nav .brand:focus-visible { outline-color: #0b5fff; }
.s-navy :focus-visible, footer :focus-visible { outline-color: #fff; }
.vplay:focus-visible { outline: 4px solid #fff; outline-offset: -8px; }
.gh { font-size: 17px; color: var(--navy); font-weight: 700; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; line-height: 1.2; }

/* footer: legal links + room for the round accessibility button */
footer { padding-bottom: 92px; }
.legal-nav { position: relative; display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: center; margin: 0 0 16px; }
.legal-nav a { color: #fff; font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; padding: 8px 2px; }
footer .credit a { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

/* accessibility menu preferences that need page-specific rules */
html[data-a11y~="contrast"] { --muted: #1f2d38; --text: #000; --border: #6b7b87; --teal: #0b5563; }
html[data-a11y~="contrast"] .lead, html[data-a11y~="contrast"] .hero p.desc, html[data-a11y~="contrast"] .card p, html[data-a11y~="contrast"] .footnote, html[data-a11y~="contrast"] .step p, html[data-a11y~="contrast"] .inv .meta, html[data-a11y~="contrast"] .kpi small { color: #1f2d38; }
html[data-a11y~="contrast"] .s-navy .lead, html[data-a11y~="contrast"] .s-navy p { color: #fff; }
html[data-a11y~="contrast"] #lineSvg text { fill: #1f2d38; }
html[data-a11y~="contrast"] .mlabels small, html[data-a11y~="contrast"] .panel .cap, html[data-a11y~="contrast"] .legend { color: #1f2d38; }
html[data-a11y~="contrast"] .nav ul a { color: #1f2d38; }
html[data-a11y~="motion"].js .rv, html[data-a11y~="motion"].js .rv.rv-s, html[data-a11y~="motion"].js .rv.rv-l, html[data-a11y~="motion"].js .rv.rv-r { opacity: 1 !important; transform: none !important; }
html[data-a11y~="motion"] .hero h1 .w span { transform: none !important; }
html[data-a11y~="motion"] .vframe, html[data-a11y~="motion"] .frame { transform: none !important; }
html[data-a11y~="motion"] .bar i, html[data-a11y~="motion"] .kpi::after { transform: none !important; }
html[data-a11y~="motion"] .bar em, html[data-a11y~="motion"] .step .tx { opacity: 1 !important; transform: none !important; }
html[data-a11y~="motion"] #lineSvg .pt { transform: scale(1) !important; }
html[data-a11y~="motion"] [data-par] { translate: none !important; }
