/* Unified V5.1 menu for the pre-existing pages (strong-mind, mindtypes, legal, mind-studio tools, sara).
   Only nav-related rules; the base .site-nav styles live in style.css. No global side effects. */
body.has-v51-nav { padding-top: 64px; }
@media (max-width: 560px) { body.has-v51-nav { padding-top: 104px; } }
.site-nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav__link--sara[aria-current="page"] { background: rgba(34, 211, 238, .28); }
a.top-utility-signin { display: inline-flex; align-items: center; text-decoration: none; }
.site-nav .site-nav__link:focus-visible, .site-nav .top-utility-signin:focus-visible, .site-nav__logo:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
@media (max-width: 560px) {
  #top-nav-daily-btn, #top-nav-pdf-btn, #top-nav-studio-btn, #top-nav-quiz-btn { order: 5; flex: 1 1 0; justify-content: center; min-height: 44px; padding: 0 2px; font-size: 12px; white-space: nowrap; }
  #top-nav-sara-btn { min-height: 44px; }
  .site-nav .site-nav__link, .site-nav .top-utility-signin { min-height: 44px; height: auto; display: inline-flex; align-items: center; justify-content: center; }
}

/* Nav: "Talk to Sara" CTA (links to the real session) + anchors that must clear the fixed header */
.site-nav__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 999px; font: 700 13.5px/1 'Manrope', sans-serif; color: #fff; text-decoration: none; white-space: nowrap; border: 1px solid rgba(134, 220, 240, .7); background: linear-gradient(100deg, rgba(108, 116, 230, .75), rgba(34, 211, 238, .4)); box-shadow: 0 0 22px -8px rgba(134, 220, 240, .7); }
.site-nav__cta:hover, .site-nav__cta:focus-visible { border-color: #fff; outline: none; }
.site-nav .site-nav__cta:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
@media (max-width: 1100px) { .site-nav__links { gap: 2px; } .site-nav__link { padding: 0 9px; font-size: 13px; } .site-nav__cta { padding: 0 13px; } }
@media (max-width: 860px) { .site-nav__word { display: none; } }
@media (max-width: 560px) {
  #top-nav-talk-btn { order: 2; min-height: 40px; padding: 0 14px; font-size: 13px; }
  #top-nav-sara-btn, #top-nav-daily-btn, #top-nav-pdf-btn, #top-nav-studio-btn, #top-nav-quiz-btn { order: 5; flex: 1 1 auto; justify-content: center; min-height: 44px; padding: 0 3px; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 380px) { #top-nav-sara-btn, #top-nav-daily-btn, #top-nav-pdf-btn, #top-nav-studio-btn, #top-nav-quiz-btn { font-size: 11px; padding: 0 2px; } #top-nav-talk-btn { padding: 0 11px; font-size: 12.5px; } }
#holding-back, #how-it-works, #wellbeing, .home-quiz, #session { scroll-margin-top: 84px; }
@media (max-width: 560px) { #holding-back, #how-it-works, #wellbeing, .home-quiz, #session, #sara, #quiz { scroll-margin-top: 118px; } }
@media (max-width: 340px) { #top-nav-sara-btn, #top-nav-daily-btn, #top-nav-pdf-btn, #top-nav-studio-btn, #top-nav-quiz-btn { font-size: 10.5px; padding: 0 1px; letter-spacing: -.01em; } }
.site-nav__cta { box-shadow: none; transition: box-shadow .25s ease, border-color .25s ease, translate .25s ease; }
.site-nav__cta:hover, .site-nav__cta:focus-visible { box-shadow: 0 0 26px -4px rgba(134, 220, 240, .85); translate: 0 -1px; }
/* every card on the older pages also lights up and lifts slightly on hover */
.pp-card, .pillar-exercise, .pillar-step, .ms-audio, .ms-hub-card, .ms-card { transition: translate .35s cubic-bezier(.16, .84, .24, 1), box-shadow .35s ease, border-color .35s ease; }
@media (hover: hover) and (pointer: fine) {
  .pp-card:hover, .pillar-exercise:hover, .pillar-step:hover, .ms-audio:hover, .ms-hub-card:hover, .ms-card:hover { translate: 0 -3px; border-color: rgba(95, 230, 250, .75); box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .85), 0 0 44px -10px rgba(34, 211, 238, .55); }
}
@media (prefers-reduced-motion: reduce) { .pp-card:hover, .pillar-exercise:hover, .pillar-step:hover, .ms-audio:hover, .ms-hub-card:hover, .ms-card:hover { translate: none; } }

/* Signed-in visitors: the menu already has "Talk to Sara" (same destination), so the extra "Open Sara" button is hidden. Signed-out visitors still see "Sign in". */
.site-nav .top-utility-signin.top-utility-signedin { display: none !important; }
