/* Kosher Switch website, 2026 redesign.
   One design system for every page: night-blue and gold, big type, calm motion.
   Motion only animates transform and opacity, so it stays smooth on phones. */

:root {
  --bg: #050d1e; --bg-2: #08142b; --navy: #0b2a5b; --blue: #1e4e9c; --sky: #5b8fe6;
  --gold: #e0b64a; --gold-2: #f3d27e; --gold-3: #fff3c4; --em: #3fd39a;
  --ink: #f2f5fa; --sub: #9aa7bd; --dim: #6b7890;
  --tile: #0b1830; --tile-2: #0e1e3b; --edge: rgba(255,255,255,.09); --edge-2: rgba(255,255,255,.16);
  --r: 28px; --ease: cubic-bezier(.22,.9,.24,1); --ease-in-out: cubic-bezier(.65,0,.35,1);
  --nav: 48px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* sideways overflow is clipped per section below, never on html/body (Safari then lags fixed bars) */
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Noto Sans Hebrew", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, 100% - 44px); margin: 0 auto; }
.wide { width: min(1260px, 100% - 44px); margin: 0 auto; }
.he { font-family: "Noto Serif Hebrew", "David", "Times New Roman", serif; }
::selection { background: rgba(224,182,74,.35); }

/* ---------- type ---------- */
.eyebrow { display: block; font-size: 1.05rem; font-weight: 600; color: var(--gold); margin-bottom: 10px; letter-spacing: -.01em; }
.display { font-size: clamp(2.9rem, 8.2vw, 6.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 700; margin: 0; }
.title { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; margin: 0 0 18px; }
.title-sm { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; letter-spacing: -.028em; font-weight: 700; margin: 0 0 12px; }
.intro { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.45; color: var(--sub); max-width: 640px; margin: 0; letter-spacing: -.01em; }
.intro b, .intro strong { color: var(--ink); font-weight: 600; }
.center { text-align: center; }
.center .intro { margin-inline: auto; }
.gold-text { background: linear-gradient(100deg, var(--gold-2) 0%, #fff 38%, var(--gold) 62%, var(--gold-2) 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.muted { color: var(--sub); }
.he-line { font-family: "Noto Serif Hebrew", "David", serif; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--gold-2); margin: 14px 0 0; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: inherit; font-size: 1.02rem; font-weight: 600; border-radius: 999px; padding: 13px 24px; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn.gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #0b2148; box-shadow: 0 10px 30px rgba(224,182,74,.25); }
.btn.glass { background: rgba(255,255,255,.08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge-2); }
.btn.glass:hover { background: rgba(255,255,255,.13); }
.btn.sm { padding: 7px 15px; font-size: .86rem; }
.btn small { font-weight: 500; opacity: .7; }
.btn .ico { width: 1.15em; height: 1.15em; }
.more { color: var(--gold-2); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.more::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px); }
.ctas { display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.center .ctas { justify-content: center; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(224,182,74,.1); box-shadow: inset 0 0 0 1px rgba(224,182,74,.4); color: var(--gold-2); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: ping 2s infinite; }
.pill.em { background: rgba(63,211,154,.1); box-shadow: inset 0 0 0 1px rgba(63,211,154,.4); color: #bff3dc; }
.pill.em .dot { background: var(--em); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224,182,74,.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(224,182,74,0); } }

/* ---------- global nav (Apple-style: centered links, flyouts, search) ---------- */
.gnav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav); padding-top: env(safe-area-inset-top, 0px);
  background: rgba(5,13,30,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); transition: background .3s; }
.gnav-in { position: relative; z-index: 2; height: var(--nav); width: min(1024px, 100% - 44px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.gnav .logo { display: grid; place-items: center; width: 34px; height: var(--nav); }
.gnav .logo img { width: 24px; height: 24px; transition: transform .4s var(--ease); }
.gnav .logo:hover img { transform: rotate(-12deg) scale(1.08); }
.gnav .items { display: flex; align-items: center; gap: 4px; height: 100%; }
.gnav .items > a, .gnav .items > button { height: 100%; display: flex; align-items: center; padding: 0 12px; font: inherit; font-size: .8rem; letter-spacing: -.005em;
  color: rgba(242,245,250,.82); text-decoration: none; background: none; border: 0; cursor: pointer; transition: color .25s; }
.gnav .items > a:hover, .gnav .items > a.on { color: #fff; }
.gnav .items > a.on { color: var(--gold-2); }
.gnav .icon-btn { width: 40px; height: var(--nav); display: grid; place-items: center; background: none; border: 0; color: rgba(242,245,250,.85); cursor: pointer; transition: color .25s; }
.gnav .icon-btn:hover { color: #fff; }
.gnav .icon-btn svg { width: 16px; height: 16px; }
.gnav .tools { display: flex; align-items: center; }
.menu-btn { display: none; }
/* flyout panel under the bar */
.fly { position: absolute; left: 0; right: 0; top: 0; z-index: 1; padding: calc(var(--nav) + 36px) 0 52px; background: #08122a;
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 30px 60px rgba(0,0,0,.35);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; }
.fly.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
.fly .cols { width: min(1024px, 100% - 44px); margin: 0 auto; display: flex; gap: 70px; }
.fly h5 { margin: 0 0 14px; font-size: .74rem; font-weight: 500; color: var(--dim); letter-spacing: .01em; }
.fly a { display: block; text-decoration: none; color: var(--ink); opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
.fly.open a { opacity: 1; transform: none; }
.fly .big a { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.5; }
.fly .small a { font-size: .82rem; font-weight: 600; line-height: 2.1; color: rgba(242,245,250,.85); }
.fly a:hover { color: var(--gold-2); }
.fly.open .cols > div:nth-child(2) a { transition-delay: .04s; } .fly.open .cols > div:nth-child(3) a { transition-delay: .08s; }
.dim { position: fixed; inset: 0; z-index: 55; background: rgba(2,6,16,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s .45s; }
.dim.on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
/* search panel */
.search-box { display: flex; align-items: center; gap: 14px; width: min(1024px, 100% - 44px); margin: 0 auto 26px; }
.search-box svg { width: 22px; height: 22px; color: var(--dim); flex: none; }
.search-box input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: inherit; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
.search-box input::placeholder { color: var(--dim); }
.results { width: min(1024px, 100% - 44px); margin: 0 auto; }
.results h5 { margin: 0 0 10px; font-size: .74rem; font-weight: 500; color: var(--dim); }
.results a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: rgba(242,245,250,.9); }
.results a::before { content: "→"; color: var(--dim); transition: transform .25s var(--ease), color .25s; }
.results a:hover, .results a.sel { background: rgba(255,255,255,.06); color: #fff; }
.results a:hover::before, .results a.sel::before { color: var(--gold); transform: translateX(3px); }
.results a small { color: var(--dim); font-weight: 400; margin-left: auto; }
.results .none { color: var(--sub); font-size: .9rem; }
/* phone: full-screen menu with sub-menus */
.sheet { position: fixed; inset: 0; z-index: 58; padding: calc(var(--nav) + 18px) 34px 40px; overflow-y: auto; background: var(--bg);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.sheet .lvl1 a, .sheet .lvl1 button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 8px 0; font: inherit; font-size: 1.75rem; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer; text-align: left;
  opacity: 0; transform: translateY(-10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.sheet .lvl1 button::after { content: "›"; color: var(--dim); font-weight: 400; }
.menu-open .sheet .lvl1 > * { opacity: 1; transform: none; }
.menu-open .sheet .lvl1 > *:nth-child(2) { transition-delay: .03s; } .menu-open .sheet .lvl1 > *:nth-child(3) { transition-delay: .06s; }
.menu-open .sheet .lvl1 > *:nth-child(4) { transition-delay: .09s; } .menu-open .sheet .lvl1 > *:nth-child(5) { transition-delay: .12s; } .menu-open .sheet .lvl1 > *:nth-child(6) { transition-delay: .15s; }
.sheet .lvl2 { display: none; }
.sheet.sub .lvl1 { display: none; }
.sheet.sub .lvl2.on { display: block; animation: slideIn .4s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
.sheet .back { background: none; border: 0; color: var(--sub); font: inherit; font-size: .95rem; cursor: pointer; padding: 0 0 18px; }
.sheet .lvl2 h5 { margin: 0 0 8px; font-size: .8rem; color: var(--dim); font-weight: 500; }
.sheet .lvl2 a { display: block; padding: 6px 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.sheet .lvl2 .small a { font-size: 1rem; font-weight: 600; color: var(--sub); }
.sheet .msearch { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.07); }
.sheet .msearch svg { width: 18px; height: 18px; color: var(--dim); }
.sheet .msearch input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 1rem; }
.sheet .results { width: auto; margin: 0 0 20px; }
@media (max-width: 820px) {
  .gnav .items, .gnav .fly { display: none; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: var(--nav); background: none; border: 0; color: var(--ink); cursor: pointer; position: relative; }
  .menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-btn span:nth-child(1) { top: calc(var(--nav) / 2 - 4px); } .menu-btn span:nth-child(2) { top: calc(var(--nav) / 2 + 3px); }
  .menu-open .menu-btn span:nth-child(1) { top: calc(var(--nav) / 2); transform: rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { top: calc(var(--nav) / 2); transform: rotate(-45deg); }
  .gnav .search-btn { display: none; }
}
@media (min-width: 821px) { .sheet { display: none; } }

/* product sub-nav (sticks under the global nav, like a store page) */
.subnav { position: sticky; top: var(--nav); z-index: 40; height: 52px; margin-top: var(--nav);
  background: rgba(5,13,30,.7); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--edge); }
.subnav .wide { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav .name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.subnav .right { display: flex; align-items: center; gap: 24px; }
.subnav .right a:not(.btn) { color: var(--sub); text-decoration: none; font-size: .82rem; transition: color .2s; }
.subnav .right a:not(.btn):hover { color: var(--ink); }
@media (max-width: 720px) { .subnav .right a:not(.btn) { display: none; } }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(90px, 13vw, 160px) 0 0; }
.sec-head { margin-bottom: clamp(40px, 6vw, 70px); }
.sec-head.center { text-align: center; }
.sec-head.center .intro { margin-inline: auto; }
.page-top { padding-top: calc(var(--nav) + 70px); }
.subnav + .page-top, .subnav + header.page-top { padding-top: 60px; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.rv.scale { transform: scale(.94); }
.rv.scale.in { transform: none; }

/* ---------- devices (CSS renders around real screenshots) ---------- */
.dev { --w: 300px; position: relative; width: var(--w); flex: none; }
.dev .scr { position: absolute; overflow: hidden; background: #000; }
.dev .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev .scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(115deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 70%, rgba(255,255,255,.05) 100%); }
/* iPhone: titanium band, thin bezel, Dynamic Island, side buttons */
.dev.iphone { aspect-ratio: 1206 / 2622; border-radius: calc(var(--w) * .185);
  background: linear-gradient(145deg, #6f747d, #2a2d33 22%, #15171b 50%, #2b2e34 78%, #7a7f88);
  box-shadow: 0 calc(var(--w) * .18) calc(var(--w) * .3) rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1.5px rgba(255,255,255,.18); }
.dev.iphone::before { content: ""; position: absolute; inset: calc(var(--w) * .012); border-radius: calc(var(--w) * .175); background: #020203; }
.dev.iphone .scr { inset: calc(var(--w) * .035); border-radius: calc(var(--w) * .15); }
.dev.iphone .island { position: absolute; z-index: 4; top: calc(var(--w) * .058); left: 50%; width: 31%; height: calc(var(--w) * .088); translate: -50% 0; border-radius: 99px; background: #000; }
.dev.iphone .btns { position: absolute; inset: 0; pointer-events: none; }
.dev.iphone .btns::before { content: ""; position: absolute; left: -2px; top: 19%; width: 3px; height: 7%; border-radius: 2px; background: #4b4f57; box-shadow: 0 calc(var(--w) * .19) 0 #4b4f57; }
.dev.iphone .btns::after { content: ""; position: absolute; right: -2px; top: 27%; width: 3px; height: 11%; border-radius: 2px; background: #4b4f57; }
/* Android: graphite frame, punch-hole camera */
.dev.android { aspect-ratio: 9 / 20; border-radius: calc(var(--w) * .13);
  background: linear-gradient(150deg, #3b4049, #15181d 30%, #0d0f13 60%, #353a43);
  box-shadow: 0 calc(var(--w) * .18) calc(var(--w) * .3) rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.07), inset 0 0 0 1.5px rgba(255,255,255,.14); }
.dev.android .scr { inset: calc(var(--w) * .03); border-radius: calc(var(--w) * .105); }
.dev.android .scr::before { content: ""; position: absolute; z-index: 4; top: calc(var(--w) * .035); left: 50%; translate: -50% 0; width: calc(var(--w) * .04); aspect-ratio: 1; border-radius: 50%; background: #030405; box-shadow: 0 0 0 1.5px rgba(255,255,255,.05); }
/* tablet, landscape */
.dev.tablet { aspect-ratio: 4 / 3; border-radius: calc(var(--w) * .055);
  background: linear-gradient(150deg, #474c55, #1a1d22 30%, #101216 60%, #3d424b);
  box-shadow: 0 calc(var(--w) * .12) calc(var(--w) * .2) rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.07), inset 0 0 0 1.5px rgba(255,255,255,.14); }
.dev.tablet .scr { inset: calc(var(--w) * .028); border-radius: calc(var(--w) * .032); }
/* keypad phone (like the Qin F21 Pro): screen above real keys */
.dev.keypad { padding: calc(var(--w) * .07) calc(var(--w) * .07) calc(var(--w) * .1); border-radius: calc(var(--w) * .2);
  background: linear-gradient(180deg, #f4f5f7, #d5d9df); box-shadow: 0 calc(var(--w) * .2) calc(var(--w) * .35) rgba(0,0,0,.5), inset 0 0 0 2px #fff; }
.dev.keypad .scr { position: relative; inset: auto; aspect-ratio: 3 / 4; border-radius: calc(var(--w) * .05); box-shadow: inset 0 0 0 2px #1c2230; }
.dev.keypad .keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--w) * .035); margin-top: calc(var(--w) * .08); }
.dev.keypad .keys i { font-style: normal; height: calc(var(--w) * .12); border-radius: calc(var(--w) * .05); background: #fbfbfc; box-shadow: 0 1px 0 #b9bec7;
  color: #3b4150; font-size: calc(var(--w) * .055); font-weight: 700; display: grid; place-items: center; }
.dev.keypad .keys .navk { grid-column: span 3; height: calc(var(--w) * .16); border-radius: 99px; background: #e6e8ec; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--w) * .06); }
.dev.keypad .keys .navk em { width: calc(var(--w) * .1); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 1px 0 #b9bec7; }
/* soft floor shadow + glow behind a device */
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.glow { position: absolute; left: 50%; top: 50%; width: 120%; max-width: 900px; aspect-ratio: 1; translate: -50% -50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(224,182,74,.28), rgba(30,78,156,.22) 50%, transparent 75%); filter: blur(10px); }

/* screens that cross-fade inside a device */
.dev .scr img.alt { opacity: 0; transition: opacity .8s var(--ease), transform 1s var(--ease); transform: scale(1.04); }
.dev.on .scr img.alt { opacity: 1; transform: none; }

/* ---------- the open/kosher switch ---------- */
.switch-ui { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-size: .95rem; color: var(--ink);
  background: rgba(10,20,40,.85); box-shadow: inset 0 0 0 1px var(--edge-2), 0 14px 40px rgba(0,0,0,.4); }
.switch-ui .track { width: 48px; height: 28px; border-radius: 99px; background: #3a4558; position: relative; transition: background .45s var(--ease); }
.switch-ui .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .45s var(--ease); }
.switch-ui .lo { transition: opacity .4s; } .switch-ui .lk { opacity: .4; color: var(--gold-2); transition: opacity .4s; }
.is-on .switch-ui .track { background: var(--gold); }
.is-on .switch-ui .track::after { transform: translateX(20px); }
.is-on .switch-ui .lo { opacity: .4; } .is-on .switch-ui .lk { opacity: 1; }
.switch-ui:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- pinned scroll scene (the phone turns kosher as you scroll) ---------- */
.scene { height: 260vh; padding: 0; }
.scene .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.scene .pin-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 5vw, 70px); width: min(1180px, 100% - 44px); }
.scene .stage, .scene .dev { --w: min(330px, 34vh, 62vw); }
.scene .dev { transform: translateY(calc((1 - var(--p, 0)) * 6vh)) scale(calc(1.06 - var(--p, 0) * .1)); will-change: transform; }
.scene .cap { position: relative; min-height: 9em; }
.scene .cap > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.scene .cap .b { opacity: 0; transform: translateY(20px); }
.scene.is-on .cap .a { opacity: 0; transform: translateY(-20px); }
.scene.is-on .cap .b { opacity: 1; transform: none; }
.scene .cap h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 10px; }
.scene .cap p { color: var(--sub); margin: 0; font-size: 1.05rem; }
.scene .cap .tag { font-weight: 700; color: var(--gold); font-size: .95rem; margin-bottom: 8px; }
.scene .cap.r { text-align: left; } .scene .cap.l { text-align: right; }
.scene .switch-ui { position: absolute; left: 50%; bottom: -64px; translate: -50% 0; z-index: 5; }
.scene .halo { position: absolute; inset: -30%; z-index: -1; border-radius: 50%; opacity: calc(.25 + var(--p, 0) * .75);
  background: radial-gradient(closest-side, rgba(224,182,74,.35), rgba(30,78,156,.18) 55%, transparent 72%); }
.scene .bar { position: absolute; left: 50%; bottom: 5vh; width: 140px; height: 3px; translate: -50% 0; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.scene .bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--gold); }
@media (max-width: 860px) {
  .scene { height: 230vh; }
  .scene .pin-inner { grid-template-columns: 1fr; justify-items: center; gap: 22px; text-align: center; }
  .scene .cap { min-height: 6.6em; width: 100%; order: 2; }
  .scene .cap.l { order: 0; }
  .scene .cap.r, .scene .cap.l { text-align: center; }
  .scene .cap.r { display: none; }
  .scene .cap.l p { max-width: 34ch; margin-inline: auto; }
  .scene .stage, .scene .dev { --w: min(250px, 38vh, 62vw); }
}

/* ---------- words light up as you scroll ---------- */
.words { font-size: clamp(1.8rem, 4.2vw, 3.3rem); line-height: 1.16; letter-spacing: -.03em; font-weight: 700; margin: 0; max-width: 22ch; }
.words.center { margin-inline: auto; }
.words .w { color: rgba(242,245,250,.18); transition: color .35s; }
.words .w.lit { color: var(--ink); }
.words .w.g.lit { color: var(--gold-2); }

/* ---------- tiles & bento ---------- */
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(180deg, var(--tile-2), var(--tile)); box-shadow: inset 0 0 0 1px var(--edge);
  padding: clamp(26px, 3.4vw, 40px); transition: transform .5s var(--ease), box-shadow .5s; }
a.tile { display: block; text-decoration: none; color: inherit; }
a.tile:hover, .tile.lift:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(224,182,74,.35), 0 30px 60px rgba(0,0,0,.35); }
.tile h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 8px; }
.tile p { color: var(--sub); margin: 0; }
.tile .big { font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--gold-2); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.tile .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; background: rgba(224,182,74,.12); box-shadow: inset 0 0 0 1px rgba(224,182,74,.25); }
.tile.gold { background: radial-gradient(120% 120% at 100% 0%, rgba(224,182,74,.28), transparent 55%), linear-gradient(180deg, #13284b, #0b1830); box-shadow: inset 0 0 0 1px rgba(224,182,74,.35); }
.tile.blue { background: radial-gradient(120% 120% at 0% 100%, rgba(91,143,230,.3), transparent 55%), linear-gradient(180deg, #102449, #0b1830); }
.bento { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 2; }
.bento > .s3 { grid-column: span 3; } .bento > .s4 { grid-column: span 4; } .bento > .s6 { grid-column: span 6; }
.bento > .tall { grid-row: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > *, .bento > .s3 { grid-column: span 1; } .bento > .s4, .bento > .s6 { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento > .s3, .bento > .s4, .bento > .s6 { grid-column: span 1; } .bento > .tall { grid-row: auto; } }
.tile .peek { position: absolute; right: -6%; bottom: -34%; rotate: -7deg; transition: transform .7s var(--ease); }
.tile:hover .peek { transform: translateY(-14px) rotate(2deg); }

/* ---------- product tiles (home) ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
.product { min-height: 620px; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 48px; }
.product h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.035em; margin: 10px 0 6px; }
.product p { max-width: 34ch; }
.product .links-row { display: flex; gap: 22px; justify-content: center; align-items: center; margin-top: 18px; }
.product .stage { margin-top: auto; padding-top: 40px; height: 340px; overflow: visible; }
.product .stage .dev { --w: 230px; transform: translateY(60px); transition: transform .8s var(--ease); }
.product:hover .stage .dev { transform: translateY(30px); }
.product .os { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.product .os .ico { width: 26px; height: 26px; }
.os.android { color: #3ddc84; background: rgba(61,220,132,.12); box-shadow: inset 0 0 0 1px rgba(61,220,132,.35); }
.os.apple { color: #f5f7fa; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.status { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; padding: 5px 12px; border-radius: 999px; }
.status.live { color: #0b2148; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.status.soon { color: #cfe0ff; background: rgba(91,143,230,.18); box-shadow: inset 0 0 0 1px rgba(91,143,230,.45); }
.status.new { color: #071a12; background: var(--em); }
.schools-band { margin-top: 18px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; min-height: 340px; }
.schools-band .stage { height: 100%; align-items: center; }
@media (max-width: 860px) { .schools-band { grid-template-columns: 1fr; text-align: center; } .schools-band .ctas { justify-content: center; } }

/* ---------- advice statement ---------- */
.statement { text-align: center; }
.statement .title s { color: var(--dim); text-decoration-thickness: 4px; text-decoration-color: var(--gold); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; text-align: left; }
@media (max-width: 860px) { .levels { grid-template-columns: 1fr; } }
.lvl { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.lvl.no { background: rgba(230,80,80,.14); color: #ff9d9d; box-shadow: inset 0 0 0 1px rgba(230,80,80,.35); }
.lvl.low { background: rgba(224,182,74,.12); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(224,182,74,.35); }
.lvl.ok { background: rgba(63,211,154,.12); color: #8ff0c4; box-shadow: inset 0 0 0 1px rgba(63,211,154,.35); }
.choice { margin-top: 30px; font-weight: 600; color: var(--gold-2); }

/* ---------- split: copy + device ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; text-align: center; } .split.flip > :first-child { order: 0; } .split .ctas { justify-content: center; } .split .intro { margin-inline: auto; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; text-align: left; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: #0b2148; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
@media (max-width: 860px) { .split .checks { max-width: 460px; margin-inline: auto; } }
.pair { display: flex; gap: clamp(14px, 3vw, 28px); justify-content: center; align-items: flex-end; }
.pair .dev { --w: min(250px, 40vw); }
.pair .dev:nth-child(2) { transform: translateY(40px); }

/* ---------- sticky story (screens change as you scroll) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story-stick { position: sticky; top: calc(var(--nav) + 52px); height: calc(100vh - var(--nav) - 52px); display: grid; place-items: center; }
.story-stick.top { top: var(--nav); height: calc(100vh - var(--nav)); }
.story-stick .dev { --w: min(310px, 30vw, 52vh); }
.story-stick .dev .scr img { opacity: 0; transform: scale(1.05); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.story-stick .dev .scr img.on { opacity: 1; transform: none; }
.dots { position: absolute; bottom: 4%; display: flex; gap: 7px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .45s var(--ease), background .45s; }
.dots i.on { width: 24px; background: var(--gold); }
.story-steps { padding: 22vh 0 30vh; display: grid; gap: 36vh; }
.story-step { opacity: .22; transition: opacity .6s var(--ease); }
.story-step.on { opacity: 1; }
.story-step .n { color: var(--gold); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.story-step h3 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 12px; }
.story-step p { color: var(--sub); font-size: 1.12rem; margin: 0; max-width: 440px; }
.story-step .only { display: none; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stick { display: none; }
  .story-steps { padding: 0; gap: 90px; text-align: center; }
  .story-step { opacity: 1; }
  .story-step p { margin-inline: auto; }
  .story-step .only { display: block; margin: 30px auto 0; --w: min(240px, 64vw); }
}

/* ---------- horizontal gallery ---------- */
.gallery { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 20px max(22px, calc((100vw - 1080px) / 2)) 70px; scroll-padding-inline: max(22px, calc((100vw - 1080px) / 2)); }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: start; text-align: center; }
.gallery .dev { --w: clamp(200px, 22vw, 250px); transition: transform .6s var(--ease); }
.gallery figure:hover .dev { transform: translateY(-10px); }
.gallery figcaption { margin-top: 20px; font-weight: 600; }
.gallery figcaption span { display: block; color: var(--sub); font-weight: 400; font-size: .9rem; }
.gal-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: -40px; }
.gal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.3rem; color: var(--ink); background: rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px var(--edge-2); transition: background .25s, opacity .25s; }
.gal-nav button:hover { background: rgba(255,255,255,.16); }
.gal-nav button:disabled { opacity: .3; cursor: default; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { padding: 26px 24px; border-radius: 24px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--edge); }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.045em; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-weight: 600; }
.stat small { display: block; color: var(--sub); font-size: .9rem; margin-top: 3px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); counter-reset: st; }
.steps .tile { padding-top: 84px; }
.steps .tile::before { counter-increment: st; content: counter(st); position: absolute; top: 28px; left: clamp(26px, 3.4vw, 40px); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #0b2148; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }

/* ---------- download / get card ---------- */
.get { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
@media (max-width: 760px) { .get { grid-template-columns: 1fr; text-align: center; } .get .ctas { justify-content: center; } }
.get ol { color: var(--sub); margin: 20px 0 0; padding-inline-start: 20px; text-align: left; }
.get ol li { margin: 6px 0; }

/* ---------- safe internet ---------- */
.shield-stage { position: relative; height: 420px; display: grid; place-items: center; margin: 10px auto 30px; max-width: 820px; }
.shield { width: 160px; filter: drop-shadow(0 30px 60px rgba(224,182,74,.35)); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.ripple { position: absolute; width: 220px; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(224,182,74,.45); animation: grow 4.5s ease-out infinite; }
.ripple.r2 { animation-delay: 1.5s; } .ripple.r3 { animation-delay: 3s; }
@keyframes grow { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.chip { position: absolute; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; white-space: nowrap; color: var(--ink);
  background: rgba(11,24,48,.9); box-shadow: inset 0 0 0 1px rgba(224,182,74,.35), 0 12px 30px rgba(0,0,0,.35); animation: hover 7s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-10px); } }
.chip.c1 { left: 4%; top: 10%; } .chip.c2 { right: 4%; top: 8%; animation-delay: -1s; } .chip.c3 { left: 0; top: 46%; animation-delay: -2s; }
.chip.c4 { right: 0; top: 48%; animation-delay: -3s; } .chip.c5 { left: 10%; bottom: 6%; animation-delay: -4s; } .chip.c6 { right: 10%; bottom: 4%; animation-delay: -5s; }
@media (max-width: 640px) { .shield-stage { height: 400px; } .shield { width: 120px; } .chip { font-size: .78rem; padding: 7px 12px; }
  .chip.c1 { left: 0; top: 2%; } .chip.c2 { right: 0; top: 12%; } .chip.c3 { left: 0; top: 36%; } .chip.c4 { right: 0; top: 62%; } .chip.c5 { left: 2%; bottom: 2%; } .chip.c6 { right: 2%; bottom: 14%; } }
.blocked { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 16px; border-radius: 16px; background: rgba(0,0,0,.3);
  box-shadow: inset 0 0 0 1px var(--edge); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; }
.blocked .url { color: var(--sub); text-decoration: line-through; text-decoration-color: rgba(255,90,90,.7); }
.blocked .no { font-family: inherit; font-size: .76rem; font-weight: 800; color: #fff; background: #c0392b; padding: 4px 10px; border-radius: 999px; }
.chat { display: grid; gap: 8px; margin-top: 22px; font-size: .95rem; }
.chat .q { justify-self: end; max-width: 80%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--blue); }
.chat .a { justify-self: start; max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--edge); }
.pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pics span { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--edge); }
.pics img { width: 100%; height: 100%; object-fit: cover; }
.pics .cov { background: #0e2350; box-shadow: inset 0 0 0 1px rgba(224,182,74,.35); }
.pics .cov svg { width: 78%; }
.note { display: flex; gap: 14px; align-items: flex-start; max-width: 780px; margin: 30px auto 0; padding: 18px 22px; border-radius: 20px; text-align: left;
  background: rgba(224,182,74,.08); box-shadow: inset 0 0 0 1px rgba(224,182,74,.35); }
.note .i { font-size: 1.4rem; line-height: 1.2; }
.note p { margin: 0; color: var(--ink); font-size: 1rem; }
.note b { color: var(--gold-2); }

/* ---------- devices row ---------- */
.devices { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 50px 60px; }
.devices figure { margin: 0; text-align: center; }
.devices figcaption { margin-top: 24px; }
.devices figcaption b { display: block; }
.devices figcaption span { color: var(--sub); font-size: .9rem; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 46px auto 0; max-width: 780px; }
.brands span { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--edge); font-size: .92rem; }
.fine { color: var(--dim); font-size: .86rem; text-align: center; margin-top: 18px; }

/* ---------- setup ---------- */
.setup { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; } }
.setup .when { color: var(--gold-2); font-size: .92rem; margin-bottom: 14px; }
.setup ol { padding-inline-start: 22px; margin: 0; }
.setup li { margin: 8px 0; }
code { display: block; background: rgba(0,0,0,.4); border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: .84rem; overflow-x: auto; white-space: nowrap; color: #ffe7a8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
#qr { background: #fff; border-radius: 20px; padding: 14px; width: fit-content; margin: 20px auto 8px; box-shadow: 0 0 0 6px rgba(224,182,74,.22); }
#qr img, #qr canvas { width: 210px; height: 210px; }
.qrhint { text-align: center; color: var(--sub); font-size: .86rem; margin: 0; }

/* ---------- comparison ---------- */
.vs-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--edge); background: rgba(255,255,255,.02); }
.vs { width: 100%; min-width: 660px; border-collapse: collapse; }
.vs th, .vs td { padding: 17px 18px; text-align: center; border-bottom: 1px solid var(--edge); }
.vs tr:last-child td { border-bottom: 0; }
.vs th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sub); font-weight: 700; vertical-align: bottom; }
.vs td:first-child, .vs th:first-child { text-align: left; font-weight: 600; }
.vs .us { background: linear-gradient(180deg, rgba(224,182,74,.16), rgba(224,182,74,.07)); }
.vs th.us { color: var(--gold-2); font-size: .92rem; }
.vs th.us img { width: 30px; margin: 0 auto 6px; }
.vs .yes, .vs .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; }
.vs .yes { color: #071a12; background: var(--em); }
.vs .us .yes { color: #0b2148; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.vs .no { color: #ff8f8f; background: rgba(230,80,80,.12); box-shadow: inset 0 0 0 1px rgba(230,80,80,.35); }
.part { color: var(--sub); font-size: .86rem; }

/* ---------- wallpaper ---------- */
.wp { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.wp ol { color: var(--sub); padding-inline-start: 20px; margin: 18px 0 26px; }
.wp ol li { margin: 6px 0; }
@media (max-width: 760px) { .wp { grid-template-columns: 1fr; text-align: center; } .wp .dev { margin: 0 auto; } .wp ol { text-align: left; } }

/* ---------- privacy ---------- */
.privacy ul { padding-inline-start: 20px; margin: 16px 0; color: var(--sub); }
.privacy li { margin: 8px 0; }
.privacy li b { color: var(--ink); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--gold); font-size: 1.6rem; font-weight: 300; line-height: .9; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { overflow: hidden; }
.faq .ans p { margin: 0; padding: 0 0 26px; color: var(--sub); max-width: 70ch; }
.faq details[dir="rtl"] summary, .faq details[dir="rtl"] p { text-align: right; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 18px 28px; border-radius: 22px; text-decoration: none; font-size: clamp(1.1rem, 2.6vw, 1.6rem); font-weight: 600;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(224,182,74,.4); transition: transform .4s var(--ease), background .3s; }
.mail:hover { transform: translateY(-3px); background: rgba(224,182,74,.1); }

/* ---------- final call ---------- */
.final { text-align: center; padding-bottom: 40px; }
.final .seal { width: 108px; margin: 0 auto 26px; filter: drop-shadow(0 18px 40px rgba(224,182,74,.35)); }

/* ---------- footer (Apple-style directory) ---------- */
.foot { margin-top: clamp(100px, 13vw, 160px); background: #040a18; border-top: 1px solid var(--edge); color: var(--dim); font-size: .75rem; line-height: 1.5; }
.foot .in { width: min(1024px, 100% - 44px); margin: 0 auto; padding: 18px 0 28px; }
.foot .notes { padding: 8px 0 16px; border-bottom: 1px solid var(--edge); }
.foot .notes p { margin: 0 0 8px; }
.foot .notes a { color: var(--sub); }
.foot .crumbs { display: flex; align-items: center; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--edge); }
.foot .crumbs img { width: 16px; height: 16px; }
.foot .crumbs a { color: var(--sub); text-decoration: none; }
.foot .crumbs span { color: var(--dim); }
.foot .dir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 22px 0 26px; }
.foot h4 { margin: 0 0 9px; font-size: .75rem; font-weight: 600; color: var(--ink); }
.foot .dir a { display: block; margin: 0 0 7px; color: var(--sub); text-decoration: none; transition: color .2s; }
.foot .dir a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.foot .reach { padding: 0 0 12px; border-bottom: 1px solid var(--edge); }
.foot .reach a { color: var(--gold-2); text-decoration: none; }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 14px; }
.foot .legal nav { display: flex; flex-wrap: wrap; }
.foot .legal nav a { color: var(--sub); text-decoration: none; padding: 0 10px; border-left: 1px solid var(--edge); }
.foot .legal nav a:first-child { border-left: 0; padding-left: 0; }
.foot .legal nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 820px) {
  .foot .dir { grid-template-columns: 1fr; gap: 0; padding: 10px 0 18px; }
  .foot .dir > div { border-bottom: 1px solid var(--edge); }
  .foot .dir h4 { display: flex; justify-content: space-between; padding: 12px 0; margin: 0; cursor: pointer; }
  .foot .dir h4::after { content: "+"; color: var(--sub); font-weight: 400; transition: transform .3s var(--ease); }
  .foot .dir .open h4::after { transform: rotate(45deg); }
  .foot .dir .lst { display: none; padding: 0 0 12px 12px; }
  .foot .dir .open .lst { display: block; }
  .foot .legal { flex-direction: column; }
}

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-2)); }


/* ======================================================================
   Round 3: films, cursor light, realistic devices, legal pages
   ====================================================================== */

/* cursor spotlight on tiles (set by site.js) */
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(243,210,126,.10), transparent 60%); }
.tile:hover::after { opacity: 1; }
.tile > * { position: relative; z-index: 1; }

/* devices: deeper, more physical */
.dev.iphone { box-shadow: 0 calc(var(--w) * .2) calc(var(--w) * .35) calc(var(--w) * -.05) rgba(0,0,0,.6), 0 calc(var(--w) * .05) calc(var(--w) * .08) rgba(0,0,0,.35),
  0 0 0 1px rgba(255,255,255,.06), inset 0 0 0 1px rgba(255,255,255,.28), inset 0 0 calc(var(--w) * .01) calc(var(--w) * .006) rgba(0,0,0,.6); }
.dev.iphone .scr { box-shadow: 0 0 0 calc(var(--w) * .004) #000; }
.dev .scr::after { background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 22%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 72%, rgba(255,255,255,.06) 100%); }
.dev.android { box-shadow: 0 calc(var(--w) * .2) calc(var(--w) * .35) rgba(0,0,0,.55), 0 calc(var(--w) * .05) calc(var(--w) * .08) rgba(0,0,0,.35),
  0 0 0 1px rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 calc(var(--w) * .012) #07080a; }
.dev.android::after { content: ""; position: absolute; right: -2px; top: 22%; width: 3px; height: 14%; border-radius: 2px; background: linear-gradient(90deg, #2c3038, #555b65); box-shadow: 0 calc(var(--w) * .25) 0 -0px #3a3f48; }
.floor { position: absolute; left: 10%; right: 10%; bottom: -6%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(8px); z-index: -1; }
/* angled, Apple-product-shot style */
.angle { transform: perspective(1800px) rotateY(var(--ry, -16deg)) rotateX(4deg) rotateZ(var(--rz, 0deg)); transform-style: preserve-3d; transition: transform 1s var(--ease); }
.angle.r { --ry: 16deg; }

/* ---------- film: chaos gets purified (pinned, scroll-driven) ---------- */
.purify { height: 320vh; padding: 0; }
.purify .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4vh; padding-top: var(--nav); }
.purify .stage { position: relative; --w: min(270px, 27vh, 60vw); }
.purify .dev { --w: min(270px, 27vh, 60vw); }
.purify .bit { --k: clamp(0, (var(--p) - .12) * 2.6, 1); position: absolute; left: 50%; top: 50%; z-index: 6; pointer-events: none;
  translate: calc(-50% + var(--x) * (1 - var(--k))) calc(-50% + var(--y) * (1 - var(--k)));
  scale: calc(1 - var(--k) * .9); opacity: calc(1 - var(--k) * 1.2); rotate: calc(var(--r, 0deg) * (1 - var(--k))); will-change: translate, scale, opacity; backface-visibility: hidden; }
.purify .app { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.purify .ping { padding: 9px 13px; border-radius: 14px; font-size: .82rem; font-weight: 600; white-space: nowrap; color: #fff; background: rgba(30,36,50,.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 12px 30px rgba(0,0,0,.45); }
.purify .ping b { color: #ff7a7a; }
.purify .sweep { position: absolute; inset: 0 -120%; z-index: 7; pointer-events: none; will-change: translate, opacity;
  background: linear-gradient(100deg, rgba(255,230,160,0) 42%, rgba(255,236,180,.42) 50%, rgba(255,230,160,0) 58%);
  translate: calc((clamp(0, (var(--p) - .45) * 3, 1) * 140%) - 70%) 0; opacity: calc(clamp(0, (var(--p) - .42) * 8, 1) * (1 - clamp(0, (var(--p) - .78) * 8, 1))); }
.purify .dev .scr img.alt { transition: none; transform: none; opacity: clamp(0, (var(--p) - .55) * 5, 1); }
.purify .ttl { position: relative; width: 100%; height: 7.4em; text-align: center; padding: 0 22px; flex: none; }
.purify .ttl > div { position: absolute; left: 0; right: 0; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.purify .ttl .b, .purify .ttl .c { opacity: 0; transform: translateY(16px); }
.purify[data-step="1"] .ttl .a, .purify[data-step="2"] .ttl .a { opacity: 0; transform: translateY(-16px); }
.purify[data-step="1"] .ttl .b { opacity: 1; transform: none; }
.purify[data-step="2"] .ttl .c { opacity: 1; transform: none; }
.purify .ttl h2 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; margin: 0; }
.purify .ttl p { color: var(--sub); margin: 10px auto 0; max-width: 520px; font-size: 1.05rem; }

@media (max-width: 640px) { .purify .app { width: 46px; height: 46px; font-size: 22px; border-radius: 12px; } .purify .ping { font-size: .7rem; padding: 6px 9px; } }

/* ---------- film: a typical filter vs Kosher Switch ---------- */
.versus { height: 300vh; padding: 0; }
.versus .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3vh; padding-top: var(--nav); }
.versus .head { text-align: center; padding: 0 22px; }
.versus .head h2 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; margin: 0; }
.versus .head p { color: var(--sub); margin: 10px auto 0; max-width: 560px; }
.versus .duo { display: flex; gap: clamp(20px, 8vw, 120px); align-items: flex-end; }
.versus figure { margin: 0; text-align: center; }
.versus figcaption { margin-top: 18px; font-weight: 700; }
.versus figcaption span { display: block; font-weight: 400; color: var(--sub); font-size: .88rem; }
.versus .dev { --w: min(220px, 25vh, 40vw); }
.versus .bad .scr { background: #1a1d24; }
.versus .bad .shade { position: absolute; inset: 0; z-index: 2; background: #1b1d24; opacity: calc(var(--p) * .45); pointer-events: none; }
.versus .pop { --s: clamp(0, (var(--p) - var(--at)) * 10, 1); position: absolute; left: 7%; right: 7%; z-index: 4; padding: 9px 10px; border-radius: 12px;
  font-size: calc(var(--w) * .045); font-weight: 600; line-height: 1.25; color: #fff; text-align: left; background: rgba(28,30,38,.96); box-shadow: 0 10px 24px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.1);
  opacity: var(--s); transform: translateY(calc((1 - var(--s)) * 18px)) scale(calc(.94 + var(--s) * .06)); }
.versus .pop b { display: block; color: #ff8a8a; font-size: 1.05em; }
.versus .pop.y b { color: #ffd166; }
.versus .spin { position: absolute; z-index: 5; left: 50%; top: 50%; width: calc(var(--w) * .16); aspect-ratio: 1; margin: calc(var(--w) * -.08); border-radius: 50%;
  border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .9s linear infinite; opacity: clamp(0, (var(--p) - .7) * 8, 1); }
.versus .good .scr::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(224,182,74,calc(var(--p) * .8)); border-radius: inherit; }
.versus .meter { width: 100%; max-width: 230px; height: 6px; margin: 12px auto 0; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.versus .meter i { display: block; height: 100%; border-radius: 6px; transform-origin: left; }
.versus .bad .meter i { background: #ff6b6b; transform: scaleX(calc(.25 + var(--p) * .75)); }
.versus .good .meter i { background: var(--em); transform: scaleX(.12); }
.versus .tag-bad, .versus .tag-good { font-size: .72rem; color: var(--dim); margin-top: 6px; }
@media (max-width: 640px) { .versus .dev { --w: min(170px, 28vh, 42vw); } .versus .pop { font-size: 9px; padding: 6px 7px; } }

/* ---------- film: every device turns kosher, one after another ---------- */
.fleet { height: 260vh; padding: 0; }
.fleet .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6vh; padding-top: var(--nav); }
.fleet .head { text-align: center; padding: 0 22px; }
.fleet .head h2 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.04em; line-height: 1; margin: 0; }
.fleet .head .count { font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.fleet .row { display: flex; gap: clamp(12px, 3vw, 40px); align-items: flex-end; }
.fleet .dev { transition: transform .9s var(--ease), filter .9s; filter: grayscale(.6) brightness(.75); }
.fleet .dev.on { filter: none; transform: translateY(-14px); }

/* ---------- legal & site map pages ---------- */
.doc { width: min(760px, 100% - 44px); margin: 0 auto; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); letter-spacing: -.04em; line-height: 1.02; margin: 0 0 12px; }
.doc .upd { color: var(--dim); margin: 0 0 40px; }
.doc h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 44px 0 10px; }
.doc h3 { font-size: 1.08rem; margin: 26px 0 6px; }
.doc p, .doc li { color: #c3cbd9; }
.doc ul { padding-inline-start: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--gold-2); }
.doc .box { padding: 18px 22px; border-radius: 18px; background: rgba(224,182,74,.08); box-shadow: inset 0 0 0 1px rgba(224,182,74,.3); margin: 24px 0; }
.doc .box p { margin: 0; color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--edge); vertical-align: top; color: #c3cbd9; }
.doc th { color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; margin-top: 40px; }
@media (max-width: 760px) { .map { grid-template-columns: 1fr 1fr; } }
.map h2 { font-size: 1.05rem; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--edge); }
.map a { display: block; color: var(--sub); text-decoration: none; margin: 8px 0; font-size: .95rem; }
.map a:hover { color: var(--ink); }

/* ---------- reduced motion / static render ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }
html.still .rv { opacity: 1; transform: none; }
.fleet .dev .scr .alt { opacity: 0; transition: opacity .9s var(--ease); }
.fleet .dev.on .scr .alt { opacity: 1; }
.fleet .dev.keypad .scr img { position: absolute; }

/* ======================================================================
   Round 4: polish, new mockups, Hebrew (RTL)
   ====================================================================== */
.scene { height: 300vh; } .purify { height: 380vh; } .versus { height: 360vh; } .fleet { height: 330vh; }

/* the big seal returns on top of the home page */
.seal-top { width: clamp(110px, 16vw, 170px); margin: 0 auto 6px; position: relative; }
.seal-top img { width: 100%; animation: sealIn 1.3s var(--ease) both, float 7s ease-in-out 1.3s infinite; filter: drop-shadow(0 24px 50px rgba(0,0,0,.45)) drop-shadow(0 0 40px rgba(224,182,74,.28)); }
.seal-top::before { content: ""; position: absolute; inset: -16%; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(224,182,74,.35), transparent 40%); animation: turn 12s linear infinite; filter: blur(16px); z-index: -1; }
@keyframes sealIn { from { transform: scale(.6) rotate(-25deg); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes turn { to { transform: rotate(360deg); } }

/* platform buttons: same weight for Android and iPhone */
.btn.plat { background: rgba(255,255,255,.08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge-2); padding: 13px 26px; }
.btn.plat:hover { background: rgba(255,255,255,.14); }
.btn.plat .ico { width: 1.3em; height: 1.3em; }
.btn.plat.android .ico { color: #3ddc84; }

/* home product tiles: text centered above, the phone rises from the bottom without covering it */
.product { min-height: 0; padding: 48px 34px 0; }
.product p { margin: 0 auto; }
.product .stage { height: 300px; padding-top: 0; margin-top: 34px; width: 100%; overflow: hidden; align-items: flex-start; }
.product .stage .dev { --w: 210px; transform: translateY(14px); }
.product:hover .stage .dev { transform: translateY(0); }

/* versus: the Kosher Switch phone gets its own calm, good moments */
.versus .ok { --s: clamp(0, (var(--p) - var(--at)) * 10, 1); position: absolute; left: 7%; right: 7%; z-index: 4; padding: 8px 10px; border-radius: 12px;
  font-size: calc(var(--w) * .045); font-weight: 600; line-height: 1.25; color: #fff; text-align: left; background: rgba(11,42,91,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(224,182,74,.45); opacity: var(--s); transform: translateY(calc((1 - var(--s)) * 14px)); }
.versus .ok b { display: block; color: var(--gold-2); }
.versus .good .dev { transform: translateY(calc(var(--p) * -8px)); }
.versus .glowring { position: absolute; inset: -12%; z-index: -1; border-radius: 30%; background: radial-gradient(closest-side, rgba(224,182,74,calc(var(--p) * .45)), transparent 70%); }
.versus .good .meter i { background: var(--em); transform: scaleX(calc(.05 + var(--p) * .02)); }
.versus .good figcaption::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-inline-end: 6px; border-radius: 50%; font-size: .7rem; color: #0b2148;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); opacity: clamp(0, (var(--p) - .6) * 6, 1); vertical-align: 1px; }

/* pinned tour: the phone and its text both stay in place, and change together */
.tale { height: calc(var(--n, 6) * 85vh); padding: 0; }
.tale .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.tale .pin-in { width: min(1080px, 100% - 44px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.tale .stage { position: relative; }
.tale .dev { --w: min(300px, 31vh, 60vw); }
.tale .scr img { opacity: 0; transform: scale(1.05); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.tale .scr img.on { opacity: 1; transform: none; }
.tale .dots { position: absolute; bottom: -36px; left: 50%; translate: -50% 0; }
.tale-txt { position: relative; min-height: 15em; }
.tale-txt > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.tale-txt > div.on { opacity: 1; transform: none; pointer-events: auto; }
.tale-txt .n { color: var(--gold); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.tale-txt h3 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 12px; }
.tale-txt p { color: var(--sub); font-size: 1.12rem; margin: 0; max-width: 440px; }
.tale .bar { position: absolute; left: 50%; bottom: 4vh; width: 140px; height: 3px; translate: -50% 0; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.tale .bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--gold); }
@media (max-width: 860px) {
  .tale .pin-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; padding-top: var(--nav); }
  .tale .dev { --w: min(220px, 30vh, 56vw); }
  .tale-txt { width: 100%; min-height: 11em; order: 2; }
  .tale-txt p { margin-inline: auto; font-size: 1rem; }
  .tale .dots { bottom: -24px; }
}

/* expanding cards: compact, and they open up under the mouse */
.xcards { display: flex; gap: 14px; margin-bottom: 14px; height: 300px; }
.xc { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: default; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, var(--tile-2), var(--tile)); box-shadow: inset 0 0 0 1px var(--edge); transition: flex-grow .7s var(--ease), box-shadow .4s, background .4s; }
.xc .icon { position: absolute; top: 24px; left: 26px; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; background: rgba(224,182,74,.12); box-shadow: inset 0 0 0 1px rgba(224,182,74,.25); transition: transform .6s var(--ease); }
.xc h3 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.15; }
.xc .more-txt { color: var(--sub); max-height: 0; opacity: 0; margin: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s .1s, margin .5s; font-size: .97rem; }
.xc .plus { position: absolute; top: 26px; right: 24px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.08); transition: transform .5s var(--ease), background .3s; }
.xc:hover, .xc.open { flex-grow: 2.6; background: radial-gradient(120% 120% at 100% 0%, rgba(224,182,74,.22), transparent 55%), linear-gradient(180deg, #13284b, #0b1830); box-shadow: inset 0 0 0 1px rgba(224,182,74,.4); }
.xc:hover .more-txt, .xc.open .more-txt { max-height: 9em; opacity: 1; margin-top: 10px; }
.xc:hover .plus, .xc.open .plus { transform: rotate(45deg); background: var(--gold); color: #0b2148; }
.xc:hover .icon, .xc.open .icon { transform: scale(1.12); }
@media (max-width: 860px) {
  .xcards { flex-direction: column; height: auto; }
  .xc { min-height: 110px; padding: 22px 22px 22px 88px; justify-content: center; }
  .xc .icon { top: 50%; translate: 0 -50%; left: 22px; }
  .xc .plus { top: 22px; }
  .xc:hover .icon, .xc.open .icon { transform: none; }
}

/* a little browser window for the Kosher Browser */
.bw { border-radius: 16px; overflow: hidden; background: #0b1426; box-shadow: 0 24px 50px rgba(0,0,0,.4), inset 0 0 0 1px var(--edge-2); }
.bw .top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #111c33; border-bottom: 1px solid var(--edge); }
.bw .top i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.bw .addr { flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #0b1426; font-size: .8rem; color: var(--sub); }
.bw .addr b { color: var(--em); font-weight: 600; }
.bw .safe { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; color: #071a12; background: var(--em); white-space: nowrap; }
.bw .body { padding: 14px; }
.bw .q { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: .85rem; margin-bottom: 12px; }
.bw .pics { margin-top: 0; }
.bw .scan { position: relative; overflow: hidden; }
.bw .scan::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(63,211,154,.25), transparent); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { to { top: 100%; } }
.bw .cap { display: flex; justify-content: space-between; margin-top: 10px; font-size: .74rem; color: var(--dim); }
/* filter: a feed of what's being blocked right now */
.feed { position: relative; height: 150px; overflow: hidden; margin-top: 20px; border-radius: 16px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--edge);
  -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.feed .roll { animation: roll 14s linear infinite; }
.feed .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.feed .row span:first-child { color: var(--sub); }
.feed .x { font-family: inherit; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #fff; background: #c0392b; }
.feed .v { font-family: inherit; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #071a12; background: var(--em); }
@keyframes roll { to { transform: translateY(-50%); } }

/* keypad phone, with real proportions (like the Qin F21 Pro) */
.dev.qin { --w: 150px; position: relative; width: var(--w); aspect-ratio: 52 / 128; border-radius: calc(var(--w) * .16); padding: calc(var(--w) * .07) calc(var(--w) * .065) 0;
  background: linear-gradient(160deg, #fbfbfc, #e3e6ea 45%, #c9ced6); box-shadow: 0 calc(var(--w) * .25) calc(var(--w) * .4) rgba(0,0,0,.5), inset 0 0 0 1.5px #fff, inset 0 -3px 6px rgba(0,0,0,.08); }
.dev.qin .spk { width: 22%; height: calc(var(--w) * .022); margin: 0 auto calc(var(--w) * .05); border-radius: 9px; background: #b9bec7; }
.dev.qin .scr { position: relative; inset: auto; aspect-ratio: 3 / 4; border-radius: calc(var(--w) * .04); background: #000; box-shadow: 0 0 0 calc(var(--w) * .02) #111; }
.dev.qin .pad { margin-top: calc(var(--w) * .085); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--w) * .03) calc(var(--w) * .035); }
.dev.qin .navrow { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: calc(var(--w) * .035); align-items: center; margin-bottom: calc(var(--w) * .02); }
.dev.qin .navrow i, .dev.qin .pad > i { font-style: normal; height: calc(var(--w) * .1); border-radius: calc(var(--w) * .04); background: #fff; box-shadow: 0 1px 0 #aeb4bd, inset 0 0 0 1px rgba(0,0,0,.04);
  display: grid; place-items: center; font-size: calc(var(--w) * .062); font-weight: 700; color: #3b4150; }
.dev.qin .navrow .dpad { height: calc(var(--w) * .2); border-radius: 50%; background: radial-gradient(circle, #fff 30%, #eef0f3 31%); box-shadow: 0 1px 0 #aeb4bd, inset 0 0 0 1px rgba(0,0,0,.05); }
.dev.qin .navrow .call { color: #1f9d55; } .dev.qin .navrow .end { color: #c0392b; }
.dev.qin .scr::after { display: none; }
/* screens drawn in HTML: a kosher keypad home, and ordinary app grids */
.kh { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 10% 9%; color: #fff; font-size: calc(var(--w) * .055);
  background: radial-gradient(circle at 90% 0%, rgba(224,182,74,.45), transparent 50%), linear-gradient(170deg, #0b2a5b, #1e4e9c); }
.kh .t { font-size: 3.2em; font-weight: 200; line-height: 1; letter-spacing: -.03em; }
.kh .d { opacity: .85; margin-top: .2em; } .kh .hd { color: var(--gold-2); direction: rtl; text-align: left; font-family: "Noto Serif Hebrew", serif; }
.kh ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: .35em; }
.kh li { padding: .35em .5em; border-radius: .5em; background: rgba(255,255,255,.1); display: flex; gap: .4em; align-items: center; }
.kh li.sel { box-shadow: 0 0 0 2px var(--gold); background: rgba(224,182,74,.18); }
.grid-home { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); align-content: start; gap: 9% 7%; padding: 16% 9% 9%;
  background: linear-gradient(160deg, #47308c, #b24d7d 60%, #f29b62); }
.grid-home i { font-style: normal; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; font-size: calc(var(--w) * var(--isz, .1)); box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.grid-home .clock { grid-column: 1 / -1; font-style: normal; color: #fff; font-weight: 200; font-size: calc(var(--w) * .12); line-height: 1; margin-bottom: 4%; aspect-ratio: auto; box-shadow: none; display: block; text-align: left; }
.lockschool { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: #fff; text-align: center;
  background: radial-gradient(circle at 85% 10%, rgba(224,182,74,.45), transparent 45%), radial-gradient(circle at 10% 90%, rgba(63,211,154,.2), transparent 50%), linear-gradient(160deg, #0b2a5b, #1e4e9c); }
.lockschool .t { font-size: calc(var(--w) * .13); font-weight: 200; line-height: 1; }
.lockschool .d { font-size: calc(var(--w) * .03); opacity: .85; }
.lockschool img { position: static !important; width: calc(var(--w) * .1) !important; height: auto !important; margin: 4px 0; }
.lockschool .own { font-size: calc(var(--w) * .026); padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.12); }
.lockschool .dock { position: absolute; bottom: 6%; left: 50%; translate: -50% 0; display: flex; gap: calc(var(--w) * .025); padding: calc(var(--w) * .012); border-radius: calc(var(--w) * .03); background: rgba(255,255,255,.12); }
.lockschool .dock i { font-style: normal; width: calc(var(--w) * .07); aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center; font-size: calc(var(--w) * .035); }

/* fleet: labels, and a segmented counter */
.fleet .row figure { margin: 0; text-align: center; }
.fleet .row figcaption { margin-top: 16px; font-size: .85rem; font-weight: 600; color: var(--sub); transition: color .6s; }
.fleet .row figcaption span { display: block; margin-top: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #ff9d9d; }
.fleet .row figcaption span::after { content: attr(data-off); }
.fleet .row figure:has(.dev.on) figcaption { color: var(--ink); }
.fleet .row figure:has(.dev.on) figcaption span { color: var(--gold-2); }
.fleet .row figure:has(.dev.on) figcaption span::after { content: attr(data-on); }
.fleet .head { display: grid; justify-items: center; gap: 6px; }
.fleet .head .count { font-size: clamp(4rem, 11vw, 8rem); }
.fleet .head .of { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; color: var(--sub); }
.fleet .seg { display: flex; gap: 6px; margin-top: 8px; }
.fleet .seg i { width: 46px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.12); transition: background .6s var(--ease); }
.fleet .seg i.on { background: var(--gold); }
.fleet .dev .scr > .alt, .fleet .dev .scr > img.alt { opacity: 0; transition: opacity .9s var(--ease); }
.fleet .dev.on .scr > .alt { opacity: 1; }

/* language switch */
.lang { font-size: .78rem; font-weight: 600; color: rgba(242,245,250,.85); text-decoration: none; padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--edge-2); margin-inline-end: 6px; transition: background .25s; white-space: nowrap; }
.lang:hover { background: rgba(255,255,255,.08); }
.sheet .lang-m { display: inline-block; margin-top: 26px; font-size: 1rem; color: var(--gold-2); text-decoration: none; }
.foot .legal a.lang-f { color: var(--sub); }

/* ---------- Hebrew: right to left ---------- */
[dir="rtl"] body, html[dir="rtl"] { font-family: -apple-system, BlinkMacSystemFont, "SF Hebrew", "Arial Hebrew", "Noto Sans Hebrew", "Segoe UI", sans-serif; }
[dir="rtl"] .display, [dir="rtl"] .title, [dir="rtl"] .title-sm, [dir="rtl"] .words { letter-spacing: -.01em; }
[dir="rtl"] .checks li { padding-left: 0; padding-right: 32px; }
[dir="rtl"] .checks li::before { left: auto; right: 0; }
[dir="rtl"] .checks { text-align: right; }
[dir="rtl"] .more::after { content: "‹"; }
[dir="rtl"] .more:hover::after { transform: translateX(-4px); }
[dir="rtl"] .scene .cap.r { text-align: right; } [dir="rtl"] .scene .cap.l { text-align: left; }
[dir="rtl"] .vs td:first-child, [dir="rtl"] .vs th:first-child { text-align: right; }
[dir="rtl"] .xc .icon { left: auto; right: 26px; } [dir="rtl"] .xc .plus { right: auto; left: 24px; }
[dir="rtl"] .versus .pop, [dir="rtl"] .versus .ok, [dir="rtl"] .note, [dir="rtl"] .get ol { text-align: right; }
[dir="rtl"] .get ol, [dir="rtl"] .setup ol, [dir="rtl"] .wp ol, [dir="rtl"] .doc ul { padding-inline-start: 22px; }
[dir="rtl"] .doc th, [dir="rtl"] .doc td { text-align: right; }
[dir="rtl"] .fly .cols { direction: rtl; }
[dir="rtl"] .results a::before { content: "←"; }
[dir="rtl"] .sheet .lvl1 button::after { content: "‹"; }
[dir="rtl"] .tale-txt p { margin-inline: 0; }
[dir="rtl"] .bw, [dir="rtl"] .feed, [dir="rtl"] .blocked, [dir="rtl"] .chat, [dir="rtl"] .dev, [dir="rtl"] code { direction: ltr; }
[dir="rtl"] .bw .q, [dir="rtl"] .chat .q, [dir="rtl"] .chat .a { direction: rtl; text-align: right; }
[dir="rtl"] .foot .legal nav a { border-left: 0; border-right: 1px solid var(--edge); }
[dir="rtl"] .foot .legal nav a:first-child { border-right: 0; padding-right: 0; padding-left: 10px; }
[dir="rtl"] .stat, [dir="rtl"] .tile { text-align: right; }
[dir="rtl"] .center .tile, [dir="rtl"] .product { text-align: center; }
@media (max-width: 860px) { [dir="rtl"] .xc { padding: 22px 88px 22px 22px; } [dir="rtl"] .xc .icon { right: 22px; } }
.vs tr.score td { font-size: 1.05rem; border-top: 1px solid var(--edge-2); }
.vs tr.score td.us b { color: var(--gold-2); font-size: 1.25rem; }
.vs tr.score td:not(.us) b { color: var(--dim); }
/* shorter screens: films keep their titles in view */
@media (max-height: 880px) {
  .versus .head h2, .purify .ttl h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
  .versus .head p, .purify .ttl p { font-size: .95rem; margin-top: 6px; }
  .versus .pin, .fleet .pin { gap: 2.4vh; }
  .fleet .head .count { font-size: clamp(3rem, 8vw, 5.4rem); }
  .fleet .head .of { font-size: clamp(1.1rem, 2.4vw, 1.6rem); }
}
/* phones: the four devices of the schools film fit side by side */
@media (max-width: 640px) {
  .fleet .row { gap: 8px; }
  .fleet .row .dev.android { --w: 62px !important; }
  .fleet .row .dev.tablet { --w: 132px !important; }
  .fleet .row .dev.qin { --w: 46px !important; }
  .fleet .row .dev.iphone { --w: 60px !important; }
  .fleet .row figcaption { font-size: .7rem; margin-top: 10px; }
  .fleet .row figcaption span { font-size: .6rem; }
}
/* the film: plays full screen over the page */
button.more { background: none; border: 0; font: inherit; font-size: 1.02rem; cursor: pointer; padding: 0; }
.film-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 60px 22px; background: rgba(2,6,16,.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.film-modal.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.film-modal video { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.6);
  transform: scale(.94); transition: transform .6s var(--ease); }
.film-modal.on video { transform: none; }
.film-close { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1rem; color: var(--ink); background: rgba(255,255,255,.12); }
[dir="rtl"] .film-close { right: auto; left: 22px; }

/* films: keep each pinned frame on its own layer so scrolling stays smooth */
.purify .pin, .versus .pin, .fleet .pin, .scene .pin, .tale .pin { contain: layout paint; }
.purify .halo2 { position: absolute; inset: -35%; border-radius: 50%; z-index: -1; opacity: calc(.25 + var(--p) * .75); will-change: opacity;
  background: radial-gradient(closest-side, rgba(224,182,74,.42), rgba(30,78,156,.15) 55%, transparent 72%); }
.versus .pop, .versus .ok { will-change: transform, opacity; }

/* smoother scrolling: the bar gets its own layer, and nothing behind it repaints every frame */
.gnav, .subnav { transform: translateZ(0); will-change: transform; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gnav { background: rgba(5,13,30,.84); } .subnav { background: rgba(5,13,30,.8); }
.gold-text { animation: sheen 2.4s var(--ease) .6s 1 both; }
.seal-top::before { filter: none; background: radial-gradient(closest-side, rgba(224,182,74,.32), rgba(224,182,74,.08) 60%, transparent 75%); animation: none; }
.seal-top img { will-change: transform; }
.shield { will-change: transform; }
.glow { filter: none; }
.chip, .ripple, .pill .dot { will-change: transform, opacity; }
html { scroll-behavior: auto; }
/* contact form */
.cform { max-width: 640px; margin: 34px auto 0; display: grid; gap: 14px; text-align: start; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .cform .row2 { grid-template-columns: 1fr; } }
.cform label { display: grid; gap: 6px; }
.cform label span { font-size: .85rem; font-weight: 600; color: var(--sub); }
.cform input, .cform select, .cform textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255,255,255,.05); border: 0; border-radius: 14px;
  padding: 13px 15px; box-shadow: inset 0 0 0 1px var(--edge-2); outline: none; transition: box-shadow .25s, background .25s; }
.cform select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .cform select { background-position: 15px 55%, 20px 55%; }
.cform option { color: #000; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { box-shadow: inset 0 0 0 2px var(--gold); background: rgba(255,255,255,.08); }
.cform .bad { box-shadow: inset 0 0 0 2px #e05252 !important; }
.cform button { justify-self: start; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cstatus { margin: 0; min-height: 1.4em; font-weight: 600; }
.cstatus.ok { color: #8ff0c4; } .cstatus.err { color: #ff9d9d; }

/* ---------- official Apple icons and iOS-style notifications in the films ---------- */
.purify img.app { display: block; object-fit: cover; background: none; }
.purify .ping { display: flex; align-items: flex-start; gap: 9px; width: 270px; white-space: normal; padding: 10px 12px; border-radius: 20px; text-align: start;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.1)); box-shadow: inset 0 0 0 .6px rgba(255,255,255,.4), inset 0 1px 0 rgba(255,255,255,.3), 0 14px 34px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); }
.purify .ping img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.purify .ping span { position: relative; flex: 1; min-width: 0; font-size: .8rem; font-weight: 400; line-height: 1.3; color: rgba(255,255,255,.92); }
.purify .ping b { display: block; color: #fff; font-weight: 600; font-size: .82rem; }
.purify .ping i { position: absolute; inset-inline-end: 0; top: 0; font-style: normal; font-size: .72rem; color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .purify .ping { width: 190px; padding: 7px 9px; gap: 7px; border-radius: 15px; } .purify .ping img { width: 24px; height: 24px; border-radius: 6px; }
  .purify .ping span { font-size: .66rem; } .purify .ping b { font-size: .68rem; } .purify .ping i { font-size: .6rem; } }
/* filter pop-ups: iOS glass instead of flat boxes */
.versus .pop { border-radius: 14px; background: linear-gradient(180deg, rgba(70,72,82,.88), rgba(44,46,54,.92)); box-shadow: inset 0 0 0 .6px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.45); }
.versus .ok { border-radius: 14px; background: linear-gradient(180deg, rgba(30,78,156,.85), rgba(11,42,91,.92)); }
/* the schools film: real icons on the open screens */
.grid-home i.ico-i { background: none; box-shadow: 0 4px 10px rgba(0,0,0,.3); overflow: hidden; }
.grid-home i.ico-i img { width: 100%; height: 100%; display: block; object-fit: cover; }
.dev .scr .grid-home i.ico-i img { position: static !important; inset: auto !important; width: 100% !important; height: 100% !important; }
@media (max-width: 640px) { .purify .bit:has(.ping) { display: none; } }

/* ---------- steady scrolling: no blur behind fixed bars, few extra layers ---------- */
.gnav, .subnav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; will-change: auto !important; }
.gnav { background: rgba(5,13,30,.96) !important; }
.subnav { background: rgba(5,13,30,.94) !important; }
.sheet, .dim, .fly { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.dim { background: rgba(2,6,16,.7); }
.purify .bit, .chip, .ripple, .pill .dot, .versus .pop, .versus .ok, .seal-top img, .shield, .scene .dev, .purify .sweep, .purify .halo2 { will-change: auto !important; }
.purify .pin, .versus .pin, .fleet .pin, .scene .pin, .tale .pin { contain: none !important; }

/* No rubber-band bounce at the top or bottom of the page: in Safari the bounce also drags the fixed menu bar along. */
html, body { overscroll-behavior-y: none; }
.sheet, .fly, .gallery { overscroll-behavior: contain; }

/* Clip sideways overflow inside each top-level block instead of on the page. */
body > header, body > section, body > main, body > footer, body > div:not(.sheet):not(.dim):not(.film-modal) { overflow-x: clip; }
.progress { display: none !important; }

/* ---------- the page scrolls inside #page; the menu bar sits outside and never moves ---------- */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
#page { position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; outline: none; scroll-behavior: auto; }
#page:focus { outline: none; }
#page > header, #page > section, #page > main, #page > footer, #page > div { overflow-x: clip; }
/* galleries only catch sideways scrolling, never up and down */
.gallery { overscroll-behavior-x: contain !important; overscroll-behavior-y: auto !important; scroll-snap-type: x proximity; }

/* Store buttons: the official App Store badge, and a matching Android download button */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: inline-flex; align-items: center; height: 44px; text-decoration: none; transition: transform .2s; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 44px; width: auto; display: block; }
.stores .apk { gap: 9px; padding: 0 16px 0 12px; border-radius: 9px; background: #000; color: #fff; border: 1px solid #a6a6a6; font: 600 15px/1.05 -apple-system, BlinkMacSystemFont, sans-serif; }
.stores .apk svg { width: 26px; height: 26px; }
.stores .apk small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
.foot .stores { padding: 14px 0 16px; }
.foot .stores b { color: var(--ink); font-size: .9rem; margin-inline-end: 6px; }
