/* The Secret Formula - accessibility layer.
   Skip link, focus, video controls, the accessibility menu, its display modes,
   and the accessibility statement pages. Loads after the page stylesheets. */

/* ---------- helpers ---------- */
.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0 0 0 0) !important;clip-path:inset(50%) !important;white-space:nowrap !important;border:0 !important}

/* ---------- skip link ---------- */
.skip{position:fixed;left:12px;top:12px;z-index:300;display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--y);color:var(--y-ink);font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;box-shadow:0 12px 30px -8px rgba(0,0,0,.85);transform:translateY(-180%);transition:transform .2s var(--ease)}
.skip:focus{left:12px;top:12px;padding:0 18px;border-radius:999px;transform:none;outline:2px solid var(--text);outline-offset:3px}

/* ---------- focus: always visible for keyboard users ---------- */
:where(a,button,summary,[tabindex]):focus-visible{outline:2px solid var(--y);outline-offset:3px}
.rail-wrap:focus-visible{outline:2px solid var(--y);outline-offset:-3px;border-radius:6px}
/* keeps the screen-reader-only labels inside the side-scrolling rails, so they never widen the page */
.rail-wrap{position:relative}
[tabindex="-1"]:focus{outline:none}

/* ---------- video controls (pause / play) ---------- */
.vctl{position:absolute;right:var(--gut);top:62px;z-index:3;display:flex;align-items:center;gap:8px}
.vctl .sound{position:static}
.vbtn{display:inline-grid;place-items:center;flex:none;width:38px;height:38px;padding:0;border-radius:50%;border:1px solid var(--line2);background:rgba(5,7,11,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--text);cursor:pointer;transition:border-color .2s,background .2s}
.vbtn:hover{border-color:var(--y)}
.vbtn svg{width:13px;height:13px;fill:currentColor}
.vbtn .i-play{display:none;transform:translateX(1px)}
.vbtn.is-paused .i-play{display:block}
.vbtn.is-paused .i-pause{display:none}
.peek-frame .vbtn{position:absolute;right:12px;bottom:12px;z-index:2}
html:not(.js) .vbtn{display:none}
@media (min-width:1024px){
  .vctl{top:auto;bottom:16px;right:16px}
}

/* ---------- small-label legibility (raised from 8.5-9.5px) ---------- */
.stat-c{font-size:10px}
.rail-hint,.chc span,.verify .mono,.about-s .eyebrow,.mc-price em,.duo .chip-float{font-size:10px}
@media (max-width:1023px){.plus{font-size:10px}}

/* ---------- tap targets that were very small ---------- */
.foot-links a,.tp-back{display:inline-flex;align-items:center;min-height:32px}

/* ---------- Hebrew text: real Hebrew faces behind the Latin brand fonts ---------- */
html[lang="he"]{--serif:"Instrument Serif","Segoe UI","Arial Hebrew","Noto Sans Hebrew",Arial,sans-serif;--sans:"Geist","Segoe UI","Arial Hebrew","Noto Sans Hebrew",Arial,system-ui,sans-serif;--mono:"JetBrains Mono","Segoe UI","Arial Hebrew","Noto Sans Hebrew",Arial,sans-serif}
html[lang="he"] .mono{letter-spacing:.08em}
a[lang="he"],span[lang="he"]{font-family:"Segoe UI","Arial Hebrew","Noto Sans Hebrew",Arial,sans-serif;letter-spacing:.02em !important}
[dir="rtl"] .tp-back svg{transform:scaleX(-1)}
.a11y-panel[lang="he"]{--mono:"JetBrains Mono","Segoe UI","Arial Hebrew","Noto Sans Hebrew",Arial,sans-serif;--sans:"Geist","Segoe UI","Arial Hebrew","Noto Sans Hebrew",Arial,system-ui,sans-serif}

/* =====================================================================
   ACCESSIBILITY MENU
   ===================================================================== */
.a11y-trigger{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:90;display:grid;place-items:center;width:52px;height:52px;padding:0;border-radius:50%;border:1px solid rgba(255,212,0,.55);background:rgba(5,7,11,.66);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--y);cursor:pointer;box-shadow:0 14px 34px -12px rgba(0,0,0,.9);transition:transform .3s var(--ease),background .25s,color .25s,box-shadow .25s,bottom .35s var(--ease)}
.a11y-trigger svg{width:26px;height:26px}
.a11y-trigger:hover{transform:scale(1.06);box-shadow:0 0 0 1px rgba(255,212,0,.35),0 0 24px rgba(255,212,0,.3)}
.a11y-trigger[aria-expanded="true"]{background:var(--y);color:var(--y-ink);border-color:var(--y)}
.a11y-trigger.is-pop{animation:a11yPop .4s var(--ease)}
@keyframes a11yPop{from{opacity:0;transform:translateY(10px) scale(.9)}to{opacity:1;transform:none}}

.a11y-scrim{position:fixed;inset:0;z-index:94;background:rgba(3,4,7,.55);opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s linear .25s}
.a11y-panel{position:fixed;right:24px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:95;display:flex;flex-direction:column;width:352px;max-height:calc(100vh - 112px);padding:0;border-radius:20px;border:1px solid rgba(255,212,0,.3);background:linear-gradient(180deg,#0D1119,#090C12);box-shadow:0 40px 110px -30px rgba(0,0,0,1),0 0 0 1px rgba(0,0,0,.4);color:var(--text);font-family:var(--sans);font-size:15px;line-height:1.4;text-align:start;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s var(--ease),transform .3s var(--ease),visibility 0s linear .3s}
.a11y-panel::after{content:"";position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-right:1px solid var(--y);border-bottom:1px solid var(--y);border-bottom-right-radius:20px;pointer-events:none}
.a11y-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:18px 18px 16px;border-radius:inherit}
.a11y-root.is-open .a11y-scrim{opacity:1;visibility:visible;transition:opacity .25s,visibility 0s}
.a11y-root.is-open .a11y-panel{opacity:1;visibility:visible;transform:none;transition:opacity .25s var(--ease),transform .3s var(--ease),visibility 0s}

.a11y-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid var(--line)}
.a11y-title{display:flex;align-items:center;gap:10px;margin:0;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.25em;text-transform:uppercase;color:var(--y)}
.a11y-acts{display:flex;align-items:center;gap:8px}
.a11y-lang,.a11y-close{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--soft);font-family:var(--mono);font-size:12px;letter-spacing:.08em;cursor:pointer;transition:color .2s,border-color .2s}
.a11y-lang span[lang="he"]{font-size:14px}
.a11y-close{padding:0}
.a11y-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.a11y-lang:hover,.a11y-close:hover{color:var(--text);border-color:var(--y)}

.a11y-sub{margin:0 0 8px;font-family:var(--mono);font-size:10.5px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.a11y-sizes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 16px}
.a11y-size{height:44px;padding:0;border-radius:12px;border:1px solid var(--line2);background:rgba(255,255,255,.025);color:var(--soft);font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.04em;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.a11y-size:hover{border-color:var(--y);color:var(--text)}
.a11y-size[aria-pressed="true"]{background:var(--y);border-color:var(--y);color:var(--y-ink)}

.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;min-height:80px;padding:13px 12px 12px;border-radius:14px;border:1px solid var(--line2);background:rgba(255,255,255,.025);color:var(--soft);font-family:var(--sans);font-size:13.5px;font-weight:500;line-height:1.25;text-align:start;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.a11y-tile svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:var(--y)}
.a11y-tile::after{content:"";position:absolute;top:13px;inset-inline-end:12px;width:9px;height:9px;border-radius:50%;border:1px solid var(--line2);transition:background .2s,border-color .2s}
.a11y-tile:hover{border-color:var(--y);color:var(--text)}
.a11y-tile[aria-pressed="true"]{background:var(--y);border-color:var(--y);color:var(--y-ink)}
.a11y-tile[aria-pressed="true"] svg{color:var(--y-ink)}
.a11y-tile[aria-pressed="true"]::after{background:var(--y-ink);border-color:var(--y-ink)}
.a11y-tile.wide{grid-column:1 / -1;flex-direction:row;align-items:center;justify-content:flex-start;min-height:56px;padding-inline-end:34px}
.a11y-tile.wide::after{top:50%;margin-top:-4.5px}
@media (hover:none) and (pointer:coarse){
  .a11y-tile[data-opt="cursor"]{display:none}
  .a11y-tile[data-opt="gray"]{grid-column:1 / -1;flex-direction:row;align-items:center;justify-content:flex-start;min-height:56px}
  .a11y-tile[data-opt="gray"]::after{top:50%;margin-top:-4.5px}
}

.a11y-reset{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;margin:12px 0 0;border-radius:999px;border:1px dashed var(--line2);background:transparent;color:var(--soft);font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;cursor:pointer;transition:color .2s,border-color .2s}
.a11y-reset:hover{color:var(--text);border-color:var(--y)}
.a11y-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 16px;margin:14px 0 0;padding:10px 0 0;border-top:1px solid var(--line)}
.a11y-foot a{display:inline-flex;align-items:center;min-height:36px;color:var(--soft);font-size:13.5px;text-decoration:underline;text-decoration-color:rgba(255,212,0,.6);text-underline-offset:3px}
.a11y-foot a:hover{color:var(--y)}
.a11y-note{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.a11y-panel[dir="rtl"] .a11y-title,.a11y-panel[dir="rtl"] .a11y-sub,.a11y-panel[dir="rtl"] .a11y-reset{letter-spacing:.04em}
.a11y-panel[dir="rtl"]::after{right:auto;left:-1px;border-right:0;border-left:1px solid var(--y);border-bottom-right-radius:0;border-bottom-left-radius:20px}

/* phones + tablets: the trigger lives bottom-left (above the buy bar when it shows),
   and sits beside the hero video while the hero offer is on screen */
@media (max-width:1023px){
  .a11y-trigger{right:auto;left:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:44px;height:44px}
  .a11y-trigger svg{width:24px;height:24px}
  html.a11y-lift .a11y-trigger{bottom:calc(var(--a11y-lift,86px) + env(safe-area-inset-bottom))}
  html.a11y-dock .a11y-trigger{position:absolute;top:59px;bottom:auto;left:var(--gut)}
  .a11y-panel{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;max-width:440px;margin:0 auto;max-height:calc(100vh - 20px);max-height:calc(100svh - 20px)}
  .a11y-body{padding:16px 16px 14px}
}
@media (min-width:560px) and (max-width:1023px){
  html.a11y-dock .a11y-trigger{top:108px}
}

@media (forced-colors:active){
  .a11y-tile[aria-pressed="true"],.a11y-size[aria-pressed="true"]{outline:3px solid Highlight;outline-offset:-5px}
  .a11y-trigger,.vbtn,.btn{border:1px solid ButtonText}
}

/* =====================================================================
   DISPLAY MODES (classes on <html>, set by a11y.js)
   ===================================================================== */

/* larger text: wrap labels that normally stay on one line */
html.a11y-text .assure,html.a11y-text .chip,html.a11y-text .badge,html.a11y-text .save{white-space:normal}
html.a11y-text .in-card{grid-template-columns:calc(68px * var(--a11y-fs,1)) 1fr}
html.a11y-text .tp-mail,html.a11y-text .foot-links a{overflow-wrap:anywhere}

/* high contrast */
html.a11y-contrast{--bg:#000;--bg2:#000;--card:#000;--card2:#000;--text:#fff;--soft:#fff;--muted:#E4E7EC;--line:rgba(255,255,255,.55);--line2:rgba(255,255,255,.8)}
html.a11y-contrast body{background:#000}
html.a11y-contrast .chip,html.a11y-contrast .chip-float,html.a11y-contrast .sound,html.a11y-contrast .vbtn,html.a11y-contrast .buybar{background:#000;-webkit-backdrop-filter:none;backdrop-filter:none}
html.a11y-contrast .sound[aria-pressed="true"]{background:var(--y);color:var(--y-ink)}
html.a11y-contrast .offer-card,html.a11y-contrast .fcard,html.a11y-contrast .in-card,html.a11y-contrast .fit-box{background:#000;border-color:#fff}
html.a11y-contrast .offer-card{border-color:var(--y)}
html.a11y-contrast .h1,html.a11y-contrast .hero-copy .h1,html.a11y-contrast .topbar .mono{text-shadow:none}
html.a11y-contrast .sep{opacity:1}
html.a11y-contrast main a:not(.btn),html.a11y-contrast footer a{text-decoration:underline;text-underline-offset:3px}
html.a11y-contrast .a11y-panel{background:#000;border-color:#fff}

/* highlight links */
html.a11y-links a:not(#a11y a){text-decoration:underline !important;text-decoration-thickness:2px !important;text-underline-offset:4px !important;text-decoration-color:var(--y) !important;outline:2px dashed var(--y);outline-offset:3px}

/* readable font: plain sans everywhere, no italics, calmer tracking */
html.a11y-readable{--serif:Arial,"Helvetica Neue",Helvetica,"Segoe UI","Arial Hebrew",sans-serif;--sans:Arial,"Helvetica Neue",Helvetica,"Segoe UI","Arial Hebrew",sans-serif;--mono:Arial,"Helvetica Neue",Helvetica,"Segoe UI","Arial Hebrew",sans-serif}
html.a11y-readable em,html.a11y-readable i,html.a11y-readable .stat-w{font-style:normal}
html.a11y-readable .h1,html.a11y-readable .h2,html.a11y-readable .h3,html.a11y-readable .h4,html.a11y-readable .now,html.a11y-readable .was{letter-spacing:0}
html.a11y-readable .mono,html.a11y-readable .chip,html.a11y-readable .badge,html.a11y-readable .save,html.a11y-readable .f-fix{letter-spacing:.04em}

/* text spacing (WCAG 1.4.12 values) */
html.a11y-spacing body > :not(#a11y):not(.buybar) :is(p,li,a,span,b,strong,em,s,summary,figcaption,label,dd,dt,small,sup){line-height:1.8 !important;letter-spacing:.12em !important;word-spacing:.16em !important}
html.a11y-spacing body > :not(#a11y):not(.buybar) :is(h1,h2,h3,h4,.h1,.h2,.h3,.h4,.now,.was,.stat-n,.in-n),
html.a11y-spacing body > :not(#a11y):not(.buybar) :is(h1,h2,h3,h4,.h1,.h2,.h3,.h4) *{line-height:1.3 !important;letter-spacing:.04em !important;word-spacing:.12em !important}
html.a11y-spacing body > :not(#a11y) p{margin-bottom:2em}
html.a11y-spacing .assure,html.a11y-spacing .chip{white-space:normal}

/* stop animations + motion */
html.a11y-motion,html.a11y-motion body{scroll-behavior:auto !important}
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation:none !important;transition:none !important}
html.a11y-motion .reveal{opacity:1 !important;transform:none !important}

/* grayscale (the menu itself stays in colour so its state is easy to read) */
html.a11y-gray body > :not(#a11y){filter:grayscale(1)}

/* big cursor (mouse only) */
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M5 3v33l9-8.6 6.4 14.1 6.5-2.9-6.3-13.9H33z' fill='%2305070B' stroke='%23fff' stroke-width='2.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3,auto !important}
html.a11y-cursor :is(a,button,summary,label,[role="button"],[tabindex="0"]),html.a11y-cursor :is(a,button,summary,label) *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M5 3v33l9-8.6 6.4 14.1 6.5-2.9-6.3-13.9H33z' fill='%23FFD400' stroke='%2305070B' stroke-width='2.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3,pointer !important}

/* =====================================================================
   ACCESSIBILITY STATEMENT PAGES (styled like terms.html)
   ===================================================================== */
.st-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:-14px 0 34px;color:var(--muted);font-size:10.5px}
.st-meta a{display:inline-flex;align-items:center;min-height:32px;color:var(--soft);text-decoration:underline;text-decoration-color:rgba(255,212,0,.6);text-underline-offset:3px}
.st-meta a:hover{color:var(--y)}
.st-sec{padding:30px 0 26px;border-top:1px solid var(--line)}
.st-h{margin:0 0 14px;font-family:var(--serif);font-size:clamp(26px,6.6vw,34px);line-height:1.12;letter-spacing:-.01em}
.st-sec p{color:var(--soft);font-size:15.5px;line-height:1.7;margin:0 0 1em}
.st-sec p:last-child{margin-bottom:0}
.st-sec a{color:var(--text);text-decoration-color:var(--y);text-underline-offset:3px}
.st-sec strong{color:var(--text);font-weight:500}
.st-list{margin:6px 0 0}
.st-list li{position:relative;padding:11px 0;padding-inline-start:28px;border-bottom:1px solid var(--line);color:var(--soft);font-size:15.5px;line-height:1.65}
.st-list li:last-child{border-bottom:0}
.st-list li::before{content:"";position:absolute;inset-inline-start:2px;top:23px;width:12px;height:1.5px;background:var(--y)}
.st-kbd{display:inline-block;min-width:1.6em;padding:1px 6px;border:1px solid var(--line2);border-radius:6px;background:var(--card);color:var(--text);font-family:var(--mono);font-size:.82em;line-height:1.5;text-align:center}
.st-icon{display:inline-grid;place-items:center;width:30px;height:30px;margin:0 4px;border-radius:50%;border:1px solid rgba(255,212,0,.55);color:var(--y);vertical-align:middle}
.st-icon svg{width:17px;height:17px}
.st-contact{display:grid;gap:6px;margin:16px 0 0;padding:20px 20px 18px;border:1px solid rgba(255,212,0,.28);border-radius:16px;background:linear-gradient(180deg,#0D1119,#090C12)}
.st-contact .mono{color:var(--y);font-size:10.5px}
.st-contact .st-name{font-family:var(--serif);font-size:26px;line-height:1.1;color:var(--text)}
.st-contact a{font-size:16px;word-break:break-all}
.st-contact + p{margin-top:18px}
html.a11y-contrast .st-contact{background:#000;border-color:var(--y)}
@media (min-width:760px){
  .st-list li{padding-inline-start:34px}
  .st-contact{padding:26px 28px 24px}
}
@media (min-width:1024px){
  .st-sec{padding:40px 0 34px}
  .st-sec p,.st-list li{font-size:16px}
}
