/* Local accessibility preferences, shared by the homepage and policy pages. */
html{font-size:calc(100% * var(--a11y-text-scale,1))}
.a11y-launcher{position:fixed;left:20px;bottom:22px;z-index:85;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:48px;min-height:48px;padding:10px 16px;border:1px solid #a3bd4f;border-radius:16px;background:#191d13;color:#e0ff75;box-shadow:0 6px 24px #0005;font-family:var(--sans);font-size:.875rem;font-weight:600;line-height:1.3;text-decoration:none}
.a11y-launcher:hover{background:var(--lime);color:var(--bg)}
.a11y-icon{display:block;flex-shrink:0;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.a11y-panel{position:fixed;inset:auto auto 84px 20px;margin:0;width:min(370px,calc(100vw - 40px));max-height:calc(100dvh - 110px);padding:22px;border:1px solid #677b38;border-radius:22px;background:#171b12;color:#f4f4ef;box-shadow:0 24px 80px #0008;overflow-y:auto;overscroll-behavior:contain;font-family:var(--sans);font-size:1rem;line-height:1.65;direction:rtl}
.a11y-panel::backdrop{background:#06080475}
.a11y-panel:not([open]){display:none}
.a11y-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid #414a31}
.a11y-heading h2{font-size:1.25rem;line-height:1.4}
.a11y-close{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border:1px solid #68774c;border-radius:50%;background:transparent;color:inherit}
.a11y-panel button{font-family:inherit;line-height:1.5}
.a11y-panel button:disabled{opacity:.55;cursor:default}
.a11y-text{padding-block:18px}
.a11y-text>span{display:block;margin-bottom:10px;font-size:.9375rem}
.a11y-size-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;direction:ltr}
.a11y-size-controls button{min-width:46px;min-height:46px;border:1px solid #68774c;border-radius:12px;background:#252d1b;color:#f4f4ef;font-size:1.375rem}
.a11y-size-controls output{font-family:var(--latin);font-size:1rem}
.a11y-options{display:grid;gap:9px}
.a11y-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:11px 13px;border:1px solid #596842;border-radius:12px;background:#22291a;color:#f4f4ef;text-align:right;font-size:.9375rem}
.a11y-option::after{content:'כבוי';font-size:.75rem;flex-shrink:0;color:#c6cdbb}
.a11y-option[aria-pressed=true]{border-color:var(--lime);background:#d6ff4510}
.a11y-option[aria-pressed=true]::after{content:'פעיל';color:var(--lime)}
.a11y-note{font-size:.8125rem;line-height:1.7;color:#c0c7b5;margin:15px 0 10px}
.a11y-reset{display:block;width:100%;min-height:44px;border:0;background:transparent;color:var(--lime);font-size:.875rem;text-decoration:underline;text-underline-offset:4px}
.a11y-statement{display:block;min-height:44px;margin-top:10px;padding:12px 0 0;border-top:1px solid #414a31;color:var(--lime);font-size:.875rem;text-align:center;text-decoration:underline;text-underline-offset:4px}
.a11y-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.a11y-highlight-links a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:.22em!important}
.motion-reduced,.motion-reduced *{scroll-behavior:auto!important}
.motion-reduced *,.motion-reduced *::before,.motion-reduced *::after{animation:none!important;transition:none!important}
.motion-reduced .reveal,.motion-reduced .hero .line>span,.motion-reduced .hero-description,.motion-reduced .hero-actions{opacity:1!important;transform:none!important}
.a11y-high-contrast{--bg:#000;--fg:#fff;--muted:#fff;--lime:#e5ff70;--line:#fff}
.a11y-high-contrast body,.a11y-high-contrast .header,.a11y-high-contrast .mobile-nav,.a11y-high-contrast .mobile-dock,.a11y-high-contrast .a11y-panel{background:#000!important;color:#fff!important}
.a11y-high-contrast body :where(section,article,footer,.contact-form,.search-window,.answer-window,.project-cover,.legal-contact,.legal-summary){background:#000!important;color:#fff!important;border-color:#fff!important}
.a11y-high-contrast body :where(h1,h2,h3,p,span,em,strong,small,label,li,summary,a,input,select,output){color:#fff!important;-webkit-text-stroke:0!important;text-shadow:none!important}
.a11y-high-contrast body :where(button,.button,.header-contact,.mobile-dock a,.a11y-launcher,input,select){background:#000!important;color:#fff!important;border:1px solid #fff!important}
.a11y-high-contrast body :where(a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible){outline-color:#ffed00!important}
.a11y-high-contrast .a11y-option[aria-pressed=true]{border:2px solid #ffed00!important}
.a11y-high-contrast .a11y-option::after{color:#fff!important}
.a11y-high-contrast body :where(div,span,p,section,article,header,footer,nav,main,summary){background-color:transparent!important;background-image:none!important}
.a11y-high-contrast [aria-pressed=true]{outline:2px solid #ffed00;outline-offset:1px}
.a11y-high-contrast .contact-form ::placeholder{color:#ddd!important;opacity:1}
.a11y-large-text .desktop-nav,.a11y-large-text .header-contact{display:none}
.a11y-large-text .menu-toggle{display:flex}
.a11y-large-text :where(.hero-topline,.hero-bottom,.hero-actions,.section-heading,.footer-bottom,.footer-bottom>div,.ai-rail-footer){flex-wrap:wrap}
.a11y-large-text :where(.hero-layout,.contact-layout,.services,.studio-bottom,.discovery-grid){grid-template-columns:1fr}
.a11y-large-text .services-heading{position:static}
.a11y-large-text :where(.contact-phone,.contact-email,.legal-contact a){overflow-wrap:anywhere}
.a11y-large-text .ai-process{white-space:normal;flex-wrap:wrap}
.a11y-large-text .line{overflow:visible}
.a11y-large-text .mobile-dock{display:none}
.a11y-large-text :where(.device-category,.device-bottom h3,.device-bottom p){overflow-wrap:anywhere}
.a11y-large-text :where(.platform-row,.organic-bottom,.search-demo-top,.answer-source,.device-top){flex-wrap:wrap}
.a11y-large-text .organic-services{grid-template-columns:1fr}
.a11y-large-text .device-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.a11y-large-text .platform-row>div{min-width:0}
.a11y-large-text .mobile-nav{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
.form-privacy{margin-top:12px;font-size:.875rem;line-height:1.75;color:#263007}
.form-privacy a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
.contact-form button:disabled{opacity:.6;cursor:default}
@media(max-width:760px){
 .a11y-launcher{left:16px;bottom:calc(94px + env(safe-area-inset-bottom));width:48px;padding:10px;border-radius:15px}
 .a11y-launcher>span{display:none}
 .a11y-panel{left:16px;bottom:calc(154px + env(safe-area-inset-bottom));width:calc(100vw - 32px);max-width:370px;max-height:calc(100dvh - 178px - env(safe-area-inset-bottom));padding:18px}
 .legal-page .a11y-launcher,.a11y-large-text .a11y-launcher{bottom:calc(18px + env(safe-area-inset-bottom))}
 .legal-page .a11y-panel,.a11y-large-text .a11y-panel{bottom:calc(78px + env(safe-area-inset-bottom));max-height:calc(100dvh - 102px - env(safe-area-inset-bottom))}
}
@media(max-height:540px){.a11y-panel{top:12px;bottom:auto;max-height:calc(100dvh - 24px)}}
@media(prefers-reduced-motion:reduce){html,html *{scroll-behavior:auto!important}}
@media print{.a11y-launcher,.a11y-panel{display:none!important}}
