/* ==========================================================================
   The menu bar, shared by every page.

   It is the site's signature: the first thing that says this is a Mac app.
   It stays pinned, it holds real links, and its status icon opens the panel.
   ========================================================================== */

/* ---------- the menu bar ---------- */
:root{--mb-h:34px}

/* pinned, like the real thing: it never scrolls away */
.menubar{
  position:fixed;top:0;left:0;right:0;z-index:120;
  display:flex;align-items:center;justify-content:space-between;
  gap:18px;
  height:var(--mb-h);padding:0 clamp(14px,3vw,26px);
  font-size:12px;letter-spacing:.01em;
  color:var(--text);
  background:rgba(20,16,33,.55);
  backdrop-filter:blur(14px) saturate(150%);
  border-bottom:1px solid rgba(252,249,243,.08);
}
html[data-theme="light"] .menubar{
  background:rgba(251,247,239,.72);
  border-bottom:1px solid rgba(28,24,50,.08);
}
.mb-left,.mb-right{display:flex;align-items:center;gap:16px;min-width:0}
.mb-app{display:inline-flex;align-items:center;gap:6px;font-weight:700;opacity:.92}
.mb-app svg{width:13px;height:13px;stroke-width:2}
.mb-apple{
  display:inline-flex;align-items:center;
  opacity:.9;margin-right:2px;color:var(--text);
}
.mb-apple svg{width:12px;height:12px;display:block}

/* the menu titles are real links, and highlight like a Mac menu when pointed at */
.mb-item{
  opacity:.62;color:inherit;text-decoration:none;
  padding:2px 7px;margin:0 -7px;border-radius:5px;
  transition:opacity .18s, background-color .18s;
}
.mb-item:hover,.mb-item:focus-visible{
  opacity:1;background:rgba(252,249,243,.10);
}
html[data-theme="light"] .mb-item:hover,
html[data-theme="light"] .mb-item:focus-visible{background:rgba(28,24,50,.07)}
.mb-status{
  position:relative;
  display:inline-flex;align-items:center;
  background:none;border:0;padding:3px 5px;margin:0;cursor:pointer;
  color:inherit;opacity:.55;border-radius:5px;
  transition:opacity .18s, background-color .18s;
}
.mb-status:hover,.mb-status[aria-expanded="true"]{opacity:1;background:rgba(252,249,243,.10)}
html[data-theme="light"] .mb-status:hover,
html[data-theme="light"] .mb-status[aria-expanded="true"]{background:rgba(28,24,50,.07)}
.mb-status svg{width:13px;height:13px;stroke-width:2}
.mb-glyph{display:inline-flex;align-items:center;opacity:.55}
.mb-glyph svg{width:14px;height:14px;stroke-width:1.7}
.mb-clock{font-variant-numeric:tabular-nums;opacity:.8;white-space:nowrap}
body{padding-top:var(--mb-h)}
nav{top:var(--mb-h) !important}
.progress{top:var(--mb-h)}
/* anchors must not land under the fixed bar and sticky nav */
section[id],div[id="pricing"]{scroll-margin-top:calc(var(--mb-h) + 84px)}

@media (max-width:720px){
  :root{--mb-h:30px}
  .menubar{height:var(--mb-h);font-size:11px}
  .mb-item{display:none}
  .mb-glyph{display:none}
}

/* the panel, opened from the status icon */
.mb-pop{
  position:fixed;z-index:61;
  width:372px;max-width:calc(100vw - 24px);
  filter:drop-shadow(0 34px 60px rgba(12,8,22,.55));
  animation:popIn .22s cubic-bezier(.2,.7,.3,1);
}
.mb-pop[hidden]{display:none}
.mb-pop img{display:block;width:100%;height:auto;border-radius:14px}
.mb-pop::after{
  content:"";position:absolute;top:-5px;right:18px;
  width:11px;height:11px;border-radius:2px;
  background:#FCF9F3;transform:rotate(45deg);
  box-shadow:-2px -2px 6px rgba(12,8,22,.10);
}
@keyframes popIn{
  from{opacity:0;transform:translateY(-7px) scale(.985)}
  to{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){.mb-pop{animation:none}}
