/* Get Started – independent of existing hero layout and theme */
.ff-hero-invitation{position:absolute;right:max(5%,calc((100vw - 1240px)/2));bottom:45px;z-index:3;width:min(335px,34vw);display:flex;flex-direction:column;gap:9px;padding:22px 24px;background:linear-gradient(145deg,rgba(31,22,18,.91),rgba(25,18,16,.77));border:1px solid rgba(222,181,131,.48);border-radius:4px;box-shadow:0 18px 50px rgba(0,0,0,.25);color:#f9ebd8;text-decoration:none;backdrop-filter:blur(5px);transition:transform .2s,border-color .2s}
.ff-hero-invitation:hover,.ff-hero-invitation:focus-visible{transform:translateY(-3px);border-color:#e5be88;color:#fff}
.ff-invite-kicker{font:600 10px/1.3 'DM Sans',sans-serif;letter-spacing:2px;color:#d3a574}
.ff-invite-title{font:500 clamp(25px,2.2vw,33px)/1.05 'Cormorant Garamond',serif}
.ff-invite-copy{font:400 13px/1.55 'DM Sans',sans-serif;color:#e0cfc1}
.ff-invite-link{display:flex;justify-content:space-between;font:600 11px/1.5 'DM Sans',sans-serif;letter-spacing:.5px;color:#ddb283;margin-top:4px}
@media(max-width:900px){.ff-hero-invitation{width:290px;right:4%;bottom:24px;padding:17px 19px}}
@media(max-width:680px){.ff-hero-invitation{position:relative;right:auto;bottom:auto;width:calc(100% - 38px);margin:16px auto 22px;box-sizing:border-box}.hero{padding-bottom:1px}}
.ff-welcome-overlay[hidden]{display:none!important}
.ff-welcome-overlay{position:fixed;inset:0;z-index:99999;display:flex;justify-content:center;align-items:center;padding:18px;box-sizing:border-box}
.ff-welcome-backdrop{position:absolute;inset:0;background:rgba(11,10,10,.76);backdrop-filter:blur(7px)}
.ff-welcome-panel{position:relative;z-index:1;width:min(100%,580px);max-height:min(92vh,800px);display:flex;flex-direction:column;overflow:hidden;background:#211a17;border:1px solid #84644b;border-radius:11px;box-shadow:0 30px 90px rgba(0,0,0,.55);color:#f5e8d7;font-family:'DM Sans',sans-serif}
.ff-welcome-head{padding:19px 24px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #49372c;color:#d3a879;font-size:10px;letter-spacing:1.7px;font-weight:700}
.ff-welcome-head i{font-style:normal;margin:0 4px;color:#66574e}.ff-welcome-close{border:0;background:none;font-size:28px;line-height:1;color:#e2cdb5;cursor:pointer;padding:0 4px}
.ff-welcome-progress{height:3px;background:#34261f}.ff-welcome-progress span{display:block;height:100%;background:#cda375;width:20%;transition:width .2s}
.ff-welcome-content{overflow-y:auto;padding:28px 32px 24px;overscroll-behavior:contain}
.ff-welcome-content h2{font:500 clamp(30px,4vw,40px)/1.1 'Cormorant Garamond',serif;margin:0 0 10px;color:#ffedda}
.ff-welcome-content p{font-size:13px;line-height:1.65;color:#d5c3b4;margin:0 0 19px}
.ff-welcome-choices{display:grid;gap:10px}.ff-welcome-choice{width:100%;text-align:left;background:#2e231d;border:1px solid #69503e;border-radius:7px;padding:15px 17px;color:#f6e7d6;cursor:pointer;font:inherit;display:flex;gap:13px;align-items:center;transition:background .2s,border-color .2s}
.ff-welcome-choice:hover,.ff-welcome-choice:focus-visible{background:#3a2a20;border-color:#d9ad7e}
.ff-welcome-choice strong{display:block;font-size:14px;font-weight:600}.ff-welcome-choice small{display:block;font-size:11px;line-height:1.55;color:#cfb8a4;margin-top:4px}.ff-welcome-choice .ff-option-icon{flex:0 0 25px;color:#d1a475;font-size:21px}.ff-welcome-choice .ff-choice-arrow{margin-left:auto;color:#d1a475}
.ff-welcome-foot{padding:14px 28px;border-top:1px solid #49372c;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;color:#b9a18d;font-size:10px}.ff-welcome-back{font-size:12px;background:transparent;border:none;color:#e4ba8e;cursor:pointer}
.ff-welcome-field{display:block;margin:0 0 13px;font-size:11px;color:#e0c6ae;font-weight:600}.ff-welcome-field input,.ff-welcome-field select,.ff-welcome-field textarea{display:block;margin-top:6px;box-sizing:border-box;width:100%;border:1px solid #67503f;border-radius:5px;padding:11px 12px;font:13px 'DM Sans',sans-serif;color:#f5e7d5;background:#342820;min-height:43px}.ff-welcome-field textarea{min-height:68px;resize:vertical}.ff-welcome-field input:focus,.ff-welcome-field select:focus,.ff-welcome-field textarea:focus{outline:2px solid #c89b6d;outline-offset:1px}
.ff-welcome-row{display:flex;gap:10px}.ff-welcome-row>*{flex:1;min-width:0}
.ff-welcome-primary{background:#d3a877;border:1px solid #d3a877;border-radius:5px;color:#201914;cursor:pointer;padding:12px 16px;min-height:44px;font:700 12px 'DM Sans',sans-serif;text-align:center}.ff-welcome-primary:hover{background:#f0c38c}.ff-welcome-secondary{background:transparent;border:1px solid #8b694b;color:#e2bf96;border-radius:5px;padding:11px 14px;cursor:pointer;font:600 12px 'DM Sans',sans-serif;text-decoration:none;text-align:center}
.ff-welcome-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}.ff-welcome-actions>*{flex:1;min-width:150px}
.ff-welcome-status{background:#302921;border-left:3px solid #bf9363;border-radius:3px;padding:12px 14px;margin:14px 0;font-size:12px;line-height:1.6;color:#ebdbc8}.ff-welcome-status strong{color:#f4deb9}.ff-welcome-results{display:grid;gap:7px;margin-top:-9px;margin-bottom:14px}.ff-welcome-result{background:#31261f;border:1px solid #68503f;border-radius:4px;color:#f2dbc1;cursor:pointer;text-align:left;padding:10px;font:12px 'DM Sans',sans-serif}.ff-welcome-result small{display:block;color:#c5af9e;margin-top:2px}
.ff-welcome-content a{color:#e7ba84}.ff-welcome-note{font-size:11px!important;color:#bda998!important}.ff-welcome-dances{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.ff-welcome-dances span{font-size:11px;border:1px solid #94704f;color:#efc99c;border-radius:30px;padding:5px 11px}
body.ff-welcome-open{overflow:hidden}
@media(max-width:550px){.ff-welcome-overlay{padding:7px}.ff-welcome-panel{max-height:95dvh}.ff-welcome-content{padding:23px 19px}.ff-welcome-head{padding:15px 18px}.ff-welcome-foot{padding:12px 18px}.ff-welcome-row{display:block}.ff-welcome-actions>*{min-width:100%}}

/* Accessible contrast for gold CTA links inside the welcome panel. */
.ff-welcome-content a.ff-welcome-primary,
.ff-welcome-content a.ff-welcome-primary:link,
.ff-welcome-content a.ff-welcome-primary:visited{color:#201914;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.ff-welcome-content a.ff-welcome-primary:hover,
.ff-welcome-content a.ff-welcome-primary:focus-visible{background:#f0c38c;color:#17110d;text-decoration:none}
.ff-welcome-primary:focus-visible{outline:2px solid #fff1d9;outline-offset:3px}

/* Ensure gold CTA text remains dark despite global anchor, visited, focus or theme rules. */
.ff-welcome-panel .ff-welcome-content a.ff-welcome-primary,
.ff-welcome-panel .ff-welcome-content a.ff-welcome-primary:link,
.ff-welcome-panel .ff-welcome-content a.ff-welcome-primary:visited,
.ff-welcome-panel .ff-welcome-content button.ff-welcome-primary {
  background-color:#d3a877 !important; color:#201914 !important; -webkit-text-fill-color:#201914 !important;
  text-decoration:none !important;
}
.ff-welcome-panel .ff-welcome-content a.ff-welcome-primary:hover,
.ff-welcome-panel .ff-welcome-content a.ff-welcome-primary:focus-visible,
.ff-welcome-panel .ff-welcome-content button.ff-welcome-primary:hover,
.ff-welcome-panel .ff-welcome-content button.ff-welcome-primary:focus-visible {
  background-color:#f0c38c !important; color:#17110d !important; -webkit-text-fill-color:#17110d !important;
}

/* Contextual lesson destinations for recognized songs */
.ff-welcome-practice-list{display:grid;gap:12px;margin:18px 0}
.ff-song-path{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:12px;border:1px solid #76593e;border-radius:8px}
.ff-song-path>a{width:100%;box-sizing:border-box}
.ff-song-path small{color:#c6b2a0;font-size:12px;line-height:1.4}
.ff-song-path>button{align-self:flex-start}
