/* sf-menu.css - the one site header with the burger menu (founder, 29 Nov 2026, docs/WEIGHT_GAIN_BASE_PLAN.md
   section 1d). The same look as the home page's header: the dark bar, the round logo with FIT in lime, the lime
   Start Free button at the bottom of the menu. The links live in each page's own HTML between <!-- sf-menu --> and <!-- /sf-menu -->;
   sf-menu.js only opens and closes the menu, and hides the burger inside the SanoobFit apps.
   The marketing agent never edits this file or the menu (merge check rule 14). */
.sfm-bar{position:sticky;top:0;z-index:100;background:rgba(10,11,13,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #1f1f1f;font-family:'Hanken Grotesk','Hanken Grotesk Fallback','Hanken Grotesk Fallback R',sans-serif}
.sfm-inner{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:0 24px;height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.sfm-logo{display:inline-flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:#f4f5f3;font-family:'Archivo','Archivo Fallback','Archivo Fallback R',sans-serif;font-weight:800;font-size:26px;letter-spacing:.05em;text-transform:uppercase;line-height:1}
.sfm-mark{width:40px;height:40px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 38%,rgba(198,242,78,.30),rgba(0,0,0,0) 72%),#0d0d0f;box-shadow:inset 0 0 0 1px rgba(212,175,55,.5),0 0 13px rgba(198,242,78,.45),0 0 26px rgba(212,175,55,.22);transition:transform .4s ease}
.sfm-logo:hover .sfm-mark{transform:rotate(12deg)}
.sfm-mark img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.sfm-word{white-space:nowrap}
.sfm-fit{color:#c6f24e}
.sfm-actions{display:flex;align-items:center;gap:12px;flex:none}
.sfm-burger{width:44px;height:44px;flex:none;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #d4af37;border-radius:100px;background:transparent;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent;transition:background .2s,box-shadow .2s}
.sfm-burger:hover{background:rgba(212,175,55,.1);box-shadow:0 0 18px rgba(212,175,55,.25)}
.sfm-burger span{display:block;width:18px;height:2px;border-radius:2px;background:#d4af37;transition:transform .25s,opacity .2s}
.sfm-open .sfm-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.sfm-open .sfm-burger span:nth-child(2){opacity:0}
.sfm-open .sfm-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.sfm-panel{z-index:1;position:absolute;top:100%;right:max(24px,calc((100vw - 1180px)/2 + 24px));width:340px;max-height:calc(100vh - 96px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:#0d0e10;border:1px solid rgba(212,175,55,.22);border-radius:0 0 18px 18px;box-shadow:0 24px 60px rgba(0,0,0,.55);padding:10px 10px 16px}
.sfm-panel[hidden]{display:none}
/* Behind the open menu: a dim layer over the page that takes a tap outside the menu, so that tap only closes the menu
   and never also opens what lies underneath (found tapping on the iPhone 17e, 29 Nov 2026). It sits in <body>, just
   under the header (z-index 99 against the header's 100): inside the header its blur would hold it to the header's
   own box. */
.sfm-backdrop{position:fixed;inset:0;z-index:99;background:rgba(0,0,0,.45);-webkit-tap-highlight-color:transparent}
.sfm-backdrop[hidden]{display:none}
.sfm-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:0 16px;border:0;border-radius:12px;background:transparent;color:#f4f5f3;font:700 13px/1.2 'Hanken Grotesk','Hanken Grotesk Fallback',sans-serif;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sfm-item:hover,.sfm-item:focus-visible{background:rgba(255,255,255,.05);color:#fff}
.sfm-item svg{width:18px;height:18px;flex:none;color:#d4af37}
.sfm-toggle svg{transition:transform .2s}
.sfm-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.sfm-sub{margin:2px 0 8px 16px;padding-left:12px;border-left:1px solid rgba(212,175,55,.3)}
.sfm-sub[hidden]{display:none}
.sfm-sub a{display:flex;flex-direction:column;justify-content:center;min-height:50px;padding:6px 12px;border-radius:10px;color:#f4f5f3;text-decoration:none;font-weight:700;font-size:15px}
.sfm-sub a small{font-weight:500;font-size:12.5px;color:#8a8a82;margin-top:2px}
.sfm-sub a:hover{background:rgba(255,255,255,.05)}
.sfm-sep{height:1px;background:#1f1f1f;margin:8px 6px}
.sfm-big{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;margin:14px 6px 0;border-radius:2px;background:#c6f24e;color:#0a0b0d;font-weight:800;font-size:14px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;box-shadow:0 10px 30px rgba(198,242,78,.3)}
.sfm-cur,.sfm-sub a.sfm-cur{color:#c6f24e}
/* Pages that keep their old top bar for the apps (calculators and blog, plan section 1m): sf-menu.js puts sf-app on <html>
   inside the apps. On the web the new bar shows and the old one is hidden; inside the apps the old one shows exactly as
   before and the new one is hidden. */
html:not(.sf-app) .sfm-app-only{display:none!important}
html.sf-app .sfm-web-only{display:none!important}
/* Inside the SanoobFit apps (sf-menu.js): no burger and no menu. */
.sfm-in-app .sfm-burger,.sfm-in-app .sfm-panel,.sfm-in-app .sfm-backdrop{display:none!important}
@media(max-width:820px){
  .sfm-inner{height:64px;padding:0 16px}
  .sfm-logo{font-size:22px;gap:9px}
  .sfm-mark{width:34px;height:34px}
    .sfm-panel{position:fixed;top:64px;left:0;right:0;width:auto;max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);border-radius:0;border-left:0;border-right:0;padding:10px 12px calc(20px + env(safe-area-inset-bottom))}
  body.sfm-locked{overflow:hidden}
}
@media(max-width:380px){
  .sfm-inner{padding:0 12px;gap:8px}
  .sfm-logo{font-size:18px;gap:7px}
  .sfm-mark{width:30px;height:30px}
  .sfm-actions{gap:8px}
  }

/* Parked (founder, 1 Dec 2026): the "APEX Programs" entry under Programs is hidden in the menu on every page, kept in
   each page's markup; Weight Gain and Weight Loss stay. The APEX pages themselves are untouched. Undo: remove this rule. */
html:not(.sf-app) .sfm-sub a[href="/apex-programs"]{display:none}

/* Parked (founder, 1 Dec 2026): "About" is hidden in the menu on every page, kept in each page's markup; the footer's
   About link stays. Undo: remove this rule. */
html:not(.sf-app) .sfm-panel a.sfm-item[href="/about"]{display:none}
/* Parked (founder, 1 Dec 2026): "Log in" is hidden in the menu on every page, kept in each page's markup; /login and
   /crm work as before. Undo: remove this rule. */
html:not(.sf-app) .sfm-panel a.sfm-item[href="/login"]{display:none}
/* Parked (founder, 1 Dec 2026): "The App" is hidden in the menu on every page, kept in each page's markup, since Start
   Free already goes to Get the App. Undo: remove this rule. */
html:not(.sf-app) .sfm-panel a.sfm-item[href^="/get-the-app"]{display:none}
