/* Shared brand-site refinements. Original funnels and pre-call walls are isolated. */
:root{--mfs-border:#dce2e8;--mfs-muted:#56657a}
.site-header .nav{height:80px}
.site-header .nav-apply{min-height:48px;padding-block:13px}
.site-header nav a[aria-current=page]{color:#f5d67b}
.inner-page .page-hero{padding:64px 0;background:radial-gradient(ellipse at 85% 5%,#28456380,transparent 58%),linear-gradient(140deg,#0b2447,#050e1d 85%)}
.inner-page .page-hero h1{font-family:Inter,Arial,sans-serif;font-weight:700;font-size:clamp(40px,4.4vw,60px);line-height:1.09;letter-spacing:-2.2px;text-wrap:balance}
.inner-page .page-hero h1,.page-hero p{margin-inline:auto}
.page-hero-grid{gap:64px}
.page-hero-grid>img{aspect-ratio:1.15;max-height:470px;object-position:center 35%;border-radius:10px;box-shadow:0 18px 50px #0002}
.page-hero-grid h1{max-width:590px}
.page-hero p{font-size:17px;font-weight:400;line-height:1.75;max-width:610px;margin-top:22px}
.page-hero-text{max-width:960px}
.page-hero .page-actions{margin-top:26px}
.inner-page .page-section h2,.inner-page .page-cta h2,.inner-page .case-facts h2{font-family:Inter,Arial,sans-serif;font-weight:700;font-size:clamp(30px,3vw,42px);line-height:1.17;letter-spacing:-1.4px;text-wrap:balance}
.inner-page .page-section h3{letter-spacing:-.55px}
.inner-page .page-section,.inner-page .page-section.container{padding-block:72px}
.inner-page .split{gap:64px}
.inner-page .section-intro{margin-bottom:32px}
.inner-page .page-cta{padding:64px 24px}
.inner-page .page-cta h2{max-width:650px}
.inner-page .page-cta p{font-size:15px;margin:20px 0}
/* Let the content be the focal point on task and library pages. */
:is(.page-type-vsl,.page-type-lesson,.page-type-nurture,.page-type-precall,.page-type-case) .page-hero{padding:44px 0 40px}
:is(.page-type-vsl,.page-type-lesson,.page-type-nurture,.page-type-precall,.page-type-case) .page-hero h1{font-size:clamp(32px,3.1vw,44px);max-width:820px;letter-spacing:-1.4px}
:is(.page-type-vsl,.page-type-lesson,.page-type-nurture,.page-type-precall) .training-section{padding-top:32px;max-width:960px}
:is(.page-type-application,.page-type-quiz) .page-hero{padding:40px 0 34px}
:is(.page-type-application,.page-type-quiz) .page-hero h1{font-size:clamp(32px,3.1vw,44px);letter-spacing:-1.4px}
:is(.page-type-application,.page-type-quiz) .page-hero p{margin-top:16px;max-width:570px;font-size:16px}
:is(.page-type-application,.page-type-quiz) main{background:#f4f6f9}
:is(.page-type-application,.page-type-quiz) .page-section.container{padding-top:28px;padding-bottom:64px}
.flow-panel{border-color:var(--mfs-border);padding:32px;border-radius:10px;margin-top:16px;box-shadow:0 10px 35px #07172a06}
.flow-panel legend{font-size:23px;line-height:1.35}
.flow-progress{margin-bottom:26px}
.flow-progress progress{appearance:none;border:0;border-radius:5px;overflow:hidden;height:5px;background:#e8ecf0}
.flow-progress progress::-webkit-progress-bar{background:#e8ecf0}
.flow-progress progress::-webkit-progress-value{background:#b58b3f}
.flow-progress progress::-moz-progress-bar{background:#b58b3f}
.choice{border-radius:6px;min-height:52px;transition:border-color 160ms,background 160ms}
.choice:hover{background:#f8f9fb;border-color:#8d9aab}
.choice:has(input:checked){background:#fbf4e4;border-color:#b58b3f}
.inner-page .preview-note{border-radius:5px;font-size:12px;line-height:1.6;padding:12px 18px}
.application-step{min-height:0}
:is(.page-type-products,.page-type-learn,.page-reviews) .page-hero{padding:48px 0}
:is(.page-type-products,.page-type-learn,.page-reviews) .page-hero h1{font-size:clamp(36px,3.8vw,52px)}
:is(.page-privacy-policy,.page-termsandconditions,.page-disclaimer,.page-site-map,.page-funnel-map,.page-contact,.page-login) .page-hero{padding:44px 0}
:is(.page-privacy-policy,.page-termsandconditions,.page-disclaimer,.page-site-map,.page-funnel-map,.page-contact,.page-login) .page-hero h1{font-size:clamp(34px,3.7vw,48px)}
/* Real member posts replace the empty decorative community image. */
.community-hero-proof{background:url('/wp-content/themes/mfs-site/site/assets/ai/community-backdrop.webp') center/cover;border:1px solid #d5b56d38;border-radius:10px;padding:28px;display:flex;flex-direction:column;gap:20px;align-items:flex-end}
.community-hero-proof button{display:block;border:0;border-radius:6px;overflow:hidden;background:#fff;padding:6px;width:100%;box-shadow:0 12px 26px #0003}
.community-hero-proof button:last-child{width:68%;background:#101720}
.community-hero-proof img{width:100%;height:auto;display:block}
.community-benefits h3{margin-top:0}
.community-post,.community-post-dark{transform:none}
.community-post:hover{transform:translateY(-2px)}
/* Shared cards use equal actions and quieter surfaces. */
.student{box-shadow:none}
.student h3{min-height:0}
.student-body{display:flex;flex:1;flex-direction:column;padding:22px}
.student-body>p:last-child{margin-top:auto;padding-top:18px}
.student-body h3{padding-bottom:20px}
.product-card{box-shadow:none;border-radius:8px}
.product-body{padding:24px 20px}
.product-body h3{font-size:22px;min-height:54px}
.product-action{gap:12px;min-height:75px}
.product-action>span{order:-1;font-size:13px;line-height:20px;color:#56657a}
.product-action>a{width:100%;justify-content:center;min-height:44px;padding-inline:10px}
.product-body>p{margin-bottom:24px}
.product-art.original-product,.product-art.book-art.original-product{height:230px;aspect-ratio:auto;padding:20px;background:#fff}
.product-art.book-art.original-product{padding:24px 40px}
.inner-page .book-strip{grid-template-columns:.7fr 1.3fr;padding:30px 48px;gap:56px;margin-bottom:48px;background:#f6f4ee;border:1px solid #e8e3d7}
.inner-page .book-strip img{max-height:270px;width:100%;aspect-ratio:1.1}
.inner-page .product-page-grid article{display:flex;flex-direction:column}
.inner-page .product-page-grid article>div{display:flex;flex:1;flex-direction:column;padding:0 2px}
.inner-page .product-page-grid h2{font:700 25px/1.2 Inter,sans-serif;letter-spacing:-.8px;min-height:60px}
.inner-page .product-page-grid .text-link{margin-top:auto;padding-top:24px}
.inner-page .product-page-grid article>div>p:not(.product-price){margin-bottom:8px}
/* Original interview imagery stays readable without portrait face crops. */
.story-art{aspect-ratio:4/3;border-radius:8px;background:linear-gradient(135deg,#142b43,#071425)}
.story-art img,.story-art video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.story-art:hover img{transform:none}
.story-play{height:44px;width:44px;right:14px;bottom:14px}
.story-card{display:flex;flex-direction:column}
.story-card>div{display:flex;flex:1;flex-direction:column}
.story-card h3{font-size:21px;line-height:1.35;letter-spacing:-.6px;margin:12px 0 14px}
.story-card .small-link{margin-top:auto;align-self:flex-start;min-height:44px;display:inline-flex;align-items:center}
.story-card p span{font-size:12px;margin-top:4px;color:#596779}
.filter-bar{gap:20px;margin-bottom:32px}
/* Question-first library, without synthetic numbered thumbnails. */
.lesson-grid{grid-template-columns:1fr 1fr;gap:0 44px}
.lesson-card{display:grid;grid-template-columns:1fr 44px;gap:24px;align-items:center;min-height:128px;padding:24px 0;border-top:1px solid var(--mfs-border)}
.inner-page .lesson-card h2{font:600 21px/1.4 Inter,sans-serif;letter-spacing:-.55px;margin:0;text-wrap:pretty}
.lesson-card .lesson-play{width:44px;height:44px;color:#12243a;border:1px solid #d1b879;background:#f8f2e5;transition:background 160ms,border-color 160ms}
.lesson-card:hover .lesson-play{background:#edd38f;border-color:#ba9143}
.lesson-card:hover h2{color:#7e5e25}
.inner-page .legal-copy h2{font:600 24px/1.4 Inter,sans-serif;letter-spacing:-.5px}
.inner-page .sitemap-grid h2,.inner-page .funnel-path h2,.inner-page .review-panel h2{font-size:26px}
.inner-page .booking-panel h2,.inner-page .purchase-panel h2{font-size:30px}
.footer-column{gap:2px}
.footer-column a,.footer-column button{min-height:36px;display:flex;align-items:center;line-height:1.5}
.footer-bottom a{display:inline-flex;align-items:center;min-height:36px}
.text-us{right:20px;bottom:20px;box-shadow:0 4px 16px #07172a20}
@media(max-width:950px){.site-header .nav{height:76px}.page-hero-grid{gap:36px}.inner-page .page-hero h1{font-size:44px}.inner-page .split{gap:40px}.community-hero-proof{padding:20px}.product-art.original-product{height:260px}.lesson-grid{gap:0 28px}.inner-page .page-section,.inner-page .page-section.container{padding-block:56px}}
@media(max-width:640px){
 .site-header .nav{height:72px}.site-header .menu-toggle{width:44px}.site-header .nav-apply{min-height:44px;padding-block:12px}
 .inner-page .page-hero{padding:38px 0 40px}.inner-page .page-hero h1{font-size:38px;letter-spacing:-1.3px;line-height:1.12}
 .page-hero p{font-size:16px;line-height:1.7;margin-top:20px}.page-hero .page-actions{margin-top:24px}
 .page-hero-grid{gap:28px}.page-hero-grid>img{aspect-ratio:1.25;max-height:340px}
 .inner-page .page-section,.inner-page .page-section.container{padding-block:48px}.inner-page .split{gap:28px}
 .inner-page .page-section h2,.inner-page .page-cta h2{font-size:31px;letter-spacing:-1px}
 :is(.page-type-application,.page-type-quiz,.page-type-vsl,.page-type-lesson,.page-type-nurture,.page-type-precall,.page-type-case) .page-hero{padding:28px 0}
 :is(.page-type-application,.page-type-quiz,.page-type-vsl,.page-type-lesson,.page-type-nurture,.page-type-precall,.page-type-case) .page-hero h1{font-size:31px;letter-spacing:-1px}
 :is(.page-type-application,.page-type-quiz) .page-section.container{padding-top:20px}
 :is(.page-type-vsl,.page-type-lesson,.page-type-nurture,.page-type-precall) .training-section{padding-top:24px}
 .flow-panel{padding:22px 18px}.flow-panel legend{font-size:21px}.flow-progress{margin-bottom:24px}.flow-actions{gap:12px}
 .inner-page .preview-note{padding:11px 14px;font-size:11px}
 .community-hero-proof{padding:20px;gap:16px}.community-hero-proof button:last-child{width:75%}
 .community-posts{padding:20px}.product-body{padding:24px}.product-body h3{min-height:0;font-size:24px}
 .product-action{display:grid;grid-template-columns:1fr auto;align-items:center;min-height:44px;gap:16px}
 .product-action>span{order:0;font-size:12px}.product-action>a{width:auto}
 .product-art.original-product,.product-art.book-art.original-product{height:250px;padding:24px}
 .product-art.book-art.original-product{padding:24px 58px}
 .inner-page .book-strip{grid-template-columns:1fr;gap:22px;padding:26px;margin-bottom:36px}.inner-page .book-strip img{max-height:220px}.inner-page .book-strip h2{font-size:28px}
 .inner-page .product-page-grid{gap:40px}.inner-page .product-page-grid h2{font-size:25px;min-height:0}.inner-page .product-page-grid .text-link{padding-top:18px}
 .story-grid{grid-template-columns:1fr;gap:36px}.story-art{aspect-ratio:4/3}.story-card h3{font-size:22px}.story-card>div{padding-top:18px}.story-card p{font-size:14px}.story-card .small-link{font-size:14px}
 .lesson-grid{grid-template-columns:1fr;gap:0}.lesson-card{min-height:108px;gap:20px;padding:22px 0}.inner-page .lesson-card h2{font-size:19px}
 .inner-page .legal-copy h2{font-size:23px}.inner-page .sitemap-grid h2,.inner-page .funnel-path h2{font-size:24px}
 .footer-column a,.footer-column button,.footer-bottom a{min-height:44px}.footer-main{gap:28px 22px}.footer-column h3{margin-bottom:10px}
 .text-us{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:12px;min-height:44px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.choice,.lesson-card .lesson-play{transition:none}}
/* Keep the launcher clear of application choices and their Continue button. */
:is(.page-type-application,.page-type-quiz)>.text-us{display:none}
@media(max-width:640px){body>.text-us{width:48px;height:48px;padding:0;justify-content:center;font-size:0;gap:0}body>.text-us svg{width:21px;height:21px}}
.student{display:flex;flex-direction:column}

#site-footer{padding:0 0 24px;background:#050e1d}
#site-footer .footer-main{border:0;padding:44px 0 28px;gap:32px;grid-template-columns:1.5fr 1fr 1.15fr .8fr}
#site-footer .footer-brand p{margin:18px 0 14px}
#site-footer .footer-contact{font:400 12px/1.8 Inter,Arial,sans-serif;color:#acb9cc}
#site-footer .footer-contact a{display:inline-block;padding:3px 0}
#site-footer .footer-column a,#site-footer .footer-column button{min-height:30px;font-size:13px}
#site-footer .footer-fine{margin-top:8px;max-width:none;font-size:10px;color:#96a4b7}
@media(max-width:800px){#site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}#site-footer .footer-column a,#site-footer .footer-column button{min-height:40px}#site-footer .footer-contact{overflow-wrap:anywhere}}
@media(max-width:440px){#site-footer .footer-main{gap:24px 18px}#site-footer .footer-brand{grid-column:1/-1}#site-footer .footer-main{padding-top:32px}}
#site-footer .mfs-footer-legal.integrated{border:0;margin:0;padding:0}
#site-footer .mfs-legal-row{display:flex;justify-content:space-between;align-items:center;gap:16px}
#site-footer .mfs-legal-row nav,#site-footer .mfs-legal-row p{margin:0}
#site-footer .mfs-footer-legal>p{max-width:none;font-size:11px;line-height:1.75}
@media(max-width:700px){#site-footer .mfs-legal-row{flex-direction:column;align-items:flex-start;gap:10px}}

/* Separate the complete program directory from individual offers. */
.nav-panel .nav-all-programs{border-top:1px solid #ffffff25;margin-top:8px;padding-top:16px;color:#e4c780}
